| 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.GetConnectAttachment
Description
Returns information about a core network Connect attachment.
Synopsis
- data GetConnectAttachment = GetConnectAttachment' {
- attachmentId :: Text
- newGetConnectAttachment :: Text -> GetConnectAttachment
- getConnectAttachment_attachmentId :: Lens' GetConnectAttachment Text
- data GetConnectAttachmentResponse = GetConnectAttachmentResponse' {}
- newGetConnectAttachmentResponse :: Int -> GetConnectAttachmentResponse
- getConnectAttachmentResponse_connectAttachment :: Lens' GetConnectAttachmentResponse (Maybe ConnectAttachment)
- getConnectAttachmentResponse_httpStatus :: Lens' GetConnectAttachmentResponse Int
Creating a Request
data GetConnectAttachment Source #
See: newGetConnectAttachment smart constructor.
Constructors
| GetConnectAttachment' | |
Fields
| |
Instances
newGetConnectAttachment Source #
Arguments
| :: Text | |
| -> GetConnectAttachment |
Create a value of GetConnectAttachment 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:
GetConnectAttachment, getConnectAttachment_attachmentId - The ID of the attachment.
Request Lenses
getConnectAttachment_attachmentId :: Lens' GetConnectAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data GetConnectAttachmentResponse Source #
See: newGetConnectAttachmentResponse smart constructor.
Constructors
| GetConnectAttachmentResponse' | |
Fields
| |
Instances
newGetConnectAttachmentResponse Source #
Create a value of GetConnectAttachmentResponse 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:GetConnectAttachmentResponse', getConnectAttachmentResponse_connectAttachment - Details about the Connect attachment.
$sel:httpStatus:GetConnectAttachmentResponse', getConnectAttachmentResponse_httpStatus - The response's http status code.
Response Lenses
getConnectAttachmentResponse_connectAttachment :: Lens' GetConnectAttachmentResponse (Maybe ConnectAttachment) Source #
Details about the Connect attachment.
getConnectAttachmentResponse_httpStatus :: Lens' GetConnectAttachmentResponse Int Source #
The response's http status code.