Class: AWS.QuickSight

Inherits:
AWS.Service show all
Identifier:
quicksight
API Version:
2018-04-01
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Amazon QuickSight is a fully managed, serverless business intelligence service for the AWS Cloud that makes it easy to extend data and insights to every user in your organization. This API reference contains documentation for a programming interface that you can use to manage Amazon QuickSight.

Sending a Request Using QuickSight

var quicksight = new AWS.QuickSight();
quicksight.cancelIngestion(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the QuickSight object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var quicksight = new AWS.QuickSight({apiVersion: '2018-04-01'});

You can also set the API version globally in AWS.config.apiVersions using the quicksight service identifier:

AWS.config.apiVersions = {
  quicksight: '2018-04-01',
  // other service API versions
};

var quicksight = new AWS.QuickSight();

Version:

  • 2018-04-01

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.QuickSight(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a QuickSight object

var quicksight = new AWS.QuickSight({apiVersion: '2018-04-01'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com'.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.QuickSight.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.QuickSight.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.QuickSight.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

cancelIngestion(params = {}, callback) ⇒ AWS.Request

Cancels an ongoing ingestion of data into SPICE.

Service Reference:

Examples:

Calling the cancelIngestion operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE', /* required */
  IngestionId: 'STRING_VALUE' /* required */
};
quicksight.cancelIngestion(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSetId — (String)

      The ID of the dataset used in the ingestion.

    • IngestionId — (String)

      An ID for the ingestion.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) for the data ingestion.

      • IngestionId — (String)

        An ID for the ingestion.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDashboard(params = {}, callback) ⇒ AWS.Request

Creates a dashboard from a template. To first create a template, see the CreateTemplate API operation.

A dashboard is an entity in QuickSight that identifies QuickSight reports, created from analyses. You can share QuickSight dashboards. With the right permissions, you can create scheduled email reports from them. The CreateDashboard, DescribeDashboard, and ListDashboardsByUser API operations act on the dashboard entity. If you have the correct permissions, you can create a dashboard from a template that exists in a different AWS account.

Service Reference:

Examples:

Calling the createDashboard operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE', /* required */
  Name: 'STRING_VALUE', /* required */
  SourceEntity: { /* required */
    SourceTemplate: {
      Arn: 'STRING_VALUE', /* required */
      DataSetReferences: [ /* required */
        {
          DataSetArn: 'STRING_VALUE', /* required */
          DataSetPlaceholder: 'STRING_VALUE' /* required */
        },
        /* more items */
      ]
    }
  },
  DashboardPublishOptions: {
    AdHocFilteringOption: {
      AvailabilityStatus: ENABLED | DISABLED
    },
    ExportToCSVOption: {
      AvailabilityStatus: ENABLED | DISABLED
    },
    SheetControlsOption: {
      VisibilityState: EXPANDED | COLLAPSED
    }
  },
  Parameters: {
    DateTimeParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Values: [ /* required */
          new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
          /* more items */
        ]
      },
      /* more items */
    ],
    DecimalParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Values: [ /* required */
          'NUMBER_VALUE',
          /* more items */
        ]
      },
      /* more items */
    ],
    IntegerParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Values: [ /* required */
          'NUMBER_VALUE',
          /* more items */
        ]
      },
      /* more items */
    ],
    StringParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Values: [ /* required */
          'STRING_VALUE',
          /* more items */
        ]
      },
      /* more items */
    ]
  },
  Permissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  VersionDescription: 'STRING_VALUE'
};
quicksight.createDashboard(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account where you want to create the dashboard.

    • DashboardId — (String)

      The ID for the dashboard, also added to the IAM policy.

    • Name — (String)

      The display name of the dashboard.

    • Parameters — (map)

      A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. A dashboard can have any type of parameters, and some parameters might accept multiple values. You can use the dashboard permissions structure described following to override two string parameters that accept multiple values.

      • StringParameters — (Array<map>)

        String parameters.

        • Namerequired — (String)

          A display name for the dataset.

        • Valuesrequired — (Array<String>)

          Values.

      • IntegerParameters — (Array<map>)

        Integer parameters.

        • Namerequired — (String)

          A display name for the dataset.

        • Valuesrequired — (Array<Integer>)

          Values.

      • DecimalParameters — (Array<map>)

        Decimal parameters.

        • Namerequired — (String)

          A display name for the dataset.

        • Valuesrequired — (Array<Float>)

          Values.

      • DateTimeParameters — (Array<map>)

        DateTime parameters.

        • Namerequired — (String)

          A display name for the dataset.

        • Valuesrequired — (Array<Date>)

          Values.

    • Permissions — (Array<map>)

      A structure that contains the permissions of the dashboard. You can use this structure for granting permissions with principal and action information.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

    • SourceEntity — (map)

      The source entity from which the dashboard is created. The source entity accepts the Amazon Resource Name (ARN) of the source template or analysis and also references the replacement datasets for the placeholders set when creating the template. The replacement datasets need to follow the same schema as the datasets for which placeholders were created when creating the template.

      If you are creating a dashboard from a source entity in a different AWS account, use the ARN of the source template.

      • SourceTemplate — (map)

        Source template.

        • DataSetReferencesrequired — (Array<map>)

          Dataset references.

          • DataSetPlaceholderrequired — (String)

            Dataset placeholder.

          • DataSetArnrequired — (String)

            Dataset Amazon Resource Name (ARN).

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the resource.

    • Tags — (Array<map>)

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

      • Keyrequired — (String)

        Tag key.

      • Valuerequired — (String)

        Tag value.

    • VersionDescription — (String)

      A description for the first version of the dashboard being created.

    • DashboardPublishOptions — (map)

      Options for publishing the dashboard when you create it:

      • AvailabilityStatus for AdHocFilteringOption - This status can be either ENABLED or DISABLED. When this is set to DISABLED, QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option is ENABLED by default.

      • AvailabilityStatus for ExportToCSVOption - This status can be either ENABLED or DISABLED. The visual option to export data to .csv format isn't enabled when this is set to DISABLED. This option is ENABLED by default.

      • VisibilityState for SheetControlsOption - This visibility state can be either COLLAPSED or EXPANDED. The sheet controls pane is collapsed by default when set to true. This option is COLLAPSED by default.

      • AdHocFilteringOption — (map)

        Ad hoc (one-time) filtering option.

        • AvailabilityStatus — (String)

          Availability status.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
      • ExportToCSVOption — (map)

        Export to .csv option.

        • AvailabilityStatus — (String)

          Availability status.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
      • SheetControlsOption — (map)

        Sheet controls option.

        • VisibilityState — (String)

          Visibility state.

          Possible values include:
          • "EXPANDED"
          • "COLLAPSED"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) of the dashboard.

      • VersionArn — (String)

        The ARN of the dashboard, including the version number of the first version that is created.

      • DashboardId — (String)

        The ID for the dashboard.

      • CreationStatus — (String)

        The status of the dashboard creation request.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDataSet(params = {}, callback) ⇒ AWS.Request

Creates a dataset.

Service Reference:

Examples:

Calling the createDataSet operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE', /* required */
  ImportMode: SPICE | DIRECT_QUERY, /* required */
  Name: 'STRING_VALUE', /* required */
  PhysicalTableMap: { /* required */
    '<PhysicalTableId>': {
      CustomSql: {
        DataSourceArn: 'STRING_VALUE', /* required */
        Name: 'STRING_VALUE', /* required */
        SqlQuery: 'STRING_VALUE', /* required */
        Columns: [
          {
            Name: 'STRING_VALUE', /* required */
            Type: STRING | INTEGER | DECIMAL | DATETIME | BIT | BOOLEAN | JSON /* required */
          },
          /* more items */
        ]
      },
      RelationalTable: {
        DataSourceArn: 'STRING_VALUE', /* required */
        InputColumns: [ /* required */
          {
            Name: 'STRING_VALUE', /* required */
            Type: STRING | INTEGER | DECIMAL | DATETIME | BIT | BOOLEAN | JSON /* required */
          },
          /* more items */
        ],
        Name: 'STRING_VALUE', /* required */
        Schema: 'STRING_VALUE'
      },
      S3Source: {
        DataSourceArn: 'STRING_VALUE', /* required */
        InputColumns: [ /* required */
          {
            Name: 'STRING_VALUE', /* required */
            Type: STRING | INTEGER | DECIMAL | DATETIME | BIT | BOOLEAN | JSON /* required */
          },
          /* more items */
        ],
        UploadSettings: {
          ContainsHeader: true || false,
          Delimiter: 'STRING_VALUE',
          Format: CSV | TSV | CLF | ELF | XLSX | JSON,
          StartFromRow: 'NUMBER_VALUE',
          TextQualifier: DOUBLE_QUOTE | SINGLE_QUOTE
        }
      }
    },
    /* '<PhysicalTableId>': ... */
  },
  ColumnGroups: [
    {
      GeoSpatialColumnGroup: {
        Columns: [ /* required */
          'STRING_VALUE',
          /* more items */
        ],
        CountryCode: US, /* required */
        Name: 'STRING_VALUE' /* required */
      }
    },
    /* more items */
  ],
  LogicalTableMap: {
    '<LogicalTableId>': {
      Alias: 'STRING_VALUE', /* required */
      Source: { /* required */
        JoinInstruction: {
          LeftOperand: 'STRING_VALUE', /* required */
          OnClause: 'STRING_VALUE', /* required */
          RightOperand: 'STRING_VALUE', /* required */
          Type: INNER | OUTER | LEFT | RIGHT /* required */
        },
        PhysicalTableId: 'STRING_VALUE'
      },
      DataTransforms: [
        {
          CastColumnTypeOperation: {
            ColumnName: 'STRING_VALUE', /* required */
            NewColumnType: STRING | INTEGER | DECIMAL | DATETIME, /* required */
            Format: 'STRING_VALUE'
          },
          CreateColumnsOperation: {
            Columns: [ /* required */
              {
                ColumnId: 'STRING_VALUE', /* required */
                ColumnName: 'STRING_VALUE', /* required */
                Expression: 'STRING_VALUE' /* required */
              },
              /* more items */
            ]
          },
          FilterOperation: {
            ConditionExpression: 'STRING_VALUE' /* required */
          },
          ProjectOperation: {
            ProjectedColumns: [ /* required */
              'STRING_VALUE',
              /* more items */
            ]
          },
          RenameColumnOperation: {
            ColumnName: 'STRING_VALUE', /* required */
            NewColumnName: 'STRING_VALUE' /* required */
          },
          TagColumnOperation: {
            ColumnName: 'STRING_VALUE', /* required */
            Tags: [ /* required */
              {
                ColumnGeographicRole: COUNTRY | STATE | COUNTY | CITY | POSTCODE | LONGITUDE | LATITUDE
              },
              /* more items */
            ]
          }
        },
        /* more items */
      ]
    },
    /* '<LogicalTableId>': ... */
  },
  Permissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  RowLevelPermissionDataSet: {
    Arn: 'STRING_VALUE', /* required */
    PermissionPolicy: GRANT_ACCESS | DENY_ACCESS /* required */
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
quicksight.createDataSet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSetId — (String)

      An ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

    • Name — (String)

      The display name for the dataset.

    • PhysicalTableMap — (map<map>)

      Declares the physical tables that are available in the underlying data sources.

      • RelationalTable — (map)

        A physical table type for relational data sources.

        • DataSourceArnrequired — (String)

          The Amazon Resource Name (ARN) for the data source.

        • Schema — (String)

          The schema name. This name applies to certain relational database engines.

        • Namerequired — (String)

          The name of the relational table.

        • InputColumnsrequired — (Array<map>)

          The column schema of the table.

          • Namerequired — (String)

            The name of this column in the underlying data source.

          • Typerequired — (String)

            The data type of the column.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
            • "BIT"
            • "BOOLEAN"
            • "JSON"
      • CustomSql — (map)

        A physical table type built from the results of the custom SQL query.

        • DataSourceArnrequired — (String)

          The Amazon Resource Name (ARN) of the data source.

        • Namerequired — (String)

          A display name for the SQL query result.

        • SqlQueryrequired — (String)

          The SQL query.

        • Columns — (Array<map>)

          The column schema from the SQL query result set.

          • Namerequired — (String)

            The name of this column in the underlying data source.

          • Typerequired — (String)

            The data type of the column.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
            • "BIT"
            • "BOOLEAN"
            • "JSON"
      • S3Source — (map)

        A physical table type for as S3 data source.

        • DataSourceArnrequired — (String)

          The amazon Resource Name (ARN) for the data source.

        • UploadSettings — (map)

          Information about the format for the S3 source file or files.

          • Format — (String)

            File format.

            Possible values include:
            • "CSV"
            • "TSV"
            • "CLF"
            • "ELF"
            • "XLSX"
            • "JSON"
          • StartFromRow — (Integer)

            A row number to start reading data from.

          • ContainsHeader — (Boolean)

            Whether the file has a header row, or the files each have a header row.

          • TextQualifier — (String)

            Text qualifier.

            Possible values include:
            • "DOUBLE_QUOTE"
            • "SINGLE_QUOTE"
          • Delimiter — (String)

            The delimiter between values in the file.

        • InputColumnsrequired — (Array<map>)

          A physical table type for as S3 data source.

          • Namerequired — (String)

            The name of this column in the underlying data source.

          • Typerequired — (String)

            The data type of the column.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
            • "BIT"
            • "BOOLEAN"
            • "JSON"
    • LogicalTableMap — (map<map>)

      Configures the combination and transformation of the data from the physical tables.

      • Aliasrequired — (String)

        A display name for the logical table.

      • DataTransforms — (Array<map>)

        Transform operations that act on this logical table.

        • ProjectOperation — (map)

          An operation that projects columns. Operations that come after a projection can only refer to projected columns.

          • ProjectedColumnsrequired — (Array<String>)

            Projected columns.

        • FilterOperation — (map)

          An operation that filters rows based on some condition.

          • ConditionExpressionrequired — (String)

            An expression that must evaluate to a Boolean value. Rows for which the expression evaluates to true are kept in the dataset.

        • CreateColumnsOperation — (map)

          An operation that creates calculated columns. Columns created in one such operation form a lexical closure.

          • Columnsrequired — (Array<map>)

            Calculated columns to create.

            • ColumnNamerequired — (String)

              Column name.

            • ColumnIdrequired — (String)

              A unique ID to identify a calculated column. During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Amazon QuickSight preserves the existing calculated column.

            • Expressionrequired — (String)

              An expression that defines the calculated column.

        • RenameColumnOperation — (map)

          An operation that renames a column.

          • ColumnNamerequired — (String)

            The name of the column to be renamed.

          • NewColumnNamerequired — (String)

            The new name for the column.

        • CastColumnTypeOperation — (map)

          A transform operation that casts a column to a different type.

          • ColumnNamerequired — (String)

            Column name.

          • NewColumnTyperequired — (String)

            New column data type.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
          • Format — (String)

            When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.

        • TagColumnOperation — (map)

          An operation that tags a column with additional information.

          • ColumnNamerequired — (String)

            The column that this operation acts on.

          • Tagsrequired — (Array<map>)

            The dataset column tag, currently only used for geospatial type tagging. .

            Note: This is not tags for the AWS tagging feature. .
            • ColumnGeographicRole — (String)

              A geospatial role for a column.

              Possible values include:
              • "COUNTRY"
              • "STATE"
              • "COUNTY"
              • "CITY"
              • "POSTCODE"
              • "LONGITUDE"
              • "LATITUDE"
      • Sourcerequired — (map)

        Source of this logical table.

        • JoinInstruction — (map)

          Specifies the result of a join of two logical tables.

          • LeftOperandrequired — (String)

            Left operand.

          • RightOperandrequired — (String)

            Right operand.

          • Typerequired — (String)

            Type.

            Possible values include:
            • "INNER"
            • "OUTER"
            • "LEFT"
            • "RIGHT"
          • OnClauserequired — (String)

            On Clause.

        • PhysicalTableId — (String)

          Physical table ID.

    • ImportMode — (String)

      Indicates whether you want to import the data into SPICE.

      Possible values include:
      • "SPICE"
      • "DIRECT_QUERY"
    • ColumnGroups — (Array<map>)

      Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.

      • GeoSpatialColumnGroup — (map)

        Geospatial column group that denotes a hierarchy.

        • Namerequired — (String)

          A display name for the hierarchy.

        • CountryCoderequired — (String)

          Country code.

          Possible values include:
          • "US"
        • Columnsrequired — (Array<String>)

          Columns in this hierarchy.

    • Permissions — (Array<map>)

      A list of resource permissions on the dataset.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

    • RowLevelPermissionDataSet — (map)

      The row-level security configuration for the data that you want to create.

      • Arnrequired — (String)

        The Amazon Resource Name (ARN) of the permission dataset.

      • PermissionPolicyrequired — (String)

        Permission policy.

        Possible values include:
        • "GRANT_ACCESS"
        • "DENY_ACCESS"
    • Tags — (Array<map>)

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

      • Keyrequired — (String)

        Tag key.

      • Valuerequired — (String)

        Tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) of the dataset.

      • DataSetId — (String)

        The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

      • IngestionArn — (String)

        The ARN for the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

      • IngestionId — (String)

        The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDataSource(params = {}, callback) ⇒ AWS.Request

