authorize_vpc_endpoint_access
async
¶
authorize_vpc_endpoint_access(
domain_name: DomainName,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
account: Optional[AWSAccount] = None,
service: Optional[AWSServicePrincipal] = None,
service_options: Optional[ServiceOptions] = None,
) -> AuthorizeVpcEndpointAccessResponse
Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
Parameters:
-
domain_name(DomainName) –The name of the OpenSearch Service domain to provide access to.
-
account(Optional[AWSAccount], default:None) –The Amazon Web Services account ID to grant access to.
-
service(Optional[AWSServicePrincipal], default:None) –The Amazon Web Services service SP to grant access to.
-
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.
-
LimitExceededException–An exception for trying to create more than the allowed number of resources or sub-resources.
-
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.