Skip to content

Disable Capacity Manager

ec2_disable_capacity_manager R Documentation

Disables EC2 Capacity Manager for your account

Description

Disables EC2 Capacity Manager for your account. This stops data ingestion and removes access to capacity analytics and optimization recommendations. Previously collected data is retained but no new data will be processed.

Usage

ec2_disable_capacity_manager(DryRun, ClientToken)

Arguments

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.

Value

A list with the following syntax:

list(
  CapacityManagerStatus = "enabled"|"disabled",
  OrganizationsAccess = TRUE|FALSE
)

Request syntax

svc$disable_capacity_manager(
  DryRun = TRUE|FALSE,
  ClientToken = "string"
)