Creates a data source.

Service Reference:

Examples:

Calling the createDataSource operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSourceId: 'STRING_VALUE', /* required */
  Name: 'STRING_VALUE', /* required */
  Type: ADOBE_ANALYTICS | AMAZON_ELASTICSEARCH | ATHENA | AURORA | AURORA_POSTGRESQL | AWS_IOT_ANALYTICS | GITHUB | JIRA | MARIADB | MYSQL | POSTGRESQL | PRESTO | REDSHIFT | S3 | SALESFORCE | SERVICENOW | SNOWFLAKE | SPARK | SQLSERVER | TERADATA | TWITTER, /* required */
  Credentials: {
    CredentialPair: {
      Password: 'STRING_VALUE', /* required */
      Username: 'STRING_VALUE' /* required */
    }
  },
  DataSourceParameters: {
    AmazonElasticsearchParameters: {
      Domain: 'STRING_VALUE' /* required */
    },
    AthenaParameters: {
      WorkGroup: 'STRING_VALUE'
    },
    AuroraParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    AuroraPostgreSqlParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    AwsIotAnalyticsParameters: {
      DataSetName: 'STRING_VALUE' /* required */
    },
    JiraParameters: {
      SiteBaseUrl: 'STRING_VALUE' /* required */
    },
    MariaDbParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    MySqlParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    PostgreSqlParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    PrestoParameters: {
      Catalog: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    RdsParameters: {
      Database: 'STRING_VALUE', /* required */
      InstanceId: 'STRING_VALUE' /* required */
    },
    RedshiftParameters: {
      Database: 'STRING_VALUE', /* required */
      ClusterId: 'STRING_VALUE',
      Host: 'STRING_VALUE',
      Port: 'NUMBER_VALUE'
    },
    S3Parameters: {
      ManifestFileLocation: { /* required */
        Bucket: 'STRING_VALUE', /* required */
        Key: 'STRING_VALUE' /* required */
      }
    },
    ServiceNowParameters: {
      SiteBaseUrl: 'STRING_VALUE' /* required */
    },
    SnowflakeParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Warehouse: 'STRING_VALUE' /* required */
    },
    SparkParameters: {
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    SqlServerParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    TeradataParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    TwitterParameters: {
      MaxRows: 'NUMBER_VALUE', /* required */
      Query: 'STRING_VALUE' /* required */
    }
  },
  Permissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  SslProperties: {
    DisableSsl: true || false
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  VpcConnectionProperties: {
    VpcConnectionArn: 'STRING_VALUE' /* required */
  }
};
quicksight.createDataSource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSourceId — (String)

      An ID for the data source. This ID is unique per AWS Region for each AWS account.

    • Name — (String)

      A display name for the data source.

    • Type — (String)

      The type of the data source. Currently, the supported types for this operation are: ATHENA, AURORA, AURORA_POSTGRESQL, MARIADB, MYSQL, POSTGRESQL, PRESTO, REDSHIFT, S3, SNOWFLAKE, SPARK, SQLSERVER, TERADATA. Use ListDataSources to return a list of all data sources.

      Possible values include:
      • "ADOBE_ANALYTICS"
      • "AMAZON_ELASTICSEARCH"
      • "ATHENA"
      • "AURORA"
      • "AURORA_POSTGRESQL"
      • "AWS_IOT_ANALYTICS"
      • "GITHUB"
      • "JIRA"
      • "MARIADB"
      • "MYSQL"
      • "POSTGRESQL"
      • "PRESTO"
      • "REDSHIFT"
      • "S3"
      • "SALESFORCE"
      • "SERVICENOW"
      • "SNOWFLAKE"
      • "SPARK"
      • "SQLSERVER"
      • "TERADATA"
      • "TWITTER"
    • DataSourceParameters — (map)

      The parameters that QuickSight uses to connect to your underlying source.

      • AmazonElasticsearchParameters — (map)

        Amazon Elasticsearch Service parameters.

        • Domainrequired — (String)

          The Amazon Elasticsearch Service domain.

      • AthenaParameters — (map)

        Amazon Athena parameters.

        • WorkGroup — (String)

          The workgroup that Amazon Athena uses.

      • AuroraParameters — (map)

        Amazon Aurora MySQL parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • AuroraPostgreSqlParameters — (map)

        Aurora PostgreSQL parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • AwsIotAnalyticsParameters — (map)

        AWS IoT Analytics parameters.

        • DataSetNamerequired — (String)

          Dataset name.

      • JiraParameters — (map)

        Jira parameters.

        • SiteBaseUrlrequired — (String)

          The base URL of the Jira site.

      • MariaDbParameters — (map)

        MariaDB parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • MySqlParameters — (map)

        MySQL parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • PostgreSqlParameters — (map)

        PostgreSQL parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • PrestoParameters — (map)

        Presto parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Catalogrequired — (String)

          Catalog.

      • RdsParameters — (map)

        Amazon RDS parameters.

        • InstanceIdrequired — (String)

          Instance ID.

        • Databaserequired — (String)

          Database.

      • RedshiftParameters — (map)

        Amazon Redshift parameters.

        • Host — (String)

          Host. This field can be blank if ClusterId is provided.

        • Port — (Integer)

          Port. This field can be blank if the ClusterId is provided.

        • Databaserequired — (String)

          Database.

        • ClusterId — (String)

          Cluster ID. This field can be blank if the Host and Port are provided.

      • S3Parameters — (map)

        S3 parameters.

        • ManifestFileLocationrequired — (map)

          Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded in the console.

          • Bucketrequired — (String)

            Amazon S3 bucket.

          • Keyrequired — (String)

            Amazon S3 key that identifies an object.

      • ServiceNowParameters — (map)

        ServiceNow parameters.

        • SiteBaseUrlrequired — (String)

          URL of the base site.

      • SnowflakeParameters — (map)

        Snowflake parameters.

        • Hostrequired — (String)

          Host.

        • Databaserequired — (String)

          Database.

        • Warehouserequired — (String)

          Warehouse.

      • SparkParameters — (map)

        Spark parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

      • SqlServerParameters — (map)

        SQL Server parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • TeradataParameters — (map)

        Teradata parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • TwitterParameters — (map)

        Twitter parameters.

        • Queryrequired — (String)

          Twitter query string.

        • MaxRowsrequired — (Integer)

          Maximum number of rows to query Twitter.

    • Credentials — (map)

      The credentials QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.

      • CredentialPair — (map)

        Credential pair.

        • Usernamerequired — (String)

          User name.

        • Passwordrequired — (String)

          Password.

    • Permissions — (Array<map>)

      A list of resource permissions on the data source.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

    • VpcConnectionProperties — (map)

      Use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.

      • VpcConnectionArnrequired — (String)

        The Amazon Resource Name (ARN) for the VPC connection.

    • SslProperties — (map)

      Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.

      • DisableSsl — (Boolean)

        A Boolean option to control whether SSL should be disabled.

    • Tags — (Array<map>)

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

      • Keyrequired — (String)

        Tag key.

      • Valuerequired — (String)

        Tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) of the data source.

      • DataSourceId — (String)

        The ID of the data source. This ID is unique per AWS Region for each AWS account.

      • CreationStatus — (String)

        The status of creating the data source.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createGroup(params = {}, callback) ⇒ AWS.Request

Creates an Amazon QuickSight group.

The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name> .

The response is a group object.

Service Reference:

Examples:

Calling the createGroup operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  GroupName: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE'
};
quicksight.createGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GroupName — (String)

      A name for the group that you want to create.

    • Description — (String)

      A description for the group that you want to create.

    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Group — (map)

        The name of the group.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the group.

        • GroupName — (String)

          The name of the group.

        • Description — (String)

          The group description.

        • PrincipalId — (String)

          The principal ID of the group.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createGroupMembership(params = {}, callback) ⇒ AWS.Request

Adds an Amazon QuickSight user to an Amazon QuickSight group.

Service Reference:

Examples:

Calling the createGroupMembership operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  GroupName: 'STRING_VALUE', /* required */
  MemberName: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE' /* required */
};
quicksight.createGroupMembership(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MemberName — (String)

      The name of the user that you want to add to the group membership.

    • GroupName — (String)

      The name of the group that you want to add the user to.

    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • GroupMember — (map)

        The group member.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the group member (user).

        • MemberName — (String)

          The name of the group member (user).

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createIAMPolicyAssignment(params = {}, callback) ⇒ AWS.Request

Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy will be assigned to specified groups or users of Amazon QuickSight. The users and groups need to be in the same namespace.

Service Reference:

Examples:

Calling the createIAMPolicyAssignment operation

var params = {
  AssignmentName: 'STRING_VALUE', /* required */
  AssignmentStatus: ENABLED | DRAFT | DISABLED, /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  Identities: {
    '<String>': [
      'STRING_VALUE',
      /* more items */
    ],
    /* '<String>': ... */
  },
  PolicyArn: 'STRING_VALUE'
};
quicksight.createIAMPolicyAssignment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.

    • AssignmentName — (String)

      The name of the assignment. It must be unique within an AWS account.

    • AssignmentStatus — (String)

      The status of the assignment. Possible values are as follows:

      • ENABLED - Anything specified in this assignment is used when creating the data source.

      • DISABLED - This assignment isn't used when creating the data source.

      • DRAFT - This assignment is an unfinished draft and isn't used when creating the data source.

      Possible values include:
      • "ENABLED"
      • "DRAFT"
      • "DISABLED"
    • PolicyArn — (String)

      The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.

    • Identities — (map<Array<String>>)

      The QuickSight users, groups, or both that you want to assign the policy to.

    • Namespace — (String)

      The namespace that contains the assignment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AssignmentName — (String)

        The name of the assignment. This name must be unique within the AWS account.

      • AssignmentId — (String)

        The ID for the assignment.

      • AssignmentStatus — (String)

        The status of the assignment. Possible values are as follows:

        • ENABLED - Anything specified in this assignment is used when creating the data source.

        • DISABLED - This assignment isn't used when creating the data source.

        • DRAFT - This assignment is an unfinished draft and isn't used when creating the data source.

        Possible values include:
        • "ENABLED"
        • "DRAFT"
        • "DISABLED"
      • PolicyArn — (String)

        The ARN for the IAM policy that is applied to the QuickSight users and groups specified in this assignment.

      • Identities — (map<Array<String>>)

        The QuickSight users, groups, or both that the IAM policy is assigned to.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createIngestion(params = {}, callback) ⇒ AWS.Request

Creates and starts a new SPICE ingestion on a dataset

Any ingestions operating on tagged datasets inherit the same tags automatically for use in access control. For an example, see How do I create an IAM policy to control access to Amazon EC2 resources using tags? in the AWS Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.

Service Reference:

Examples:

Calling the createIngestion operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE', /* required */
  IngestionId: 'STRING_VALUE' /* required */
};
quicksight.createIngestion(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DataSetId — (String)

      The ID of the dataset used in the ingestion.

    • IngestionId — (String)

      An ID for the ingestion.

    • AwsAccountId — (String)

      The AWS account ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) for the data ingestion.

      • IngestionId — (String)

        An ID for the ingestion.

      • IngestionStatus — (String)

        The ingestion status.

        Possible values include:
        • "INITIALIZED"
        • "QUEUED"
        • "RUNNING"
        • "FAILED"
        • "COMPLETED"
        • "CANCELLED"
      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createTemplate(params = {}, callback) ⇒ AWS.Request

Creates a template from an existing QuickSight analysis or template. You can use the resulting template to create a dashboard.

A template is an entity in QuickSight that encapsulates the metadata required to create an analysis and that you can use to create s dashboard. A template adds a layer of abstraction by using placeholders to replace the dataset associated with the analysis. You can use templates to create dashboards by replacing dataset placeholders with datasets that follow the same schema that was used to create the source analysis and template.

Service Reference:

Examples:

Calling the createTemplate operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  SourceEntity: { /* required */
    SourceAnalysis: {
      Arn: 'STRING_VALUE', /* required */
      DataSetReferences: [ /* required */
        {
          DataSetArn: 'STRING_VALUE', /* required */
          DataSetPlaceholder: 'STRING_VALUE' /* required */
        },
        /* more items */
      ]
    },
    SourceTemplate: {
      Arn: 'STRING_VALUE' /* required */
    }
  },
  TemplateId: 'STRING_VALUE', /* required */
  Name: 'STRING_VALUE',
  Permissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  VersionDescription: 'STRING_VALUE'
};
quicksight.createTemplate(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • TemplateId — (String)

      An ID for the template that you want to create. This template is unique per AWS Region in each AWS account.

    • Name — (String)

      A display name for the template.

    • Permissions — (Array<map>)

      A list of resource permissions to be set on the template.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

    • SourceEntity — (map)

      The Amazon Resource Name (ARN) of the source entity from which this template is being created. Currently, you can create a template from an analysis or another template. If the ARN is for an analysis, include its dataset references.

      • SourceAnalysis — (map)

        The source analysis, if it is based on an analysis.

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the resource.

        • DataSetReferencesrequired — (Array<map>)

          A structure containing information about the dataset references used as placeholders in the template.

          • DataSetPlaceholderrequired — (String)

            Dataset placeholder.

          • DataSetArnrequired — (String)

            Dataset Amazon Resource Name (ARN).

      • SourceTemplate — (map)

        The source template, if it is based on an template.

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the resource.

    • Tags — (Array<map>)

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

      • Keyrequired — (String)

        Tag key.

      • Valuerequired — (String)

        Tag value.

    • VersionDescription — (String)

      A description of the current template version being created. This API operation creates the first version of the template. Every time UpdateTemplate is called, a new version is created. Each version of the template maintains a description of the version in the VersionDescription field.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The ARN for the template.

      • VersionArn — (String)

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

      • TemplateId — (String)

        The ID of the template.

      • CreationStatus — (String)

        The template creation status.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createTemplateAlias(params = {}, callback) ⇒ AWS.Request

Creates a template alias for a template.

Service Reference:

Examples:

Calling the createTemplateAlias operation

var params = {
  AliasName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE', /* required */
  TemplateVersionNumber: 'NUMBER_VALUE' /* required */
};
quicksight.createTemplateAlias(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template that you creating an alias for.

    • TemplateId — (String)

      An ID for the template.

    • AliasName — (String)

      The name that you want to give to the template alias that you're creating. Don't start the alias name with the $ character. Alias names that start with $ are reserved by QuickSight.

    • TemplateVersionNumber — (Integer)

      The version number of the template.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateAlias — (map)

        Information about the template alias.

        • AliasName — (String)

          The display name of the template alias.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the template alias.

        • TemplateVersionNumber — (Integer)

          The version number of the template alias.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteDashboard(params = {}, callback) ⇒ AWS.Request

Deletes a dashboard.

Service Reference:

Examples:

Calling the deleteDashboard operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE', /* required */
  VersionNumber: 'NUMBER_VALUE'
};
quicksight.deleteDashboard(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the dashboard that you're deleting.

    • DashboardId — (String)

      The ID for the dashboard.

    • VersionNumber — (Integer)

      The version number of the dashboard. If the version number property is provided, only the specified version of the dashboard is deleted.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Status — (Integer)

        The HTTP status of the request.

      • Arn — (String)

        The Secure Socket Layer (SSL) properties that apply for the resource.

      • DashboardId — (String)

        The ID of the dashboard.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteDataSet(params = {}, callback) ⇒ AWS.Request

Deletes a dataset.

Service Reference:

Examples:

Calling the deleteDataSet operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE' /* required */
};
quicksight.deleteDataSet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSetId — (String)

      The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) of the dataset.

      • DataSetId — (String)

        The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteDataSource(params = {}, callback) ⇒ AWS.Request

