Learn R Programming

paws.analytics (version 0.1.9)

quicksight_update_template: Updates a template from an existing Amazon QuickSight analysis or another template

Description

Updates a template from an existing Amazon QuickSight analysis or another template.

Usage

quicksight_update_template(AwsAccountId, TemplateId, SourceEntity,
  VersionDescription, Name)

Arguments

AwsAccountId

[required] The ID of the AWS account that contains the template that you\'re updating.

TemplateId

[required] The ID for the template.

SourceEntity

[required] The entity that you are using as a source when you update the template. In SourceEntity, you specify the type of object you\'re using as source: SourceTemplate for a template or SourceAnalysis for an analysis. Both of these require an Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source template. For SourceAnalysis, specify the ARN of the source analysis. The SourceTemplate ARN can contain any AWS Account and any QuickSight-supported AWS Region.

Use the DataSetReferences entity within SourceTemplate or SourceAnalysis to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

VersionDescription

A description of the current template version that is being updated. Every time you call UpdateTemplate, you create a new version of the template. Each version of the template maintains a description of the version in the VersionDescription field.

Name

The name for the template.

Request syntax

svc$update_template(
  AwsAccountId = "string",
  TemplateId = "string",
  SourceEntity = list(
    SourceAnalysis = list(
      Arn = "string",
      DataSetReferences = list(
        list(
          DataSetPlaceholder = "string",
          DataSetArn = "string"
        )
      )
    ),
    SourceTemplate = list(
      Arn = "string"
    )
  ),
  VersionDescription = "string",
  Name = "string"
)