ElasticsearchService.Client.
update_vpc_endpoint
(**kwargs)¶Modifies an Amazon OpenSearch Service-managed interface VPC endpoint.
See also: AWS API Documentation
Request Syntax
response = client.update_vpc_endpoint(
VpcEndpointId='string',
VpcOptions={
'SubnetIds': [
'string',
],
'SecurityGroupIds': [
'string',
]
}
)
[REQUIRED]
Unique identifier of the VPC endpoint to be updated.
[REQUIRED]
The security groups and/or subnets to add, remove, or modify.
Specifies the subnets for VPC endpoint.
Specifies the security groups for VPC endpoint.
dict
Response Syntax
{
'VpcEndpoint': {
'VpcEndpointId': 'string',
'VpcEndpointOwner': 'string',
'DomainArn': 'string',
'VpcOptions': {
'VPCId': 'string',
'SubnetIds': [
'string',
],
'AvailabilityZones': [
'string',
],
'SecurityGroupIds': [
'string',
]
},
'Status': 'CREATING'|'CREATE_FAILED'|'ACTIVE'|'UPDATING'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED',
'Endpoint': 'string'
}
}
Response Structure
(dict) --
Contains the configuration and status of the VPC endpoint being updated.
VpcEndpoint (dict) --
The endpoint to be updated.
VpcEndpointId (string) --
The unique identifier of the endpoint.
VpcEndpointOwner (string) --
The creator of the endpoint.
DomainArn (string) --
The Amazon Resource Name (ARN) of the domain associated with the endpoint.
VpcOptions (dict) --
Options to specify the subnets and security groups for an Amazon OpenSearch Service VPC endpoint.
VPCId (string) --
The VPC Id for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
SubnetIds (list) --
Specifies the subnets for VPC endpoint.
AvailabilityZones (list) --
The availability zones for the Elasticsearch domain. Exists only if the domain was created with VPCOptions.
SecurityGroupIds (list) --
Specifies the security groups for VPC endpoint.
Status (string) --
The current status of the endpoint.
Endpoint (string) --
The connection endpoint ID for connecting to the domain.
Exceptions
ElasticsearchService.Client.exceptions.ResourceNotFoundException
ElasticsearchService.Client.exceptions.DisabledOperationException
ElasticsearchService.Client.exceptions.InternalException
ElasticsearchService.Client.exceptions.ValidationException
ElasticsearchService.Client.exceptions.ConflictException
ElasticsearchService.Client.exceptions.BaseException