Update Capacity Manager Organizations Access
| ec2_update_capacity_manager_organizations_access | R Documentation |
Updates the Organizations access setting for EC2 Capacity Manager¶
Description¶
Updates the Organizations access setting for EC2 Capacity Manager. This controls whether Capacity Manager can aggregate data from all accounts in your Amazon Web Services Organization or only from the current account.
Usage¶
ec2_update_capacity_manager_organizations_access(OrganizationsAccess,
DryRun, ClientToken)
Arguments¶
OrganizationsAccess |
[required] Specifies whether to enable or disable cross-account access for Amazon Web Services Organizations. When enabled, Capacity Manager aggregates data from all accounts in your organization. |
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$update_capacity_manager_organizations_access(
OrganizationsAccess = TRUE|FALSE,
DryRun = TRUE|FALSE,
ClientToken = "string"
)