batch_get_vpc_endpoint
(**kwargs)¶Returns attributes for one or more VPC endpoints associated with the current account. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
See also: AWS API Documentation
Request Syntax
response = client.batch_get_vpc_endpoint(
ids=[
'string',
]
)
[REQUIRED]
A list of VPC endpoint identifiers.
{
'vpcEndpointDetails': [
{
'createdDate': 123,
'id': 'string',
'name': 'string',
'securityGroupIds': [
'string',
],
'status': 'PENDING'|'DELETING'|'ACTIVE'|'FAILED',
'subnetIds': [
'string',
],
'vpcId': 'string'
},
],
'vpcEndpointErrorDetails': [
{
'errorCode': 'string',
'errorMessage': 'string',
'id': 'string'
},
]
}
Response Structure
Details about the specified VPC endpoint.
Details about an OpenSearch Serverless-managed interface endpoint.
The date the endpoint was created.
The unique identifier of the endpoint.
The name of the endpoint.
The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
The current status of the endpoint.
The ID of the subnets from which you access OpenSearch Serverless.
The ID of the VPC from which you access OpenSearch Serverless
Error information for a failed request.
Error information for a failed BatchGetVpcEndpoint
request.
The error code for the failed request.
An error message describing the reason for the failure.
The unique identifier of the VPC endpoint.
Exceptions
OpenSearchServiceServerless.Client.exceptions.InternalServerException
OpenSearchServiceServerless.Client.exceptions.ValidationException