Skip to content

Update Framework

backup_update_framework R Documentation

Updates the specified framework

Description

Updates the specified framework.

Usage

backup_update_framework(FrameworkName, FrameworkDescription,
  FrameworkControls, IdempotencyToken)

Arguments

FrameworkName

[required] The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

FrameworkDescription

An optional description of the framework with a maximum 1,024 characters.

FrameworkControls

The controls that make up the framework. Each control in the list has a name, input parameters, and scope.

IdempotencyToken

A customer-chosen string that you can use to distinguish between otherwise identical calls to UpdateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

Value

A list with the following syntax:

list(
  FrameworkName = "string",
  FrameworkArn = "string",
  CreationTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_framework(
  FrameworkName = "string",
  FrameworkDescription = "string",
  FrameworkControls = list(
    list(
      ControlName = "string",
      ControlInputParameters = list(
        list(
          ParameterName = "string",
          ParameterValue = "string"
        )
      ),
      ControlScope = list(
        ComplianceResourceIds = list(
          "string"
        ),
        ComplianceResourceTypes = list(
          "string"
        ),
        Tags = list(
          "string"
        )
      )
    )
  ),
  IdempotencyToken = "string"
)