CloudDirectory / Client / enable_directory

enable_directory#

CloudDirectory.Client.enable_directory(**kwargs)#

Enables the specified directory. Only disabled directories can be enabled. Once enabled, the directory can then be read and written to.

See also: AWS API Documentation

Request Syntax

response = client.enable_directory(
    DirectoryArn='string'
)
Parameters:

DirectoryArn (string) –

[REQUIRED]

The ARN of the directory to enable.

Return type:

dict

Returns:

Response Syntax

{
    'DirectoryArn': 'string'
}

Response Structure

  • (dict) –

    • DirectoryArn (string) –

      The ARN of the enabled directory.

Exceptions