Savingsplans

This page documents function available when using the Savingsplans module, created with @service Savingsplans.

Index

Documentation

Main.Savingsplans.create_savings_planMethod
create_savings_plan(commitment, savings_plan_offering_id)
create_savings_plan(commitment, savings_plan_offering_id, params::Dict{String,<:Any})

Creates a Savings Plan.

Arguments

  • commitment: The hourly commitment, in the same currency of the savingsPlanOfferingId. This is a value between 0.001 and 1 million. You cannot specify more than five digits after the decimal point.
  • savings_plan_offering_id: The ID of the offering.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
  • "purchaseTime": The purchase time of the Savings Plan in UTC format (YYYY-MM-DDTHH:MM:SSZ).
  • "tags": One or more tags.
  • "upfrontPaymentAmount": 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 only supported if the payment option is Partial Upfront.
source
Main.Savingsplans.delete_queued_savings_planMethod
delete_queued_savings_plan(savings_plan_id)
delete_queued_savings_plan(savings_plan_id, params::Dict{String,<:Any})

Deletes the queued purchase for the specified Savings Plan.

Arguments

  • savings_plan_id: The ID of the Savings Plan.
source
Main.Savingsplans.describe_savings_plan_ratesMethod
describe_savings_plan_rates(savings_plan_id)
describe_savings_plan_rates(savings_plan_id, params::Dict{String,<:Any})

Describes the rates for the specified Savings Plan.

Arguments

  • savings_plan_id: The ID of the Savings Plan.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "filters": The filters.
  • "maxResults": The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
  • "nextToken": The token for the next page of results.
source
Main.Savingsplans.describe_savings_plansMethod
describe_savings_plans()
describe_savings_plans(params::Dict{String,<:Any})

Describes the specified Savings Plans.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "filters": The filters.
  • "maxResults": The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
  • "nextToken": The token for the next page of results.
  • "savingsPlanArns": The Amazon Resource Names (ARN) of the Savings Plans.
  • "savingsPlanIds": The IDs of the Savings Plans.
  • "states": The current states of the Savings Plans.
source
Main.Savingsplans.describe_savings_plans_offering_ratesMethod
describe_savings_plans_offering_rates()
describe_savings_plans_offering_rates(params::Dict{String,<:Any})

Describes the offering rates for the specified Savings Plans.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "filters": The filters.
  • "maxResults": The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
  • "nextToken": The token for the next page of results.
  • "operations": The specific Amazon Web Services operation for the line item in the billing report.
  • "products": The Amazon Web Services products.
  • "savingsPlanOfferingIds": The IDs of the offerings.
  • "savingsPlanPaymentOptions": The payment options.
  • "savingsPlanTypes": The plan types.
  • "serviceCodes": The services.
  • "usageTypes": The usage details of the line item in the billing report.
source
Main.Savingsplans.describe_savings_plans_offeringsMethod
describe_savings_plans_offerings()
describe_savings_plans_offerings(params::Dict{String,<:Any})

Describes the offerings for the specified Savings Plans.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "currencies": The currencies.
  • "descriptions": The descriptions.
  • "durations": The duration, in seconds.
  • "filters": The filters.
  • "maxResults": The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
  • "nextToken": The token for the next page of results.
  • "offeringIds": The IDs of the offerings.
  • "operations": The specific Amazon Web Services operation for the line item in the billing report.
  • "paymentOptions": The payment options.
  • "planTypes": The plan types.
  • "productType": The product type.
  • "serviceCodes": The services.
  • "usageTypes": The usage details of the line item in the billing report.
source
Main.Savingsplans.list_tags_for_resourceMethod
list_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})

Lists the tags for the specified resource.

Arguments

  • resource_arn: The Amazon Resource Name (ARN) of the resource.
source
Main.Savingsplans.return_savings_planMethod
return_savings_plan(savings_plan_id)
return_savings_plan(savings_plan_id, params::Dict{String,<:Any})

Returns the specified Savings Plan.

Arguments

  • savings_plan_id: The ID of the Savings Plan.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
source
Main.Savingsplans.tag_resourceMethod
tag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})

Adds the specified tags to the specified resource.

Arguments

  • resource_arn: The Amazon Resource Name (ARN) of the resource.
  • tags: One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
source
Main.Savingsplans.untag_resourceMethod
untag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})

Removes the specified tags from the specified resource.

Arguments

  • resource_arn: The Amazon Resource Name (ARN) of the resource.
  • tag_keys: The tag keys.
source