Enable Capacity Manager
| ec2_enable_capacity_manager | R Documentation |
Enables EC2 Capacity Manager for your account¶
Description¶
Enables EC2 Capacity Manager for your account. This starts data ingestion for your EC2 capacity usage across On-Demand, Spot, and Capacity Reservations. Initial data processing may take several hours to complete.
Usage¶
ec2_enable_capacity_manager(OrganizationsAccess, DryRun, ClientToken)
Arguments¶
OrganizationsAccess |
Specifies whether to enable cross-account access for Amazon Web Services Organizations. When enabled, Capacity Manager can aggregate data from all accounts in your organization. Default is false. |
DryRun |
Checks whether you have the required permissions for the action,
without actually making the request, and provides an error response. If
you have the required permissions, the error response is
|
ClientToken |
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. |
Value¶
A list with the following syntax:
list(
CapacityManagerStatus = "enabled"|"disabled",
OrganizationsAccess = TRUE|FALSE
)
Request syntax¶
svc$enable_capacity_manager(
OrganizationsAccess = TRUE|FALSE,
DryRun = TRUE|FALSE,
ClientToken = "string"
)