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.

revoke_vpc_endpoint_access

revoke_vpc_endpoint_access(**kwargs)

Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.

See also: AWS API Documentation

Request Syntax

response = client.revoke_vpc_endpoint_access(
    DomainName='string',
    Account='string'
)
Parameters
  • DomainName (string) --

    [REQUIRED]

    The name of the OpenSearch Service domain.

  • Account (string) --

    [REQUIRED]

    The account ID to revoke access from.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

    Container for response parameters to the RevokeVpcEndpointAccess operation. The response body for this operation is empty.

Exceptions

  • ElasticsearchService.Client.exceptions.ResourceNotFoundException
  • ElasticsearchService.Client.exceptions.ValidationException
  • ElasticsearchService.Client.exceptions.DisabledOperationException
  • ElasticsearchService.Client.exceptions.InternalException
  • ElasticsearchService.Client.exceptions.BaseException