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

Description

Creates an analysis in Amazon QuickSight.

Synopsis

Creating a Request

data CreateAnalysis Source #

See: newCreateAnalysis smart constructor.

Constructors

CreateAnalysis' 

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.

  • permissions :: Maybe (NonEmpty ResourcePermission)

    A structure that describes the principals and the resource-level permissions on an analysis. You can use the Permissions structure to grant permissions by providing a list of Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).

    To specify no permissions, omit Permissions.

  • sourceEntity :: Maybe AnalysisSourceEntity

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

  • tags :: Maybe (NonEmpty Tag)

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

  • themeArn :: Maybe Text

    The 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 where you are creating an analysis.

  • analysisId :: Text

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

  • name :: Text

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

Instances

Instances details
ToJSON CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

ToHeaders CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

ToPath CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

ToQuery CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

AWSRequest CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

Associated Types

type AWSResponse CreateAnalysis #

Generic CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

Associated Types

type Rep CreateAnalysis :: Type -> Type #

Show CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

NFData CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

Methods

rnf :: CreateAnalysis -> () #

Eq CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

Hashable CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

type AWSResponse CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

type Rep CreateAnalysis Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

newCreateAnalysis Source #

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

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

$sel:parameters:CreateAnalysis', createAnalysis_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.

CreateAnalysis, createAnalysis_permissions - A structure that describes the principals and the resource-level permissions on an analysis. You can use the Permissions structure to grant permissions by providing a list of Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).

To specify no permissions, omit Permissions.

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

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

CreateAnalysis, createAnalysis_themeArn - The 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.

CreateAnalysis, createAnalysis_awsAccountId - The ID of the Amazon Web Services account where you are creating an analysis.

CreateAnalysis, createAnalysis_analysisId - The ID for the analysis that you're creating. This ID displays in the URL of the analysis.

CreateAnalysis, createAnalysis_name - A descriptive name for the analysis that you're creating. This name displays for the analysis in the Amazon QuickSight console.

Request Lenses

createAnalysis_definition :: Lens' CreateAnalysis (Maybe AnalysisDefinition) Source #

The definition of an analysis.

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

createAnalysis_parameters :: Lens' CreateAnalysis (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.

createAnalysis_permissions :: Lens' CreateAnalysis (Maybe (NonEmpty ResourcePermission)) Source #

A structure that describes the principals and the resource-level permissions on an analysis. You can use the Permissions structure to grant permissions by providing a list of Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).

To specify no permissions, omit Permissions.

createAnalysis_sourceEntity :: Lens' CreateAnalysis (Maybe AnalysisSourceEntity) Source #

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

createAnalysis_tags :: Lens' CreateAnalysis (Maybe (NonEmpty Tag)) Source #

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

createAnalysis_themeArn :: Lens' CreateAnalysis (Maybe Text) Source #

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

createAnalysis_awsAccountId :: Lens' CreateAnalysis Text Source #

The ID of the Amazon Web Services account where you are creating an analysis.

createAnalysis_analysisId :: Lens' CreateAnalysis Text Source #

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

createAnalysis_name :: Lens' CreateAnalysis Text Source #

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

Destructuring the Response

data CreateAnalysisResponse Source #

See: newCreateAnalysisResponse smart constructor.

Constructors

CreateAnalysisResponse' 

Fields

Instances

Instances details
Generic CreateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

Associated Types

type Rep CreateAnalysisResponse :: Type -> Type #

Read CreateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

Show CreateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

NFData CreateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

Methods

rnf :: CreateAnalysisResponse -> () #

Eq CreateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

type Rep CreateAnalysisResponse Source # 
Instance details

Defined in Amazonka.QuickSight.CreateAnalysis

type Rep CreateAnalysisResponse = D1 ('MetaData "CreateAnalysisResponse" "Amazonka.QuickSight.CreateAnalysis" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "CreateAnalysisResponse'" '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 "creationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateAnalysisResponse Source #

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

CreateAnalysis, createAnalysisResponse_analysisId - The ID of the analysis.

CreateAnalysisResponse, createAnalysisResponse_arn - The ARN for the analysis.

CreateAnalysisResponse, createAnalysisResponse_creationStatus - The status of the creation of the analysis.

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

CreateAnalysisResponse, createAnalysisResponse_status - The HTTP status of the request.

Response Lenses

createAnalysisResponse_requestId :: Lens' CreateAnalysisResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.