PcaConnectorAd / Client / create_directory_registration

create_directory_registration#

PcaConnectorAd.Client.create_directory_registration(**kwargs)#

Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an Active Directory

See also: AWS API Documentation

Request Syntax

response = client.create_directory_registration(
    ClientToken='string',
    DirectoryId='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • ClientToken (string) –

    Idempotency token.

    This field is autopopulated if not provided.

  • DirectoryId (string) –

    [REQUIRED]

    The identifier of the Active Directory.

  • Tags (dict) –

    Metadata assigned to a directory registration consisting of a key-value pair.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'DirectoryRegistrationArn': 'string'
}

Response Structure

  • (dict) –

Exceptions

  • PcaConnectorAd.Client.exceptions.AccessDeniedException

  • PcaConnectorAd.Client.exceptions.ValidationException

  • PcaConnectorAd.Client.exceptions.ResourceNotFoundException

  • PcaConnectorAd.Client.exceptions.ThrottlingException

  • PcaConnectorAd.Client.exceptions.InternalServerException

  • PcaConnectorAd.Client.exceptions.ConflictException