DirectoryService.Client.
update_settings
(**kwargs)¶Updates the configurable settings for the specified directory.
See also: AWS API Documentation
Request Syntax
response = client.update_settings(
DirectoryId='string',
Settings=[
{
'Name': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The identifier of the directory for which to update settings.
[REQUIRED]
The list of Setting objects.
Contains information about the configurable settings for a directory.
The name of the directory setting. For example:
TLS_1_0
The value of the directory setting for which to retrieve information. For example, for TLS_1_0
, the valid values are: Enable
and Disable
.
dict
Response Syntax
{
'DirectoryId': 'string'
}
Response Structure
(dict) --
DirectoryId (string) --
The identifier of the directory.
Exceptions
DirectoryService.Client.exceptions.DirectoryDoesNotExistException
DirectoryService.Client.exceptions.UnsupportedOperationException
DirectoryService.Client.exceptions.DirectoryUnavailableException
DirectoryService.Client.exceptions.IncompatibleSettingsException
DirectoryService.Client.exceptions.UnsupportedSettingsException
DirectoryService.Client.exceptions.InvalidParameterException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException