The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Quicksight::UpdateTemplate - Arguments for method UpdateTemplate on Paws::Quicksight

DESCRIPTION

This class represents the parameters used for calling the method UpdateTemplate on the Amazon QuickSight service. Use the attributes of this class as arguments to method UpdateTemplate.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTemplate.

SYNOPSIS

    my $quicksight = Paws->service('Quicksight');
    my $UpdateTemplateResponse = $quicksight->UpdateTemplate(
      AwsAccountId => 'MyAwsAccountId',
      SourceEntity => {
        SourceAnalysis => {
          Arn               => 'MyArn',
          DataSetReferences => [
            {
              DataSetArn         => 'MyArn',
              DataSetPlaceholder => 'MyNonEmptyString',

            },
            ...
          ],    # min: 1

        },    # OPTIONAL
        SourceTemplate => {
          Arn => 'MyArn',

        },    # OPTIONAL
      },
      TemplateId         => 'MyRestrictiveResourceId',
      Name               => 'MyTemplateName',            # OPTIONAL
      VersionDescription => 'MyVersionDescription',      # OPTIONAL
    );

    # Results:
    my $Arn            = $UpdateTemplateResponse->Arn;
    my $CreationStatus = $UpdateTemplateResponse->CreationStatus;
    my $RequestId      = $UpdateTemplateResponse->RequestId;
    my $Status         = $UpdateTemplateResponse->Status;
    my $TemplateId     = $UpdateTemplateResponse->TemplateId;
    my $VersionArn     = $UpdateTemplateResponse->VersionArn;

    # Returns a L<Paws::Quicksight::UpdateTemplateResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/quicksight/UpdateTemplate

ATTRIBUTES

REQUIRED AwsAccountId => Str

The ID of the AWS account that contains the template that you're updating.

Name => Str

The name for the template.

REQUIRED SourceEntity => Paws::Quicksight::TemplateSourceEntity

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.

REQUIRED TemplateId => Str

The ID for the template.

VersionDescription => Str

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateTemplate in Paws::Quicksight

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues