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
9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 | |