NAME

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

DESCRIPTION

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

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

SYNOPSIS

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

        },
        ...
      ],    # min: 1

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

    },    # OPTIONAL
  },
  TemplateId  => 'MyRestrictiveResourceId',
  Name        => 'MyTemplateName',            # OPTIONAL
  Permissions => [
    {
      Actions   => [ 'MyString', ... ],    # min: 1, max: 16
      Principal => 'MyPrincipal',          # min: 1, max: 256

    },
    ...
  ],    # OPTIONAL
  Tags => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # min: 1, max: 256

    },
    ...
  ],    # OPTIONAL
  VersionDescription => 'MyVersionDescription',    # OPTIONAL
);

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

# Returns a L<Paws::Quicksight::CreateTemplateResponse> 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/CreateTemplate

ATTRIBUTES

REQUIRED AwsAccountId => Str

The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

Name => Str

A display name for the template.

Permissions => ArrayRef[Paws::Quicksight::ResourcePermission]

A list of resource permissions to be set on the template.

REQUIRED SourceEntity => Paws::Quicksight::TemplateSourceEntity

The entity that you are using as a source when you create 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.

Tags => ArrayRef[Paws::Quicksight::Tag]

Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.

REQUIRED TemplateId => Str

An ID for the template that you want to create. This template is unique per AWS Region in each AWS account.

VersionDescription => Str

A description of the current template version being created. This API operation creates the first version of the template. Every time UpdateTemplate is called, a new version is created. 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 CreateTemplate 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