Deletes the data source permanently. This action breaks all the datasets that reference the deleted data source.

Service Reference:

Examples:

Calling the deleteDataSource operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSourceId: 'STRING_VALUE' /* required */
};
quicksight.deleteDataSource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSourceId — (String)

      The ID of the data source. This ID is unique per AWS Region for each AWS account.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) of the data source that you deleted.

      • DataSourceId — (String)

        The ID of the data source. This ID is unique per AWS Region for each AWS account.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteGroup(params = {}, callback) ⇒ AWS.Request

Removes a user group from Amazon QuickSight.

Service Reference:

Examples:

Calling the deleteGroup operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  GroupName: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE' /* required */
};
quicksight.deleteGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GroupName — (String)

      The name of the group that you want to delete.

    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteGroupMembership(params = {}, callback) ⇒ AWS.Request

Removes a user from a group so that the user is no longer a member of the group.

Service Reference:

Examples:

Calling the deleteGroupMembership operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  GroupName: 'STRING_VALUE', /* required */
  MemberName: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE' /* required */
};
quicksight.deleteGroupMembership(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • MemberName — (String)

      The name of the user that you want to delete from the group membership.

    • GroupName — (String)

      The name of the group that you want to delete the user from.

    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteIAMPolicyAssignment(params = {}, callback) ⇒ AWS.Request

Deletes an existing IAM policy assignment.

Service Reference:

Examples:

Calling the deleteIAMPolicyAssignment operation

var params = {
  AssignmentName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE' /* required */
};
quicksight.deleteIAMPolicyAssignment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID where you want to delete the IAM policy assignment.

    • AssignmentName — (String)

      The name of the assignment.

    • Namespace — (String)

      The namespace that contains the assignment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AssignmentName — (String)

        The name of the assignment.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteTemplate(params = {}, callback) ⇒ AWS.Request

Deletes a template.

Service Reference:

Examples:

Calling the deleteTemplate operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE', /* required */
  VersionNumber: 'NUMBER_VALUE'
};
quicksight.deleteTemplate(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template that you're deleting.

    • TemplateId — (String)

      An ID for the template you want to delete.

    • VersionNumber — (Integer)

      Specifies the version of the template that you want to delete. If you don't provide a version number, DeleteTemplate deletes all versions of the template.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestId — (String)

        The AWS request ID for this operation.

      • Arn — (String)

        The Amazon Resource Name (ARN) of the resource.

      • TemplateId — (String)

        An ID for the template.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteTemplateAlias(params = {}, callback) ⇒ AWS.Request

Deletes the item that the specified template alias points to. If you provide a specific alias, you delete the version of the template that the alias points to.

Service Reference:

Examples:

Calling the deleteTemplateAlias operation

var params = {
  AliasName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE' /* required */
};
quicksight.deleteTemplateAlias(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the item to delete.

    • TemplateId — (String)

      The ID for the template that the specified alias is for.

    • AliasName — (String)

      The name for the template alias. If you name a specific alias, you delete 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Status — (Integer)

        The HTTP status of the request.

      • TemplateId — (String)

        An ID for the template associated with the deletion.

      • AliasName — (String)

        The name for the template alias.

      • Arn — (String)

        The Amazon Resource Name (ARN) of the resource.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteUser(params = {}, callback) ⇒ AWS.Request

Deletes the Amazon QuickSight user that is associated with the identity of the AWS Identity and Access Management (IAM) user or role that's making the call. The IAM user isn't deleted as a result of this call.

Service Reference:

Examples:

Calling the deleteUser operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  UserName: 'STRING_VALUE' /* required */
};
quicksight.deleteUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • UserName — (String)

      The name of the user that you want to delete.

    • AwsAccountId — (String)

      The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteUserByPrincipalId(params = {}, callback) ⇒ AWS.Request

Deletes a user identified by its principal ID.

Service Reference:

Examples:

Calling the deleteUserByPrincipalId operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  PrincipalId: 'STRING_VALUE' /* required */
};
quicksight.deleteUserByPrincipalId(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • PrincipalId — (String)

      The principal ID of the user.

    • AwsAccountId — (String)

      The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeDashboard(params = {}, callback) ⇒ AWS.Request

Provides a summary for a dashboard.

Service Reference:

Examples:

Calling the describeDashboard operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE', /* required */
  AliasName: 'STRING_VALUE',
  VersionNumber: 'NUMBER_VALUE'
};
quicksight.describeDashboard(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the dashboard that you're describing.

    • DashboardId — (String)

      The ID for the dashboard.

    • VersionNumber — (Integer)

      The version number for the dashboard. If a version number isn't passed, the latest published dashboard version is described.

    • AliasName — (String)

      The alias name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Dashboard — (map)

        Information about the dashboard.

        • DashboardId — (String)

          Dashboard ID.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the resource.

        • Name — (String)

          A display name for the dashboard.

        • Version — (map)

          Version.

          • CreatedTime — (Date)

            The time that this dashboard version was created.

          • Errors — (Array<map>)

            Errors.

            • Type — (String)

              Type.

              Possible values include:
              • "ACCESS_DENIED"
              • "SOURCE_NOT_FOUND"
              • "DATA_SET_NOT_FOUND"
              • "INTERNAL_FAILURE"
              • "PARAMETER_VALUE_INCOMPATIBLE"
              • "PARAMETER_TYPE_INVALID"
              • "PARAMETER_NOT_FOUND"
              • "COLUMN_TYPE_MISMATCH"
              • "COLUMN_GEOGRAPHIC_ROLE_MISMATCH"
              • "COLUMN_REPLACEMENT_MISSING"
            • Message — (String)

              Message.

          • VersionNumber — (Integer)

            Version number.

          • Status — (String)

            The HTTP status of the request.

            Possible values include:
            • "CREATION_IN_PROGRESS"
            • "CREATION_SUCCESSFUL"
            • "CREATION_FAILED"
            • "UPDATE_IN_PROGRESS"
            • "UPDATE_SUCCESSFUL"
            • "UPDATE_FAILED"
          • Arn — (String)

            The Amazon Resource Name (ARN) of the resource.

          • SourceEntityArn — (String)

            Source entity ARN.

          • DataSetArns — (Array<String>)

            The Amazon Resource Numbers (ARNs) for the datasets that are associated with a version of the dashboard.

          • Description — (String)

            Description.

        • CreatedTime — (Date)

          The time that this dataset was created.

        • LastPublishedTime — (Date)

          The last time that this dataset was published.

        • LastUpdatedTime — (Date)

          The last time that this dataset was updated.

      • Status — (Integer)

        The HTTP status of this request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeDashboardPermissions(params = {}, callback) ⇒ AWS.Request

Describes read and write permissions for a dashboard.

Service Reference:

Examples:

Calling the describeDashboardPermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE' /* required */
};
quicksight.describeDashboardPermissions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the dashboard that you're describing permissions for.

    • DashboardId — (String)

      The ID for the dashboard, also added to the IAM policy.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DashboardId — (String)

        The ID for the dashboard.

      • DashboardArn — (String)

        The Amazon Resource Name (ARN) of the dashboard.

      • Permissions — (Array<map>)

        A structure that contains the permissions for the dashboard.

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

        • Actionsrequired — (Array<String>)

          The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeDataSet(params = {}, callback) ⇒ AWS.Request

Describes a dataset.

Service Reference:

Examples:

Calling the describeDataSet operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE' /* required */
};
quicksight.describeDataSet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSetId — (String)

      The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataSet — (map)

        Information on the dataset.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the resource.

        • DataSetId — (String)

          The ID of the dataset.

        • Name — (String)

          A display name for the dataset.

        • CreatedTime — (Date)

          The time that this dataset was created.

        • LastUpdatedTime — (Date)

          The last time that this dataset was updated.

        • PhysicalTableMap — (map<map>)

          Declares the physical tables that are available in the underlying data sources.

          • RelationalTable — (map)

            A physical table type for relational data sources.

            • DataSourceArnrequired — (String)

              The Amazon Resource Name (ARN) for the data source.

            • Schema — (String)

              The schema name. This name applies to certain relational database engines.

            • Namerequired — (String)

              The name of the relational table.

            • InputColumnsrequired — (Array<map>)

              The column schema of the table.

              • Namerequired — (String)

                The name of this column in the underlying data source.

              • Typerequired — (String)

                The data type of the column.

                Possible values include:
                • "STRING"
                • "INTEGER"
                • "DECIMAL"
                • "DATETIME"
                • "BIT"
                • "BOOLEAN"
                • "JSON"
          • CustomSql — (map)

            A physical table type built from the results of the custom SQL query.

            • DataSourceArnrequired — (String)

              The Amazon Resource Name (ARN) of the data source.

            • Namerequired — (String)

              A display name for the SQL query result.

            • SqlQueryrequired — (String)

              The SQL query.

            • Columns — (Array<map>)

              The column schema from the SQL query result set.

              • Namerequired — (String)

                The name of this column in the underlying data source.

              • Typerequired — (String)

                The data type of the column.

                Possible values include:
                • "STRING"
                • "INTEGER"
                • "DECIMAL"
                • "DATETIME"
                • "BIT"
                • "BOOLEAN"
                • "JSON"
          • S3Source — (map)

            A physical table type for as S3 data source.

            • DataSourceArnrequired — (String)

              The amazon Resource Name (ARN) for the data source.

            • UploadSettings — (map)

              Information about the format for the S3 source file or files.

              • Format — (String)

                File format.

                Possible values include:
                • "CSV"
                • "TSV"
                • "CLF"
                • "ELF"
                • "XLSX"
                • "JSON"
              • StartFromRow — (Integer)

                A row number to start reading data from.

              • ContainsHeader — (Boolean)

                Whether the file has a header row, or the files each have a header row.

              • TextQualifier — (String)

                Text qualifier.

                Possible values include:
                • "DOUBLE_QUOTE"
                • "SINGLE_QUOTE"
              • Delimiter — (String)

                The delimiter between values in the file.

            • InputColumnsrequired — (Array<map>)

              A physical table type for as S3 data source.

              • Namerequired — (String)

                The name of this column in the underlying data source.

              • Typerequired — (String)

                The data type of the column.

                Possible values include:
                • "STRING"
                • "INTEGER"
                • "DECIMAL"
                • "DATETIME"
                • "BIT"
                • "BOOLEAN"
                • "JSON"
        • LogicalTableMap — (map<map>)

          Configures the combination and transformation of the data from the physical tables.

          • Aliasrequired — (String)

            A display name for the logical table.

          • DataTransforms — (Array<map>)

            Transform operations that act on this logical table.

            • ProjectOperation — (map)

              An operation that projects columns. Operations that come after a projection can only refer to projected columns.

              • ProjectedColumnsrequired — (Array<String>)

                Projected columns.

            • FilterOperation — (map)

              An operation that filters rows based on some condition.

              • ConditionExpressionrequired — (String)

                An expression that must evaluate to a Boolean value. Rows for which the expression evaluates to true are kept in the dataset.

            • CreateColumnsOperation — (map)

              An operation that creates calculated columns. Columns created in one such operation form a lexical closure.

              • Columnsrequired — (Array<map>)

                Calculated columns to create.

                • ColumnNamerequired — (String)

                  Column name.

                • ColumnIdrequired — (String)

                  A unique ID to identify a calculated column. During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Amazon QuickSight preserves the existing calculated column.

                • Expressionrequired — (String)

                  An expression that defines the calculated column.

            • RenameColumnOperation — (map)

              An operation that renames a column.

              • ColumnNamerequired — (String)

                The name of the column to be renamed.

              • NewColumnNamerequired — (String)

                The new name for the column.

            • CastColumnTypeOperation — (map)

              A transform operation that casts a column to a different type.

              • ColumnNamerequired — (String)

                Column name.

              • NewColumnTyperequired — (String)

                New column data type.

                Possible values include:
                • "STRING"
                • "INTEGER"
                • "DECIMAL"
                • "DATETIME"
              • Format — (String)

                When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.

            • TagColumnOperation — (map)

              An operation that tags a column with additional information.

              • ColumnNamerequired — (String)

                The column that this operation acts on.

              • Tagsrequired — (Array<map>)

                The dataset column tag, currently only used for geospatial type tagging. .

                Note: This is not tags for the AWS tagging feature. .
                • ColumnGeographicRole — (String)

                  A geospatial role for a column.

                  Possible values include:
                  • "COUNTRY"
                  • "STATE"
                  • "COUNTY"
                  • "CITY"
                  • "POSTCODE"
                  • "LONGITUDE"
                  • "LATITUDE"
          • Sourcerequired — (map)

            Source of this logical table.

            • JoinInstruction — (map)

              Specifies the result of a join of two logical tables.

              • LeftOperandrequired — (String)

                Left operand.

              • RightOperandrequired — (String)

                Right operand.

              • Typerequired — (String)

                Type.

                Possible values include:
                • "INNER"
                • "OUTER"
                • "LEFT"
                • "RIGHT"
              • OnClauserequired — (String)

                On Clause.

            • PhysicalTableId — (String)

              Physical table ID.

        • OutputColumns — (Array<map>)

          The list of columns after all transforms. These columns are available in templates, analyses, and dashboards.

          • Name — (String)

            A display name for the dataset.

          • Type — (String)

            Type.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
        • ImportMode — (String)

          Indicates whether you want to import the data into SPICE.

          Possible values include:
          • "SPICE"
          • "DIRECT_QUERY"
        • ConsumedSpiceCapacityInBytes — (Integer)

          The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't imported into SPICE.

        • ColumnGroups — (Array<map>)

          Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

          • GeoSpatialColumnGroup — (map)

            Geospatial column group that denotes a hierarchy.

            • Namerequired — (String)

              A display name for the hierarchy.

            • CountryCoderequired — (String)

              Country code.

              Possible values include:
              • "US"
            • Columnsrequired — (Array<String>)

              Columns in this hierarchy.

        • RowLevelPermissionDataSet — (map)

          The row-level security configuration for the dataset.

          • Arnrequired — (String)

            The Amazon Resource Name (ARN) of the permission dataset.

          • PermissionPolicyrequired — (String)

            Permission policy.

            Possible values include:
            • "GRANT_ACCESS"
            • "DENY_ACCESS"
      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeDataSetPermissions(params = {}, callback) ⇒ AWS.Request

Describes the permissions on a dataset.

The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.

Service Reference:

Examples:

Calling the describeDataSetPermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE' /* required */
};
quicksight.describeDataSetPermissions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSetId — (String)

      The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataSetArn — (String)

        The Amazon Resource Name (ARN) of the dataset.

      • DataSetId — (String)

        The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

      • Permissions — (Array<map>)

        A list of resource permissions on the dataset.

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

        • Actionsrequired — (Array<String>)

          The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeDataSource(params = {}, callback) ⇒ AWS.Request

Describes a data source.

Service Reference:

Examples:

Calling the describeDataSource operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSourceId: 'STRING_VALUE' /* required */
};
quicksight.describeDataSource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSourceId — (String)

      The ID of the data source. This ID is unique per AWS Region for each AWS account.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataSource — (map)

        The information on the data source.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the data source.

        • DataSourceId — (String)

          The ID of the data source. This ID is unique per AWS Region for each AWS account.

        • Name — (String)

          A display name for the data source.

        • Type — (String)

          The type of the data source. This type indicates which database engine the data source connects to.

          Possible values include:
          • "ADOBE_ANALYTICS"
          • "AMAZON_ELASTICSEARCH"
          • "ATHENA"
          • "AURORA"
          • "AURORA_POSTGRESQL"
          • "AWS_IOT_ANALYTICS"
          • "GITHUB"
          • "JIRA"
          • "MARIADB"
          • "MYSQL"
          • "POSTGRESQL"
          • "PRESTO"
          • "REDSHIFT"
          • "S3"
          • "SALESFORCE"
          • "SERVICENOW"
          • "SNOWFLAKE"
          • "SPARK"
          • "SQLSERVER"
          • "TERADATA"
          • "TWITTER"
        • Status — (String)

          The HTTP status of the request.

          Possible values include:
          • "CREATION_IN_PROGRESS"
          • "CREATION_SUCCESSFUL"
          • "CREATION_FAILED"
          • "UPDATE_IN_PROGRESS"
          • "UPDATE_SUCCESSFUL"
          • "UPDATE_FAILED"
        • CreatedTime — (Date)

          The time that this data source was created.

        • LastUpdatedTime — (Date)

          The last time that this data source was updated.

        • DataSourceParameters — (map)

          The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

          • AmazonElasticsearchParameters — (map)

            Amazon Elasticsearch Service parameters.

            • Domainrequired — (String)

              The Amazon Elasticsearch Service domain.

          • AthenaParameters — (map)

            Amazon Athena parameters.

            • WorkGroup — (String)

              The workgroup that Amazon Athena uses.

          • AuroraParameters — (map)

            Amazon Aurora MySQL parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • AuroraPostgreSqlParameters — (map)

            Aurora PostgreSQL parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • AwsIotAnalyticsParameters — (map)

            AWS IoT Analytics parameters.

            • DataSetNamerequired — (String)

              Dataset name.

          • JiraParameters — (map)

            Jira parameters.

            • SiteBaseUrlrequired — (String)

              The base URL of the Jira site.

          • MariaDbParameters — (map)

            MariaDB parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • MySqlParameters — (map)

            MySQL parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • PostgreSqlParameters — (map)

            PostgreSQL parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • PrestoParameters — (map)

            Presto parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Catalogrequired — (String)

              Catalog.

          • RdsParameters — (map)

            Amazon RDS parameters.

            • InstanceIdrequired — (String)

              Instance ID.

            • Databaserequired — (String)

              Database.

          • RedshiftParameters — (map)

            Amazon Redshift parameters.

            • Host — (String)

              Host. This field can be blank if ClusterId is provided.

            • Port — (Integer)

              Port. This field can be blank if the ClusterId is provided.

            • Databaserequired — (String)

              Database.

            • ClusterId — (String)

              Cluster ID. This field can be blank if the Host and Port are provided.

          • S3Parameters — (map)

            S3 parameters.

            • ManifestFileLocationrequired — (map)

              Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded in the console.

              • Bucketrequired — (String)

                Amazon S3 bucket.

              • Keyrequired — (String)

                Amazon S3 key that identifies an object.

          • ServiceNowParameters — (map)

            ServiceNow parameters.

            • SiteBaseUrlrequired — (String)

              URL of the base site.

          • SnowflakeParameters — (map)

            Snowflake parameters.

            • Hostrequired — (String)

              Host.

            • Databaserequired — (String)

              Database.

            • Warehouserequired — (String)

              Warehouse.

          • SparkParameters — (map)

            Spark parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

          • SqlServerParameters — (map)

            SQL Server parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • TeradataParameters — (map)

            Teradata parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • TwitterParameters — (map)

            Twitter parameters.

            • Queryrequired — (String)

              Twitter query string.

            • MaxRowsrequired — (Integer)

              Maximum number of rows to query Twitter.

        • VpcConnectionProperties — (map)

          The VPC connection information. You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.

          • VpcConnectionArnrequired — (String)

            The Amazon Resource Name (ARN) for the VPC connection.

        • SslProperties — (map)

          Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.

          • DisableSsl — (Boolean)

            A Boolean option to control whether SSL should be disabled.

        • ErrorInfo — (map)

          Error information from the last update or the creation of the data source.

          • Type — (String)

            Error type.

            Possible values include:
            • "TIMEOUT"
            • "ENGINE_VERSION_NOT_SUPPORTED"
            • "UNKNOWN_HOST"
            • "GENERIC_SQL_FAILURE"
            • "CONFLICT"
            • "UNKNOWN"
          • Message — (String)

            Error message.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeDataSourcePermissions(params = {}, callback) ⇒ AWS.Request

Describes the resource permissions for a data source.

Service Reference:

Examples:

Calling the describeDataSourcePermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSourceId: 'STRING_VALUE' /* required */
};
quicksight.describeDataSourcePermissions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSourceId — (String)

      The ID of the data source. This ID is unique per AWS Region for each AWS account.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataSourceArn — (String)

        The Amazon Resource Name (ARN) of the data source.

      • DataSourceId — (String)

        The ID of the data source. This ID is unique per AWS Region for each AWS account.

      • Permissions — (Array<map>)

        A list of resource permissions on the data source.

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

        • Actionsrequired — (Array<String>)

          The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeGroup(params = {}, callback) ⇒ AWS.Request

Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).

Service Reference:

Examples:

Calling the describeGroup operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  GroupName: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE' /* required */
};
quicksight.describeGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GroupName — (String)

      The name of the group that you want to describe.

    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Group — (map)

        The name of the group.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the group.

        • GroupName — (String)

          The name of the group.

        • Description — (String)

          The group description.

        • PrincipalId — (String)

          The principal ID of the group.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeIAMPolicyAssignment(params = {}, callback) ⇒ AWS.Request

Describes an existing IAM policy assignment, as specified by the assignment name.

Service Reference:

Examples:

Calling the describeIAMPolicyAssignment operation

var params = {
  AssignmentName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE' /* required */
};
quicksight.describeIAMPolicyAssignment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the assignment that you want to describe.

    • AssignmentName — (String)

      The name of the assignment.

    • Namespace — (String)

      The namespace that contains the assignment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • IAMPolicyAssignment — (map)

        Information describing the IAM policy assignment.

        • AwsAccountId — (String)

          The AWS account ID.

        • AssignmentId — (String)

          Assignment ID.

        • AssignmentName — (String)

          Assignment name.

        • PolicyArn — (String)

          The Amazon Resource Name (ARN) for the IAM policy.

        • Identities — (map<Array<String>>)

          Identities.

        • AssignmentStatus — (String)

          Assignment status.

          Possible values include:
          • "ENABLED"
          • "DRAFT"
          • "DISABLED"
      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeIngestion(params = {}, callback) ⇒ AWS.Request

Describes a SPICE ingestion.

Service Reference:

Examples:

Calling the describeIngestion operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE', /* required */
  IngestionId: 'STRING_VALUE' /* required */
};
quicksight.describeIngestion(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSetId — (String)

      The ID of the dataset used in the ingestion.

    • IngestionId — (String)

      An ID for the ingestion.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Ingestion — (map)

        Information about the ingestion.

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the resource.

        • IngestionId — (String)

          Ingestion ID.

        • IngestionStatusrequired — (String)

          Ingestion status.

          Possible values include:
          • "INITIALIZED"
          • "QUEUED"
          • "RUNNING"
          • "FAILED"
          • "COMPLETED"
          • "CANCELLED"
        • ErrorInfo — (map)

          Error information for this ingestion.

          • Type — (String)

            Error type.

            Possible values include:
            • "FAILURE_TO_ASSUME_ROLE"
            • "INGESTION_SUPERSEDED"
            • "INGESTION_CANCELED"
            • "DATA_SET_DELETED"
            • "DATA_SET_NOT_SPICE"
            • "S3_UPLOADED_FILE_DELETED"
            • "S3_MANIFEST_ERROR"
            • "DATA_TOLERANCE_EXCEPTION"
            • "SPICE_TABLE_NOT_FOUND"
            • "DATA_SET_SIZE_LIMIT_EXCEEDED"
            • "ROW_SIZE_LIMIT_EXCEEDED"
            • "ACCOUNT_CAPACITY_LIMIT_EXCEEDED"
            • "CUSTOMER_ERROR"
            • "DATA_SOURCE_NOT_FOUND"
            • "IAM_ROLE_NOT_AVAILABLE"
            • "CONNECTION_FAILURE"
            • "SQL_TABLE_NOT_FOUND"
            • "PERMISSION_DENIED"
            • "SSL_CERTIFICATE_VALIDATION_FAILURE"
            • "OAUTH_TOKEN_FAILURE"
            • "SOURCE_API_LIMIT_EXCEEDED_FAILURE"
            • "PASSWORD_AUTHENTICATION_FAILURE"
            • "SQL_SCHEMA_MISMATCH_ERROR"
            • "INVALID_DATE_FORMAT"
            • "INVALID_DATAPREP_SYNTAX"
            • "SOURCE_RESOURCE_LIMIT_EXCEEDED"
            • "SQL_INVALID_PARAMETER_VALUE"
            • "QUERY_TIMEOUT"
            • "SQL_NUMERIC_OVERFLOW"
            • "UNRESOLVABLE_HOST"
            • "UNROUTABLE_HOST"
            • "SQL_EXCEPTION"
            • "S3_FILE_INACCESSIBLE"
            • "IOT_FILE_NOT_FOUND"
            • "IOT_DATA_SET_FILE_EMPTY"
            • "INVALID_DATA_SOURCE_CONFIG"
            • "DATA_SOURCE_AUTH_FAILED"
            • "DATA_SOURCE_CONNECTION_FAILED"
            • "FAILURE_TO_PROCESS_JSON_FILE"
            • "INTERNAL_SERVICE_ERROR"
          • Message — (String)

            Error message.

        • RowInfo — (map)

          Information about rows for a data set SPICE ingestion.

          • RowsIngested — (Integer)

            The number of rows that were ingested.

          • RowsDropped — (Integer)

            The number of rows that were not ingested.

        • QueueInfo — (map)

          Information about a queued dataset SPICE ingestion.

          • WaitingOnIngestionrequired — (String)

            The ID of the queued ingestion.

          • QueuedIngestionrequired — (String)

            The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing ingestion to complete.

        • CreatedTimerequired — (Date)

          The time that this ingestion started.

        • IngestionTimeInSeconds — (Integer)

          The time that this ingestion took, measured in seconds.

        • IngestionSizeInBytes — (Integer)

          The size of the data ingested, in bytes.

        • RequestSource — (String)

          Event source for this ingestion.

          Possible values include:
          • "MANUAL"
          • "SCHEDULED"
        • RequestType — (String)

          Type of this ingestion.

          Possible values include:
          • "INITIAL_INGESTION"
          • "EDIT"
          • "INCREMENTAL_REFRESH"
          • "FULL_REFRESH"
      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeTemplate(params = {}, callback) ⇒ AWS.Request

Describes a template's metadata.

Service Reference:

Examples:

Calling the describeTemplate operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE', /* required */
  AliasName: 'STRING_VALUE',
  VersionNumber: 'NUMBER_VALUE'
};
quicksight.describeTemplate(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template that you're describing.

    • TemplateId — (String)

      The ID for the template.

    • VersionNumber — (Integer)

      (Optional) The number for the version to describe. If a VersionNumber parameter value isn't provided, the latest version of the template is described.

    • AliasName — (String)

      The alias of the template that you want to describe. If you name a specific alias, you describe 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Template — (map)

        The template structure for the object you want to describe.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the template.

        • Name — (String)

          The display name of the template.

        • Version — (map)

          A structure describing the versions of the template.

          • CreatedTime — (Date)

            The time that this template version was created.

          • Errors — (Array<map>)

            Errors associated with the template.

            • Type — (String)

              Type of error.

              Possible values include:
              • "SOURCE_NOT_FOUND"
              • "DATA_SET_NOT_FOUND"
              • "INTERNAL_FAILURE"
            • Message — (String)

              Description of the error type.

          • VersionNumber — (Integer)

            The version number of the template.

          • Status — (String)

            The HTTP status of the request.

            Possible values include:
            • "CREATION_IN_PROGRESS"
            • "CREATION_SUCCESSFUL"
            • "CREATION_FAILED"
            • "UPDATE_IN_PROGRESS"
            • "UPDATE_SUCCESSFUL"
            • "UPDATE_FAILED"
          • DataSetConfigurations — (Array<map>)

            Schema of the dataset identified by the placeholder. The idea is that any dashboard created from the template should be bound to new datasets matching the same schema described through this API. .

            • Placeholder — (String)

              Placeholder.

            • DataSetSchema — (map)

              Dataset schema.

              • ColumnSchemaList — (Array<map>)

                A structure containing the list of column schemas.

                • Name — (String)

                  The name of the column schema.

                • DataType — (String)

                  The data type of the column schema.

                • GeographicRole — (String)

                  The geographic role of the column schema.

            • ColumnGroupSchemaList — (Array<map>)

              A structure containing the list of column group schemas.

              • Name — (String)

                The name of the column group schema.

              • ColumnGroupColumnSchemaList — (Array<map>)

                A structure containing the list of schemas for column group columns.

                • Name — (String)

                  The name of the column group's column schema.

          • Description — (String)

            The description of the template.

          • SourceEntityArn — (String)

            The Amazon Resource Name (ARN) of the analysis or template which was used to create this template.

        • TemplateId — (String)

          The ID for the template. This is unique per AWS Region for each AWS account.

        • LastUpdatedTime — (Date)

          Time when this was last updated.

        • CreatedTime — (Date)

          Time when this was created.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeTemplateAlias(params = {}, callback) ⇒ AWS.Request

Describes the template alias for a template.

Service Reference:

Examples:

Calling the describeTemplateAlias operation

var params = {
  AliasName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE' /* required */
};
quicksight.describeTemplateAlias(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template alias that you're describing.

    • TemplateId — (String)

      The ID for the template.

    • AliasName — (String)

      The name of the template alias that you want to describe. If you name a specific alias, you describe 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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateAlias — (map)

        Information about the template alias.

        • AliasName — (String)

          The display name of the template alias.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the template alias.

        • TemplateVersionNumber — (Integer)

          The version number of the template alias.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeTemplatePermissions(params = {}, callback) ⇒ AWS.Request

Describes read and write permissions on a template.

Service Reference:

Examples:

Calling the describeTemplatePermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE' /* required */
};
quicksight.describeTemplatePermissions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template that you're describing.

    • TemplateId — (String)

      The ID for the template.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateId — (String)

        The ID for the template.

      • TemplateArn — (String)

        The Amazon Resource Name (ARN) of the template.

      • Permissions — (Array<map>)

        A list of resource permissions to be set on the template.

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

        • Actionsrequired — (Array<String>)

          The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

describeUser(params = {}, callback) ⇒ AWS.Request

Returns information about a user, given the user name.

Service Reference:

Examples:

Calling the describeUser operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  UserName: 'STRING_VALUE' /* required */
};
quicksight.describeUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • UserName — (String)

      The name of the user that you want to describe.

    • AwsAccountId — (String)

      The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • User — (map)

        The user name.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the user.

        • UserName — (String)

          The user's user name.

        • Email — (String)

          The user's email address.

        • Role — (String)

          The Amazon QuickSight role for the user. The user role can be one of the following:.

          • READER: A user who has read-only access to dashboards.

          • AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.

          • ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.

          • RESTRICTED_READER: This role isn't currently available for use.

          • RESTRICTED_AUTHOR: This role isn't currently available for use.

          Possible values include:
          • "ADMIN"
          • "AUTHOR"
          • "READER"
          • "RESTRICTED_AUTHOR"
          • "RESTRICTED_READER"
        • IdentityType — (String)

          The type of identity authentication used by the user.

          Possible values include:
          • "IAM"
          • "QUICKSIGHT"
        • Active — (Boolean)

          The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.

        • PrincipalId — (String)

          The principal ID of the user.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getDashboardEmbedUrl(params = {}, callback) ⇒ AWS.Request

Generates a server-side embeddable URL and authorization code. For this process to work properly, first configure the dashboards and user permissions. For more information, see Embedding Amazon QuickSight Dashboards in the Amazon QuickSight User Guide or Embedding Amazon QuickSight Dashboards in the Amazon QuickSight API Reference.

Currently, you can use GetDashboardEmbedURL only from the server, not from the user’s browser.

Service Reference:

Examples:

Calling the getDashboardEmbedUrl operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE', /* required */
  IdentityType: IAM | QUICKSIGHT, /* required */
  ResetDisabled: true || false,
  SessionLifetimeInMinutes: 'NUMBER_VALUE',
  UndoRedoDisabled: true || false,
  UserArn: 'STRING_VALUE'
};
quicksight.getDashboardEmbedUrl(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID for the AWS account that contains the dashboard that you're embedding.

    • DashboardId — (String)

      The ID for the dashboard, also added to the IAM policy.

    • IdentityType — (String)

      The authentication method that the user uses to sign in.

      Possible values include:
      • "IAM"
      • "QUICKSIGHT"
    • SessionLifetimeInMinutes — (Integer)

      How many minutes the session is valid. The session lifetime must be 15-600 minutes.

    • UndoRedoDisabled — (Boolean)

      Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables the undo/redo button.

    • ResetDisabled — (Boolean)

      Remove the reset button on the embedded dashboard. The default is FALSE, which enables the reset button.

    • UserArn — (String)

      The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT identity type. You can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one of the following:

      • Active Directory (AD) users or group members

      • Invited nonfederated users

      • IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EmbedUrl — (String)

        An URL that you can put into your server-side webpage to embed your dashboard. This URL is valid for 5 minutes, and the resulting session is valid for 10 hours. The API provides the URL with an auth_code value that enables a single sign-on session.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listDashboards(params = {}, callback) ⇒ AWS.Request

Lists dashboards in an AWS account.

Service Reference:

Examples:

Calling the listDashboards operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listDashboards(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the dashboards that you're listing.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DashboardSummaryList — (Array<map>)

        A structure that contains all of the dashboards in your AWS account. This structure provides basic information about the dashboards.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the resource.

        • DashboardId — (String)

          Dashboard ID.

        • Name — (String)

          A display name for the dashboard.

        • CreatedTime — (Date)

          The time that this dashboard was created.

        • LastUpdatedTime — (Date)

          The last time that this dashboard was updated.

        • PublishedVersionNumber — (Integer)

          Published version number.

        • LastPublishedTime — (Date)

          The last time that this dashboard was published.

      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listDashboardVersions(params = {}, callback) ⇒ AWS.Request

Lists all the versions of the dashboards in the QuickSight subscription.

Service Reference:

Examples:

Calling the listDashboardVersions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listDashboardVersions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the dashboard that you're listing versions for.

    • DashboardId — (String)

      The ID for the dashboard.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DashboardVersionSummaryList — (Array<map>)

        A structure that contains information about each version of the dashboard.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the resource.

        • CreatedTime — (Date)

          The time that this dashboard version was created.

        • VersionNumber — (Integer)

          Version number.

        • Status — (String)

          The HTTP status of the request.

          Possible values include:
          • "CREATION_IN_PROGRESS"
          • "CREATION_SUCCESSFUL"
          • "CREATION_FAILED"
          • "UPDATE_IN_PROGRESS"
          • "UPDATE_SUCCESSFUL"
          • "UPDATE_FAILED"
        • SourceEntityArn — (String)

          Source entity ARN.

        • Description — (String)

          Description.

      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listDataSets(params = {}, callback) ⇒ AWS.Request

Lists all of the datasets belonging to the current AWS account in an AWS Region.

The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/*.

Service Reference:

Examples:

Calling the listDataSets operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listDataSets(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataSetSummaries — (Array<map>)

        The list of dataset summaries.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the dataset.

        • DataSetId — (String)

          The ID of the dataset.

        • Name — (String)

          A display name for the dataset.

        • CreatedTime — (Date)

          The time that this dataset was created.

        • LastUpdatedTime — (Date)

          The last time that this dataset was updated.

        • ImportMode — (String)

          Indicates whether you want to import the data into SPICE.

          Possible values include:
          • "SPICE"
          • "DIRECT_QUERY"
        • RowLevelPermissionDataSet — (map)

          The row-level security configuration for the dataset.

          • Arnrequired — (String)

            The Amazon Resource Name (ARN) of the permission dataset.

          • PermissionPolicyrequired — (String)

            Permission policy.

            Possible values include:
            • "GRANT_ACCESS"
            • "DENY_ACCESS"
      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listDataSources(params = {}, callback) ⇒ AWS.Request

Lists data sources in current AWS Region that belong to this AWS account.

Service Reference:

Examples:

Calling the listDataSources operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listDataSources(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataSources — (Array<map>)

        A list of data sources.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the data source.

        • DataSourceId — (String)

          The ID of the data source. This ID is unique per AWS Region for each AWS account.

        • Name — (String)

          A display name for the data source.

        • Type — (String)

          The type of the data source. This type indicates which database engine the data source connects to.

          Possible values include:
          • "ADOBE_ANALYTICS"
          • "AMAZON_ELASTICSEARCH"
          • "ATHENA"
          • "AURORA"
          • "AURORA_POSTGRESQL"
          • "AWS_IOT_ANALYTICS"
          • "GITHUB"
          • "JIRA"
          • "MARIADB"
          • "MYSQL"
          • "POSTGRESQL"
          • "PRESTO"
          • "REDSHIFT"
          • "S3"
          • "SALESFORCE"
          • "SERVICENOW"
          • "SNOWFLAKE"
          • "SPARK"
          • "SQLSERVER"
          • "TERADATA"
          • "TWITTER"
        • Status — (String)

          The HTTP status of the request.

          Possible values include:
          • "CREATION_IN_PROGRESS"
          • "CREATION_SUCCESSFUL"
          • "CREATION_FAILED"
          • "UPDATE_IN_PROGRESS"
          • "UPDATE_SUCCESSFUL"
          • "UPDATE_FAILED"
        • CreatedTime — (Date)

          The time that this data source was created.

        • LastUpdatedTime — (Date)

          The last time that this data source was updated.

        • DataSourceParameters — (map)

          The parameters that Amazon QuickSight uses to connect to your underlying source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

          • AmazonElasticsearchParameters — (map)

            Amazon Elasticsearch Service parameters.

            • Domainrequired — (String)

              The Amazon Elasticsearch Service domain.

          • AthenaParameters — (map)

            Amazon Athena parameters.

            • WorkGroup — (String)

              The workgroup that Amazon Athena uses.

          • AuroraParameters — (map)

            Amazon Aurora MySQL parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • AuroraPostgreSqlParameters — (map)

            Aurora PostgreSQL parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • AwsIotAnalyticsParameters — (map)

            AWS IoT Analytics parameters.

            • DataSetNamerequired — (String)

              Dataset name.

          • JiraParameters — (map)

            Jira parameters.

            • SiteBaseUrlrequired — (String)

              The base URL of the Jira site.

          • MariaDbParameters — (map)

            MariaDB parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • MySqlParameters — (map)

            MySQL parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • PostgreSqlParameters — (map)

            PostgreSQL parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • PrestoParameters — (map)

            Presto parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Catalogrequired — (String)

              Catalog.

          • RdsParameters — (map)

            Amazon RDS parameters.

            • InstanceIdrequired — (String)

              Instance ID.

            • Databaserequired — (String)

              Database.

          • RedshiftParameters — (map)

            Amazon Redshift parameters.

            • Host — (String)

              Host. This field can be blank if ClusterId is provided.

            • Port — (Integer)

              Port. This field can be blank if the ClusterId is provided.

            • Databaserequired — (String)

              Database.

            • ClusterId — (String)

              Cluster ID. This field can be blank if the Host and Port are provided.

          • S3Parameters — (map)

            S3 parameters.

            • ManifestFileLocationrequired — (map)

              Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded in the console.

              • Bucketrequired — (String)

                Amazon S3 bucket.

              • Keyrequired — (String)

                Amazon S3 key that identifies an object.

          • ServiceNowParameters — (map)

            ServiceNow parameters.

            • SiteBaseUrlrequired — (String)

              URL of the base site.

          • SnowflakeParameters — (map)

            Snowflake parameters.

            • Hostrequired — (String)

              Host.

            • Databaserequired — (String)

              Database.

            • Warehouserequired — (String)

              Warehouse.

          • SparkParameters — (map)

            Spark parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

          • SqlServerParameters — (map)

            SQL Server parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • TeradataParameters — (map)

            Teradata parameters.

            • Hostrequired — (String)

              Host.

            • Portrequired — (Integer)

              Port.

            • Databaserequired — (String)

              Database.

          • TwitterParameters — (map)

            Twitter parameters.

            • Queryrequired — (String)

              Twitter query string.

            • MaxRowsrequired — (Integer)

              Maximum number of rows to query Twitter.

        • VpcConnectionProperties — (map)

          The VPC connection information. You need to use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.

          • VpcConnectionArnrequired — (String)

            The Amazon Resource Name (ARN) for the VPC connection.

        • SslProperties — (map)

          Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.

          • DisableSsl — (Boolean)

            A Boolean option to control whether SSL should be disabled.

        • ErrorInfo — (map)

          Error information from the last update or the creation of the data source.

          • Type — (String)

            Error type.

            Possible values include:
            • "TIMEOUT"
            • "ENGINE_VERSION_NOT_SUPPORTED"
            • "UNKNOWN_HOST"
            • "GENERIC_SQL_FAILURE"
            • "CONFLICT"
            • "UNKNOWN"
          • Message — (String)

            Error message.

      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listGroupMemberships(params = {}, callback) ⇒ AWS.Request

Lists member users in a group.

Service Reference:

Examples:

Calling the listGroupMemberships operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  GroupName: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listGroupMemberships(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GroupName — (String)

      The name of the group that you want to see a membership list of.

    • NextToken — (String)

      A pagination token that can be used in a subsequent request.

    • MaxResults — (Integer)

      The maximum number of results to return from this request.

    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • GroupMemberList — (Array<map>)

        The list of the members of the group.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the group member (user).

        • MemberName — (String)

          The name of the group member (user).

      • NextToken — (String)

        A pagination token that can be used in a subsequent request.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listGroups(params = {}, callback) ⇒ AWS.Request

Lists all user groups in Amazon QuickSight.

Service Reference:

Examples:

Calling the listGroups operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listGroups(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • NextToken — (String)

      A pagination token that can be used in a subsequent request.

    • MaxResults — (Integer)

      The maximum number of results to return.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • GroupList — (Array<map>)

        The list of the groups.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the group.

        • GroupName — (String)

          The name of the group.

        • Description — (String)

          The group description.

        • PrincipalId — (String)

          The principal ID of the group.

      • NextToken — (String)

        A pagination token that can be used in a subsequent request.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listIAMPolicyAssignments(params = {}, callback) ⇒ AWS.Request

Lists IAM policy assignments in the current Amazon QuickSight account.

Service Reference:

Examples:

Calling the listIAMPolicyAssignments operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  AssignmentStatus: ENABLED | DRAFT | DISABLED,
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listIAMPolicyAssignments(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains these IAM policy assignments.

    • AssignmentStatus — (String)

      The status of the assignments.

      Possible values include:
      • "ENABLED"
      • "DRAFT"
      • "DISABLED"
    • Namespace — (String)

      The namespace for the assignments.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • IAMPolicyAssignments — (Array<map>)

        Information describing the IAM policy assignments.

        • AssignmentName — (String)

          Assignment name.

        • AssignmentStatus — (String)

          Assignment status.

          Possible values include:
          • "ENABLED"
          • "DRAFT"
          • "DISABLED"
      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listIAMPolicyAssignmentsForUser(params = {}, callback) ⇒ AWS.Request

Lists all the IAM policy assignments, including the Amazon Resource Names (ARNs) for the IAM policies assigned to the specified user and group or groups that the user belongs to.

Service Reference:

Examples:

Calling the listIAMPolicyAssignmentsForUser operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  UserName: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listIAMPolicyAssignmentsForUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the assignments.

    • UserName — (String)

      The name of the user.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

    • Namespace — (String)

      The namespace of the assignment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ActiveAssignments — (Array<map>)

        The active assignments for this user.

        • AssignmentName — (String)

          A name for the IAM policy assignment.

        • PolicyArn — (String)

          The Amazon Resource Name (ARN) of the resource.

      • RequestId — (String)

        The AWS request ID for this operation.

      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listIngestions(params = {}, callback) ⇒ AWS.Request

Lists the history of SPICE ingestions for a dataset.

Service Reference:

Examples:

Calling the listIngestions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listIngestions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DataSetId — (String)

      The ID of the dataset used in the ingestion.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • AwsAccountId — (String)

      The AWS account ID.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Ingestions — (Array<map>)

        A list of the ingestions.

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the resource.

        • IngestionId — (String)

          Ingestion ID.

        • IngestionStatusrequired — (String)

          Ingestion status.

          Possible values include:
          • "INITIALIZED"
          • "QUEUED"
          • "RUNNING"
          • "FAILED"
          • "COMPLETED"
          • "CANCELLED"
        • ErrorInfo — (map)

          Error information for this ingestion.

          • Type — (String)

            Error type.

            Possible values include:
            • "FAILURE_TO_ASSUME_ROLE"
            • "INGESTION_SUPERSEDED"
            • "INGESTION_CANCELED"
            • "DATA_SET_DELETED"
            • "DATA_SET_NOT_SPICE"
            • "S3_UPLOADED_FILE_DELETED"
            • "S3_MANIFEST_ERROR"
            • "DATA_TOLERANCE_EXCEPTION"
            • "SPICE_TABLE_NOT_FOUND"
            • "DATA_SET_SIZE_LIMIT_EXCEEDED"
            • "ROW_SIZE_LIMIT_EXCEEDED"
            • "ACCOUNT_CAPACITY_LIMIT_EXCEEDED"
            • "CUSTOMER_ERROR"
            • "DATA_SOURCE_NOT_FOUND"
            • "IAM_ROLE_NOT_AVAILABLE"
            • "CONNECTION_FAILURE"
            • "SQL_TABLE_NOT_FOUND"
            • "PERMISSION_DENIED"
            • "SSL_CERTIFICATE_VALIDATION_FAILURE"
            • "OAUTH_TOKEN_FAILURE"
            • "SOURCE_API_LIMIT_EXCEEDED_FAILURE"
            • "PASSWORD_AUTHENTICATION_FAILURE"
            • "SQL_SCHEMA_MISMATCH_ERROR"
            • "INVALID_DATE_FORMAT"
            • "INVALID_DATAPREP_SYNTAX"
            • "SOURCE_RESOURCE_LIMIT_EXCEEDED"
            • "SQL_INVALID_PARAMETER_VALUE"
            • "QUERY_TIMEOUT"
            • "SQL_NUMERIC_OVERFLOW"
            • "UNRESOLVABLE_HOST"
            • "UNROUTABLE_HOST"
            • "SQL_EXCEPTION"
            • "S3_FILE_INACCESSIBLE"
            • "IOT_FILE_NOT_FOUND"
            • "IOT_DATA_SET_FILE_EMPTY"
            • "INVALID_DATA_SOURCE_CONFIG"
            • "DATA_SOURCE_AUTH_FAILED"
            • "DATA_SOURCE_CONNECTION_FAILED"
            • "FAILURE_TO_PROCESS_JSON_FILE"
            • "INTERNAL_SERVICE_ERROR"
          • Message — (String)

            Error message.

        • RowInfo — (map)

          Information about rows for a data set SPICE ingestion.

          • RowsIngested — (Integer)

            The number of rows that were ingested.

          • RowsDropped — (Integer)

            The number of rows that were not ingested.

        • QueueInfo — (map)

          Information about a queued dataset SPICE ingestion.

          • WaitingOnIngestionrequired — (String)

            The ID of the queued ingestion.

          • QueuedIngestionrequired — (String)

            The ID of the ongoing ingestion. The queued ingestion is waiting for the ongoing ingestion to complete.

        • CreatedTimerequired — (Date)

          The time that this ingestion started.

        • IngestionTimeInSeconds — (Integer)

          The time that this ingestion took, measured in seconds.

        • IngestionSizeInBytes — (Integer)

          The size of the data ingested, in bytes.

        • RequestSource — (String)

          Event source for this ingestion.

          Possible values include:
          • "MANUAL"
          • "SCHEDULED"
        • RequestType — (String)

          Type of this ingestion.

          Possible values include:
          • "INITIAL_INGESTION"
          • "EDIT"
          • "INCREMENTAL_REFRESH"
          • "FULL_REFRESH"
      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTagsForResource(params = {}, callback) ⇒ AWS.Request

Lists the tags assigned to a resource.

Service Reference:

Examples:

Calling the listTagsForResource operation

var params = {
  ResourceArn: 'STRING_VALUE' /* required */
};
quicksight.listTagsForResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The Amazon Resource Name (ARN) of the resource that you want a list of tags for.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Tags — (Array<map>)

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

        • Keyrequired — (String)

          Tag key.

        • Valuerequired — (String)

          Tag value.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTemplateAliases(params = {}, callback) ⇒ AWS.Request

Lists all the aliases of a template.

Service Reference:

Examples:

Calling the listTemplateAliases operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listTemplateAliases(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template aliases that you're listing.

    • TemplateId — (String)

      The ID for the template.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateAliasList — (Array<map>)

        A structure containing the list of the template's aliases.

        • AliasName — (String)

          The display name of the template alias.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the template alias.

        • TemplateVersionNumber — (Integer)

          The version number of the template alias.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTemplates(params = {}, callback) ⇒ AWS.Request

Lists all the templates in the current Amazon QuickSight account.

Service Reference:

Examples:

Calling the listTemplates operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listTemplates(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the templates that you're listing.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateSummaryList — (Array<map>)

        A structure containing information about the templates in the list.

        • Arn — (String)

          A summary of a template.

        • TemplateId — (String)

          The ID of the template. This ID is unique per AWS Region for each AWS account.

        • Name — (String)

          A display name for the template.

        • LatestVersionNumber — (Integer)

          A structure containing a list of version numbers for the template summary.

        • CreatedTime — (Date)

          The last time that this template was created.

        • LastUpdatedTime — (Date)

          The last time that this template was updated.

      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTemplateVersions(params = {}, callback) ⇒ AWS.Request

Lists all the versions of the templates in the current Amazon QuickSight account.

Service Reference:

Examples:

Calling the listTemplateVersions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listTemplateVersions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the templates that you're listing.

    • TemplateId — (String)

      The ID for the template.

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateVersionSummaryList — (Array<map>)

        A structure containing a list of all the versions of the specified template.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the template version.

        • VersionNumber — (Integer)

          The version number of the template version.

        • CreatedTime — (Date)

          The time that this template version was created.

        • Status — (String)

          The status of the template version.

          Possible values include:
          • "CREATION_IN_PROGRESS"
          • "CREATION_SUCCESSFUL"
          • "CREATION_FAILED"
          • "UPDATE_IN_PROGRESS"
          • "UPDATE_SUCCESSFUL"
          • "UPDATE_FAILED"
        • Description — (String)

          The description of the template version.

      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listUserGroups(params = {}, callback) ⇒ AWS.Request

Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.

Service Reference:

Examples:

Calling the listUserGroups operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  UserName: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listUserGroups(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • UserName — (String)

      The Amazon QuickSight user name that you want to list group memberships for.

    • AwsAccountId — (String)

      The AWS account ID that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

    • NextToken — (String)

      A pagination token that can be used in a subsequent request.

    • MaxResults — (Integer)

      The maximum number of results to return from this request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • GroupList — (Array<map>)

        The list of groups the user is a member of.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the group.

        • GroupName — (String)

          The name of the group.

        • Description — (String)

          The group description.

        • PrincipalId — (String)

          The principal ID of the group.

      • NextToken — (String)

        A pagination token that can be used in a subsequent request.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listUsers(params = {}, callback) ⇒ AWS.Request

Returns a list of all of the Amazon QuickSight users belonging to this account.

Service Reference:

Examples:

Calling the listUsers operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listUsers(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • NextToken — (String)

      A pagination token that can be used in a subsequent request.

    • MaxResults — (Integer)

      The maximum number of results to return from this request.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • UserList — (Array<map>)

        The list of users.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the user.

        • UserName — (String)

          The user's user name.

        • Email — (String)

          The user's email address.

        • Role — (String)

          The Amazon QuickSight role for the user. The user role can be one of the following:.

          • READER: A user who has read-only access to dashboards.

          • AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.

          • ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.

          • RESTRICTED_READER: This role isn't currently available for use.

          • RESTRICTED_AUTHOR: This role isn't currently available for use.

          Possible values include:
          • "ADMIN"
          • "AUTHOR"
          • "READER"
          • "RESTRICTED_AUTHOR"
          • "RESTRICTED_READER"
        • IdentityType — (String)

          The type of identity authentication used by the user.

          Possible values include:
          • "IAM"
          • "QUICKSIGHT"
        • Active — (Boolean)

          The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.

        • PrincipalId — (String)

          The principal ID of the user.

      • NextToken — (String)

        A pagination token that can be used in a subsequent request.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

registerUser(params = {}, callback) ⇒ AWS.Request

Creates an Amazon QuickSight user, whose identity is associated with the AWS Identity and Access Management (IAM) identity or role specified in the request.

Service Reference:

Examples:

Calling the registerUser operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Email: 'STRING_VALUE', /* required */
  IdentityType: IAM | QUICKSIGHT, /* required */
  Namespace: 'STRING_VALUE', /* required */
  UserRole: ADMIN | AUTHOR | READER | RESTRICTED_AUTHOR | RESTRICTED_READER, /* required */
  IamArn: 'STRING_VALUE',
  SessionName: 'STRING_VALUE',
  UserName: 'STRING_VALUE'
};
quicksight.registerUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • IdentityType — (String)

      Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts two values:

      • IAM: A user whose identity maps to an existing IAM user or role.

      • QUICKSIGHT: A user whose identity is owned and managed internally by Amazon QuickSight.

      Possible values include:
      • "IAM"
      • "QUICKSIGHT"
    • Email — (String)

      The email address of the user that you want to register.

    • UserRole — (String)

      The Amazon QuickSight role for the user. The user role can be one of the following:

      • READER: A user who has read-only access to dashboards.

      • AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.

      • ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.

      • RESTRICTED_READER: This role isn't currently available for use.

      • RESTRICTED_AUTHOR: This role isn't currently available for use.

      Possible values include:
      • "ADMIN"
      • "AUTHOR"
      • "READER"
      • "RESTRICTED_AUTHOR"
      • "RESTRICTED_READER"
    • IamArn — (String)

      The ARN of the IAM user or role that you are registering with Amazon QuickSight.

    • SessionName — (String)

      You need to use this parameter only when you register one or more users using an assumed IAM role. You don't need to provide the session name for other scenarios, for example when you are registering an IAM user or an Amazon QuickSight user. You can register multiple users using the same IAM role if each user has a different session name. For more information on assuming IAM roles, see assume-role in the AWS CLI Reference.

    • AwsAccountId — (String)

      The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

    • UserName — (String)

      The Amazon QuickSight user name that you want to create for the user you are registering.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • User — (map)

        The user name.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the user.

        • UserName — (String)

          The user's user name.

        • Email — (String)

          The user's email address.

        • Role — (String)

          The Amazon QuickSight role for the user. The user role can be one of the following:.

          • READER: A user who has read-only access to dashboards.

          • AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.

          • ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.

          • RESTRICTED_READER: This role isn't currently available for use.

          • RESTRICTED_AUTHOR: This role isn't currently available for use.

          Possible values include:
          • "ADMIN"
          • "AUTHOR"
          • "READER"
          • "RESTRICTED_AUTHOR"
          • "RESTRICTED_READER"
        • IdentityType — (String)

          The type of identity authentication used by the user.

          Possible values include:
          • "IAM"
          • "QUICKSIGHT"
        • Active — (Boolean)

          The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.

        • PrincipalId — (String)

          The principal ID of the user.

      • UserInvitationUrl — (String)

        The URL the user visits to complete registration and provide a password. This is returned only for users with an identity type of QUICKSIGHT.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

searchDashboards(params = {}, callback) ⇒ AWS.Request

Searchs for dashboards that belong to a user.

Service Reference:

Examples:

Calling the searchDashboards operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Filters: [ /* required */
    {
      Operator: StringEquals, /* required */
      Name: QUICKSIGHT_USER,
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.searchDashboards(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the user whose dashboards you're searching for.

    • Filters — (Array<map>)

      The filters to apply to the search. Currently, you can search only by user name. For example, "Filters": [ { "Name": "QUICKSIGHT_USER", "Operator": "StringEquals", "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1" } ]

      • Operatorrequired — (String)

        The comparison operator that you want to use as a filter. For example, "Operator": "StringEquals".

        Possible values include:
        • "StringEquals"
      • Name — (String)

        The name of the value that you want to use as a filter. For example, "Name": "QUICKSIGHT_USER".

        Possible values include:
        • "QUICKSIGHT_USER"
      • Value — (String)

        The value of the named item, in this case QUICKSIGHT_USER, that you want to use as a filter. For example, "Value": "arn:aws:quicksight:us-east-1:1:user/default/UserName1".

    • NextToken — (String)

      The token for the next set of results, or null if there are no more results.

    • MaxResults — (Integer)

      The maximum number of results to be returned per request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DashboardSummaryList — (Array<map>)

        The list of dashboards owned by the user specified in Filters in your request.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the resource.

        • DashboardId — (String)

          Dashboard ID.

        • Name — (String)

          A display name for the dashboard.

        • CreatedTime — (Date)

          The time that this dashboard was created.

        • LastUpdatedTime — (Date)

          The last time that this dashboard was updated.

        • PublishedVersionNumber — (Integer)

          Published version number.

        • LastPublishedTime — (Date)

          The last time that this dashboard was published.

      • NextToken — (String)

        The token for the next set of results, or null if there are no more results.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

tagResource(params = {}, callback) ⇒ AWS.Request

Assigns one or more tags (key-value pairs) to the specified QuickSight resource.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

You can associate as many as 50 tags with a resource. QuickSight supports tagging on data set, data source, dashboard, and template.

Tagging for QuickSight works in a similar way to tagging for other AWS services, except for the following:

  • You can't use tags to track AWS costs for QuickSight. This restriction is because QuickSight costs are based on users and SPICE capacity, which aren't taggable resources.

  • QuickSight doesn't currently support the Tag Editor for AWS Resource Groups.

Service Reference:

Examples:

Calling the tagResource operation

var params = {
  ResourceArn: 'STRING_VALUE', /* required */
  Tags: [ /* required */
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
quicksight.tagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The Amazon Resource Name (ARN) of the resource that you want to tag.

    • Tags — (Array<map>)

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

      • Keyrequired — (String)

        Tag key.

      • Valuerequired — (String)

        Tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

untagResource(params = {}, callback) ⇒ AWS.Request

Removes a tag or tags from a resource.

Service Reference:

Examples:

Calling the untagResource operation

var params = {
  ResourceArn: 'STRING_VALUE', /* required */
  TagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
quicksight.untagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The Amazon Resource Name (ARN) of the resource that you want to untag.

    • TagKeys — (Array<String>)

      The keys of the key-value pairs for the resource tag or tags assigned to the resource.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateDashboard(params = {}, callback) ⇒ AWS.Request

Updates a dashboard in an AWS account.

Service Reference:

Examples:

Calling the updateDashboard operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE', /* required */
  Name: 'STRING_VALUE', /* required */
  SourceEntity: { /* required */
    SourceTemplate: {
      Arn: 'STRING_VALUE', /* required */
      DataSetReferences: [ /* required */
        {
          DataSetArn: 'STRING_VALUE', /* required */
          DataSetPlaceholder: 'STRING_VALUE' /* required */
        },
        /* more items */
      ]
    }
  },
  DashboardPublishOptions: {
    AdHocFilteringOption: {
      AvailabilityStatus: ENABLED | DISABLED
    },
    ExportToCSVOption: {
      AvailabilityStatus: ENABLED | DISABLED
    },
    SheetControlsOption: {
      VisibilityState: EXPANDED | COLLAPSED
    }
  },
  Parameters: {
    DateTimeParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Values: [ /* required */
          new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
          /* more items */
        ]
      },
      /* more items */
    ],
    DecimalParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Values: [ /* required */
          'NUMBER_VALUE',
          /* more items */
        ]
      },
      /* more items */
    ],
    IntegerParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Values: [ /* required */
          'NUMBER_VALUE',
          /* more items */
        ]
      },
      /* more items */
    ],
    StringParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Values: [ /* required */
          'STRING_VALUE',
          /* more items */
        ]
      },
      /* more items */
    ]
  },
  VersionDescription: 'STRING_VALUE'
};
quicksight.updateDashboard(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the dashboard that you're updating.

    • DashboardId — (String)

      The ID for the dashboard.

    • Name — (String)

      The display name of the dashboard.

    • SourceEntity — (map)

      The template or analysis from which the dashboard is created. The SouceTemplate entity accepts the Amazon Resource Name (ARN) of the template and also references to replacement datasets for the placeholders set when creating the template. The replacement datasets need to follow the same schema as the datasets for which placeholders were created when creating the template.

      • SourceTemplate — (map)

        Source template.

        • DataSetReferencesrequired — (Array<map>)

          Dataset references.

          • DataSetPlaceholderrequired — (String)

            Dataset placeholder.

          • DataSetArnrequired — (String)

            Dataset Amazon Resource Name (ARN).

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the resource.

    • Parameters — (map)

      A structure that contains the parameters of the dashboard.

      • StringParameters — (Array<map>)

        String parameters.

        • Namerequired — (String)

          A display name for the dataset.

        • Valuesrequired — (Array<String>)

          Values.

      • IntegerParameters — (Array<map>)

        Integer parameters.

        • Namerequired — (String)

          A display name for the dataset.

        • Valuesrequired — (Array<Integer>)

          Values.

      • DecimalParameters — (Array<map>)

        Decimal parameters.

        • Namerequired — (String)

          A display name for the dataset.

        • Valuesrequired — (Array<Float>)

          Values.

      • DateTimeParameters — (Array<map>)

        DateTime parameters.

        • Namerequired — (String)

          A display name for the dataset.

        • Valuesrequired — (Array<Date>)

          Values.

    • VersionDescription — (String)

      A description for the first version of the dashboard being created.

    • DashboardPublishOptions — (map)

      Options for publishing the dashboard when you create it:

      • AvailabilityStatus for AdHocFilteringOption - This status can be either ENABLED or DISABLED. When this is set to DISABLED, QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option is ENABLED by default.

      • AvailabilityStatus for ExportToCSVOption - This status can be either ENABLED or DISABLED. The visual option to export data to .csv format isn't enabled when this is set to DISABLED. This option is ENABLED by default.

      • VisibilityState for SheetControlsOption - This visibility state can be either COLLAPSED or EXPANDED. The sheet controls pane is collapsed by default when set to true. This option is COLLAPSED by default.

      • AdHocFilteringOption — (map)

        Ad hoc (one-time) filtering option.

        • AvailabilityStatus — (String)

          Availability status.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
      • ExportToCSVOption — (map)

        Export to .csv option.

        • AvailabilityStatus — (String)

          Availability status.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
      • SheetControlsOption — (map)

        Sheet controls option.

        • VisibilityState — (String)

          Visibility state.

          Possible values include:
          • "EXPANDED"
          • "COLLAPSED"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) of the resource.

      • VersionArn — (String)

        The ARN of the dashboard, including the version number.

      • DashboardId — (String)

        The ID for the dashboard.

      • CreationStatus — (String)

        The creation status of the request.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateDashboardPermissions(params = {}, callback) ⇒ AWS.Request

Updates read and write permissions on a dashboard.

Service Reference:

Examples:

Calling the updateDashboardPermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE', /* required */
  GrantPermissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  RevokePermissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
quicksight.updateDashboardPermissions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the dashboard whose permissions you're updating.

    • DashboardId — (String)

      The ID for the dashboard.

    • GrantPermissions — (Array<map>)

      The permissions that you want to grant on this resource.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

    • RevokePermissions — (Array<map>)

      The permissions that you want to revoke from this resource.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DashboardArn — (String)

        The Amazon Resource Name (ARN) of the dashboard.

      • DashboardId — (String)

        The ID for the dashboard.

      • Permissions — (Array<map>)

        Information about the permissions on the dashboard.

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

        • Actionsrequired — (Array<String>)

          The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateDashboardPublishedVersion(params = {}, callback) ⇒ AWS.Request

Updates the published version of a dashboard.

Service Reference:

Examples:

Calling the updateDashboardPublishedVersion operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DashboardId: 'STRING_VALUE', /* required */
  VersionNumber: 'NUMBER_VALUE' /* required */
};
quicksight.updateDashboardPublishedVersion(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the dashboard that you're updating.

    • DashboardId — (String)

      The ID for the dashboard.

    • VersionNumber — (Integer)

      The version number of the dashboard.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DashboardId — (String)

        The ID for the dashboard.

      • DashboardArn — (String)

        The Amazon Resource Name (ARN) of the dashboard.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateDataSet(params = {}, callback) ⇒ AWS.Request

Updates a dataset.

Service Reference:

Examples:

Calling the updateDataSet operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE', /* required */
  ImportMode: SPICE | DIRECT_QUERY, /* required */
  Name: 'STRING_VALUE', /* required */
  PhysicalTableMap: { /* required */
    '<PhysicalTableId>': {
      CustomSql: {
        DataSourceArn: 'STRING_VALUE', /* required */
        Name: 'STRING_VALUE', /* required */
        SqlQuery: 'STRING_VALUE', /* required */
        Columns: [
          {
            Name: 'STRING_VALUE', /* required */
            Type: STRING | INTEGER | DECIMAL | DATETIME | BIT | BOOLEAN | JSON /* required */
          },
          /* more items */
        ]
      },
      RelationalTable: {
        DataSourceArn: 'STRING_VALUE', /* required */
        InputColumns: [ /* required */
          {
            Name: 'STRING_VALUE', /* required */
            Type: STRING | INTEGER | DECIMAL | DATETIME | BIT | BOOLEAN | JSON /* required */
          },
          /* more items */
        ],
        Name: 'STRING_VALUE', /* required */
        Schema: 'STRING_VALUE'
      },
      S3Source: {
        DataSourceArn: 'STRING_VALUE', /* required */
        InputColumns: [ /* required */
          {
            Name: 'STRING_VALUE', /* required */
            Type: STRING | INTEGER | DECIMAL | DATETIME | BIT | BOOLEAN | JSON /* required */
          },
          /* more items */
        ],
        UploadSettings: {
          ContainsHeader: true || false,
          Delimiter: 'STRING_VALUE',
          Format: CSV | TSV | CLF | ELF | XLSX | JSON,
          StartFromRow: 'NUMBER_VALUE',
          TextQualifier: DOUBLE_QUOTE | SINGLE_QUOTE
        }
      }
    },
    /* '<PhysicalTableId>': ... */
  },
  ColumnGroups: [
    {
      GeoSpatialColumnGroup: {
        Columns: [ /* required */
          'STRING_VALUE',
          /* more items */
        ],
        CountryCode: US, /* required */
        Name: 'STRING_VALUE' /* required */
      }
    },
    /* more items */
  ],
  LogicalTableMap: {
    '<LogicalTableId>': {
      Alias: 'STRING_VALUE', /* required */
      Source: { /* required */
        JoinInstruction: {
          LeftOperand: 'STRING_VALUE', /* required */
          OnClause: 'STRING_VALUE', /* required */
          RightOperand: 'STRING_VALUE', /* required */
          Type: INNER | OUTER | LEFT | RIGHT /* required */
        },
        PhysicalTableId: 'STRING_VALUE'
      },
      DataTransforms: [
        {
          CastColumnTypeOperation: {
            ColumnName: 'STRING_VALUE', /* required */
            NewColumnType: STRING | INTEGER | DECIMAL | DATETIME, /* required */
            Format: 'STRING_VALUE'
          },
          CreateColumnsOperation: {
            Columns: [ /* required */
              {
                ColumnId: 'STRING_VALUE', /* required */
                ColumnName: 'STRING_VALUE', /* required */
                Expression: 'STRING_VALUE' /* required */
              },
              /* more items */
            ]
          },
          FilterOperation: {
            ConditionExpression: 'STRING_VALUE' /* required */
          },
          ProjectOperation: {
            ProjectedColumns: [ /* required */
              'STRING_VALUE',
              /* more items */
            ]
          },
          RenameColumnOperation: {
            ColumnName: 'STRING_VALUE', /* required */
            NewColumnName: 'STRING_VALUE' /* required */
          },
          TagColumnOperation: {
            ColumnName: 'STRING_VALUE', /* required */
            Tags: [ /* required */
              {
                ColumnGeographicRole: COUNTRY | STATE | COUNTY | CITY | POSTCODE | LONGITUDE | LATITUDE
              },
              /* more items */
            ]
          }
        },
        /* more items */
      ]
    },
    /* '<LogicalTableId>': ... */
  },
  RowLevelPermissionDataSet: {
    Arn: 'STRING_VALUE', /* required */
    PermissionPolicy: GRANT_ACCESS | DENY_ACCESS /* required */
  }
};
quicksight.updateDataSet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSetId — (String)

      The ID for the dataset that you want to update. This ID is unique per AWS Region for each AWS account.

    • Name — (String)

      The display name for the dataset.

    • PhysicalTableMap — (map<map>)

      Declares the physical tables that are available in the underlying data sources.

      • RelationalTable — (map)

        A physical table type for relational data sources.

        • DataSourceArnrequired — (String)

          The Amazon Resource Name (ARN) for the data source.

        • Schema — (String)

          The schema name. This name applies to certain relational database engines.

        • Namerequired — (String)

          The name of the relational table.

        • InputColumnsrequired — (Array<map>)

          The column schema of the table.

          • Namerequired — (String)

            The name of this column in the underlying data source.

          • Typerequired — (String)

            The data type of the column.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
            • "BIT"
            • "BOOLEAN"
            • "JSON"
      • CustomSql — (map)

        A physical table type built from the results of the custom SQL query.

        • DataSourceArnrequired — (String)

          The Amazon Resource Name (ARN) of the data source.

        • Namerequired — (String)

          A display name for the SQL query result.

        • SqlQueryrequired — (String)

          The SQL query.

        • Columns — (Array<map>)

          The column schema from the SQL query result set.

          • Namerequired — (String)

            The name of this column in the underlying data source.

          • Typerequired — (String)

            The data type of the column.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
            • "BIT"
            • "BOOLEAN"
            • "JSON"
      • S3Source — (map)

        A physical table type for as S3 data source.

        • DataSourceArnrequired — (String)

          The amazon Resource Name (ARN) for the data source.

        • UploadSettings — (map)

          Information about the format for the S3 source file or files.

          • Format — (String)

            File format.

            Possible values include:
            • "CSV"
            • "TSV"
            • "CLF"
            • "ELF"
            • "XLSX"
            • "JSON"
          • StartFromRow — (Integer)

            A row number to start reading data from.

          • ContainsHeader — (Boolean)

            Whether the file has a header row, or the files each have a header row.

          • TextQualifier — (String)

            Text qualifier.

            Possible values include:
            • "DOUBLE_QUOTE"
            • "SINGLE_QUOTE"
          • Delimiter — (String)

            The delimiter between values in the file.

        • InputColumnsrequired — (Array<map>)

          A physical table type for as S3 data source.

          • Namerequired — (String)

            The name of this column in the underlying data source.

          • Typerequired — (String)

            The data type of the column.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
            • "BIT"
            • "BOOLEAN"
            • "JSON"
    • LogicalTableMap — (map<map>)

      Configures the combination and transformation of the data from the physical tables.

      • Aliasrequired — (String)

        A display name for the logical table.

      • DataTransforms — (Array<map>)

        Transform operations that act on this logical table.

        • ProjectOperation — (map)

          An operation that projects columns. Operations that come after a projection can only refer to projected columns.

          • ProjectedColumnsrequired — (Array<String>)

            Projected columns.

        • FilterOperation — (map)

          An operation that filters rows based on some condition.

          • ConditionExpressionrequired — (String)

            An expression that must evaluate to a Boolean value. Rows for which the expression evaluates to true are kept in the dataset.

        • CreateColumnsOperation — (map)

          An operation that creates calculated columns. Columns created in one such operation form a lexical closure.

          • Columnsrequired — (Array<map>)

            Calculated columns to create.

            • ColumnNamerequired — (String)

              Column name.

            • ColumnIdrequired — (String)

              A unique ID to identify a calculated column. During a dataset update, if the column ID of a calculated column matches that of an existing calculated column, Amazon QuickSight preserves the existing calculated column.

            • Expressionrequired — (String)

              An expression that defines the calculated column.

        • RenameColumnOperation — (map)

          An operation that renames a column.

          • ColumnNamerequired — (String)

            The name of the column to be renamed.

          • NewColumnNamerequired — (String)

            The new name for the column.

        • CastColumnTypeOperation — (map)

          A transform operation that casts a column to a different type.

          • ColumnNamerequired — (String)

            Column name.

          • NewColumnTyperequired — (String)

            New column data type.

            Possible values include:
            • "STRING"
            • "INTEGER"
            • "DECIMAL"
            • "DATETIME"
          • Format — (String)

            When casting a column from string to datetime type, you can supply a string in a format supported by Amazon QuickSight to denote the source data format.

        • TagColumnOperation — (map)

          An operation that tags a column with additional information.

          • ColumnNamerequired — (String)

            The column that this operation acts on.

          • Tagsrequired — (Array<map>)

            The dataset column tag, currently only used for geospatial type tagging. .

            Note: This is not tags for the AWS tagging feature. .
            • ColumnGeographicRole — (String)

              A geospatial role for a column.

              Possible values include:
              • "COUNTRY"
              • "STATE"
              • "COUNTY"
              • "CITY"
              • "POSTCODE"
              • "LONGITUDE"
              • "LATITUDE"
      • Sourcerequired — (map)

        Source of this logical table.

        • JoinInstruction — (map)

          Specifies the result of a join of two logical tables.

          • LeftOperandrequired — (String)

            Left operand.

          • RightOperandrequired — (String)

            Right operand.

          • Typerequired — (String)

            Type.

            Possible values include:
            • "INNER"
            • "OUTER"
            • "LEFT"
            • "RIGHT"
          • OnClauserequired — (String)

            On Clause.

        • PhysicalTableId — (String)

          Physical table ID.

    • ImportMode — (String)

      Indicates whether you want to import the data into SPICE.

      Possible values include:
      • "SPICE"
      • "DIRECT_QUERY"
    • ColumnGroups — (Array<map>)

      Groupings of columns that work together in certain QuickSight features. Currently, only geospatial hierarchy is supported.

      • GeoSpatialColumnGroup — (map)

        Geospatial column group that denotes a hierarchy.

        • Namerequired — (String)

          A display name for the hierarchy.

        • CountryCoderequired — (String)

          Country code.

          Possible values include:
          • "US"
        • Columnsrequired — (Array<String>)

          Columns in this hierarchy.

    • RowLevelPermissionDataSet — (map)

      The row-level security configuration for the data you want to create.

      • Arnrequired — (String)

        The Amazon Resource Name (ARN) of the permission dataset.

      • PermissionPolicyrequired — (String)

        Permission policy.

        Possible values include:
        • "GRANT_ACCESS"
        • "DENY_ACCESS"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) of the dataset.

      • DataSetId — (String)

        The ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.

      • IngestionArn — (String)

        The ARN for the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

      • IngestionId — (String)

        The ID of the ingestion, which is triggered as a result of dataset creation if the import mode is SPICE.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateDataSetPermissions(params = {}, callback) ⇒ AWS.Request

