| 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.GetSiteToSiteVpnAttachment
Description
Returns information about a site-to-site VPN attachment.
Synopsis
- data GetSiteToSiteVpnAttachment = GetSiteToSiteVpnAttachment' {
- attachmentId :: Text
- newGetSiteToSiteVpnAttachment :: Text -> GetSiteToSiteVpnAttachment
- getSiteToSiteVpnAttachment_attachmentId :: Lens' GetSiteToSiteVpnAttachment Text
- data GetSiteToSiteVpnAttachmentResponse = GetSiteToSiteVpnAttachmentResponse' {}
- newGetSiteToSiteVpnAttachmentResponse :: Int -> GetSiteToSiteVpnAttachmentResponse
- getSiteToSiteVpnAttachmentResponse_siteToSiteVpnAttachment :: Lens' GetSiteToSiteVpnAttachmentResponse (Maybe SiteToSiteVpnAttachment)
- getSiteToSiteVpnAttachmentResponse_httpStatus :: Lens' GetSiteToSiteVpnAttachmentResponse Int
Creating a Request
data GetSiteToSiteVpnAttachment Source #
See: newGetSiteToSiteVpnAttachment smart constructor.
Constructors
| GetSiteToSiteVpnAttachment' | |
Fields
| |
Instances
newGetSiteToSiteVpnAttachment Source #
Arguments
| :: Text | |
| -> GetSiteToSiteVpnAttachment |
Create a value of GetSiteToSiteVpnAttachment 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:
GetSiteToSiteVpnAttachment, getSiteToSiteVpnAttachment_attachmentId - The ID of the attachment.
Request Lenses
getSiteToSiteVpnAttachment_attachmentId :: Lens' GetSiteToSiteVpnAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data GetSiteToSiteVpnAttachmentResponse Source #
See: newGetSiteToSiteVpnAttachmentResponse smart constructor.
Constructors
| GetSiteToSiteVpnAttachmentResponse' | |
Fields
| |
Instances
newGetSiteToSiteVpnAttachmentResponse Source #
Arguments
| :: Int | |
| -> GetSiteToSiteVpnAttachmentResponse |
Create a value of GetSiteToSiteVpnAttachmentResponse 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:GetSiteToSiteVpnAttachmentResponse', getSiteToSiteVpnAttachmentResponse_siteToSiteVpnAttachment - Describes the site-to-site attachment.
$sel:httpStatus:GetSiteToSiteVpnAttachmentResponse', getSiteToSiteVpnAttachmentResponse_httpStatus - The response's http status code.
Response Lenses
getSiteToSiteVpnAttachmentResponse_siteToSiteVpnAttachment :: Lens' GetSiteToSiteVpnAttachmentResponse (Maybe SiteToSiteVpnAttachment) Source #
Describes the site-to-site attachment.
getSiteToSiteVpnAttachmentResponse_httpStatus :: Lens' GetSiteToSiteVpnAttachmentResponse Int Source #
The response's http status code.