Client
savingsplans | R Documentation |
AWS Savings Plans¶
Description¶
Savings Plans are a pricing model that offer significant savings on Amazon Web Services usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage per hour, in the specified currency, for a term of one or three years, and receive a lower price for that usage. For more information, see the Amazon Web Services Savings Plans User Guide.
Usage¶
savingsplans(
config = list(),
credentials = list(),
endpoint = NULL,
region = NULL
)
Arguments¶
config |
Optional configuration of credentials, endpoint, and/or region.
|
credentials |
Optional credentials shorthand for the config parameter
|
endpoint |
Optional shorthand for complete URL to use for the constructed client. |
region |
Optional shorthand for AWS Region used in instantiating the client. |
Value¶
A client for the service. You can call the service's operations using
syntax like svc$operation(...)
, where svc
is the name you've
assigned to the client. The available operations are listed in the
Operations section.
Service syntax¶
svc <- savingsplans(
config = list(
credentials = list(
creds = list(
access_key_id = "string",
secret_access_key = "string",
session_token = "string"
),
profile = "string",
anonymous = "logical"
),
endpoint = "string",
region = "string",
close_connection = "logical",
timeout = "numeric",
s3_force_path_style = "logical",
sts_regional_endpoint = "string"
),
credentials = list(
creds = list(
access_key_id = "string",
secret_access_key = "string",
session_token = "string"
),
profile = "string",
anonymous = "logical"
),
endpoint = "string",
region = "string"
)
Operations¶
create_savings_plan | Creates a Savings Plan |
delete_queued_savings_plan | Deletes the queued purchase for the specified Savings Plan |
describe_savings_plan_rates | Describes the rates for the specified Savings Plan |
describe_savings_plans | Describes the specified Savings Plans |
describe_savings_plans_offering_rates | Describes the offering rates for the specified Savings Plans |
describe_savings_plans_offerings | Describes the offerings for the specified Savings Plans |
list_tags_for_resource | Lists the tags for the specified resource |
return_savings_plan | Returns the specified Savings Plan |
tag_resource | Adds the specified tags to the specified resource |
untag_resource | Removes the specified tags from the specified resource |
Examples¶
## Not run:
svc <- savingsplans()
svc$create_savings_plan(
Foo = 123
)
## End(Not run)