You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QuickSight::Types::CreateAnalysisRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateAnalysisRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  aws_account_id: "AwsAccountId", # required
  analysis_id: "RestrictiveResourceId", # required
  name: "AnalysisName", # required
  parameters: {
    string_parameters: [
      {
        name: "NonEmptyString", # required
        values: ["String"], # required
      },
    ],
    integer_parameters: [
      {
        name: "NonEmptyString", # required
        values: [1], # required
      },
    ],
    decimal_parameters: [
      {
        name: "NonEmptyString", # required
        values: [1.0], # required
      },
    ],
    date_time_parameters: [
      {
        name: "NonEmptyString", # required
        values: [Time.now], # required
      },
    ],
  },
  permissions: [
    {
      principal: "Principal", # required
      actions: ["String"], # required
    },
  ],
  source_entity: { # required
    source_template: {
      data_set_references: [ # required
        {
          data_set_placeholder: "NonEmptyString", # required
          data_set_arn: "Arn", # required
        },
      ],
      arn: "Arn", # required
    },
  },
  theme_arn: "Arn",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#analysis_idString

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

Returns:

  • (String)

    The ID for the analysis that you\'re creating.

#aws_account_idString

The ID of the AWS account where you are creating an analysis.

Returns:

  • (String)

    The ID of the AWS account where you are creating an analysis.

#nameString

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

Returns:

  • (String)

    A descriptive name for the analysis that you\'re creating.

#parametersTypes::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.

Returns:

  • (Types::Parameters)

    The parameter names and override values that you want to use.

#permissionsArray<Types::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 AWS Identity and Access Management (IAM) action information for each principal listed by Amazon Resource Name (ARN).

To specify no permissions, omit Permissions.

Returns:

  • (Array<Types::ResourcePermission>)

    A structure that describes the principals and the resource-level permissions on an analysis.

#source_entityTypes::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.

Returns:

#tagsArray<Types::Tag>

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

Returns:

  • (Array<Types::Tag>)

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

#theme_arnString

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

Returns:

  • (String)

    The ARN for the theme to apply to the analysis that you\'re creating.