update_vpc_attachment
¶
update_vpc_attachment(
attachment_id: AttachmentId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
add_subnet_arns: Optional[SubnetArnList] = None,
remove_subnet_arns: Optional[SubnetArnList] = None,
options: Optional[VpcOptions] = None,
) -> UpdateVpcAttachmentResponse
Updates a VPC attachment.
Parameters:
-
attachment_id(AttachmentId) –The ID of the attachment.
-
add_subnet_arns(Optional[SubnetArnList], default:None) –Adds a subnet ARN to the VPC attachment.
-
remove_subnet_arns(Optional[SubnetArnList], default:None) –Removes a subnet ARN from the attachment.
-
options(Optional[VpcOptions], default:None) –Additional options for updating the VPC attachment.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkmanager/_services/network_manager.py
7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 | |