| 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.AcceptAttachment
Description
Accepts a core network attachment request.
Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.
Synopsis
- data AcceptAttachment = AcceptAttachment' {
- attachmentId :: Text
- newAcceptAttachment :: Text -> AcceptAttachment
- acceptAttachment_attachmentId :: Lens' AcceptAttachment Text
- data AcceptAttachmentResponse = AcceptAttachmentResponse' {}
- newAcceptAttachmentResponse :: Int -> AcceptAttachmentResponse
- acceptAttachmentResponse_attachment :: Lens' AcceptAttachmentResponse (Maybe Attachment)
- acceptAttachmentResponse_httpStatus :: Lens' AcceptAttachmentResponse Int
Creating a Request
data AcceptAttachment Source #
See: newAcceptAttachment smart constructor.
Constructors
| AcceptAttachment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> AcceptAttachment |
Create a value of AcceptAttachment 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:
AcceptAttachment, acceptAttachment_attachmentId - The ID of the attachment.
Request Lenses
acceptAttachment_attachmentId :: Lens' AcceptAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data AcceptAttachmentResponse Source #
See: newAcceptAttachmentResponse smart constructor.
Constructors
| AcceptAttachmentResponse' | |
Fields
| |
Instances
newAcceptAttachmentResponse Source #
Create a value of AcceptAttachmentResponse 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:
AcceptAttachmentResponse, acceptAttachmentResponse_attachment - The response to the attachment request.
$sel:httpStatus:AcceptAttachmentResponse', acceptAttachmentResponse_httpStatus - The response's http status code.
Response Lenses
acceptAttachmentResponse_attachment :: Lens' AcceptAttachmentResponse (Maybe Attachment) Source #
The response to the attachment request.
acceptAttachmentResponse_httpStatus :: Lens' AcceptAttachmentResponse Int Source #
The response's http status code.