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

Description

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

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 ListOrders Source #

See: newListOrders smart constructor.

Constructors

ListOrders' 

Fields

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

    The filters.

    • NETWORK_SITE - The Amazon Resource Name (ARN) of the network site.
    • STATUS - The status (ACKNOWLEDGING | ACKNOWLEDGED | UNACKNOWLEDGED).

    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 ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

ToHeaders ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

Methods

toHeaders :: ListOrders -> [Header] #

ToPath ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

ToQuery ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

AWSPager ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

AWSRequest ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

Associated Types

type AWSResponse ListOrders #

Generic ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

Associated Types

type Rep ListOrders :: Type -> Type #

Read ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

Show ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

NFData ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

Methods

rnf :: ListOrders -> () #

Eq ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

Hashable ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

type AWSResponse ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

type Rep ListOrders Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

type Rep ListOrders = D1 ('MetaData "ListOrders" "Amazonka.PrivateNetworks.ListOrders" "amazonka-privatenetworks-2.0-6kTUHQMy1b1JCa08Y5Egzo" 'False) (C1 ('MetaCons "ListOrders'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap OrderFilterKeys [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))))

newListOrders Source #

Arguments

:: Text

ListOrders

-> ListOrders 

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

  • NETWORK_SITE - The Amazon Resource Name (ARN) of the network site.
  • STATUS - The status (ACKNOWLEDGING | ACKNOWLEDGED | UNACKNOWLEDGED).

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:ListOrders', listOrders_maxResults - The maximum number of results to return.

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

ListOrders, listOrders_networkArn - The Amazon Resource Name (ARN) of the network.

Request Lenses

listOrders_filters :: Lens' ListOrders (Maybe (HashMap OrderFilterKeys [Text])) Source #

The filters.

  • NETWORK_SITE - The Amazon Resource Name (ARN) of the network site.
  • STATUS - The status (ACKNOWLEDGING | ACKNOWLEDGED | UNACKNOWLEDGED).

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.

listOrders_maxResults :: Lens' ListOrders (Maybe Natural) Source #

The maximum number of results to return.

listOrders_startToken :: Lens' ListOrders (Maybe Text) Source #

The token for the next page of results.

listOrders_networkArn :: Lens' ListOrders Text Source #

The Amazon Resource Name (ARN) of the network.

Destructuring the Response

data ListOrdersResponse Source #

See: newListOrdersResponse smart constructor.

Constructors

ListOrdersResponse' 

Fields

Instances

Instances details
Generic ListOrdersResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

Associated Types

type Rep ListOrdersResponse :: Type -> Type #

Show ListOrdersResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

NFData ListOrdersResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

Methods

rnf :: ListOrdersResponse -> () #

Eq ListOrdersResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

type Rep ListOrdersResponse Source # 
Instance details

Defined in Amazonka.PrivateNetworks.ListOrders

type Rep ListOrdersResponse = D1 ('MetaData "ListOrdersResponse" "Amazonka.PrivateNetworks.ListOrders" "amazonka-privatenetworks-2.0-6kTUHQMy1b1JCa08Y5Egzo" 'False) (C1 ('MetaCons "ListOrdersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "orders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Order])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOrdersResponse Source #

Create a value of ListOrdersResponse 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:nextToken:ListOrdersResponse', listOrdersResponse_nextToken - The token for the next page of results.

$sel:orders:ListOrdersResponse', listOrdersResponse_orders - Information about the orders.

$sel:httpStatus:ListOrdersResponse', listOrdersResponse_httpStatus - The response's http status code.

Response Lenses

listOrdersResponse_nextToken :: Lens' ListOrdersResponse (Maybe Text) Source #

The token for the next page of results.