revoke_vpc_endpoint_access
async
¶
revoke_vpc_endpoint_access(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
account: Optional[AWSAccount] = None,
service: Optional[AWSServicePrincipal] = None,
service_options: Optional[ServiceOptions] = None,
) -> RevokeVpcEndpointAccessResponse
Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.
Parameters:
-
domain_name(DomainName) –The name of the OpenSearch Service domain.
-
account(Optional[AWSAccount], default:None) –The account ID to revoke access from.
-
service(Optional[AWSServicePrincipal], default:None) –The service SP to revoke access from.
-
service_options(Optional[ServiceOptions], default:None) –The options for the service, including the supported Regions for the endpoint access.
Raises:
-
BaseException–An error occurred while processing the request.
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearch/_services/async_open_search.py
5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 | |