CloudDirectory.Client.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.InternalServiceExceptionCloudDirectory.Client.exceptions.InvalidArnExceptionCloudDirectory.Client.exceptions.RetryableConflictExceptionCloudDirectory.Client.exceptions.ValidationExceptionCloudDirectory.Client.exceptions.LimitExceededExceptionCloudDirectory.Client.exceptions.AccessDeniedExceptionCloudDirectory.Client.exceptions.ResourceNotFoundExceptionCloudDirectory.Client.exceptions.SchemaAlreadyPublishedException