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
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 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 | |