WorkLink / Client / revoke_domain_access

revoke_domain_access#

WorkLink.Client.revoke_domain_access(**kwargs)#

Moves a domain to INACTIVE status if it was in the ACTIVE status.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.revoke_domain_access(
    FleetArn='string',
    DomainName='string'
)
Parameters:
  • FleetArn (string) –

    [REQUIRED]

    The ARN of the fleet.

  • DomainName (string) –

    [REQUIRED]

    The name of the domain.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • WorkLink.Client.exceptions.UnauthorizedException

  • WorkLink.Client.exceptions.InternalServerErrorException

  • WorkLink.Client.exceptions.InvalidRequestException

  • WorkLink.Client.exceptions.ResourceNotFoundException

  • WorkLink.Client.exceptions.TooManyRequestsException