list_applied_schema_arns

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

Request Syntax

response = client.list_applied_schema_arns(
    DirectoryArn='string',
    SchemaArn='string',
    NextToken='string',
    MaxResults=123
)
Parameters
  • DirectoryArn (string) --

    [REQUIRED]

    The ARN of the directory you are listing.

  • SchemaArn (string) -- The response for ListAppliedSchemaArns when this parameter is used will list all minor version ARNs for a major version.
  • NextToken (string) -- The pagination token.
  • MaxResults (integer) -- The maximum number of results to retrieve.
Return type

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

  • CloudDirectory.Client.exceptions.InternalServiceException
  • CloudDirectory.Client.exceptions.InvalidArnException
  • CloudDirectory.Client.exceptions.RetryableConflictException
  • CloudDirectory.Client.exceptions.ValidationException
  • CloudDirectory.Client.exceptions.LimitExceededException
  • CloudDirectory.Client.exceptions.AccessDeniedException
  • CloudDirectory.Client.exceptions.ResourceNotFoundException
  • CloudDirectory.Client.exceptions.InvalidNextTokenException