libZSservicesZSamazonka-savingsplansZSamazonka-savingsplans
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.SavingsPlans.DescribeSavingsPlans

Description

Describes the specified Savings Plans.

Synopsis

Creating a Request

data DescribeSavingsPlans Source #

See: newDescribeSavingsPlans smart constructor.

Constructors

DescribeSavingsPlans' 

Fields

Instances

Instances details
Eq DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Read DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Show DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Generic DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Associated Types

type Rep DescribeSavingsPlans :: Type -> Type #

NFData DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Methods

rnf :: DescribeSavingsPlans -> () #

Hashable DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

ToJSON DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

AWSRequest DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Associated Types

type AWSResponse DescribeSavingsPlans #

ToHeaders DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

ToPath DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

ToQuery DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

type Rep DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

type Rep DescribeSavingsPlans = D1 ('MetaData "DescribeSavingsPlans" "Amazonka.SavingsPlans.DescribeSavingsPlans" "libZSservicesZSamazonka-savingsplansZSamazonka-savingsplans" 'False) (C1 ('MetaCons "DescribeSavingsPlans'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "states") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SavingsPlanState])) :*: (S1 ('MetaSel ('Just "savingsPlanIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SavingsPlanFilter])))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "savingsPlanArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))
type AWSResponse DescribeSavingsPlans Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

newDescribeSavingsPlans :: DescribeSavingsPlans Source #

Create a value of DescribeSavingsPlans 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:states:DescribeSavingsPlans', describeSavingsPlans_states - The states.

$sel:savingsPlanIds:DescribeSavingsPlans', describeSavingsPlans_savingsPlanIds - The IDs of the Savings Plans.

$sel:filters:DescribeSavingsPlans', describeSavingsPlans_filters - The filters.

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

$sel:savingsPlanArns:DescribeSavingsPlans', describeSavingsPlans_savingsPlanArns - The Amazon Resource Names (ARN) of the Savings Plans.

$sel:maxResults:DescribeSavingsPlans', describeSavingsPlans_maxResults - The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

Request Lenses

describeSavingsPlans_nextToken :: Lens' DescribeSavingsPlans (Maybe Text) Source #

The token for the next page of results.

describeSavingsPlans_savingsPlanArns :: Lens' DescribeSavingsPlans (Maybe [Text]) Source #

The Amazon Resource Names (ARN) of the Savings Plans.

describeSavingsPlans_maxResults :: Lens' DescribeSavingsPlans (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.

Destructuring the Response

data DescribeSavingsPlansResponse Source #

See: newDescribeSavingsPlansResponse smart constructor.

Constructors

DescribeSavingsPlansResponse' 

Fields

Instances

Instances details
Eq DescribeSavingsPlansResponse Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Read DescribeSavingsPlansResponse Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Show DescribeSavingsPlansResponse Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Generic DescribeSavingsPlansResponse Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

Associated Types

type Rep DescribeSavingsPlansResponse :: Type -> Type #

NFData DescribeSavingsPlansResponse Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

type Rep DescribeSavingsPlansResponse Source # 
Instance details

Defined in Amazonka.SavingsPlans.DescribeSavingsPlans

type Rep DescribeSavingsPlansResponse = D1 ('MetaData "DescribeSavingsPlansResponse" "Amazonka.SavingsPlans.DescribeSavingsPlans" "libZSservicesZSamazonka-savingsplansZSamazonka-savingsplans" 'False) (C1 ('MetaCons "DescribeSavingsPlansResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "savingsPlans") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SavingsPlan])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeSavingsPlansResponse Source #

Create a value of DescribeSavingsPlansResponse 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:savingsPlans:DescribeSavingsPlansResponse', describeSavingsPlansResponse_savingsPlans - Information about the Savings Plans.

$sel:nextToken:DescribeSavingsPlans', describeSavingsPlansResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeSavingsPlansResponse', describeSavingsPlansResponse_httpStatus - The response's http status code.

Response Lenses

describeSavingsPlansResponse_nextToken :: Lens' DescribeSavingsPlansResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.