amazonka-privatenetworks-2.0: Amazon Private 5G 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.PrivateNetworks.ListNetworkResources

Description

Lists network resources. Add filters to your request to return a more specific list of results. Use filters to match the Amazon Resource Name (ARN) of an order or the status of network resources.

If you specify multiple filters, filters are joined with an OR, and the request returns results that match all of the specified filters.

This operation returns paginated results.

Synopsis

Creating a Request

data ListNetworkResources Source #

See: newListNetworkResources smart constructor.

Constructors

ListNetworkResources' 

Fields

  • filters :: Maybe (HashMap NetworkResourceFilterKeys [Text])

    The filters.

    • ORDER - The Amazon Resource Name (ARN) of the order.
    • STATUS - The status (AVAILABLE | DELETED | DELETING | PENDING | PENDING_RETURN | PROVISIONING | SHIPPED).

    Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

  • maxResults :: Maybe Natural

    The maximum number of results to return.

  • startToken :: Maybe Text

    The token for the next page of results.

  • networkArn :: Text

    The Amazon Resource Name (ARN) of the network.

Instances

Instances details
ToJSON ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

ToHeaders ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

ToPath ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

ToQuery ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

AWSPager ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

AWSRequest ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

Associated Types

type AWSResponse ListNetworkResources #

Generic ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

Associated Types

type Rep ListNetworkResources :: Type -> Type #

Read ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

Show ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

NFData ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

Methods

rnf :: ListNetworkResources -> () #

Eq ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

Hashable ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

type AWSResponse ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

type Rep ListNetworkResources Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

type Rep ListNetworkResources = D1 ('MetaData "ListNetworkResources" "Amazonka.PrivateNetworks.ListNetworkResources" "amazonka-privatenetworks-2.0-6kTUHQMy1b1JCa08Y5Egzo" 'False) (C1 ('MetaCons "ListNetworkResources'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap NetworkResourceFilterKeys [Text]))) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "startToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListNetworkResources Source #

Create a value of ListNetworkResources 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:filters:ListNetworkResources', listNetworkResources_filters - The filters.

  • ORDER - The Amazon Resource Name (ARN) of the order.
  • STATUS - The status (AVAILABLE | DELETED | DELETING | PENDING | PENDING_RETURN | PROVISIONING | SHIPPED).

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

$sel:maxResults:ListNetworkResources', listNetworkResources_maxResults - The maximum number of results to return.

$sel:startToken:ListNetworkResources', listNetworkResources_startToken - The token for the next page of results.

ListNetworkResources, listNetworkResources_networkArn - The Amazon Resource Name (ARN) of the network.

Request Lenses

listNetworkResources_filters :: Lens' ListNetworkResources (Maybe (HashMap NetworkResourceFilterKeys [Text])) Source #

The filters.

  • ORDER - The Amazon Resource Name (ARN) of the order.
  • STATUS - The status (AVAILABLE | DELETED | DELETING | PENDING | PENDING_RETURN | PROVISIONING | SHIPPED).

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

listNetworkResources_maxResults :: Lens' ListNetworkResources (Maybe Natural) Source #

The maximum number of results to return.

listNetworkResources_startToken :: Lens' ListNetworkResources (Maybe Text) Source #

The token for the next page of results.

listNetworkResources_networkArn :: Lens' ListNetworkResources Text Source #

The Amazon Resource Name (ARN) of the network.

Destructuring the Response

data ListNetworkResourcesResponse Source #

See: newListNetworkResourcesResponse smart constructor.

Constructors

ListNetworkResourcesResponse' 

Fields

Instances

Instances details
Generic ListNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

Associated Types

type Rep ListNetworkResourcesResponse :: Type -> Type #

Read ListNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

Show ListNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

NFData ListNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

Eq ListNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

type Rep ListNetworkResourcesResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListNetworkResources

type Rep ListNetworkResourcesResponse = D1 ('MetaData "ListNetworkResourcesResponse" "Amazonka.PrivateNetworks.ListNetworkResources" "amazonka-privatenetworks-2.0-6kTUHQMy1b1JCa08Y5Egzo" 'False) (C1 ('MetaCons "ListNetworkResourcesResponse'" '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))))

newListNetworkResourcesResponse Source #

Create a value of ListNetworkResourcesResponse 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:ListNetworkResourcesResponse', listNetworkResourcesResponse_networkResources - Information about network resources.

$sel:nextToken:ListNetworkResourcesResponse', listNetworkResourcesResponse_nextToken - The token for the next page of results.

$sel:httpStatus:ListNetworkResourcesResponse', listNetworkResourcesResponse_httpStatus - The response's http status code.

Response Lenses