libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QuickSight.UpdateTemplate

Description

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

Synopsis

Creating a Request

data UpdateTemplate Source #

See: newUpdateTemplate smart constructor.

Constructors

UpdateTemplate' 

Fields

  • versionDescription :: Maybe Text

    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 :: Maybe Text

    The name for the template.

  • awsAccountId :: Text

    The ID of the Amazon Web Services account that contains the template that you're updating.

  • templateId :: Text

    The ID for the template.

  • sourceEntity :: 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 Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services 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.

Instances

Instances details
Eq UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Read UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Show UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Generic UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Associated Types

type Rep UpdateTemplate :: Type -> Type #

NFData UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Methods

rnf :: UpdateTemplate -> () #

Hashable UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

ToJSON UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

AWSRequest UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Associated Types

type AWSResponse UpdateTemplate #

ToHeaders UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

ToPath UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

ToQuery UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

type Rep UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

type Rep UpdateTemplate = D1 ('MetaData "UpdateTemplate" "Amazonka.QuickSight.UpdateTemplate" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateTemplate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "versionDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceEntity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TemplateSourceEntity)))))
type AWSResponse UpdateTemplate Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

newUpdateTemplate Source #

Create a value of UpdateTemplate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:versionDescription:UpdateTemplate', updateTemplate_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.

$sel:name:UpdateTemplate', updateTemplate_name - The name for the template.

$sel:awsAccountId:UpdateTemplate', updateTemplate_awsAccountId - The ID of the Amazon Web Services account that contains the template that you're updating.

$sel:templateId:UpdateTemplate', updateTemplate_templateId - The ID for the template.

$sel:sourceEntity:UpdateTemplate', updateTemplate_sourceEntity - 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 Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services 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.

Request Lenses

updateTemplate_versionDescription :: Lens' UpdateTemplate (Maybe Text) Source #

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.

updateTemplate_name :: Lens' UpdateTemplate (Maybe Text) Source #

The name for the template.

updateTemplate_awsAccountId :: Lens' UpdateTemplate Text Source #

The ID of the Amazon Web Services account that contains the template that you're updating.

updateTemplate_sourceEntity :: Lens' UpdateTemplate TemplateSourceEntity Source #

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 Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services 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.

Destructuring the Response

data UpdateTemplateResponse Source #

See: newUpdateTemplateResponse smart constructor.

Constructors

UpdateTemplateResponse' 

Fields

Instances

Instances details
Eq UpdateTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Read UpdateTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Show UpdateTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Generic UpdateTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Associated Types

type Rep UpdateTemplateResponse :: Type -> Type #

NFData UpdateTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

Methods

rnf :: UpdateTemplateResponse -> () #

type Rep UpdateTemplateResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplate

type Rep UpdateTemplateResponse = D1 ('MetaData "UpdateTemplateResponse" "Amazonka.QuickSight.UpdateTemplate" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateTemplateResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)))) :*: (S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "versionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateTemplateResponse Source #

Create a value of UpdateTemplateResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:requestId:UpdateTemplateResponse', updateTemplateResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:arn:UpdateTemplateResponse', updateTemplateResponse_arn - The Amazon Resource Name (ARN) for the template.

$sel:creationStatus:UpdateTemplateResponse', updateTemplateResponse_creationStatus - The creation status of the template.

$sel:templateId:UpdateTemplate', updateTemplateResponse_templateId - The ID for the template.

$sel:versionArn:UpdateTemplateResponse', updateTemplateResponse_versionArn - The ARN for the template, including the version information of the first version.

$sel:status:UpdateTemplateResponse', updateTemplateResponse_status - The HTTP status of the request.

Response Lenses

updateTemplateResponse_requestId :: Lens' UpdateTemplateResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

updateTemplateResponse_arn :: Lens' UpdateTemplateResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the template.

updateTemplateResponse_versionArn :: Lens' UpdateTemplateResponse (Maybe Text) Source #

The ARN for the template, including the version information of the first version.