:doc:`Lambda <../../lambda>` / Client / list_code_signing_configs

*************************
list_code_signing_configs
*************************



.. py:method:: Lambda.Client.list_code_signing_configs(**kwargs)

  

  Returns a list of `code signing configurations <https://docs.aws.amazon.com/lambda/latest/dg/configuring-codesigning.html>`__. A request returns up to 10,000 configurations per call. You can use the ``MaxItems`` parameter to return fewer configurations per call.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigs>`_  


  **Request Syntax**
  ::

    response = client.list_code_signing_configs(
        Marker='string',
        MaxItems=123
    )
    
  :type Marker: string
  :param Marker: 

    Specify the pagination token that's returned by a previous request to retrieve the next page of results.

    

  
  :type MaxItems: integer
  :param MaxItems: 

    Maximum number of items to return.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'NextMarker': 'string',
          'CodeSigningConfigs': [
              {
                  'CodeSigningConfigId': 'string',
                  'CodeSigningConfigArn': 'string',
                  'Description': 'string',
                  'AllowedPublishers': {
                      'SigningProfileVersionArns': [
                          'string',
                      ]
                  },
                  'CodeSigningPolicies': {
                      'UntrustedArtifactOnDeployment': 'Warn'|'Enforce'
                  },
                  'LastModified': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NextMarker** *(string) --* 

        The pagination token that's included if more results are available.

        
      

      - **CodeSigningConfigs** *(list) --* 

        The code signing configurations

        
        

        - *(dict) --* 

          Details about a `Code signing configuration <https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html>`__.

          
          

          - **CodeSigningConfigId** *(string) --* 

            Unique identifer for the Code signing configuration.

            
          

          - **CodeSigningConfigArn** *(string) --* 

            The Amazon Resource Name (ARN) of the Code signing configuration.

            
          

          - **Description** *(string) --* 

            Code signing configuration description.

            
          

          - **AllowedPublishers** *(dict) --* 

            List of allowed publishers.

            
            

            - **SigningProfileVersionArns** *(list) --* 

              The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user who can sign a code package.

              
              

              - *(string) --* 
          
        
          

          - **CodeSigningPolicies** *(dict) --* 

            The code signing policy controls the validation failure action for signature mismatch or expiry.

            
            

            - **UntrustedArtifactOnDeployment** *(string) --* 

              Code signing configuration policy for deployment validation failure. If you set the policy to ``Enforce``, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to ``Warn``, Lambda allows the deployment and issues a new Amazon CloudWatch metric ( ``SignatureValidationErrors``) and also stores the warning in the CloudTrail log.

               

              Default value: ``Warn``

              
        
          

          - **LastModified** *(string) --* 

            The date and time that the Code signing configuration was last modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

            
      
    
  
  **Exceptions**
  
  *   :py:class:`Lambda.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`Lambda.Client.exceptions.ServiceException`

  