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 |
Deletes the specified VPC attachment.
Synopsis
- data DeleteTransitGatewayVpcAttachment = DeleteTransitGatewayVpcAttachment' {}
- newDeleteTransitGatewayVpcAttachment :: Text -> DeleteTransitGatewayVpcAttachment
- deleteTransitGatewayVpcAttachment_dryRun :: Lens' DeleteTransitGatewayVpcAttachment (Maybe Bool)
- deleteTransitGatewayVpcAttachment_transitGatewayAttachmentId :: Lens' DeleteTransitGatewayVpcAttachment Text
- data DeleteTransitGatewayVpcAttachmentResponse = DeleteTransitGatewayVpcAttachmentResponse' {}
- newDeleteTransitGatewayVpcAttachmentResponse :: Int -> DeleteTransitGatewayVpcAttachmentResponse
- deleteTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment :: Lens' DeleteTransitGatewayVpcAttachmentResponse (Maybe TransitGatewayVpcAttachment)
- deleteTransitGatewayVpcAttachmentResponse_httpStatus :: Lens' DeleteTransitGatewayVpcAttachmentResponse Int
Creating a Request
data DeleteTransitGatewayVpcAttachment Source #
See: newDeleteTransitGatewayVpcAttachment
smart constructor.
DeleteTransitGatewayVpcAttachment' | |
|
Instances
newDeleteTransitGatewayVpcAttachment Source #
Create a value of DeleteTransitGatewayVpcAttachment
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:dryRun:DeleteTransitGatewayVpcAttachment'
, deleteTransitGatewayVpcAttachment_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
.
DeleteTransitGatewayVpcAttachment
, deleteTransitGatewayVpcAttachment_transitGatewayAttachmentId
- The ID of the attachment.
Request Lenses
deleteTransitGatewayVpcAttachment_dryRun :: Lens' DeleteTransitGatewayVpcAttachment (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
.
deleteTransitGatewayVpcAttachment_transitGatewayAttachmentId :: Lens' DeleteTransitGatewayVpcAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data DeleteTransitGatewayVpcAttachmentResponse Source #
See: newDeleteTransitGatewayVpcAttachmentResponse
smart constructor.
DeleteTransitGatewayVpcAttachmentResponse' | |
|
Instances
newDeleteTransitGatewayVpcAttachmentResponse Source #
Create a value of DeleteTransitGatewayVpcAttachmentResponse
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:DeleteTransitGatewayVpcAttachmentResponse'
, deleteTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment
- Information about the deleted VPC attachment.
$sel:httpStatus:DeleteTransitGatewayVpcAttachmentResponse'
, deleteTransitGatewayVpcAttachmentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment :: Lens' DeleteTransitGatewayVpcAttachmentResponse (Maybe TransitGatewayVpcAttachment) Source #
Information about the deleted VPC attachment.
deleteTransitGatewayVpcAttachmentResponse_httpStatus :: Lens' DeleteTransitGatewayVpcAttachmentResponse Int Source #
The response's http status code.