Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_settings

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