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 an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.
Synopsis
- data CreateSiteToSiteVpnAttachment = CreateSiteToSiteVpnAttachment' {
- clientToken :: Maybe Text
- tags :: Maybe [Tag]
- coreNetworkId :: Text
- vpnConnectionArn :: Text
- newCreateSiteToSiteVpnAttachment :: Text -> Text -> CreateSiteToSiteVpnAttachment
- createSiteToSiteVpnAttachment_clientToken :: Lens' CreateSiteToSiteVpnAttachment (Maybe Text)
- createSiteToSiteVpnAttachment_tags :: Lens' CreateSiteToSiteVpnAttachment (Maybe [Tag])
- createSiteToSiteVpnAttachment_coreNetworkId :: Lens' CreateSiteToSiteVpnAttachment Text
- createSiteToSiteVpnAttachment_vpnConnectionArn :: Lens' CreateSiteToSiteVpnAttachment Text
- data CreateSiteToSiteVpnAttachmentResponse = CreateSiteToSiteVpnAttachmentResponse' {}
- newCreateSiteToSiteVpnAttachmentResponse :: Int -> CreateSiteToSiteVpnAttachmentResponse
- createSiteToSiteVpnAttachmentResponse_siteToSiteVpnAttachment :: Lens' CreateSiteToSiteVpnAttachmentResponse (Maybe SiteToSiteVpnAttachment)
- createSiteToSiteVpnAttachmentResponse_httpStatus :: Lens' CreateSiteToSiteVpnAttachmentResponse Int
Creating a Request
data CreateSiteToSiteVpnAttachment Source #
See: newCreateSiteToSiteVpnAttachment
smart constructor.
CreateSiteToSiteVpnAttachment' | |
|
Instances
newCreateSiteToSiteVpnAttachment Source #
Create a value of CreateSiteToSiteVpnAttachment
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:CreateSiteToSiteVpnAttachment'
, createSiteToSiteVpnAttachment_clientToken
- The client token associated with the request.
CreateSiteToSiteVpnAttachment
, createSiteToSiteVpnAttachment_tags
- The tags associated with the request.
CreateSiteToSiteVpnAttachment
, createSiteToSiteVpnAttachment_coreNetworkId
- The ID of a core network where you're creating a site-to-site VPN
attachment.
CreateSiteToSiteVpnAttachment
, createSiteToSiteVpnAttachment_vpnConnectionArn
- The ARN identifying the VPN attachment.
Request Lenses
createSiteToSiteVpnAttachment_clientToken :: Lens' CreateSiteToSiteVpnAttachment (Maybe Text) Source #
The client token associated with the request.
createSiteToSiteVpnAttachment_tags :: Lens' CreateSiteToSiteVpnAttachment (Maybe [Tag]) Source #
The tags associated with the request.
createSiteToSiteVpnAttachment_coreNetworkId :: Lens' CreateSiteToSiteVpnAttachment Text Source #
The ID of a core network where you're creating a site-to-site VPN attachment.
createSiteToSiteVpnAttachment_vpnConnectionArn :: Lens' CreateSiteToSiteVpnAttachment Text Source #
The ARN identifying the VPN attachment.
Destructuring the Response
data CreateSiteToSiteVpnAttachmentResponse Source #
See: newCreateSiteToSiteVpnAttachmentResponse
smart constructor.
CreateSiteToSiteVpnAttachmentResponse' | |
|
Instances
newCreateSiteToSiteVpnAttachmentResponse Source #
Create a value of CreateSiteToSiteVpnAttachmentResponse
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:siteToSiteVpnAttachment:CreateSiteToSiteVpnAttachmentResponse'
, createSiteToSiteVpnAttachmentResponse_siteToSiteVpnAttachment
- Details about a site-to-site VPN attachment.
$sel:httpStatus:CreateSiteToSiteVpnAttachmentResponse'
, createSiteToSiteVpnAttachmentResponse_httpStatus
- The response's http status code.
Response Lenses
createSiteToSiteVpnAttachmentResponse_siteToSiteVpnAttachment :: Lens' CreateSiteToSiteVpnAttachmentResponse (Maybe SiteToSiteVpnAttachment) Source #
Details about a site-to-site VPN attachment.
createSiteToSiteVpnAttachmentResponse_httpStatus :: Lens' CreateSiteToSiteVpnAttachmentResponse Int Source #
The response's http status code.