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 a transit gateway peering attachment.
Synopsis
- data DeleteTransitGatewayPeeringAttachment = DeleteTransitGatewayPeeringAttachment' {}
- newDeleteTransitGatewayPeeringAttachment :: Text -> DeleteTransitGatewayPeeringAttachment
- deleteTransitGatewayPeeringAttachment_dryRun :: Lens' DeleteTransitGatewayPeeringAttachment (Maybe Bool)
- deleteTransitGatewayPeeringAttachment_transitGatewayAttachmentId :: Lens' DeleteTransitGatewayPeeringAttachment Text
- data DeleteTransitGatewayPeeringAttachmentResponse = DeleteTransitGatewayPeeringAttachmentResponse' {}
- newDeleteTransitGatewayPeeringAttachmentResponse :: Int -> DeleteTransitGatewayPeeringAttachmentResponse
- deleteTransitGatewayPeeringAttachmentResponse_transitGatewayPeeringAttachment :: Lens' DeleteTransitGatewayPeeringAttachmentResponse (Maybe TransitGatewayPeeringAttachment)
- deleteTransitGatewayPeeringAttachmentResponse_httpStatus :: Lens' DeleteTransitGatewayPeeringAttachmentResponse Int
Creating a Request
data DeleteTransitGatewayPeeringAttachment Source #
See: newDeleteTransitGatewayPeeringAttachment
smart constructor.
DeleteTransitGatewayPeeringAttachment' | |
|
Instances
newDeleteTransitGatewayPeeringAttachment Source #
Create a value of DeleteTransitGatewayPeeringAttachment
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:DeleteTransitGatewayPeeringAttachment'
, deleteTransitGatewayPeeringAttachment_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
.
DeleteTransitGatewayPeeringAttachment
, deleteTransitGatewayPeeringAttachment_transitGatewayAttachmentId
- The ID of the transit gateway peering attachment.
Request Lenses
deleteTransitGatewayPeeringAttachment_dryRun :: Lens' DeleteTransitGatewayPeeringAttachment (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
.
deleteTransitGatewayPeeringAttachment_transitGatewayAttachmentId :: Lens' DeleteTransitGatewayPeeringAttachment Text Source #
The ID of the transit gateway peering attachment.
Destructuring the Response
data DeleteTransitGatewayPeeringAttachmentResponse Source #
See: newDeleteTransitGatewayPeeringAttachmentResponse
smart constructor.
DeleteTransitGatewayPeeringAttachmentResponse' | |
|
Instances
newDeleteTransitGatewayPeeringAttachmentResponse Source #
:: Int |
|
-> DeleteTransitGatewayPeeringAttachmentResponse |
Create a value of DeleteTransitGatewayPeeringAttachmentResponse
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:transitGatewayPeeringAttachment:DeleteTransitGatewayPeeringAttachmentResponse'
, deleteTransitGatewayPeeringAttachmentResponse_transitGatewayPeeringAttachment
- The transit gateway peering attachment.
$sel:httpStatus:DeleteTransitGatewayPeeringAttachmentResponse'
, deleteTransitGatewayPeeringAttachmentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteTransitGatewayPeeringAttachmentResponse_transitGatewayPeeringAttachment :: Lens' DeleteTransitGatewayPeeringAttachmentResponse (Maybe TransitGatewayPeeringAttachment) Source #
The transit gateway peering attachment.
deleteTransitGatewayPeeringAttachmentResponse_httpStatus :: Lens' DeleteTransitGatewayPeeringAttachmentResponse Int Source #
The response's http status code.