:doc:`CloudDirectory <../../clouddirectory>` / Client / list_applied_schema_arns

************************
list_applied_schema_arns
************************



.. py:method:: CloudDirectory.Client.list_applied_schema_arns(**kwargs)

  

  Lists schema major versions applied to a directory. If ``SchemaArn`` is provided, lists the minor version.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAppliedSchemaArns>`_  


  **Request Syntax**
  ::

    response = client.list_applied_schema_arns(
        DirectoryArn='string',
        SchemaArn='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type DirectoryArn: string
  :param DirectoryArn: **[REQUIRED]** 

    The ARN of the directory you are listing.

    

  
  :type SchemaArn: string
  :param SchemaArn: 

    The response for ``ListAppliedSchemaArns`` when this parameter is used will list all minor version ARNs for a major version.

    

  
  :type NextToken: string
  :param NextToken: 

    The pagination token.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to retrieve.

    

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

    
    ::

      {
          'SchemaArns': [
              'string',
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **SchemaArns** *(list) --* 

        The ARNs of schemas that are applied to the directory.

        
        

        - *(string) --* 
    
      

      - **NextToken** *(string) --* 

        The pagination token.

        
  
  **Exceptions**
  
  *   :py:class:`CloudDirectory.Client.exceptions.InternalServiceException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.InvalidArnException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.RetryableConflictException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.ValidationException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.LimitExceededException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.InvalidNextTokenException`

  