amazonka-networkmanager-2.0: Amazon Network Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.NetworkManager.ListAttachments

Description

Returns a list of core network attachments.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAttachments Source #

See: newListAttachments smart constructor.

Constructors

ListAttachments' 

Fields

Instances

Instances details
ToHeaders ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

ToPath ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

ToQuery ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

AWSPager ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

AWSRequest ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

Associated Types

type AWSResponse ListAttachments #

Generic ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

Associated Types

type Rep ListAttachments :: Type -> Type #

Read ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

Show ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

NFData ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

Methods

rnf :: ListAttachments -> () #

Eq ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

Hashable ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

type AWSResponse ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

type Rep ListAttachments Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

type Rep ListAttachments = D1 ('MetaData "ListAttachments" "Amazonka.NetworkManager.ListAttachments" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "ListAttachments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attachmentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttachmentType)) :*: (S1 ('MetaSel ('Just "coreNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "edgeLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttachmentState))))))

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_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.

Destructuring the Response

data ListAttachmentsResponse Source #

See: newListAttachmentsResponse smart constructor.

Constructors

ListAttachmentsResponse' 

Fields

Instances

Instances details
Generic ListAttachmentsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

Associated Types

type Rep ListAttachmentsResponse :: Type -> Type #

Read ListAttachmentsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

Show ListAttachmentsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

NFData ListAttachmentsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

Methods

rnf :: ListAttachmentsResponse -> () #

Eq ListAttachmentsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

type Rep ListAttachmentsResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.ListAttachments

type Rep ListAttachmentsResponse = D1 ('MetaData "ListAttachmentsResponse" "Amazonka.NetworkManager.ListAttachments" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "ListAttachmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Attachment])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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