publish_schema
(**kwargs)¶Publishes a development schema with a major version and a recommended minor version.
See also: AWS API Documentation
Request Syntax
response = client.publish_schema(
DevelopmentSchemaArn='string',
Version='string',
MinorVersion='string',
Name='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.
[REQUIRED]
The major version under which the schema will be published. Schemas have both a major and minor version associated with them.
dict
Response Syntax
{
'PublishedSchemaArn': 'string'
}
Response Structure
(dict) --
PublishedSchemaArn (string) --
The ARN that is associated with the published schema. For more information, see arns.
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.SchemaAlreadyPublishedException