ElasticsearchService / Client / authorize_vpc_endpoint_access
authorize_vpc_endpoint_access#
- ElasticsearchService.Client.authorize_vpc_endpoint_access(**kwargs)#
Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
See also: AWS API Documentation
Request Syntax
response = client.authorize_vpc_endpoint_access( DomainName='string', Account='string' )
- Parameters:
DomainName (string) –
[REQUIRED]
The name of the OpenSearch Service domain to provide access to.
Account (string) –
[REQUIRED]
The account ID to grant access to.
- Return type:
dict
- Returns:
Response Syntax
{ 'AuthorizedPrincipal': { 'PrincipalType': 'AWS_ACCOUNT'|'AWS_SERVICE', 'Principal': 'string' } }
Response Structure
(dict) –
Container for response parameters to the
AuthorizeVpcEndpointAccess
operation. Contains the account ID and the type of the account being authorized to access the VPC endpoint.AuthorizedPrincipal (dict) –
Information about the account or service that was provided access to the domain.
PrincipalType (string) –
The type of principal.
Principal (string) –
The IAM principal that is allowed access to the domain.
Exceptions