update_directory_setup
(**kwargs)¶Updates the directory for a particular update type.
See also: AWS API Documentation
Request Syntax
response = client.update_directory_setup(
DirectoryId='string',
UpdateType='OS',
OSUpdateSettings={
'OSVersion': 'SERVER_2012'|'SERVER_2019'
},
CreateSnapshotBeforeUpdate=True|False
)
[REQUIRED]
The identifier of the directory on which you want to perform the update.
[REQUIRED]
The type of update that needs to be performed on the directory. For example, OS.
The settings for the OS update that needs to be performed on the directory.
OS version that the directory needs to be updated to.
dict
Response Syntax
{}
Response Structure
Exceptions
DirectoryService.Client.exceptions.UnsupportedOperationException
DirectoryService.Client.exceptions.DirectoryInDesiredStateException
DirectoryService.Client.exceptions.DirectoryUnavailableException
DirectoryService.Client.exceptions.SnapshotLimitExceededException
DirectoryService.Client.exceptions.InvalidParameterException
DirectoryService.Client.exceptions.DirectoryDoesNotExistException
DirectoryService.Client.exceptions.AccessDeniedException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException