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_trust

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