DirectoryService / Client / update_settings
update_settings#
- 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' }, ] )
- Parameters:
DirectoryId (string) –
[REQUIRED]
The identifier of the directory for which to update settings.
Settings (list) –
[REQUIRED]
The list of Setting objects.
(dict) –
Contains information about the configurable settings for a directory.
Name (string) – [REQUIRED]
The name of the directory setting. For example:
TLS_1_0Value (string) – [REQUIRED]
The value of the directory setting for which to retrieve information. For example, for
TLS_1_0, the valid values are:EnableandDisable.
- Return type:
dict
- Returns:
Response Syntax
{ 'DirectoryId': 'string' }
Response Structure
(dict) –
DirectoryId (string) –
The identifier of the directory.
Exceptions
DirectoryService.Client.exceptions.DirectoryDoesNotExistExceptionDirectoryService.Client.exceptions.UnsupportedOperationExceptionDirectoryService.Client.exceptions.DirectoryUnavailableExceptionDirectoryService.Client.exceptions.IncompatibleSettingsExceptionDirectoryService.Client.exceptions.UnsupportedSettingsExceptionDirectoryService.Client.exceptions.InvalidParameterExceptionDirectoryService.Client.exceptions.ClientExceptionDirectoryService.Client.exceptions.ServiceException