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
RevokeVpcEndpointAccessoperation. The response body for this operation is empty.
Exceptions
ElasticsearchService.Client.exceptions.ResourceNotFoundExceptionElasticsearchService.Client.exceptions.ValidationExceptionElasticsearchService.Client.exceptions.DisabledOperationExceptionElasticsearchService.Client.exceptions.InternalExceptionElasticsearchService.Client.exceptions.BaseException