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 |
Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.
A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.
Synopsis
- data CreateTransitGatewayConnect = CreateTransitGatewayConnect' {}
- newCreateTransitGatewayConnect :: Text -> CreateTransitGatewayConnectRequestOptions -> CreateTransitGatewayConnect
- createTransitGatewayConnect_dryRun :: Lens' CreateTransitGatewayConnect (Maybe Bool)
- createTransitGatewayConnect_tagSpecifications :: Lens' CreateTransitGatewayConnect (Maybe [TagSpecification])
- createTransitGatewayConnect_transportTransitGatewayAttachmentId :: Lens' CreateTransitGatewayConnect Text
- createTransitGatewayConnect_options :: Lens' CreateTransitGatewayConnect CreateTransitGatewayConnectRequestOptions
- data CreateTransitGatewayConnectResponse = CreateTransitGatewayConnectResponse' {}
- newCreateTransitGatewayConnectResponse :: Int -> CreateTransitGatewayConnectResponse
- createTransitGatewayConnectResponse_transitGatewayConnect :: Lens' CreateTransitGatewayConnectResponse (Maybe TransitGatewayConnect)
- createTransitGatewayConnectResponse_httpStatus :: Lens' CreateTransitGatewayConnectResponse Int
Creating a Request
data CreateTransitGatewayConnect Source #
See: newCreateTransitGatewayConnect
smart constructor.
CreateTransitGatewayConnect' | |
|
Instances
newCreateTransitGatewayConnect Source #
Create a value of CreateTransitGatewayConnect
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:CreateTransitGatewayConnect'
, createTransitGatewayConnect_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
.
CreateTransitGatewayConnect
, createTransitGatewayConnect_tagSpecifications
- The tags to apply to the Connect attachment.
CreateTransitGatewayConnect
, createTransitGatewayConnect_transportTransitGatewayAttachmentId
- The ID of the transit gateway attachment. You can specify a VPC
attachment or Amazon Web Services Direct Connect attachment.
CreateTransitGatewayConnect
, createTransitGatewayConnect_options
- The Connect attachment options.
Request Lenses
createTransitGatewayConnect_dryRun :: Lens' CreateTransitGatewayConnect (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
.
createTransitGatewayConnect_tagSpecifications :: Lens' CreateTransitGatewayConnect (Maybe [TagSpecification]) Source #
The tags to apply to the Connect attachment.
createTransitGatewayConnect_transportTransitGatewayAttachmentId :: Lens' CreateTransitGatewayConnect Text Source #
The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.
createTransitGatewayConnect_options :: Lens' CreateTransitGatewayConnect CreateTransitGatewayConnectRequestOptions Source #
The Connect attachment options.
Destructuring the Response
data CreateTransitGatewayConnectResponse Source #
See: newCreateTransitGatewayConnectResponse
smart constructor.
CreateTransitGatewayConnectResponse' | |
|
Instances
Generic CreateTransitGatewayConnectResponse Source # | |
Read CreateTransitGatewayConnectResponse Source # | |
Show CreateTransitGatewayConnectResponse Source # | |
NFData CreateTransitGatewayConnectResponse Source # | |
Defined in Amazonka.EC2.CreateTransitGatewayConnect rnf :: CreateTransitGatewayConnectResponse -> () # | |
Eq CreateTransitGatewayConnectResponse Source # | |
type Rep CreateTransitGatewayConnectResponse Source # | |
Defined in Amazonka.EC2.CreateTransitGatewayConnect type Rep CreateTransitGatewayConnectResponse = D1 ('MetaData "CreateTransitGatewayConnectResponse" "Amazonka.EC2.CreateTransitGatewayConnect" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateTransitGatewayConnectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transitGatewayConnect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransitGatewayConnect)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateTransitGatewayConnectResponse Source #
Create a value of CreateTransitGatewayConnectResponse
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:transitGatewayConnect:CreateTransitGatewayConnectResponse'
, createTransitGatewayConnectResponse_transitGatewayConnect
- Information about the Connect attachment.
$sel:httpStatus:CreateTransitGatewayConnectResponse'
, createTransitGatewayConnectResponse_httpStatus
- The response's http status code.
Response Lenses
createTransitGatewayConnectResponse_transitGatewayConnect :: Lens' CreateTransitGatewayConnectResponse (Maybe TransitGatewayConnect) Source #
Information about the Connect attachment.
createTransitGatewayConnectResponse_httpStatus :: Lens' CreateTransitGatewayConnectResponse Int Source #
The response's http status code.