ElasticsearchService / Client / revoke_vpc_endpoint_access

revoke_vpc_endpoint_access#

ElasticsearchService.Client.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