update_vpc_endpoint
async
¶
update_vpc_endpoint(
id: VpcEndpointId,
*,
config_overrides: Optional[AsyncOpenSearchServerlessClientConfig] = None,
add_subnet_ids: Optional[SubnetIds] = None,
remove_subnet_ids: Optional[SubnetIds] = None,
add_security_group_ids: Optional[SecurityGroupIds] = None,
remove_security_group_ids: Optional[SecurityGroupIds] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateVpcEndpointResponse
Updates an OpenSearch Serverless-managed interface endpoint. For more information, see Access Amazon OpenSearch Serverless using an interface endpoint.
Parameters:
-
id(VpcEndpointId) –The unique identifier of the interface endpoint to update.
-
add_subnet_ids(Optional[SubnetIds], default:None) –The ID of one or more subnets to add to the endpoint.
-
remove_subnet_ids(Optional[SubnetIds], default:None) –The unique identifiers of the subnets to remove from the endpoint.
-
add_security_group_ids(Optional[SecurityGroupIds], default:None) –The unique identifiers of the security groups to add to the endpoint. Security groups define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
-
remove_security_group_ids(Optional[SecurityGroupIds], default:None) –The unique identifiers of the security groups to remove from the endpoint.
-
client_token(Optional[ClientToken], default:None) –Unique, case-sensitive identifier to ensure idempotency of the request.
Raises:
-
ConflictException–When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.
-
InternalServerException–Thrown when an error internal to the service occurs while processing a request.
-
ValidationException–Thrown when the HTTP request contains invalid input or is missing required input.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearchserverless/_services/async_open_search_serverless.py
989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 | |