Updates the permissions on a dataset.

The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.

Service Reference:

Examples:

Calling the updateDataSetPermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSetId: 'STRING_VALUE', /* required */
  GrantPermissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  RevokePermissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
quicksight.updateDataSetPermissions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSetId — (String)

      The ID for the dataset whose permissions you want to update. This ID is unique per AWS Region for each AWS account.

    • GrantPermissions — (Array<map>)

      The resource permissions that you want to grant to the dataset.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

    • RevokePermissions — (Array<map>)

      The resource permissions that you want to revoke from the dataset.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataSetArn — (String)

        The Amazon Resource Name (ARN) of the dataset.

      • DataSetId — (String)

        The ID for the dataset whose permissions you want to update. This ID is unique per AWS Region for each AWS account.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateDataSource(params = {}, callback) ⇒ AWS.Request

Updates a data source.

Service Reference:

Examples:

Calling the updateDataSource operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSourceId: 'STRING_VALUE', /* required */
  Name: 'STRING_VALUE', /* required */
  Credentials: {
    CredentialPair: {
      Password: 'STRING_VALUE', /* required */
      Username: 'STRING_VALUE' /* required */
    }
  },
  DataSourceParameters: {
    AmazonElasticsearchParameters: {
      Domain: 'STRING_VALUE' /* required */
    },
    AthenaParameters: {
      WorkGroup: 'STRING_VALUE'
    },
    AuroraParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    AuroraPostgreSqlParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    AwsIotAnalyticsParameters: {
      DataSetName: 'STRING_VALUE' /* required */
    },
    JiraParameters: {
      SiteBaseUrl: 'STRING_VALUE' /* required */
    },
    MariaDbParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    MySqlParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    PostgreSqlParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    PrestoParameters: {
      Catalog: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    RdsParameters: {
      Database: 'STRING_VALUE', /* required */
      InstanceId: 'STRING_VALUE' /* required */
    },
    RedshiftParameters: {
      Database: 'STRING_VALUE', /* required */
      ClusterId: 'STRING_VALUE',
      Host: 'STRING_VALUE',
      Port: 'NUMBER_VALUE'
    },
    S3Parameters: {
      ManifestFileLocation: { /* required */
        Bucket: 'STRING_VALUE', /* required */
        Key: 'STRING_VALUE' /* required */
      }
    },
    ServiceNowParameters: {
      SiteBaseUrl: 'STRING_VALUE' /* required */
    },
    SnowflakeParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Warehouse: 'STRING_VALUE' /* required */
    },
    SparkParameters: {
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    SqlServerParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    TeradataParameters: {
      Database: 'STRING_VALUE', /* required */
      Host: 'STRING_VALUE', /* required */
      Port: 'NUMBER_VALUE' /* required */
    },
    TwitterParameters: {
      MaxRows: 'NUMBER_VALUE', /* required */
      Query: 'STRING_VALUE' /* required */
    }
  },
  SslProperties: {
    DisableSsl: true || false
  },
  VpcConnectionProperties: {
    VpcConnectionArn: 'STRING_VALUE' /* required */
  }
};
quicksight.updateDataSource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSourceId — (String)

      The ID of the data source. This ID is unique per AWS Region for each AWS account.

    • Name — (String)

      A display name for the data source.

    • DataSourceParameters — (map)

      The parameters that QuickSight uses to connect to your underlying source.

      • AmazonElasticsearchParameters — (map)

        Amazon Elasticsearch Service parameters.

        • Domainrequired — (String)

          The Amazon Elasticsearch Service domain.

      • AthenaParameters — (map)

        Amazon Athena parameters.

        • WorkGroup — (String)

          The workgroup that Amazon Athena uses.

      • AuroraParameters — (map)

        Amazon Aurora MySQL parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • AuroraPostgreSqlParameters — (map)

        Aurora PostgreSQL parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • AwsIotAnalyticsParameters — (map)

        AWS IoT Analytics parameters.

        • DataSetNamerequired — (String)

          Dataset name.

      • JiraParameters — (map)

        Jira parameters.

        • SiteBaseUrlrequired — (String)

          The base URL of the Jira site.

      • MariaDbParameters — (map)

        MariaDB parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • MySqlParameters — (map)

        MySQL parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • PostgreSqlParameters — (map)

        PostgreSQL parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • PrestoParameters — (map)

        Presto parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Catalogrequired — (String)

          Catalog.

      • RdsParameters — (map)

        Amazon RDS parameters.

        • InstanceIdrequired — (String)

          Instance ID.

        • Databaserequired — (String)

          Database.

      • RedshiftParameters — (map)

        Amazon Redshift parameters.

        • Host — (String)

          Host. This field can be blank if ClusterId is provided.

        • Port — (Integer)

          Port. This field can be blank if the ClusterId is provided.

        • Databaserequired — (String)

          Database.

        • ClusterId — (String)

          Cluster ID. This field can be blank if the Host and Port are provided.

      • S3Parameters — (map)

        S3 parameters.

        • ManifestFileLocationrequired — (map)

          Location of the Amazon S3 manifest file. This is NULL if the manifest file was uploaded in the console.

          • Bucketrequired — (String)

            Amazon S3 bucket.

          • Keyrequired — (String)

            Amazon S3 key that identifies an object.

      • ServiceNowParameters — (map)

        ServiceNow parameters.

        • SiteBaseUrlrequired — (String)

          URL of the base site.

      • SnowflakeParameters — (map)

        Snowflake parameters.

        • Hostrequired — (String)

          Host.

        • Databaserequired — (String)

          Database.

        • Warehouserequired — (String)

          Warehouse.

      • SparkParameters — (map)

        Spark parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

      • SqlServerParameters — (map)

        SQL Server parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • TeradataParameters — (map)

        Teradata parameters.

        • Hostrequired — (String)

          Host.

        • Portrequired — (Integer)

          Port.

        • Databaserequired — (String)

          Database.

      • TwitterParameters — (map)

        Twitter parameters.

        • Queryrequired — (String)

          Twitter query string.

        • MaxRowsrequired — (Integer)

          Maximum number of rows to query Twitter.

    • Credentials — (map)

      The credentials that QuickSight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.

      • CredentialPair — (map)

        Credential pair.

        • Usernamerequired — (String)

          User name.

        • Passwordrequired — (String)

          Password.

    • VpcConnectionProperties — (map)

      Use this parameter only when you want QuickSight to use a VPC connection when connecting to your underlying source.

      • VpcConnectionArnrequired — (String)

        The Amazon Resource Name (ARN) for the VPC connection.

    • SslProperties — (map)

      Secure Socket Layer (SSL) properties that apply when QuickSight connects to your underlying source.

      • DisableSsl — (Boolean)

        A Boolean option to control whether SSL should be disabled.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Arn — (String)

        The Amazon Resource Name (ARN) of the data source.

      • DataSourceId — (String)

        The ID of the data source. This ID is unique per AWS Region for each AWS account.

      • UpdateStatus — (String)

        The update status of the data source's last update.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateDataSourcePermissions(params = {}, callback) ⇒ AWS.Request

