DirectoryService / Client / update_trust

update_trust#

DirectoryService.Client.update_trust(**kwargs)#

Updates the trust that has been set up between your Managed Microsoft AD directory and an self-managed Active Directory.

See also: AWS API Documentation

Request Syntax

response = client.update_trust(
    TrustId='string',
    SelectiveAuth='Enabled'|'Disabled'
)
Parameters:
  • TrustId (string) –

    [REQUIRED]

    Identifier of the trust relationship.

  • SelectiveAuth (string) – Updates selective authentication for the trust.

Return type:

dict

Returns:

Response Syntax

{
    'RequestId': 'string',
    'TrustId': 'string'
}

Response Structure

  • (dict) –

    • RequestId (string) –

      The Amazon Web Services request identifier.

    • TrustId (string) –

      Identifier of the trust relationship.

Exceptions

  • DirectoryService.Client.exceptions.EntityDoesNotExistException

  • DirectoryService.Client.exceptions.InvalidParameterException

  • DirectoryService.Client.exceptions.ClientException

  • DirectoryService.Client.exceptions.ServiceException