| 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 |
Amazonka.NetworkManager.CreateConnectAttachment
Description
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.
Constructors
| CreateConnectAttachment' | |
Fields
| |
Instances
newCreateConnectAttachment Source #
Arguments
| :: 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.
Constructors
| CreateConnectAttachmentResponse' | |
Fields
| |
Instances
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.