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 |
Rejects a transit gateway peering attachment request.
Synopsis
- data RejectTransitGatewayPeeringAttachment = RejectTransitGatewayPeeringAttachment' {}
- newRejectTransitGatewayPeeringAttachment :: Text -> RejectTransitGatewayPeeringAttachment
- rejectTransitGatewayPeeringAttachment_dryRun :: Lens' RejectTransitGatewayPeeringAttachment (Maybe Bool)
- rejectTransitGatewayPeeringAttachment_transitGatewayAttachmentId :: Lens' RejectTransitGatewayPeeringAttachment Text
- data RejectTransitGatewayPeeringAttachmentResponse = RejectTransitGatewayPeeringAttachmentResponse' {}
- newRejectTransitGatewayPeeringAttachmentResponse :: Int -> RejectTransitGatewayPeeringAttachmentResponse
- rejectTransitGatewayPeeringAttachmentResponse_transitGatewayPeeringAttachment :: Lens' RejectTransitGatewayPeeringAttachmentResponse (Maybe TransitGatewayPeeringAttachment)
- rejectTransitGatewayPeeringAttachmentResponse_httpStatus :: Lens' RejectTransitGatewayPeeringAttachmentResponse Int
Creating a Request
data RejectTransitGatewayPeeringAttachment Source #
See: newRejectTransitGatewayPeeringAttachment
smart constructor.
RejectTransitGatewayPeeringAttachment' | |
|
Instances
newRejectTransitGatewayPeeringAttachment Source #
Create a value of RejectTransitGatewayPeeringAttachment
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:RejectTransitGatewayPeeringAttachment'
, rejectTransitGatewayPeeringAttachment_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
.
RejectTransitGatewayPeeringAttachment
, rejectTransitGatewayPeeringAttachment_transitGatewayAttachmentId
- The ID of the transit gateway peering attachment.
Request Lenses
rejectTransitGatewayPeeringAttachment_dryRun :: Lens' RejectTransitGatewayPeeringAttachment (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
.
rejectTransitGatewayPeeringAttachment_transitGatewayAttachmentId :: Lens' RejectTransitGatewayPeeringAttachment Text Source #
The ID of the transit gateway peering attachment.
Destructuring the Response
data RejectTransitGatewayPeeringAttachmentResponse Source #
See: newRejectTransitGatewayPeeringAttachmentResponse
smart constructor.
RejectTransitGatewayPeeringAttachmentResponse' | |
|
Instances
newRejectTransitGatewayPeeringAttachmentResponse Source #
:: Int |
|
-> RejectTransitGatewayPeeringAttachmentResponse |
Create a value of RejectTransitGatewayPeeringAttachmentResponse
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:RejectTransitGatewayPeeringAttachmentResponse'
, rejectTransitGatewayPeeringAttachmentResponse_transitGatewayPeeringAttachment
- The transit gateway peering attachment.
$sel:httpStatus:RejectTransitGatewayPeeringAttachmentResponse'
, rejectTransitGatewayPeeringAttachmentResponse_httpStatus
- The response's http status code.
Response Lenses
rejectTransitGatewayPeeringAttachmentResponse_transitGatewayPeeringAttachment :: Lens' RejectTransitGatewayPeeringAttachmentResponse (Maybe TransitGatewayPeeringAttachment) Source #
The transit gateway peering attachment.
rejectTransitGatewayPeeringAttachmentResponse_httpStatus :: Lens' RejectTransitGatewayPeeringAttachmentResponse Int Source #
The response's http status code.