| 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.ListAttachments
Description
Returns a list of core network attachments.
This operation returns paginated results.
Synopsis
- data ListAttachments = ListAttachments' {}
- newListAttachments :: ListAttachments
- listAttachments_attachmentType :: Lens' ListAttachments (Maybe AttachmentType)
- listAttachments_coreNetworkId :: Lens' ListAttachments (Maybe Text)
- listAttachments_edgeLocation :: Lens' ListAttachments (Maybe Text)
- listAttachments_maxResults :: Lens' ListAttachments (Maybe Natural)
- listAttachments_nextToken :: Lens' ListAttachments (Maybe Text)
- listAttachments_state :: Lens' ListAttachments (Maybe AttachmentState)
- data ListAttachmentsResponse = ListAttachmentsResponse' {
- attachments :: Maybe [Attachment]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAttachmentsResponse :: Int -> ListAttachmentsResponse
- listAttachmentsResponse_attachments :: Lens' ListAttachmentsResponse (Maybe [Attachment])
- listAttachmentsResponse_nextToken :: Lens' ListAttachmentsResponse (Maybe Text)
- listAttachmentsResponse_httpStatus :: Lens' ListAttachmentsResponse Int
Creating a Request
data ListAttachments Source #
See: newListAttachments smart constructor.
Constructors
| ListAttachments' | |
Fields
| |
Instances
newListAttachments :: ListAttachments Source #
Create a value of ListAttachments 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:
ListAttachments, listAttachments_attachmentType - The type of attachment.
ListAttachments, listAttachments_coreNetworkId - The ID of a core network.
ListAttachments, listAttachments_edgeLocation - The Region where the edge is located.
$sel:maxResults:ListAttachments', listAttachments_maxResults - The maximum number of results to return.
ListAttachments, listAttachments_nextToken - The token for the next page of results.
ListAttachments, listAttachments_state - The state of the attachment.
Request Lenses
listAttachments_attachmentType :: Lens' ListAttachments (Maybe AttachmentType) Source #
The type of attachment.
listAttachments_coreNetworkId :: Lens' ListAttachments (Maybe Text) Source #
The ID of a core network.
listAttachments_edgeLocation :: Lens' ListAttachments (Maybe Text) Source #
The Region where the edge is located.
listAttachments_maxResults :: Lens' ListAttachments (Maybe Natural) Source #
The maximum number of results to return.
listAttachments_nextToken :: Lens' ListAttachments (Maybe Text) Source #
The token for the next page of results.
listAttachments_state :: Lens' ListAttachments (Maybe AttachmentState) Source #
The state of the attachment.
Destructuring the Response
data ListAttachmentsResponse Source #
See: newListAttachmentsResponse smart constructor.
Constructors
| ListAttachmentsResponse' | |
Fields
| |
Instances
newListAttachmentsResponse Source #
Create a value of ListAttachmentsResponse 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:attachments:ListAttachmentsResponse', listAttachmentsResponse_attachments - Describes the list of attachments.
ListAttachments, listAttachmentsResponse_nextToken - The token for the next page of results.
$sel:httpStatus:ListAttachmentsResponse', listAttachmentsResponse_httpStatus - The response's http status code.
Response Lenses
listAttachmentsResponse_attachments :: Lens' ListAttachmentsResponse (Maybe [Attachment]) Source #
Describes the list of attachments.
listAttachmentsResponse_nextToken :: Lens' ListAttachmentsResponse (Maybe Text) Source #
The token for the next page of results.
listAttachmentsResponse_httpStatus :: Lens' ListAttachmentsResponse Int Source #
The response's http status code.