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_0
      • Value (string) -- [REQUIRED]

        The value of the directory setting for which to retrieve information. For example, for TLS_1_0 , the valid values are: Enable and Disable .

Return type

dict

Returns

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