OpenSearchService / Client / revoke_vpc_endpoint_access

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',
    Service='application.opensearchservice.amazonaws.com',
    ServiceOptions={
        'SupportedRegions': [
            'string',
        ]
    }
)
Parameters:
  • DomainName (string) –

    [REQUIRED]

    The name of the OpenSearch Service domain.

  • Account (string) – The account ID to revoke access from.

  • Service (string) – The service SP to revoke access from.

  • ServiceOptions (dict) –

    The options for the service, including the supported Regions for the endpoint access.

    • SupportedRegions (list) –

      The list of supported Regions for the service.

      • (string) –

        An Amazon Web Services Region, such as us-east-1.

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