CloudDirectory.Client.upgrade_applied_schema(**kwargs)¶Upgrades a single directory in-place using the PublishedSchemaArn with schema updates found in MinorVersion . Backwards-compatible minor version upgrades are instantaneously available for readers on all objects in the directory. Note: This is a synchronous API call and upgrades only one schema on a given directory per call. To upgrade multiple directories from one schema, you would need to call this API on each directory.
See also: AWS API Documentation
Request Syntax
response = client.upgrade_applied_schema(
PublishedSchemaArn='string',
DirectoryArn='string',
DryRun=True|False
)
[REQUIRED]
The revision of the published schema to upgrade the directory to.
[REQUIRED]
The ARN for the directory to which the upgraded schema will be applied.
dict
Response Syntax
{
'UpgradedSchemaArn': 'string',
'DirectoryArn': 'string'
}
Response Structure
(dict) --
UpgradedSchemaArn (string) --
The ARN of the upgraded schema that is returned as part of the response.
DirectoryArn (string) --
The ARN of the directory 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.SchemaAlreadyExistsException