Skip to content

Get Baseline Operation

controltower_get_baseline_operation R Documentation

Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: EnableBaseline, DisableBaseline, UpdateEnabledBaseline, ResetEnabledBaseline

Description

Returns the details of an asynchronous baseline operation, as initiated by any of these APIs: enable_baseline, disable_baseline, update_enabled_baseline, reset_enabled_baseline. A status message is displayed in case of operation failure. For usage examples, see the Amazon Web Services Control Tower User Guide .

Usage

controltower_get_baseline_operation(operationIdentifier)

Arguments

operationIdentifier

[required] The operation ID returned from mutating asynchronous APIs (Enable, Disable, Update, Reset).

Value

A list with the following syntax:

list(
  baselineOperation = list(
    endTime = as.POSIXct(
      "2015-01-01"
    ),
    operationIdentifier = "string",
    operationType = "ENABLE_BASELINE"|"DISABLE_BASELINE"|"UPDATE_ENABLED_BASELINE"|"RESET_ENABLED_BASELINE",
    startTime = as.POSIXct(
      "2015-01-01"
    ),
    status = "SUCCEEDED"|"FAILED"|"IN_PROGRESS",
    statusMessage = "string"
  )
)

Request syntax

svc$get_baseline_operation(
  operationIdentifier = "string"
)