Class: Aws::SavingsPlans::Types::DescribeSavingsPlansRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SavingsPlans::Types::DescribeSavingsPlansRequest
- Defined in:
- gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb
Overview
Note:
When making an API call, you may pass DescribeSavingsPlansRequest data as a hash:
{
savings_plan_arns: ["SavingsPlanArn"],
savings_plan_ids: ["SavingsPlanId"],
next_token: "PaginationToken",
max_results: 1,
states: ["payment-pending"], # accepts payment-pending, payment-failed, active, retired, queued, queued-deleted
filters: [
{
name: "region", # accepts region, ec2-instance-family, commitment, upfront, term, savings-plan-type, payment-option, start, end
values: ["String"],
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#filters ⇒ Array<Types::SavingsPlanFilter>
The filters.
-
#max_results ⇒ Integer
The maximum number of results to return with a single call.
-
#next_token ⇒ String
The token for the next page of results.
-
#savings_plan_arns ⇒ Array<String>
The Amazon Resource Names (ARN) of the Savings Plans.
-
#savings_plan_ids ⇒ Array<String>
The IDs of the Savings Plans.
-
#states ⇒ Array<String>
The states.
Instance Attribute Details
#filters ⇒ Array<Types::SavingsPlanFilter>
The filters.
434 435 436 437 438 439 440 441 442 443 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 434 class DescribeSavingsPlansRequest < Struct.new( :savings_plan_arns, :savings_plan_ids, :next_token, :max_results, :states, :filters) SENSITIVE = [] include Aws::Structure end |
#max_results ⇒ Integer
The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value.
434 435 436 437 438 439 440 441 442 443 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 434 class DescribeSavingsPlansRequest < Struct.new( :savings_plan_arns, :savings_plan_ids, :next_token, :max_results, :states, :filters) SENSITIVE = [] include Aws::Structure end |
#next_token ⇒ String
The token for the next page of results.
434 435 436 437 438 439 440 441 442 443 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 434 class DescribeSavingsPlansRequest < Struct.new( :savings_plan_arns, :savings_plan_ids, :next_token, :max_results, :states, :filters) SENSITIVE = [] include Aws::Structure end |
#savings_plan_arns ⇒ Array<String>
The Amazon Resource Names (ARN) of the Savings Plans.
434 435 436 437 438 439 440 441 442 443 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 434 class DescribeSavingsPlansRequest < Struct.new( :savings_plan_arns, :savings_plan_ids, :next_token, :max_results, :states, :filters) SENSITIVE = [] include Aws::Structure end |
#savings_plan_ids ⇒ Array<String>
The IDs of the Savings Plans.
434 435 436 437 438 439 440 441 442 443 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 434 class DescribeSavingsPlansRequest < Struct.new( :savings_plan_arns, :savings_plan_ids, :next_token, :max_results, :states, :filters) SENSITIVE = [] include Aws::Structure end |
#states ⇒ Array<String>
The states.
434 435 436 437 438 439 440 441 442 443 |
# File 'gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/types.rb', line 434 class DescribeSavingsPlansRequest < Struct.new( :savings_plan_arns, :savings_plan_ids, :next_token, :max_results, :states, :filters) SENSITIVE = [] include Aws::Structure end |