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 core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
Synopsis
- data CreateConnectAttachment = CreateConnectAttachment' {}
- newCreateConnectAttachment :: Text -> Text -> Text -> ConnectAttachmentOptions -> CreateConnectAttachment
- createConnectAttachment_clientToken :: Lens' CreateConnectAttachment (Maybe Text)
- createConnectAttachment_tags :: Lens' CreateConnectAttachment (Maybe [Tag])
- createConnectAttachment_coreNetworkId :: Lens' CreateConnectAttachment Text
- createConnectAttachment_edgeLocation :: Lens' CreateConnectAttachment Text
- createConnectAttachment_transportAttachmentId :: Lens' CreateConnectAttachment Text
- createConnectAttachment_options :: Lens' CreateConnectAttachment ConnectAttachmentOptions
- data CreateConnectAttachmentResponse = CreateConnectAttachmentResponse' {}
- newCreateConnectAttachmentResponse :: Int -> CreateConnectAttachmentResponse
- createConnectAttachmentResponse_connectAttachment :: Lens' CreateConnectAttachmentResponse (Maybe ConnectAttachment)
- createConnectAttachmentResponse_httpStatus :: Lens' CreateConnectAttachmentResponse Int
Creating a Request
data CreateConnectAttachment Source #
See: newCreateConnectAttachment
smart constructor.
CreateConnectAttachment' | |
|
Instances
newCreateConnectAttachment Source #
:: Text | |
-> Text | |
-> Text | |
-> ConnectAttachmentOptions | |
-> CreateConnectAttachment |
Create a value of CreateConnectAttachment
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:clientToken:CreateConnectAttachment'
, createConnectAttachment_clientToken
- The client token associated with the request.
CreateConnectAttachment
, createConnectAttachment_tags
- The list of key-value tags associated with the request.
CreateConnectAttachment
, createConnectAttachment_coreNetworkId
- The ID of a core network where you want to create the attachment.
CreateConnectAttachment
, createConnectAttachment_edgeLocation
- The Region where the edge is located.
CreateConnectAttachment
, createConnectAttachment_transportAttachmentId
- The ID of the attachment between the two connections.
CreateConnectAttachment
, createConnectAttachment_options
- Options for creating an attachment.
Request Lenses
createConnectAttachment_clientToken :: Lens' CreateConnectAttachment (Maybe Text) Source #
The client token associated with the request.
createConnectAttachment_tags :: Lens' CreateConnectAttachment (Maybe [Tag]) Source #
The list of key-value tags associated with the request.
createConnectAttachment_coreNetworkId :: Lens' CreateConnectAttachment Text Source #
The ID of a core network where you want to create the attachment.
createConnectAttachment_edgeLocation :: Lens' CreateConnectAttachment Text Source #
The Region where the edge is located.
createConnectAttachment_transportAttachmentId :: Lens' CreateConnectAttachment Text Source #
The ID of the attachment between the two connections.
createConnectAttachment_options :: Lens' CreateConnectAttachment ConnectAttachmentOptions Source #
Options for creating an attachment.
Destructuring the Response
data CreateConnectAttachmentResponse Source #
See: newCreateConnectAttachmentResponse
smart constructor.
CreateConnectAttachmentResponse' | |
|
Instances
Generic CreateConnectAttachmentResponse Source # | |
Read CreateConnectAttachmentResponse Source # | |
Show CreateConnectAttachmentResponse Source # | |
NFData CreateConnectAttachmentResponse Source # | |
Defined in Amazonka.NetworkManager.CreateConnectAttachment rnf :: CreateConnectAttachmentResponse -> () # | |
Eq CreateConnectAttachmentResponse Source # | |
type Rep CreateConnectAttachmentResponse Source # | |
Defined in Amazonka.NetworkManager.CreateConnectAttachment type Rep CreateConnectAttachmentResponse = D1 ('MetaData "CreateConnectAttachmentResponse" "Amazonka.NetworkManager.CreateConnectAttachment" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "CreateConnectAttachmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectAttachment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectAttachment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateConnectAttachmentResponse Source #
Create a value of CreateConnectAttachmentResponse
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:connectAttachment:CreateConnectAttachmentResponse'
, createConnectAttachmentResponse_connectAttachment
- The response to a Connect attachment request.
$sel:httpStatus:CreateConnectAttachmentResponse'
, createConnectAttachmentResponse_httpStatus
- The response's http status code.
Response Lenses
createConnectAttachmentResponse_connectAttachment :: Lens' CreateConnectAttachmentResponse (Maybe ConnectAttachment) Source #
The response to a Connect attachment request.
createConnectAttachmentResponse_httpStatus :: Lens' CreateConnectAttachmentResponse Int Source #
The response's http status code.