Skip to content

Update Experiment Template

fis_update_experiment_template R Documentation

Updates the specified experiment template

Description

Updates the specified experiment template.

Usage

fis_update_experiment_template(id, description, stopConditions, targets,
  actions, roleArn, logConfiguration, experimentOptions)

Arguments

id

[required] The ID of the experiment template.

description

A description for the template.

stopConditions

The stop conditions for the experiment.

targets

The targets for the experiment.

actions

The actions for the experiment.

roleArn

The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.

logConfiguration

The configuration for experiment logging.

experimentOptions

The experiment options for the experiment template.

Value

A list with the following syntax:

list(
  experimentTemplate = list(
    id = "string",
    arn = "string",
    description = "string",
    targets = list(
      list(
        resourceType = "string",
        resourceArns = list(
          "string"
        ),
        resourceTags = list(
          "string"
        ),
        filters = list(
          list(
            path = "string",
            values = list(
              "string"
            )
          )
        ),
        selectionMode = "string",
        parameters = list(
          "string"
        )
      )
    ),
    actions = list(
      list(
        actionId = "string",
        description = "string",
        parameters = list(
          "string"
        ),
        targets = list(
          "string"
        ),
        startAfter = list(
          "string"
        )
      )
    ),
    stopConditions = list(
      list(
        source = "string",
        value = "string"
      )
    ),
    creationTime = as.POSIXct(
      "2015-01-01"
    ),
    lastUpdateTime = as.POSIXct(
      "2015-01-01"
    ),
    roleArn = "string",
    tags = list(
      "string"
    ),
    logConfiguration = list(
      cloudWatchLogsConfiguration = list(
        logGroupArn = "string"
      ),
      s3Configuration = list(
        bucketName = "string",
        prefix = "string"
      ),
      logSchemaVersion = 123
    ),
    experimentOptions = list(
      accountTargeting = "single-account"|"multi-account",
      emptyTargetResolutionMode = "fail"|"skip"
    ),
    targetAccountConfigurationsCount = 123
  )
)

Request syntax

svc$update_experiment_template(
  id = "string",
  description = "string",
  stopConditions = list(
    list(
      source = "string",
      value = "string"
    )
  ),
  targets = list(
    list(
      resourceType = "string",
      resourceArns = list(
        "string"
      ),
      resourceTags = list(
        "string"
      ),
      filters = list(
        list(
          path = "string",
          values = list(
            "string"
          )
        )
      ),
      selectionMode = "string",
      parameters = list(
        "string"
      )
    )
  ),
  actions = list(
    list(
      actionId = "string",
      description = "string",
      parameters = list(
        "string"
      ),
      targets = list(
        "string"
      ),
      startAfter = list(
        "string"
      )
    )
  ),
  roleArn = "string",
  logConfiguration = list(
    cloudWatchLogsConfiguration = list(
      logGroupArn = "string"
    ),
    s3Configuration = list(
      bucketName = "string",
      prefix = "string"
    ),
    logSchemaVersion = 123
  ),
  experimentOptions = list(
    emptyTargetResolutionMode = "fail"|"skip"
  )
)