| 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.RejectAttachment
Description
Rejects a core network attachment request.
Synopsis
- data RejectAttachment = RejectAttachment' {
- attachmentId :: Text
- newRejectAttachment :: Text -> RejectAttachment
- rejectAttachment_attachmentId :: Lens' RejectAttachment Text
- data RejectAttachmentResponse = RejectAttachmentResponse' {}
- newRejectAttachmentResponse :: Int -> RejectAttachmentResponse
- rejectAttachmentResponse_attachment :: Lens' RejectAttachmentResponse (Maybe Attachment)
- rejectAttachmentResponse_httpStatus :: Lens' RejectAttachmentResponse Int
Creating a Request
data RejectAttachment Source #
See: newRejectAttachment smart constructor.
Constructors
| RejectAttachment' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> RejectAttachment |
Create a value of RejectAttachment 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:
RejectAttachment, rejectAttachment_attachmentId - The ID of the attachment.
Request Lenses
rejectAttachment_attachmentId :: Lens' RejectAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data RejectAttachmentResponse Source #
See: newRejectAttachmentResponse smart constructor.
Constructors
| RejectAttachmentResponse' | |
Fields
| |
Instances
newRejectAttachmentResponse Source #
Create a value of RejectAttachmentResponse 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:
RejectAttachmentResponse, rejectAttachmentResponse_attachment - Describes the rejected attachment request.
$sel:httpStatus:RejectAttachmentResponse', rejectAttachmentResponse_httpStatus - The response's http status code.
Response Lenses
rejectAttachmentResponse_attachment :: Lens' RejectAttachmentResponse (Maybe Attachment) Source #
Describes the rejected attachment request.
rejectAttachmentResponse_httpStatus :: Lens' RejectAttachmentResponse Int Source #
The response's http status code.