Skip to contents

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.

See https://www.paws-r-sdk.com/docs/ec2_update_capacity_manager_organizations_access/ for full documentation.

Usage

ec2_update_capacity_manager_organizations_access(
  OrganizationsAccess,
  DryRun = NULL,
  ClientToken = NULL
)

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 DryRunOperation. Otherwise, it is UnauthorizedOperation.

ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.