Skip to content

Get Capacity Manager Attributes

ec2_get_capacity_manager_attributes R Documentation

Retrieves the current configuration and status of EC2 Capacity Manager for your account, including enablement status, Organizations access settings, and data ingestion status

Description

Retrieves the current configuration and status of EC2 Capacity Manager for your account, including enablement status, Organizations access settings, and data ingestion status.

Usage

ec2_get_capacity_manager_attributes(DryRun)

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.

Value

A list with the following syntax:

list(
  CapacityManagerStatus = "enabled"|"disabled",
  OrganizationsAccess = TRUE|FALSE,
  DataExportCount = 123,
  IngestionStatus = "initial-ingestion-in-progress"|"ingestion-complete"|"ingestion-failed",
  IngestionStatusMessage = "string",
  EarliestDatapointTimestamp = as.POSIXct(
    "2015-01-01"
  ),
  LatestDatapointTimestamp = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_capacity_manager_attributes(
  DryRun = TRUE|FALSE
)