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

Description

 
Synopsis

Operations

ListTagsForResource

listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #

The Amazon Resource Name (ARN) of the resource.

DescribeSavingsPlanRates

describeSavingsPlanRates_maxResults :: Lens' DescribeSavingsPlanRates (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.

describeSavingsPlanRatesResponse_nextToken :: Lens' DescribeSavingsPlanRatesResponse (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.

DeleteQueuedSavingsPlan

CreateSavingsPlan

createSavingsPlan_clientToken :: Lens' CreateSavingsPlan (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

createSavingsPlan_purchaseTime :: Lens' CreateSavingsPlan (Maybe UTCTime) Source #

The time at which to purchase the Savings Plan, in UTC format (YYYY-MM-DDTHH:MM:SSZ).

createSavingsPlan_upfrontPaymentAmount :: Lens' CreateSavingsPlan (Maybe Text) Source #

The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan. This parameter is supported only if the payment option is Partial Upfront.

createSavingsPlan_commitment :: Lens' CreateSavingsPlan Text Source #

The hourly commitment, in USD. This is a value between 0.001 and 1 million. You cannot specify more than three digits after the decimal point.

DescribeSavingsPlansOfferings

describeSavingsPlansOfferings_usageTypes :: Lens' DescribeSavingsPlansOfferings (Maybe [Text]) Source #

The usage details of the line item in the billing report.

describeSavingsPlansOfferings_operations :: Lens' DescribeSavingsPlansOfferings (Maybe [Text]) Source #

The specific AWS operation for the line item in the billing report.

describeSavingsPlansOfferings_maxResults :: Lens' DescribeSavingsPlansOfferings (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.

describeSavingsPlansOfferingsResponse_nextToken :: Lens' DescribeSavingsPlansOfferingsResponse (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.

DescribeSavingsPlans

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.

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.

TagResource

tagResource_resourceArn :: Lens' TagResource Text Source #

The Amazon Resource Name (ARN) of the resource.

tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #

One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

UntagResource

untagResource_resourceArn :: Lens' UntagResource Text Source #

The Amazon Resource Name (ARN) of the resource.

DescribeSavingsPlansOfferingRates

describeSavingsPlansOfferingRates_usageTypes :: Lens' DescribeSavingsPlansOfferingRates (Maybe [Text]) Source #

The usage details of the line item in the billing report.

describeSavingsPlansOfferingRates_operations :: Lens' DescribeSavingsPlansOfferingRates (Maybe [Text]) Source #

The specific AWS operation for the line item in the billing report.

describeSavingsPlansOfferingRates_maxResults :: Lens' DescribeSavingsPlansOfferingRates (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.

describeSavingsPlansOfferingRatesResponse_nextToken :: Lens' DescribeSavingsPlansOfferingRatesResponse (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.

Types

ParentSavingsPlanOffering

SavingsPlan

savingsPlan_termDurationInSeconds :: Lens' SavingsPlan (Maybe Integer) Source #

The duration of the term, in seconds.

savingsPlan_savingsPlanId :: Lens' SavingsPlan (Maybe Text) Source #

The ID of the Savings Plan.

savingsPlan_commitment :: Lens' SavingsPlan (Maybe Text) Source #

The hourly commitment, in USD.

savingsPlan_savingsPlanArn :: Lens' SavingsPlan (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Savings Plan.

SavingsPlanFilter

SavingsPlanOffering

savingsPlanOffering_operation :: Lens' SavingsPlanOffering (Maybe Text) Source #

The specific AWS operation for the line item in the billing report.

savingsPlanOffering_usageType :: Lens' SavingsPlanOffering (Maybe Text) Source #

The usage details of the line item in the billing report.

SavingsPlanOfferingFilterElement

SavingsPlanOfferingProperty

SavingsPlanOfferingRate

savingsPlanOfferingRate_operation :: Lens' SavingsPlanOfferingRate (Maybe Text) Source #

The specific AWS operation for the line item in the billing report.

savingsPlanOfferingRate_usageType :: Lens' SavingsPlanOfferingRate (Maybe Text) Source #

The usage details of the line item in the billing report.

SavingsPlanOfferingRateFilterElement

SavingsPlanOfferingRateProperty

SavingsPlanRate

savingsPlanRate_operation :: Lens' SavingsPlanRate (Maybe Text) Source #

The specific AWS operation for the line item in the billing report.

savingsPlanRate_usageType :: Lens' SavingsPlanRate (Maybe Text) Source #

The usage details of the line item in the billing report.

SavingsPlanRateFilter

SavingsPlanRateProperty