Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Modifies the specified VPC attachment.
Synopsis
- data ModifyTransitGatewayVpcAttachment = ModifyTransitGatewayVpcAttachment' {}
- newModifyTransitGatewayVpcAttachment :: Text -> ModifyTransitGatewayVpcAttachment
- modifyTransitGatewayVpcAttachment_addSubnetIds :: Lens' ModifyTransitGatewayVpcAttachment (Maybe [Text])
- modifyTransitGatewayVpcAttachment_dryRun :: Lens' ModifyTransitGatewayVpcAttachment (Maybe Bool)
- modifyTransitGatewayVpcAttachment_options :: Lens' ModifyTransitGatewayVpcAttachment (Maybe ModifyTransitGatewayVpcAttachmentRequestOptions)
- modifyTransitGatewayVpcAttachment_removeSubnetIds :: Lens' ModifyTransitGatewayVpcAttachment (Maybe [Text])
- modifyTransitGatewayVpcAttachment_transitGatewayAttachmentId :: Lens' ModifyTransitGatewayVpcAttachment Text
- data ModifyTransitGatewayVpcAttachmentResponse = ModifyTransitGatewayVpcAttachmentResponse' {}
- newModifyTransitGatewayVpcAttachmentResponse :: Int -> ModifyTransitGatewayVpcAttachmentResponse
- modifyTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment :: Lens' ModifyTransitGatewayVpcAttachmentResponse (Maybe TransitGatewayVpcAttachment)
- modifyTransitGatewayVpcAttachmentResponse_httpStatus :: Lens' ModifyTransitGatewayVpcAttachmentResponse Int
Creating a Request
data ModifyTransitGatewayVpcAttachment Source #
See: newModifyTransitGatewayVpcAttachment
smart constructor.
ModifyTransitGatewayVpcAttachment' | |
|
Instances
newModifyTransitGatewayVpcAttachment Source #
Create a value of ModifyTransitGatewayVpcAttachment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:addSubnetIds:ModifyTransitGatewayVpcAttachment'
, modifyTransitGatewayVpcAttachment_addSubnetIds
- The IDs of one or more subnets to add. You can specify at most one
subnet per Availability Zone.
$sel:dryRun:ModifyTransitGatewayVpcAttachment'
, modifyTransitGatewayVpcAttachment_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
ModifyTransitGatewayVpcAttachment
, modifyTransitGatewayVpcAttachment_options
- The new VPC attachment options.
$sel:removeSubnetIds:ModifyTransitGatewayVpcAttachment'
, modifyTransitGatewayVpcAttachment_removeSubnetIds
- The IDs of one or more subnets to remove.
ModifyTransitGatewayVpcAttachment
, modifyTransitGatewayVpcAttachment_transitGatewayAttachmentId
- The ID of the attachment.
Request Lenses
modifyTransitGatewayVpcAttachment_addSubnetIds :: Lens' ModifyTransitGatewayVpcAttachment (Maybe [Text]) Source #
The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
modifyTransitGatewayVpcAttachment_dryRun :: Lens' ModifyTransitGatewayVpcAttachment (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
modifyTransitGatewayVpcAttachment_options :: Lens' ModifyTransitGatewayVpcAttachment (Maybe ModifyTransitGatewayVpcAttachmentRequestOptions) Source #
The new VPC attachment options.
modifyTransitGatewayVpcAttachment_removeSubnetIds :: Lens' ModifyTransitGatewayVpcAttachment (Maybe [Text]) Source #
The IDs of one or more subnets to remove.
modifyTransitGatewayVpcAttachment_transitGatewayAttachmentId :: Lens' ModifyTransitGatewayVpcAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data ModifyTransitGatewayVpcAttachmentResponse Source #
See: newModifyTransitGatewayVpcAttachmentResponse
smart constructor.
ModifyTransitGatewayVpcAttachmentResponse' | |
|
Instances
newModifyTransitGatewayVpcAttachmentResponse Source #
Create a value of ModifyTransitGatewayVpcAttachmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:transitGatewayVpcAttachment:ModifyTransitGatewayVpcAttachmentResponse'
, modifyTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment
- Information about the modified attachment.
$sel:httpStatus:ModifyTransitGatewayVpcAttachmentResponse'
, modifyTransitGatewayVpcAttachmentResponse_httpStatus
- The response's http status code.
Response Lenses
modifyTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment :: Lens' ModifyTransitGatewayVpcAttachmentResponse (Maybe TransitGatewayVpcAttachment) Source #
Information about the modified attachment.
modifyTransitGatewayVpcAttachmentResponse_httpStatus :: Lens' ModifyTransitGatewayVpcAttachmentResponse Int Source #
The response's http status code.