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 request to attach a VPC to a transit gateway.
The VPC attachment must be in the pendingAcceptance
state. Use
DescribeTransitGatewayVpcAttachments to view your pending VPC attachment
requests. Use AcceptTransitGatewayVpcAttachment to accept a VPC
attachment request.
Synopsis
- data RejectTransitGatewayVpcAttachment = RejectTransitGatewayVpcAttachment' {}
- newRejectTransitGatewayVpcAttachment :: Text -> RejectTransitGatewayVpcAttachment
- rejectTransitGatewayVpcAttachment_dryRun :: Lens' RejectTransitGatewayVpcAttachment (Maybe Bool)
- rejectTransitGatewayVpcAttachment_transitGatewayAttachmentId :: Lens' RejectTransitGatewayVpcAttachment Text
- data RejectTransitGatewayVpcAttachmentResponse = RejectTransitGatewayVpcAttachmentResponse' {}
- newRejectTransitGatewayVpcAttachmentResponse :: Int -> RejectTransitGatewayVpcAttachmentResponse
- rejectTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment :: Lens' RejectTransitGatewayVpcAttachmentResponse (Maybe TransitGatewayVpcAttachment)
- rejectTransitGatewayVpcAttachmentResponse_httpStatus :: Lens' RejectTransitGatewayVpcAttachmentResponse Int
Creating a Request
data RejectTransitGatewayVpcAttachment Source #
See: newRejectTransitGatewayVpcAttachment
smart constructor.
RejectTransitGatewayVpcAttachment' | |
|
Instances
newRejectTransitGatewayVpcAttachment Source #
Create a value of RejectTransitGatewayVpcAttachment
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:RejectTransitGatewayVpcAttachment'
, rejectTransitGatewayVpcAttachment_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
.
RejectTransitGatewayVpcAttachment
, rejectTransitGatewayVpcAttachment_transitGatewayAttachmentId
- The ID of the attachment.
Request Lenses
rejectTransitGatewayVpcAttachment_dryRun :: Lens' RejectTransitGatewayVpcAttachment (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
.
rejectTransitGatewayVpcAttachment_transitGatewayAttachmentId :: Lens' RejectTransitGatewayVpcAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data RejectTransitGatewayVpcAttachmentResponse Source #
See: newRejectTransitGatewayVpcAttachmentResponse
smart constructor.
RejectTransitGatewayVpcAttachmentResponse' | |
|
Instances
newRejectTransitGatewayVpcAttachmentResponse Source #
Create a value of RejectTransitGatewayVpcAttachmentResponse
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:RejectTransitGatewayVpcAttachmentResponse'
, rejectTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment
- Information about the attachment.
$sel:httpStatus:RejectTransitGatewayVpcAttachmentResponse'
, rejectTransitGatewayVpcAttachmentResponse_httpStatus
- The response's http status code.
Response Lenses
rejectTransitGatewayVpcAttachmentResponse_transitGatewayVpcAttachment :: Lens' RejectTransitGatewayVpcAttachmentResponse (Maybe TransitGatewayVpcAttachment) Source #
Information about the attachment.
rejectTransitGatewayVpcAttachmentResponse_httpStatus :: Lens' RejectTransitGatewayVpcAttachmentResponse Int Source #
The response's http status code.