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.GetVpcAttachment
Description
Returns information about a VPC attachment.
Synopsis
- data GetVpcAttachment = GetVpcAttachment' {
- attachmentId :: Text
- newGetVpcAttachment :: Text -> GetVpcAttachment
- getVpcAttachment_attachmentId :: Lens' GetVpcAttachment Text
- data GetVpcAttachmentResponse = GetVpcAttachmentResponse' {}
- newGetVpcAttachmentResponse :: Int -> GetVpcAttachmentResponse
- getVpcAttachmentResponse_vpcAttachment :: Lens' GetVpcAttachmentResponse (Maybe VpcAttachment)
- getVpcAttachmentResponse_httpStatus :: Lens' GetVpcAttachmentResponse Int
Creating a Request
data GetVpcAttachment Source #
See: newGetVpcAttachment
smart constructor.
Constructors
GetVpcAttachment' | |
Fields
|
Instances
Arguments
:: Text | |
-> GetVpcAttachment |
Create a value of GetVpcAttachment
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:
GetVpcAttachment
, getVpcAttachment_attachmentId
- The ID of the attachment.
Request Lenses
getVpcAttachment_attachmentId :: Lens' GetVpcAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data GetVpcAttachmentResponse Source #
See: newGetVpcAttachmentResponse
smart constructor.
Constructors
GetVpcAttachmentResponse' | |
Fields
|
Instances
newGetVpcAttachmentResponse Source #
Create a value of GetVpcAttachmentResponse
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:vpcAttachment:GetVpcAttachmentResponse'
, getVpcAttachmentResponse_vpcAttachment
- Returns details about a VPC attachment.
$sel:httpStatus:GetVpcAttachmentResponse'
, getVpcAttachmentResponse_httpStatus
- The response's http status code.
Response Lenses
getVpcAttachmentResponse_vpcAttachment :: Lens' GetVpcAttachmentResponse (Maybe VpcAttachment) Source #
Returns details about a VPC attachment.
getVpcAttachmentResponse_httpStatus :: Lens' GetVpcAttachmentResponse Int Source #
The response's http status code.