upgrade_published_schema(**kwargs)¶Upgrades a published schema under a new minor version revision using the current contents of DevelopmentSchemaArn .
See also: AWS API Documentation
Request Syntax
response = client.upgrade_published_schema(
DevelopmentSchemaArn='string',
PublishedSchemaArn='string',
MinorVersion='string',
DryRun=True|False
)
[REQUIRED]
The ARN of the development schema with the changes used for the upgrade.
[REQUIRED]
The ARN of the published schema to be upgraded.
[REQUIRED]
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
dict
Response Syntax
{
'UpgradedSchemaArn': 'string'
}
Response Structure
(dict) --
UpgradedSchemaArn (string) --
The ARN of the upgraded schema that is returned as part of the response.
Exceptions
CloudDirectory.Client.exceptions.InternalServiceExceptionCloudDirectory.Client.exceptions.InvalidArnExceptionCloudDirectory.Client.exceptions.RetryableConflictExceptionCloudDirectory.Client.exceptions.ValidationExceptionCloudDirectory.Client.exceptions.IncompatibleSchemaExceptionCloudDirectory.Client.exceptions.AccessDeniedExceptionCloudDirectory.Client.exceptions.ResourceNotFoundExceptionCloudDirectory.Client.exceptions.InvalidAttachmentExceptionCloudDirectory.Client.exceptions.LimitExceededException