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.UpdateTemplateAlias

Description

Updates the template alias of a template.

Synopsis

Creating a Request

data UpdateTemplateAlias Source #

See: newUpdateTemplateAlias smart constructor.

Constructors

UpdateTemplateAlias' 

Fields

  • awsAccountId :: Text

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

  • templateId :: Text

    The ID for the template.

  • aliasName :: Text

    The alias of the template that you want to update. If you name a specific alias, you update the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.

  • templateVersionNumber :: Natural

    The version number of the template.

Instances

Instances details
Eq UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Read UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Show UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Generic UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Associated Types

type Rep UpdateTemplateAlias :: Type -> Type #

NFData UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Methods

rnf :: UpdateTemplateAlias -> () #

Hashable UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

ToJSON UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

AWSRequest UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Associated Types

type AWSResponse UpdateTemplateAlias #

ToHeaders UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

ToPath UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

ToQuery UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

type Rep UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

type Rep UpdateTemplateAlias = D1 ('MetaData "UpdateTemplateAlias" "Amazonka.QuickSight.UpdateTemplateAlias" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateTemplateAlias'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "aliasName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))
type AWSResponse UpdateTemplateAlias Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

newUpdateTemplateAlias Source #

Create a value of UpdateTemplateAlias 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:awsAccountId:UpdateTemplateAlias', updateTemplateAlias_awsAccountId - The ID of the Amazon Web Services account that contains the template alias that you're updating.

$sel:templateId:UpdateTemplateAlias', updateTemplateAlias_templateId - The ID for the template.

$sel:aliasName:UpdateTemplateAlias', updateTemplateAlias_aliasName - The alias of the template that you want to update. If you name a specific alias, you update the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.

$sel:templateVersionNumber:UpdateTemplateAlias', updateTemplateAlias_templateVersionNumber - The version number of the template.

Request Lenses

updateTemplateAlias_awsAccountId :: Lens' UpdateTemplateAlias Text Source #

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

updateTemplateAlias_aliasName :: Lens' UpdateTemplateAlias Text Source #

The alias of the template that you want to update. If you name a specific alias, you update the version that the alias points to. You can specify the latest version of the template by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to templates.

Destructuring the Response

data UpdateTemplateAliasResponse Source #

See: newUpdateTemplateAliasResponse smart constructor.

Constructors

UpdateTemplateAliasResponse' 

Fields

Instances

Instances details
Eq UpdateTemplateAliasResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Read UpdateTemplateAliasResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Show UpdateTemplateAliasResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Generic UpdateTemplateAliasResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

Associated Types

type Rep UpdateTemplateAliasResponse :: Type -> Type #

NFData UpdateTemplateAliasResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

type Rep UpdateTemplateAliasResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateTemplateAlias

type Rep UpdateTemplateAliasResponse = D1 ('MetaData "UpdateTemplateAliasResponse" "Amazonka.QuickSight.UpdateTemplateAlias" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateTemplateAliasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "templateAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TemplateAlias)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateTemplateAliasResponse Source #

Create a value of UpdateTemplateAliasResponse 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:UpdateTemplateAliasResponse', updateTemplateAliasResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:templateAlias:UpdateTemplateAliasResponse', updateTemplateAliasResponse_templateAlias - The template alias.

$sel:status:UpdateTemplateAliasResponse', updateTemplateAliasResponse_status - The HTTP status of the request.

Response Lenses

updateTemplateAliasResponse_requestId :: Lens' UpdateTemplateAliasResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.