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

Description

Describes the network resources for the specified global network.

The results include information from the corresponding Describe call for the resource, minus any sensitive information such as pre-shared keys.

This operation returns paginated results.

Synopsis

Creating a Request

data GetNetworkResources Source #

See: newGetNetworkResources smart constructor.

Constructors

GetNetworkResources' 

Fields

Instances

Instances details
ToHeaders GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

ToPath GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

ToQuery GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

AWSPager GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

AWSRequest GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

Associated Types

type AWSResponse GetNetworkResources #

Generic GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

Associated Types

type Rep GetNetworkResources :: Type -> Type #

Read GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

Show GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

NFData GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

Methods

rnf :: GetNetworkResources -> () #

Eq GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

Hashable GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

type AWSResponse GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

type Rep GetNetworkResources Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

type Rep GetNetworkResources = D1 ('MetaData "GetNetworkResources" "Amazonka.NetworkManager.GetNetworkResources" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "GetNetworkResources'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "coreNetworkId") '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 "registeredGatewayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "globalNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newGetNetworkResources Source #

Create a value of GetNetworkResources 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:

GetNetworkResources, getNetworkResources_accountId - The Amazon Web Services account ID.

GetNetworkResources, getNetworkResources_awsRegion - The Amazon Web Services Region.

GetNetworkResources, getNetworkResources_coreNetworkId - The ID of a core network.

$sel:maxResults:GetNetworkResources', getNetworkResources_maxResults - The maximum number of results to return.

GetNetworkResources, getNetworkResources_nextToken - The token for the next page of results.

GetNetworkResources, getNetworkResources_registeredGatewayArn - The ARN of the gateway.

GetNetworkResources, getNetworkResources_resourceArn - The ARN of the resource.

GetNetworkResources, getNetworkResources_resourceType - The resource type.

The following are the supported resource types for Direct Connect:

The following are the supported resource types for Network Manager:

  • connection - The definition model is Connection.
  • device - The definition model is Device.
  • link - The definition model is Link.
  • site - The definition model is Site.

The following are the supported resource types for Amazon VPC:

GetNetworkResources, getNetworkResources_globalNetworkId - The ID of the global network.

Request Lenses

getNetworkResources_accountId :: Lens' GetNetworkResources (Maybe Text) Source #

The Amazon Web Services account ID.

getNetworkResources_maxResults :: Lens' GetNetworkResources (Maybe Natural) Source #

The maximum number of results to return.

getNetworkResources_nextToken :: Lens' GetNetworkResources (Maybe Text) Source #

The token for the next page of results.

getNetworkResources_resourceType :: Lens' GetNetworkResources (Maybe Text) Source #

The resource type.

The following are the supported resource types for Direct Connect:

The following are the supported resource types for Network Manager:

  • connection - The definition model is Connection.
  • device - The definition model is Device.
  • link - The definition model is Link.
  • site - The definition model is Site.

The following are the supported resource types for Amazon VPC:

Destructuring the Response

data GetNetworkResourcesResponse Source #

See: newGetNetworkResourcesResponse smart constructor.

Constructors

GetNetworkResourcesResponse' 

Fields

Instances

Instances details
Generic GetNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

Associated Types

type Rep GetNetworkResourcesResponse :: Type -> Type #

Read GetNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

Show GetNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

NFData GetNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

Eq GetNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

type Rep GetNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.GetNetworkResources

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

newGetNetworkResourcesResponse Source #

Create a value of GetNetworkResourcesResponse 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:networkResources:GetNetworkResourcesResponse', getNetworkResourcesResponse_networkResources - The network resources.

GetNetworkResources, getNetworkResourcesResponse_nextToken - The token for the next page of results.

$sel:httpStatus:GetNetworkResourcesResponse', getNetworkResourcesResponse_httpStatus - The response's http status code.

Response Lenses