update_vpc_attachment
async
¶
update_vpc_attachment(
attachment_id: AttachmentId,
*,
config_overrides: Optional[AsyncNetworkManagerClientConfig] = 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/async_network_manager.py
9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 | |