libZSservicesZSamazonka-snowballZSamazonka-snowball
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Snowball.ListLongTermPricing

Description

Lists all long-term pricing types.

Synopsis

Creating a Request

data ListLongTermPricing Source #

See: newListLongTermPricing smart constructor.

Constructors

ListLongTermPricing' 

Fields

  • nextToken :: Maybe Text

    Because HTTP requests are stateless, this is the starting point for your next list of ListLongTermPricing to return.

  • maxResults :: Maybe Natural

    The maximum number of ListLongTermPricing objects to return.

Instances

Instances details
Eq ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Read ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Show ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Generic ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Associated Types

type Rep ListLongTermPricing :: Type -> Type #

NFData ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Methods

rnf :: ListLongTermPricing -> () #

Hashable ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

ToJSON ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

AWSRequest ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Associated Types

type AWSResponse ListLongTermPricing #

ToHeaders ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

ToPath ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

ToQuery ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

type Rep ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

type Rep ListLongTermPricing = D1 ('MetaData "ListLongTermPricing" "Amazonka.Snowball.ListLongTermPricing" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "ListLongTermPricing'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListLongTermPricing Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

newListLongTermPricing :: ListLongTermPricing Source #

Create a value of ListLongTermPricing 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:ListLongTermPricing', listLongTermPricing_nextToken - Because HTTP requests are stateless, this is the starting point for your next list of ListLongTermPricing to return.

$sel:maxResults:ListLongTermPricing', listLongTermPricing_maxResults - The maximum number of ListLongTermPricing objects to return.

Request Lenses

listLongTermPricing_nextToken :: Lens' ListLongTermPricing (Maybe Text) Source #

Because HTTP requests are stateless, this is the starting point for your next list of ListLongTermPricing to return.

listLongTermPricing_maxResults :: Lens' ListLongTermPricing (Maybe Natural) Source #

The maximum number of ListLongTermPricing objects to return.

Destructuring the Response

data ListLongTermPricingResponse Source #

See: newListLongTermPricingResponse smart constructor.

Constructors

ListLongTermPricingResponse' 

Fields

Instances

Instances details
Eq ListLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Read ListLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Show ListLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Generic ListLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

Associated Types

type Rep ListLongTermPricingResponse :: Type -> Type #

NFData ListLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

type Rep ListLongTermPricingResponse Source # 
Instance details

Defined in Amazonka.Snowball.ListLongTermPricing

type Rep ListLongTermPricingResponse = D1 ('MetaData "ListLongTermPricingResponse" "Amazonka.Snowball.ListLongTermPricing" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "ListLongTermPricingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "longTermPricingEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LongTermPricingListEntry])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListLongTermPricingResponse Source #

Create a value of ListLongTermPricingResponse 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:longTermPricingEntries:ListLongTermPricingResponse', listLongTermPricingResponse_longTermPricingEntries - Each LongTermPricingEntry object contains a status, ID, and other information about the LongTermPricing type.

$sel:nextToken:ListLongTermPricing', listLongTermPricingResponse_nextToken - Because HTTP requests are stateless, this is the starting point for your next list of returned ListLongTermPricing list.

$sel:httpStatus:ListLongTermPricingResponse', listLongTermPricingResponse_httpStatus - The response's http status code.

Response Lenses

listLongTermPricingResponse_longTermPricingEntries :: Lens' ListLongTermPricingResponse (Maybe [LongTermPricingListEntry]) Source #

Each LongTermPricingEntry object contains a status, ID, and other information about the LongTermPricing type.

listLongTermPricingResponse_nextToken :: Lens' ListLongTermPricingResponse (Maybe Text) Source #

Because HTTP requests are stateless, this is the starting point for your next list of returned ListLongTermPricing list.