amazonka-quicksight-2.0: Amazon QuickSight SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.QuickSight.UpdateAnalysis

Description

Updates an analysis in Amazon QuickSight

Synopsis

Creating a Request

data UpdateAnalysis Source #

See: newUpdateAnalysis smart constructor.

Constructors

UpdateAnalysis' 

Fields

  • definition :: Maybe AnalysisDefinition

    The definition of an analysis.

    A definition is the data model of all features in a Dashboard, Template, or Analysis.

  • parameters :: Maybe Parameters

    The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

  • sourceEntity :: Maybe AnalysisSourceEntity

    A source entity to use for the analysis that you're updating. This metadata structure contains details that describe a source template and one or more datasets.

  • themeArn :: Maybe Text

    The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.

  • awsAccountId :: Text

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

  • analysisId :: Text

    The ID for the analysis that you're updating. This ID displays in the URL of the analysis.

  • name :: Text

    A descriptive name for the analysis that you're updating. This name displays for the analysis in the Amazon QuickSight console.

Instances

Instances details
ToJSON UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

ToHeaders UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

ToPath UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

ToQuery UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

AWSRequest UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

Associated Types

type AWSResponse UpdateAnalysis #

Generic UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

Associated Types

type Rep UpdateAnalysis :: Type -> Type #

Show UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

NFData UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

Methods

rnf :: UpdateAnalysis -> () #

Eq UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

Hashable UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

type AWSResponse UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

type Rep UpdateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

newUpdateAnalysis Source #

Create a value of UpdateAnalysis 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:definition:UpdateAnalysis', updateAnalysis_definition - The definition of an analysis.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

$sel:parameters:UpdateAnalysis', updateAnalysis_parameters - The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

$sel:sourceEntity:UpdateAnalysis', updateAnalysis_sourceEntity - A source entity to use for the analysis that you're updating. This metadata structure contains details that describe a source template and one or more datasets.

UpdateAnalysis, updateAnalysis_themeArn - The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.

UpdateAnalysis, updateAnalysis_awsAccountId - The ID of the Amazon Web Services account that contains the analysis that you're updating.

UpdateAnalysis, updateAnalysis_analysisId - The ID for the analysis that you're updating. This ID displays in the URL of the analysis.

UpdateAnalysis, updateAnalysis_name - A descriptive name for the analysis that you're updating. This name displays for the analysis in the Amazon QuickSight console.

Request Lenses

updateAnalysis_definition :: Lens' UpdateAnalysis (Maybe AnalysisDefinition) Source #

The definition of an analysis.

A definition is the data model of all features in a Dashboard, Template, or Analysis.

updateAnalysis_parameters :: Lens' UpdateAnalysis (Maybe Parameters) Source #

The parameter names and override values that you want to use. An analysis can have any parameter type, and some parameters might accept multiple values.

updateAnalysis_sourceEntity :: Lens' UpdateAnalysis (Maybe AnalysisSourceEntity) Source #

A source entity to use for the analysis that you're updating. This metadata structure contains details that describe a source template and one or more datasets.

updateAnalysis_themeArn :: Lens' UpdateAnalysis (Maybe Text) Source #

The Amazon Resource Name (ARN) for the theme to apply to the analysis that you're creating. To see the theme in the Amazon QuickSight console, make sure that you have access to it.

updateAnalysis_awsAccountId :: Lens' UpdateAnalysis Text Source #

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

updateAnalysis_analysisId :: Lens' UpdateAnalysis Text Source #

The ID for the analysis that you're updating. This ID displays in the URL of the analysis.

updateAnalysis_name :: Lens' UpdateAnalysis Text Source #

A descriptive name for the analysis that you're updating. This name displays for the analysis in the Amazon QuickSight console.

Destructuring the Response

data UpdateAnalysisResponse Source #

See: newUpdateAnalysisResponse smart constructor.

Constructors

UpdateAnalysisResponse' 

Fields

Instances

Instances details
Generic UpdateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

Associated Types

type Rep UpdateAnalysisResponse :: Type -> Type #

Read UpdateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

Show UpdateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

NFData UpdateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

Methods

rnf :: UpdateAnalysisResponse -> () #

Eq UpdateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

type Rep UpdateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysis

type Rep UpdateAnalysisResponse = D1 ('MetaData "UpdateAnalysisResponse" "Amazonka.QuickSight.UpdateAnalysis" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "UpdateAnalysisResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "analysisId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updateStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateAnalysisResponse Source #

Create a value of UpdateAnalysisResponse 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:

UpdateAnalysis, updateAnalysisResponse_analysisId - The ID of the analysis.

UpdateAnalysisResponse, updateAnalysisResponse_arn - The ARN of the analysis that you're updating.

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

$sel:updateStatus:UpdateAnalysisResponse', updateAnalysisResponse_updateStatus - The update status of the last update that was made to the analysis.

UpdateAnalysisResponse, updateAnalysisResponse_status - The HTTP status of the request.

Response Lenses

updateAnalysisResponse_arn :: Lens' UpdateAnalysisResponse (Maybe Text) Source #

The ARN of the analysis that you're updating.

updateAnalysisResponse_requestId :: Lens' UpdateAnalysisResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

updateAnalysisResponse_updateStatus :: Lens' UpdateAnalysisResponse (Maybe ResourceStatus) Source #

The update status of the last update that was made to the analysis.