Updates the permissions to a data source.

Service Reference:

Examples:

Calling the updateDataSourcePermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DataSourceId: 'STRING_VALUE', /* required */
  GrantPermissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  RevokePermissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
quicksight.updateDataSourcePermissions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The AWS account ID.

    • DataSourceId — (String)

      The ID of the data source. This ID is unique per AWS Region for each AWS account.

    • GrantPermissions — (Array<map>)

      A list of resource permissions that you want to grant on the data source.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

    • RevokePermissions — (Array<map>)

      A list of resource permissions that you want to revoke on the data source.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DataSourceArn — (String)

        The Amazon Resource Name (ARN) of the data source.

      • DataSourceId — (String)

        The ID of the data source. This ID is unique per AWS Region for each AWS account.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateGroup(params = {}, callback) ⇒ AWS.Request

Changes a group description.

Service Reference:

Examples:

Calling the updateGroup operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  GroupName: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE'
};
quicksight.updateGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • GroupName — (String)

      The name of the group that you want to update.

    • Description — (String)

      The description for the group that you want to update.

    • AwsAccountId — (String)

      The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Group — (map)

        The name of the group.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the group.

        • GroupName — (String)

          The name of the group.

        • Description — (String)

          The group description.

        • PrincipalId — (String)

          The principal ID of the group.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateIAMPolicyAssignment(params = {}, callback) ⇒ AWS.Request

