revoke_vpc_endpoint_access

OpenSearchService.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) --

Exceptions

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