Updates an existing IAM policy assignment. This operation updates only the optional parameter or parameters that are specified in the request.

Service Reference:

Examples:

Calling the updateIAMPolicyAssignment operation

var params = {
  AssignmentName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  AssignmentStatus: ENABLED | DRAFT | DISABLED,
  Identities: {
    '<String>': [
      'STRING_VALUE',
      /* more items */
    ],
    /* '<String>': ... */
  },
  PolicyArn: 'STRING_VALUE'
};
quicksight.updateIAMPolicyAssignment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the IAM policy assignment.

    • AssignmentName — (String)

      The name of the assignment. This name must be unique within an AWS account.

    • Namespace — (String)

      The namespace of the assignment.

    • AssignmentStatus — (String)

      The status of the assignment. Possible values are as follows:

      • ENABLED - Anything specified in this assignment is used when creating the data source.

      • DISABLED - This assignment isn't used when creating the data source.

      • DRAFT - This assignment is an unfinished draft and isn't used when creating the data source.

      Possible values include:
      • "ENABLED"
      • "DRAFT"
      • "DISABLED"
    • PolicyArn — (String)

      The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.

    • Identities — (map<Array<String>>)

      The QuickSight users, groups, or both that you want to assign the policy to.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AssignmentName — (String)

        The name of the assignment.

      • AssignmentId — (String)

        The ID of the assignment.

      • PolicyArn — (String)

        The ARN for the IAM policy applied to the QuickSight users and groups specified in this assignment.

      • Identities — (map<Array<String>>)

        The QuickSight users, groups, or both that the IAM policy is assigned to.

      • AssignmentStatus — (String)

        The status of the assignment. Possible values are as follows:

        • ENABLED - Anything specified in this assignment is used when creating the data source.

        • DISABLED - This assignment isn't used when creating the data source.

        • DRAFT - This assignment is an unfinished draft and isn't used when creating the data source.

        Possible values include:
        • "ENABLED"
        • "DRAFT"
        • "DISABLED"
      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateTemplate(params = {}, callback) ⇒ AWS.Request

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

Service Reference:

Examples:

Calling the updateTemplate operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  SourceEntity: { /* required */
    SourceAnalysis: {
      Arn: 'STRING_VALUE', /* required */
      DataSetReferences: [ /* required */
        {
          DataSetArn: 'STRING_VALUE', /* required */
          DataSetPlaceholder: 'STRING_VALUE' /* required */
        },
        /* more items */
      ]
    },
    SourceTemplate: {
      Arn: 'STRING_VALUE' /* required */
    }
  },
  TemplateId: 'STRING_VALUE', /* required */
  Name: 'STRING_VALUE',
  VersionDescription: 'STRING_VALUE'
};
quicksight.updateTemplate(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template that you're updating.

    • TemplateId — (String)

      The ID for the template.

    • SourceEntity — (map)

      The source QuickSight entity from which this template is being updated. You can currently update templates from an Analysis or another template.

      • SourceAnalysis — (map)

        The source analysis, if it is based on an analysis.

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the resource.

        • DataSetReferencesrequired — (Array<map>)

          A structure containing information about the dataset references used as placeholders in the template.

          • DataSetPlaceholderrequired — (String)

            Dataset placeholder.

          • DataSetArnrequired — (String)

            Dataset Amazon Resource Name (ARN).

      • SourceTemplate — (map)

        The source template, if it is based on an template.

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the resource.

    • VersionDescription — (String)

      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 — (String)

      The name for the template.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateId — (String)

        The ID for the template.

      • Arn — (String)

        The Amazon Resource Name (ARN) for the template.

      • VersionArn — (String)

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

      • CreationStatus — (String)

        The creation status of the template.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateTemplateAlias(params = {}, callback) ⇒ AWS.Request

Updates the template alias of a template.

Service Reference:

Examples:

Calling the updateTemplateAlias operation

var params = {
  AliasName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE', /* required */
  TemplateVersionNumber: 'NUMBER_VALUE' /* required */
};
quicksight.updateTemplateAlias(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template alias that you're updating.

    • TemplateId — (String)

      The ID for the template.

    • AliasName — (String)

      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 — (Integer)

      The version number of the template.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateAlias — (map)

        The template alias.

        • AliasName — (String)

          The display name of the template alias.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the template alias.

        • TemplateVersionNumber — (Integer)

          The version number of the template alias.

      • Status — (Integer)

        The HTTP status of the request.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateTemplatePermissions(params = {}, callback) ⇒ AWS.Request

Updates the resource permissions for a template.

Service Reference:

Examples:

Calling the updateTemplatePermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  TemplateId: 'STRING_VALUE', /* required */
  GrantPermissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  RevokePermissions: [
    {
      Actions: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Principal: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
quicksight.updateTemplatePermissions(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AwsAccountId — (String)

      The ID of the AWS account that contains the template.

    • TemplateId — (String)

      The ID for the template.

    • GrantPermissions — (Array<map>)

      A list of resource permissions to be granted on the template.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

    • RevokePermissions — (Array<map>)

      A list of resource permissions to be revoked from the template.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

      • Actionsrequired — (Array<String>)

        The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TemplateId — (String)

        The ID for the template.

      • TemplateArn — (String)

        The Amazon Resource Name (ARN) of the template.

      • Permissions — (Array<map>)

        A list of resource permissions to be set on the template.

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of an Amazon QuickSight user or group, or an IAM ARN. If you are using cross-account resource sharing, this is the IAM ARN of an account root. Otherwise, it is the ARN of a QuickSight user or group. .

        • Actionsrequired — (Array<String>)

          The action to grant or revoke permissions on, for example "quicksight:DescribeDashboard".

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateUser(params = {}, callback) ⇒ AWS.Request

Updates an Amazon QuickSight user.

Service Reference:

Examples:

Calling the updateUser operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Email: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE', /* required */
  Role: ADMIN | AUTHOR | READER | RESTRICTED_AUTHOR | RESTRICTED_READER, /* required */
  UserName: 'STRING_VALUE' /* required */
};
quicksight.updateUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • UserName — (String)

      The Amazon QuickSight user name that you want to update.

    • AwsAccountId — (String)

      The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.

    • Namespace — (String)

      The namespace. Currently, you should set this to default.

    • Email — (String)

      The email address of the user that you want to update.

    • Role — (String)

      The Amazon QuickSight role of the user. The user role can be one of the following:

      • READER: A user who has read-only access to dashboards.

      • AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.

      • ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.

      Possible values include:
      • "ADMIN"
      • "AUTHOR"
      • "READER"
      • "RESTRICTED_AUTHOR"
      • "RESTRICTED_READER"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • User — (map)

        The Amazon QuickSight user.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the user.

        • UserName — (String)

          The user's user name.

        • Email — (String)

          The user's email address.

        • Role — (String)

          The Amazon QuickSight role for the user. The user role can be one of the following:.

          • READER: A user who has read-only access to dashboards.

          • AUTHOR: A user who can create data sources, datasets, analyses, and dashboards.

          • ADMIN: A user who is an author, who can also manage Amazon QuickSight settings.

          • RESTRICTED_READER: This role isn't currently available for use.

          • RESTRICTED_AUTHOR: This role isn't currently available for use.

          Possible values include:
          • "ADMIN"
          • "AUTHOR"
          • "READER"
          • "RESTRICTED_AUTHOR"
          • "RESTRICTED_READER"
        • IdentityType — (String)

          The type of identity authentication used by the user.

          Possible values include:
          • "IAM"
          • "QUICKSIGHT"
        • Active — (Boolean)

          The active status of user. When you create an Amazon QuickSight user that’s not an IAM user or an Active Directory user, that user is inactive until they sign in and provide a password.

        • PrincipalId — (String)

          The principal ID of the user.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.