AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

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

Creates Amazon QuickSight customizations the current AWS Region. Currently, you can add a custom default theme by using the CreateAccountCustomization or UpdateAccountCustomization API operation. To further customize QuickSight by removing QuickSight sample assets and videos for all new users, see Customizing QuickSight in the Amazon QuickSight User Guide.

You can create customizations for your AWS account or, if you specify a namespace, for a QuickSight namespace instead. Customizations that apply to a namespace always override customizations that apply to an AWS account. To find out which customizations apply, use the DescribeAccountCustomization API operation.

Before you use the CreateAccountCustomization API operation to add a theme as the namespace default, make sure that you first share the theme with the namespace. If you don't share it with the namespace, the theme isn't visible to your users even if you make it the default theme. To check if the theme is shared, view the current permissions by using the DescribeThemePermissions API operation. To share the theme, grant permissions by using the UpdateThemePermissions API operation.

Service Reference:

Examples:

Calling the createAccountCustomization operation

var params = {
  AccountCustomization: { /* required */
    DefaultTheme: 'STRING_VALUE'
  },
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
quicksight.createAccountCustomization(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 you want to customize QuickSight for.

    • Namespace — (String)

      The QuickSight namespace that you want to add customizations to.

    • AccountCustomization — (map)

      The QuickSight customizations you're adding in the current AWS Region. You can add these to an AWS account and a QuickSight namespace.

      For example, you can add a default theme by setting AccountCustomization to the midnight theme: "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight::aws:theme/MIDNIGHT" }. Or, you can add a custom theme by specifying "AccountCustomization": { "DefaultTheme": "arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639" }.

      • DefaultTheme — (String)

        The default theme for this QuickSight subscription.

    • Tags — (Array<map>)

      A list of the tags that you want to attach to this 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:

      • Arn — (String)

        The Amazon Resource Name (ARN) for the customization that you created for this AWS account.

      • AwsAccountId — (String)

        The ID for the AWS account that you want to customize QuickSight for.

      • Namespace — (String)

        The namespace associated with the customization you're creating.

      • AccountCustomization — (map)

        The QuickSight customizations you're adding in the current AWS Region.

        • DefaultTheme — (String)

          The default theme for this QuickSight subscription.

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

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

Creates an analysis in Amazon QuickSight.

Service Reference:

Examples:

Calling the createAnalysis operation

var params = {
  AnalysisId: 'STRING_VALUE', /* required */
  AwsAccountId: '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 */
      ]
    }
  },
  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 */
  ],
  ThemeArn: 'STRING_VALUE'
};
quicksight.createAnalysis(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 are creating an analysis.

    • AnalysisId — (String)

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

    • Name — (String)

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

    • Parameters — (map)

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

      • StringParameters — (Array<map>)

        String parameters.

        • Namerequired — (String)

          A display name for a string parameter.

        • Valuesrequired — (Array<String>)

          The values of a string parameter.

      • IntegerParameters — (Array<map>)

        Integer parameters.

        • Namerequired — (String)

          The name of the integer parameter.

        • Valuesrequired — (Array<Integer>)

          The values for the integer parameter.

      • DecimalParameters — (Array<map>)

        Decimal parameters.

        • Namerequired — (String)

          A display name for the decimal parameter.

        • Valuesrequired — (Array<Float>)

          The values for the decimal parameter.

      • DateTimeParameters — (Array<map>)

        Date-time parameters.

        • Namerequired — (String)

          A display name for the date-time parameter.

        • Valuesrequired — (Array<Date>)

          The values for the date-time parameter.

    • Permissions — (Array<map>)

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

      To specify no permissions, omit Permissions.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

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

    • SourceEntity — (map)

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

      • SourceTemplate — (map)

        The source template for the source entity of the analysis.

        • DataSetReferencesrequired — (Array<map>)

          The dataset references of the source template of an analysis.

          • DataSetPlaceholderrequired — (String)

            Dataset placeholder.

          • DataSetArnrequired — (String)

            Dataset Amazon Resource Name (ARN).

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the source template of an analysis.

    • ThemeArn — (String)

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

    • Tags — (Array<map>)

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

      • 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 ARN for the analysis.

      • AnalysisId — (String)

        The ID of the analysis.

      • CreationStatus — (String)

        The status of the creation of the analysis.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
        • "DELETED"
      • 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.

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. 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 */
  ],
  ThemeArn: 'STRING_VALUE',
  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)

      The parameters for the creation of the dashboard, which you want to use to override the default settings. A dashboard can have any type of parameters, and some parameters might accept multiple values.

      • StringParameters — (Array<map>)

        String parameters.

        • Namerequired — (String)

          A display name for a string parameter.

        • Valuesrequired — (Array<String>)

          The values of a string parameter.

      • IntegerParameters — (Array<map>)

        Integer parameters.

        • Namerequired — (String)

          The name of the integer parameter.

        • Valuesrequired — (Array<Integer>)

          The values for the integer parameter.

      • DecimalParameters — (Array<map>)

        Decimal parameters.

        • Namerequired — (String)

          A display name for the decimal parameter.

        • Valuesrequired — (Array<Float>)

          The values for the decimal parameter.

      • DateTimeParameters — (Array<map>)

        Date-time parameters.

        • Namerequired — (String)

          A display name for the date-time parameter.

        • Valuesrequired — (Array<Date>)

          The values for the date-time parameter.

    • Permissions — (Array<map>)

      A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.

      To specify no permissions, omit the permissions list.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

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

    • SourceEntity — (map)

      The entity that you are using as a source when you create the dashboard. In SourceEntity, you specify the type of object you're using as source. You can only create a dashboard from a template, so you use a SourceTemplate entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplateARN can contain any AWS Account and any QuickSight-supported AWS Region.

      Use the DataSetReferences entity within SourceTemplate to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

      • 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. 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"
    • ThemeArn — (String)

      The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If you add a value for this field, it overrides the value that is used in the source entity. The theme ARN must exist in the same AWS account where you create 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:

      • Arn — (String)

        The 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"
        • "DELETED"
      • 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 */
    Namespace: 'STRING_VALUE'
  },
  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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

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

      • Namespace — (String)

        The namespace associated with the row-level permissions dataset.

      • 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: {
    CopySourceArn: 'STRING_VALUE',
    CredentialPair: {
      Password: 'STRING_VALUE', /* required */
      Username: 'STRING_VALUE', /* required */
      AlternateDataSourceParameters: [
        {
          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 */
          }
        },
        /* more items */
      ]
    }
  },
  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. For more information, see CredentialPair.

        • Usernamerequired — (String)

          User name.

        • Passwordrequired — (String)

          Password.

        • AlternateDataSourceParameters — (Array<map>)

          A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allowlist. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.

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

      • CopySourceArn — (String)

        The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

    • Permissions — (Array<map>)

      A list of resource permissions on the data source.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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"
        • "DELETED"
      • 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.

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

(Enterprise edition only) Creates a new namespace for you to use with Amazon QuickSight.

A namespace allows you to isolate the QuickSight users and groups that are registered for that namespace. Users that access the namespace can share assets only with other users or groups in the same namespace. They can't see users and groups in other namespaces. You can create a namespace after your AWS account is subscribed to QuickSight. The namespace must be unique within the AWS account. By default, there is a limit of 100 namespaces per AWS account. To increase your limit, create a ticket with AWS Support.

Service Reference:

Examples:

Calling the createNamespace operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  IdentityStore: QUICKSIGHT, /* required */
  Namespace: 'STRING_VALUE', /* required */
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
quicksight.createNamespace(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 you want to create the QuickSight namespace in.

    • Namespace — (String)

      The name that you want to use to describe the new namespace.

    • IdentityStore — (String)

      Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT.

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

      The tags that you want to associate with the namespace that you're creating.

      • 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 ARN of the QuickSight namespace you created.

      • Name — (String)

        The name of the new namespace that you created.

      • CapacityRegion — (String)

        The AWS Region that you want to use for the free SPICE capacity for the new namespace. This is set to the region that you run CreateNamespace in.

      • CreationStatus — (String)

        The status of the creation of the namespace. This is an asynchronous process. A status of CREATED means that your namespace is ready to use. If an error occurs, it indicates if the process is retryable or non-retryable. In the case of a non-retryable error, refer to the error message for follow-up tasks.

        Possible values include:
        • "CREATED"
        • "CREATING"
        • "DELETING"
        • "RETRYABLE_FAILURE"
        • "NON_RETRYABLE_FAILURE"
      • IdentityStore — (String)

        Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT.

        Possible values include:
        • "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.

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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

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

    • SourceEntity — (map)

      The entity that you are using as a source when you create the template. In SourceEntity, you specify the type of object you're using as source: SourceTemplate for a template or SourceAnalysis for an analysis. Both of these require an Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source template. For SourceAnalysis, specify the ARN of the source analysis. The SourceTemplate ARN can contain any AWS Account and any QuickSight-supported AWS Region.

      Use the DataSetReferences entity within SourceTemplate or SourceAnalysis to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

      • 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"
        • "DELETED"
      • 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.

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

Creates a theme.

A theme is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.

Service Reference:

Examples:

Calling the createTheme operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  BaseThemeId: 'STRING_VALUE', /* required */
  Configuration: { /* required */
    DataColorPalette: {
      Colors: [
        'STRING_VALUE',
        /* more items */
      ],
      EmptyFillColor: 'STRING_VALUE',
      MinMaxGradient: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    Sheet: {
      Tile: {
        Border: {
          Show: true || false
        }
      },
      TileLayout: {
        Gutter: {
          Show: true || false
        },
        Margin: {
          Show: true || false
        }
      }
    },
    UIColorPalette: {
      Accent: 'STRING_VALUE',
      AccentForeground: 'STRING_VALUE',
      Danger: 'STRING_VALUE',
      DangerForeground: 'STRING_VALUE',
      Dimension: 'STRING_VALUE',
      DimensionForeground: 'STRING_VALUE',
      Measure: 'STRING_VALUE',
      MeasureForeground: 'STRING_VALUE',
      PrimaryBackground: 'STRING_VALUE',
      PrimaryForeground: 'STRING_VALUE',
      SecondaryBackground: 'STRING_VALUE',
      SecondaryForeground: 'STRING_VALUE',
      Success: 'STRING_VALUE',
      SuccessForeground: 'STRING_VALUE',
      Warning: 'STRING_VALUE',
      WarningForeground: 'STRING_VALUE'
    }
  },
  Name: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE', /* required */
  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.createTheme(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 store the new theme.

    • ThemeId — (String)

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

    • Name — (String)

      A display name for the theme.

    • BaseThemeId — (String)

      The ID of the theme that a custom theme will inherit from. All themes inherit from one of the starting themes defined by Amazon QuickSight. For a list of the starting themes, use ListThemes or choose Themes from within a QuickSight analysis.

    • VersionDescription — (String)

      A description of the first version of the theme that you're creating. Every time UpdateTheme is called, a new version is created. Each version of the theme has a description of the version in the VersionDescription field.

    • Configuration — (map)

      The theme configuration, which contains the theme display properties.

      • DataColorPalette — (map)

        Color properties that apply to chart data colors.

        • Colors — (Array<String>)

          The hexadecimal codes for the colors.

        • MinMaxGradient — (Array<String>)

          The minimum and maximum hexadecimal codes that describe a color gradient.

        • EmptyFillColor — (String)

          The hexadecimal code of a color that applies to charts where a lack of data is highlighted.

      • UIColorPalette — (map)

        Color properties that apply to the UI and to charts, excluding the colors that apply to data.

        • PrimaryForeground — (String)

          The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.

        • PrimaryBackground — (String)

          The background color that applies to visuals and other high emphasis UI.

        • SecondaryForeground — (String)

          The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.

        • SecondaryBackground — (String)

          The background color that applies to the sheet background and sheet controls.

        • Accent — (String)

          This color is that applies to selected states and buttons.

        • AccentForeground — (String)

          The foreground color that applies to any text or other elements that appear over the accent color.

        • Danger — (String)

          The color that applies to error messages.

        • DangerForeground — (String)

          The foreground color that applies to any text or other elements that appear over the error color.

        • Warning — (String)

          This color that applies to warning and informational messages.

        • WarningForeground — (String)

          The foreground color that applies to any text or other elements that appear over the warning color.

        • Success — (String)

          The color that applies to success messages, for example the check mark for a successful download.

        • SuccessForeground — (String)

          The foreground color that applies to any text or other elements that appear over the success color.

        • Dimension — (String)

          The color that applies to the names of fields that are identified as dimensions.

        • DimensionForeground — (String)

          The foreground color that applies to any text or other elements that appear over the dimension color.

        • Measure — (String)

          The color that applies to the names of fields that are identified as measures.

        • MeasureForeground — (String)

          The foreground color that applies to any text or other elements that appear over the measure color.

      • Sheet — (map)

        Display options related to sheets.

        • Tile — (map)

          The display options for tiles.

          • Border — (map)

            The border around a tile.

            • Show — (Boolean)

              The option to enable display of borders for visuals.

        • TileLayout — (map)

          The layout options for tiles.

          • Gutter — (map)

            The gutter settings that apply between tiles.

            • Show — (Boolean)

              This Boolean value controls whether to display a gutter space between sheet tiles.

          • Margin — (map)

            The margin settings that apply around the outside edge of sheets.

            • Show — (Boolean)

              This Boolean value controls whether to display sheet margins.

    • Permissions — (Array<map>)

      A valid grouping of resource permissions to apply to the new theme.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

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

    • Tags — (Array<map>)

      A map of the key-value pairs for the resource tag or tags that you want to add 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:

      • Arn — (String)

        The Amazon Resource Name (ARN) for the theme.

      • VersionArn — (String)

        The Amazon Resource Name (ARN) for the new theme.

      • ThemeId — (String)

        The ID of the theme.

      • CreationStatus — (String)

        The theme creation status.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
        • "DELETED"
      • 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.

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

Creates a theme alias for a theme.

Service Reference:

Examples:

Calling the createThemeAlias operation

var params = {
  AliasName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE', /* required */
  ThemeVersionNumber: 'NUMBER_VALUE' /* required */
};
quicksight.createThemeAlias(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 theme for the new theme alias.

    • ThemeId — (String)

      An ID for the theme alias.

    • AliasName — (String)

      The name that you want to give to the theme alias that you are creating. The alias name can't begin with a $. Alias names that start with $ are reserved by Amazon QuickSight.

    • ThemeVersionNumber — (Integer)

      The version number of the theme.

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:

      • ThemeAlias — (map)

        Information about the theme alias.

        • Arn — (String)

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

        • AliasName — (String)

          The display name of the theme alias.

        • ThemeVersionNumber — (Integer)

          The version number of the theme 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.

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

Deletes all Amazon QuickSight customizations in this AWS Region for the specified AWS account and QuickSight namespace.

Service Reference:

Examples:

Calling the deleteAccountCustomization operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE'
};
quicksight.deleteAccountCustomization(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 you want to delete QuickSight customizations from in this AWS Region.

    • Namespace — (String)

      The QuickSight namespace that you're deleting the customizations from.

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.

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

Deletes an analysis from Amazon QuickSight. You can optionally include a recovery window during which you can restore the analysis. If you don't specify a recovery window value, the operation defaults to 30 days. QuickSight attaches a DeletionTime stamp to the response that specifies the end of the recovery window. At the end of the recovery window, QuickSight deletes the analysis permanently.

At any time before recovery window ends, you can use the RestoreAnalysis API operation to remove the DeletionTime stamp and cancel the deletion of the analysis. The analysis remains visible in the API until it's deleted, so you can describe it but you can't make a template from it.

An analysis that's scheduled for deletion isn't accessible in the QuickSight console. To access it in the console, restore it. Deleting an analysis doesn't delete the dashboards that you publish from it.

Service Reference:

Examples:

Calling the deleteAnalysis operation

var params = {
  AnalysisId: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  ForceDeleteWithoutRecovery: true || false,
  RecoveryWindowInDays: 'NUMBER_VALUE'
};
quicksight.deleteAnalysis(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 delete an analysis.

    • AnalysisId — (String)

      The ID of the analysis that you're deleting.

    • RecoveryWindowInDays — (Integer)

      A value that specifies the number of days that QuickSight waits before it deletes the analysis. You can't use this parameter with the ForceDeleteWithoutRecovery option in the same API call. The default value is 30.

    • ForceDeleteWithoutRecovery — (Boolean)

      This option defaults to the value NoForceDeleteWithoutRecovery. To immediately delete the analysis, add the ForceDeleteWithoutRecovery option. You can't restore an analysis after it's 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 Amazon Resource Name (ARN) of the deleted analysis.

      • AnalysisId — (String)

        The ID of the deleted analysis.

      • DeletionTime — (Date)

        The date and time that the analysis is scheduled to be deleted.

      • 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 operation 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.

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

Deletes a namespace and the users and groups that are associated with the namespace. This is an asynchronous process. Assets including dashboards, analyses, datasets and data sources are not deleted. To delete these assets, you use the API operations for the relevant asset.

Service Reference:

Examples:

Calling the deleteNamespace operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE' /* required */
};
quicksight.deleteNamespace(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 you want to delete the QuickSight namespace from.

    • Namespace — (String)

      The namespace that you want to delete.

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.

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. To delete a specific alias, you delete the version that the alias points to. You can specify the alias name, or 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 template you want to delete.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

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

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

Deletes a theme.

Service Reference:

Examples:

Calling the deleteTheme operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE', /* required */
  VersionNumber: 'NUMBER_VALUE'
};
quicksight.deleteTheme(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 theme that you're deleting.

    • ThemeId — (String)

      An ID for the theme that you want to delete.

    • VersionNumber — (Integer)

      The version of the theme that you want to delete.

      Note: If you don't provide a version number, you're using this call to DeleteTheme to delete all versions of the theme.

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.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

      • ThemeId — (String)

        An ID for the theme.

Returns:

  • (AWS.Request)

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

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

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

Service Reference:

Examples:

Calling the deleteThemeAlias operation

var params = {
  AliasName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE' /* required */
};
quicksight.deleteThemeAlias(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 theme alias to delete.

    • ThemeId — (String)

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

    • AliasName — (String)

      The unique name for the theme alias to delete.

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:

      • AliasName — (String)

        The name for the theme alias.

      • Arn — (String)

        The Amazon Resource Name (ARN) of the theme resource using the deleted alias.

      • RequestId — (String)

        The AWS request ID for this operation.

      • Status — (Integer)

        The HTTP status of the request.

      • ThemeId — (String)

        An ID for the theme associated with the deletion.

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.

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

Describes the customizations associated with the provided AWS account and Amazon QuickSight namespace in an AWS Region. The QuickSight console evaluates which customizations to apply by running this API operation with the Resolved flag included.

To determine what customizations display when you run this command, it can help to visualize the relationship of the entities involved.

  • AWS Account - The AWS account exists at the top of the hierarchy. It has the potential to use all of the AWS Regions and AWS Services. When you subscribe to QuickSight, you choose one AWS Region to use as your home Region. That's where your free SPICE capacity is located. You can use QuickSight in any supported AWS Region.

  • AWS Region - In each AWS Region where you sign in to QuickSight at least once, QuickSight acts as a separate instance of the same service. If you have a user directory, it resides in us-east-1, which is the US East (N. Virginia). Generally speaking, these users have access to QuickSight in any AWS Region, unless they are constrained to a namespace.

    To run the command in a different AWS Region, you change your Region settings. If you're using the AWS CLI, you can use one of the following options:

  • Namespace - A QuickSight namespace is a partition that contains users and assets (data sources, datasets, dashboards, and so on). To access assets that are in a specific namespace, users and groups must also be part of the same namespace. People who share a namespace are completely isolated from users and assets in other namespaces, even if they are in the same AWS account and AWS Region.

  • Applied customizations - Within an AWS Region, a set of QuickSight customizations can apply to an AWS account or to a namespace. Settings that you apply to a namespace override settings that you apply to an AWS account. All settings are isolated to a single AWS Region. To apply them in other AWS Regions, run the CreateAccountCustomization command in each AWS Region where you want to apply the same customizations.

Service Reference:

Examples:

Calling the describeAccountCustomization operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE',
  Resolved: true || false
};
quicksight.describeAccountCustomization(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 you want to describe QuickSight customizations for.

    • Namespace — (String)

      The QuickSight namespace that you want to describe QuickSight customizations for.

    • Resolved — (Boolean)

      The Resolved flag works with the other parameters to determine which view of QuickSight customizations is returned. You can add this flag to your command to use the same view that QuickSight uses to identify which customizations to apply to the console. Omit this flag, or set it to no-resolved, to reveal customizations that are configured at different levels.

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 customization that's associated with this AWS account.

      • AwsAccountId — (String)

        The ID for the AWS account that you're describing.

      • Namespace — (String)

        The QuickSight namespace that you're describing.

      • AccountCustomization — (map)

        The QuickSight customizations that exist in the current AWS Region.

        • DefaultTheme — (String)

          The default theme for this QuickSight subscription.

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

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

Describes the settings that were used when your QuickSight subscription was first created in this AWS account.

Service Reference:

Examples:

Calling the describeAccountSettings operation

var params = {
  AwsAccountId: 'STRING_VALUE' /* required */
};
quicksight.describeAccountSettings(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 settings that you want to list.

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:

      • AccountSettings — (map)

        The QuickSight settings for this AWS account. This information includes the edition of Amazon QuickSight that you subscribed to (Standard or Enterprise) and the notification email for the QuickSight subscription. In the QuickSight console, the QuickSight subscription is sometimes referred to as a QuickSight "account" even though it's technically not an account by itself. Instead, it's a subscription to the QuickSight service for your AWS account. The edition that you subscribe to applies to QuickSight in every AWS Region where you use it.

        • AccountName — (String)

          The "account name" you provided for the QuickSight subscription in your AWS account. You create this name when you sign up for QuickSight. It is unique in all of AWS and it appears only in the console when users sign in.

        • Edition — (String)

          The edition of QuickSight that you're currently subscribed to: Enterprise edition or Standard edition.

          Possible values include:
          • "STANDARD"
          • "ENTERPRISE"
        • DefaultNamespace — (String)

          The default QuickSight namespace for your AWS account.

        • NotificationEmail — (String)

          The main notification email for your QuickSight subscription.

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

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

Provides a summary of the metadata for an analysis.

Service Reference:

Examples:

Calling the describeAnalysis operation

var params = {
  AnalysisId: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE' /* required */
};
quicksight.describeAnalysis(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 analysis. You must be using the AWS account that the analysis is in.

    • AnalysisId — (String)

      The ID of the analysis that you're describing. The ID is part of the URL of the analysis.

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:

      • Analysis — (map)

        A metadata structure that contains summary information for the analysis that you're describing.

        • AnalysisId — (String)

          The ID of the analysis.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the analysis.

        • Name — (String)

          The descriptive name of the analysis.

        • Status — (String)

          Status associated with the analysis.

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

          Errors associated with the analysis.

          • Type — (String)

            The type of the analysis error.

            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)

            The message associated with the analysis error.

        • DataSetArns — (Array<String>)

          The ARNs of the datasets of the analysis.

        • ThemeArn — (String)

          The ARN of the theme of the analysis.

        • CreatedTime — (Date)

          The time that the analysis was created.

        • LastUpdatedTime — (Date)

          The time that the analysis was last updated.

        • Sheets — (Array<map>)

          A list of the associated sheets with the unique identifier and name of each sheet.

          • SheetId — (String)

            The unique identifier associated with a sheet.

          • Name — (String)

            The name of a sheet. This is displayed on the sheet's tab in the QuickSight console.

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

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

Provides the read and write permissions for an analysis.

Service Reference:

Examples:

Calling the describeAnalysisPermissions operation

var params = {
  AnalysisId: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE' /* required */
};
quicksight.describeAnalysisPermissions(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 analysis whose permissions you're describing. You must be using the AWS account that the analysis is in.

    • AnalysisId — (String)

      The ID of the analysis whose permissions you're describing. The ID is part of the analysis URL.

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:

      • AnalysisId — (String)

        The ID of the analysis whose permissions you're describing.

      • AnalysisArn — (String)

        The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.

      • Permissions — (Array<map>)

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

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

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

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 associated with this dashboard version.

            • 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 for this version of the dashboard.

          • 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"
            • "DELETED"
          • 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 this version of the dashboard.

          • Description — (String)

            Description.

          • ThemeArn — (String)

            The ARN of the theme associated with a version of the dashboard.

          • Sheets — (Array<map>)

            A list of the associated sheets with the unique identifier and name of each sheet.

            • SheetId — (String)

              The unique identifier associated with a sheet.

            • Name — (String)

              The name of a sheet. This is displayed on the sheet's tab in the QuickSight console.

        • 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 the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

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

          • Namespace — (String)

            The namespace associated with the row-level permissions 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 the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

          The IAM 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"
          • "DELETED"
        • 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.

        • AlternateDataSourceParameters — (Array<map>)

          A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allowlist. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters list is null, the Credentials originally used with this DataSourceParameters are automatically allowed.

          • 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:
            • "ACCESS_DENIED"
            • "COPY_SOURCE_NOT_FOUND"
            • "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 the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

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

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

Describes the current namespace.

Service Reference:

Examples:

Calling the describeNamespace operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE' /* required */
};
quicksight.describeNamespace(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 QuickSight namespace that you want to describe.

    • Namespace — (String)

      The namespace that you want to describe.

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:

      • Namespace — (map)

        The information about the namespace that you're describing. The response includes the namespace ARN, name, AWS Region, creation status, and identity store. DescribeNamespace also works for namespaces that are in the process of being created. For incomplete namespaces, this API operation lists the namespace error types and messages associated with the creation process.

        • Name — (String)

          The name of the error.

        • Arn — (String)

          The namespace ARN.

        • CapacityRegion — (String)

          The namespace AWS Region.

        • CreationStatus — (String)

          The creation status of a namespace that is not yet completely created.

          Possible values include:
          • "CREATED"
          • "CREATING"
          • "DELETING"
          • "RETRYABLE_FAILURE"
          • "NON_RETRYABLE_FAILURE"
        • IdentityStore — (String)

          The identity store used for the namespace.

          Possible values include:
          • "QUICKSIGHT"
        • NamespaceError — (map)

          An error that occurred when the namespace was created.

          • Type — (String)

            The error type.

            Possible values include:
            • "PERMISSION_DENIED"
            • "INTERNAL_SERVICE_ERROR"
          • Message — (String)

            The message for the error.

      • 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 this template version.

            • Type — (String)

              Type of error.

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

              Description of the error type.

          • VersionNumber — (Integer)

            The version number of the template version.

          • 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"
            • "DELETED"
          • DataSetConfigurations — (Array<map>)

            Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.

            • 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 an analysis or template that was used to create this template.

          • ThemeArn — (String)

            The ARN of the theme associated with this version of the template.

          • Sheets — (Array<map>)

            A list of the associated sheets with the unique identifier and name of each sheet.

            • SheetId — (String)

              The unique identifier associated with a sheet.

            • Name — (String)

              The name of a sheet. This is displayed on the sheet's tab in the QuickSight console.

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

      • RequestId — (String)

        The AWS request ID for this operation.

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 the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

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

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

Describes a theme.

Service Reference:

Examples:

Calling the describeTheme operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE', /* required */
  AliasName: 'STRING_VALUE',
  VersionNumber: 'NUMBER_VALUE'
};
quicksight.describeTheme(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 theme that you're describing.

    • ThemeId — (String)

      The ID for the theme.

    • VersionNumber — (Integer)

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

    • AliasName — (String)

      The alias of the theme 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 theme by providing the keyword $LATEST in the AliasName parameter. The keyword $PUBLISHED doesn't apply to themes.

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:

      • Theme — (map)

        The information about the theme that you are describing.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the theme.

        • Name — (String)

          The name that the user gives to the theme.

        • ThemeId — (String)

          The identifier that the user gives to the theme.

        • Version — (map)

          A version of a theme.

          • VersionNumber — (Integer)

            The version number of the theme.

          • Arn — (String)

            The Amazon Resource Name (ARN) of the resource.

          • Description — (String)

            The description of the theme.

          • BaseThemeId — (String)

            The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All themes initially inherit from a default QuickSight theme.

          • CreatedTime — (Date)

            The date and time that this theme version was created.

          • Configuration — (map)

            The theme configuration, which contains all the theme display properties.

            • DataColorPalette — (map)

              Color properties that apply to chart data colors.

              • Colors — (Array<String>)

                The hexadecimal codes for the colors.

              • MinMaxGradient — (Array<String>)

                The minimum and maximum hexadecimal codes that describe a color gradient.

              • EmptyFillColor — (String)

                The hexadecimal code of a color that applies to charts where a lack of data is highlighted.

            • UIColorPalette — (map)

              Color properties that apply to the UI and to charts, excluding the colors that apply to data.

              • PrimaryForeground — (String)

                The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.

              • PrimaryBackground — (String)

                The background color that applies to visuals and other high emphasis UI.

              • SecondaryForeground — (String)

                The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.

              • SecondaryBackground — (String)

                The background color that applies to the sheet background and sheet controls.

              • Accent — (String)

                This color is that applies to selected states and buttons.

              • AccentForeground — (String)

                The foreground color that applies to any text or other elements that appear over the accent color.

              • Danger — (String)

                The color that applies to error messages.

              • DangerForeground — (String)

                The foreground color that applies to any text or other elements that appear over the error color.

              • Warning — (String)

                This color that applies to warning and informational messages.

              • WarningForeground — (String)

                The foreground color that applies to any text or other elements that appear over the warning color.

              • Success — (String)

                The color that applies to success messages, for example the check mark for a successful download.

              • SuccessForeground — (String)

                The foreground color that applies to any text or other elements that appear over the success color.

              • Dimension — (String)

                The color that applies to the names of fields that are identified as dimensions.

              • DimensionForeground — (String)

                The foreground color that applies to any text or other elements that appear over the dimension color.

              • Measure — (String)

                The color that applies to the names of fields that are identified as measures.

              • MeasureForeground — (String)

                The foreground color that applies to any text or other elements that appear over the measure color.

            • Sheet — (map)

              Display options related to sheets.

              • Tile — (map)

                The display options for tiles.

                • Border — (map)

                  The border around a tile.

                  • Show — (Boolean)

                    The option to enable display of borders for visuals.

              • TileLayout — (map)

                The layout options for tiles.

                • Gutter — (map)

                  The gutter settings that apply between tiles.

                  • Show — (Boolean)

                    This Boolean value controls whether to display a gutter space between sheet tiles.

                • Margin — (map)

                  The margin settings that apply around the outside edge of sheets.

                  • Show — (Boolean)

                    This Boolean value controls whether to display sheet margins.

          • Errors — (Array<map>)

            Errors associated with the theme.

            • Type — (String)

              The type of error.

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

              The error message.

          • Status — (String)

            The status of the theme version.

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

          The date and time that the theme was created.

        • LastUpdatedTime — (Date)

          The date and time that the theme was last updated.

        • Type — (String)

          The type of theme, based on how it was created. Valid values include: QUICKSIGHT and CUSTOM.

          Possible values include:
          • "QUICKSIGHT"
          • "CUSTOM"
          • "ALL"
      • 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.

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

Describes the alias for a theme.

Service Reference:

Examples:

Calling the describeThemeAlias operation

var params = {
  AliasName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE' /* required */
};
quicksight.describeThemeAlias(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 theme alias that you're describing.

    • ThemeId — (String)

      The ID for the theme.

    • AliasName — (String)

      The name of the theme alias that you want to describe.

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:

      • ThemeAlias — (map)

        Information about the theme alias.

        • Arn — (String)

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

        • AliasName — (String)

          The display name of the theme alias.

        • ThemeVersionNumber — (Integer)

          The version number of the theme 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.

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

Describes the read and write permissions for a theme.

Service Reference:

Examples:

Calling the describeThemePermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE' /* required */
};
quicksight.describeThemePermissions(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 theme that you're describing.

    • ThemeId — (String)

      The ID for the theme that you want to describe permissions 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:

      • ThemeId — (String)

        The ID for the theme.

      • ThemeArn — (String)

        The Amazon Resource Name (ARN) of the theme.

      • Permissions — (Array<map>)

        A list of resource permissions set on the theme.

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

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

        • CustomPermissionsName — (String)

          The custom permissions profile associated with this 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 session URL and authorization code that you can use to embed an Amazon QuickSight read-only dashboard in your web server code. Before you use this command, make sure that you have configured the dashboards and permissions.

Currently, you can use GetDashboardEmbedURL only from the server, not from the user's browser. The following rules apply to the combination of URL and authorization code:

  • They must be used together.

  • They can be used one time only.

  • They are valid for 5 minutes after you run this command.

  • The resulting user session is valid for 10 hours.

For more information, see Embedding Amazon QuickSight in the Amazon QuickSight User Guide .

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.

      Omit this parameter for users in the third group – IAM users and IAM role-based sessions.

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)

        A single-use URL that you can put into your server-side webpage to embed your dashboard. This URL is valid for 5 minutes. The API operation provides the URL with an auth_code value that enables one (and only one) sign-on to a user session that is valid for 10 hours.

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

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

Generates a session URL and authorization code that you can use to embed the Amazon QuickSight console in your web server code. Use GetSessionEmbedUrl where you want to provide an authoring portal that allows users to create data sources, datasets, analyses, and dashboards. The users who access an embedded QuickSight console need belong to the author or admin security cohort. If you want to restrict permissions to some of these features, add a custom permissions profile to the user with the UpdateUser API operation. Use RegisterUser API operation to add a new user with a custom permission profile attached. For more information, see the following sections in the Amazon QuickSight User Guide:

Service Reference:

Examples:

Calling the getSessionEmbedUrl operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  EntryPoint: 'STRING_VALUE',
  SessionLifetimeInMinutes: 'NUMBER_VALUE',
  UserArn: 'STRING_VALUE'
};
quicksight.getSessionEmbedUrl(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 associated with your QuickSight subscription.

    • EntryPoint — (String)

      The URL you use to access the embedded session. The entry point URL is constrained to the following paths:

      • /start

      • /start/analyses

      • /start/dashboards

      • /start/favorites

      • /dashboards/DashboardId - where DashboardId is the actual ID key from the QuickSight console URL of the dashboard

      • /analyses/AnalysisId - where AnalysisId is the actual ID key from the QuickSight console URL of the analysis

    • SessionLifetimeInMinutes — (Integer)

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

    • UserArn — (String)

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

      1. Active Directory (AD) users or group members

      2. Invited nonfederated users

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

      Omit this parameter for users in the third group – IAM users and IAM role-based sessions.

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)

        A single-use URL that you can put into your server-side web page to embed your QuickSight session. This URL is valid for 5 minutes. The API operation provides the URL with an auth_code value that enables one (and only one) sign-on to a user session that is valid for 10 hours.

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

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

Lists Amazon QuickSight analyses that exist in the specified AWS account.

Service Reference:

Examples:

Calling the listAnalyses operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listAnalyses(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 analyses.

    • NextToken — (String)

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

    • MaxResults — (Integer)

      The maximum number of results to return.

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:

      • AnalysisSummaryList — (Array<map>)

        Metadata describing each of the analyses that are listed.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the analysis.

        • AnalysisId — (String)

          The ID of the analysis. This ID displays in the URL.

        • Name — (String)

          The name of the analysis. This name is displayed in the QuickSight console.

        • Status — (String)

          The last known status for the analysis.

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

          The time that the analysis was created.

        • LastUpdatedTime — (Date)

          The time that the analysis was last updated.

      • NextToken — (String)

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

      • 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"
          • "DELETED"
        • 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.

          • Namespace — (String)

            The namespace associated with the row-level permissions 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"
          • "DELETED"
        • 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.

        • AlternateDataSourceParameters — (Array<map>)

          A set of alternate data source parameters that you want to share for the credentials stored with this data source. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allowlist. If the structures are an exact match, the request is allowed to use the credentials from this existing data source. If the AlternateDataSourceParameters list is null, the Credentials originally used with this DataSourceParameters are automatically allowed.

          • 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:
            • "ACCESS_DENIED"
            • "COPY_SOURCE_NOT_FOUND"
            • "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.

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

Lists the namespaces for the specified AWS account.

Service Reference:

Examples:

Calling the listNamespaces operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listNamespaces(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 QuickSight namespaces that you want to list.

    • NextToken — (String)

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

    • MaxResults — (Integer)

      The maximum number of results to return.

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:

      • Namespaces — (Array<map>)

        The information about the namespaces in this AWS account. The response includes the namespace ARN, name, AWS Region, notification email address, creation status, and identity store.

        • Name — (String)

          The name of the error.

        • Arn — (String)

          The namespace ARN.

        • CapacityRegion — (String)

          The namespace AWS Region.

        • CreationStatus — (String)

          The creation status of a namespace that is not yet completely created.

          Possible values include:
          • "CREATED"
          • "CREATING"
          • "DELETING"
          • "RETRYABLE_FAILURE"
          • "NON_RETRYABLE_FAILURE"
        • IdentityStore — (String)

          The identity store used for the namespace.

          Possible values include:
          • "QUICKSIGHT"
        • NamespaceError — (map)

          An error that occurred when the namespace was created.

          • Type — (String)

            The error type.

            Possible values include:
            • "PERMISSION_DENIED"
            • "INTERNAL_SERVICE_ERROR"
          • Message — (String)

            The message for the error.

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

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"
          • "DELETED"
        • 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.

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

Lists all the aliases of a theme.

Service Reference:

Examples:

Calling the listThemeAliases operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listThemeAliases(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 theme aliases that you're listing.

    • ThemeId — (String)

      The ID for the theme.

    • 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:

      • ThemeAliasList — (Array<map>)

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

        • Arn — (String)

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

        • AliasName — (String)

          The display name of the theme alias.

        • ThemeVersionNumber — (Integer)

          The version number of the theme 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.

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

Lists all the themes in the current AWS account.

Service Reference:

Examples:

Calling the listThemes operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  Type: QUICKSIGHT | CUSTOM | ALL
};
quicksight.listThemes(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 themes 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.

    • Type — (String)

      The type of themes that you want to list. Valid options include the following:

      • ALL (default)- Display all existing themes.

      • CUSTOM - Display only the themes created by people using Amazon QuickSight.

      • QUICKSIGHT - Display only the starting themes defined by QuickSight.

      Possible values include:
      • "QUICKSIGHT"
      • "CUSTOM"
      • "ALL"

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:

      • ThemeSummaryList — (Array<map>)

        Information about the themes in the list.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the resource.

        • Name — (String)

          the display name for the theme.

        • ThemeId — (String)

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

        • LatestVersionNumber — (Integer)

          The latest version number for the theme.

        • CreatedTime — (Date)

          The date and time that this theme was created.

        • LastUpdatedTime — (Date)

          The last date and time that this theme 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.

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

Lists all the versions of the themes in the current AWS account.

Service Reference:

Examples:

Calling the listThemeVersions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.listThemeVersions(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 themes that you're listing.

    • ThemeId — (String)

      The ID for the theme.

    • 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:

      • ThemeVersionSummaryList — (Array<map>)

        A structure containing a list of all the versions of the specified theme.

        • VersionNumber — (Integer)

          The version number of the theme version.

        • Arn — (String)

          The Amazon Resource Name (ARN) of the theme version.

        • Description — (String)

          The description of the theme version.

        • CreatedTime — (Date)

          The date and time that this theme version was created.

        • Status — (String)

          The status of the theme version.

          Possible values include:
          • "CREATION_IN_PROGRESS"
          • "CREATION_SUCCESSFUL"
          • "CREATION_FAILED"
          • "UPDATE_IN_PROGRESS"
          • "UPDATE_SUCCESSFUL"
          • "UPDATE_FAILED"
          • "DELETED"
      • 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.

        • CustomPermissionsName — (String)

          The custom permissions profile associated with this 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 */
  CustomPermissionsName: 'STRING_VALUE',
  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.

    • CustomPermissionsName — (String)

      (Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

      • Create and update data sources

      • Create and update datasets

      • Create and update email reports

      • Subscribe to email reports

      To add custom permissions to an existing user, use UpdateUser instead.

      A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a QuickSight user.

      QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning QuickSight users to one of the default security cohorts in QuickSight (admin, author, reader).

      This feature is available only to QuickSight Enterprise edition subscriptions that use SAML 2.0-Based Federation for Single Sign-On (SSO).

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's 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.

        • CustomPermissionsName — (String)

          The custom permissions profile associated with this 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.

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

Restores an analysis.

Service Reference:

Examples:

Calling the restoreAnalysis operation

var params = {
  AnalysisId: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE' /* required */
};
quicksight.restoreAnalysis(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 analysis.

    • AnalysisId — (String)

      The ID of the analysis that you're restoring.

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 Amazon Resource Name (ARN) of the analysis that you're restoring.

      • AnalysisId — (String)

        The ID of the analysis that you're restoring.

      • RequestId — (String)

        The AWS request ID for this operation.

Returns:

  • (AWS.Request)

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

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

Searches for analyses that belong to the user specified in the filter.

Service Reference:

Examples:

Calling the searchAnalyses operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  Filters: [ /* required */
    {
      Name: QUICKSIGHT_USER,
      Operator: StringEquals,
      Value: 'STRING_VALUE'
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
quicksight.searchAnalyses(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 analyses that you're searching for.

    • Filters — (Array<map>)

      The structure for the search filters that you want to apply to your search.

      • Operator — (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". An example is "arn:aws:quicksight:us-east-1:1:user/default/UserName1".

    • NextToken — (String)

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

    • MaxResults — (Integer)

      The maximum number of results to return.

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:

      • AnalysisSummaryList — (Array<map>)

        Metadata describing the analyses that you searched for.

        • Arn — (String)

          The Amazon Resource Name (ARN) for the analysis.

        • AnalysisId — (String)

          The ID of the analysis. This ID displays in the URL.

        • Name — (String)

          The name of the analysis. This name is displayed in the QuickSight console.

        • Status — (String)

          The last known status for the analysis.

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

          The time that the analysis was created.

        • LastUpdatedTime — (Date)

          The time that the analysis was last updated.

      • NextToken — (String)

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

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

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

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

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

Updates Amazon QuickSight customizations the current AWS Region. Currently, the only customization you can use is a theme.

You can use customizations for your AWS account or, if you specify a namespace, for a QuickSight namespace instead. Customizations that apply to a namespace override customizations that apply to an AWS account. To find out which customizations apply, use the DescribeAccountCustomization API operation.

Service Reference:

Examples:

Calling the updateAccountCustomization operation

var params = {
  AccountCustomization: { /* required */
    DefaultTheme: 'STRING_VALUE'
  },
  AwsAccountId: 'STRING_VALUE', /* required */
  Namespace: 'STRING_VALUE'
};
quicksight.updateAccountCustomization(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 you want to update QuickSight customizations for.

    • Namespace — (String)

      The namespace that you want to update QuickSight customizations for.

    • AccountCustomization — (map)

      The QuickSight customizations you're updating in the current AWS Region.

      • DefaultTheme — (String)

        The default theme for this QuickSight subscription.

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 updated customization for this AWS account.

      • AwsAccountId — (String)

        The ID for the AWS account that you want to update QuickSight customizations for.

      • Namespace — (String)

        The namespace associated with the customization that you're updating.

      • AccountCustomization — (map)

        The QuickSight customizations you're updating in the current AWS Region.

        • DefaultTheme — (String)

          The default theme for this QuickSight subscription.

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

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

Updates the Amazon QuickSight settings in your AWS account.

Service Reference:

Examples:

Calling the updateAccountSettings operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  DefaultNamespace: 'STRING_VALUE', /* required */
  NotificationEmail: 'STRING_VALUE'
};
quicksight.updateAccountSettings(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 QuickSight settings that you want to list.

    • DefaultNamespace — (String)

      The default namespace for this AWS account. Currently, the default is default. AWS Identity and Access Management (IAM) users that register for the first time with QuickSight provide an email that becomes associated with the default namespace.

    • NotificationEmail — (String)

      The email address that you want QuickSight to send notifications to regarding your AWS account or QuickSight subscription.

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.

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

Updates an analysis in Amazon QuickSight

Service Reference:

Examples:

Calling the updateAnalysis operation

var params = {
  AnalysisId: 'STRING_VALUE', /* required */
  AwsAccountId: '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 */
      ]
    }
  },
  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 */
    ]
  },
  ThemeArn: 'STRING_VALUE'
};
quicksight.updateAnalysis(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 analysis that you're updating.

    • AnalysisId — (String)

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

    • Name — (String)

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

    • Parameters — (map)

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

      • StringParameters — (Array<map>)

        String parameters.

        • Namerequired — (String)

          A display name for a string parameter.

        • Valuesrequired — (Array<String>)

          The values of a string parameter.

      • IntegerParameters — (Array<map>)

        Integer parameters.

        • Namerequired — (String)

          The name of the integer parameter.

        • Valuesrequired — (Array<Integer>)

          The values for the integer parameter.

      • DecimalParameters — (Array<map>)

        Decimal parameters.

        • Namerequired — (String)

          A display name for the decimal parameter.

        • Valuesrequired — (Array<Float>)

          The values for the decimal parameter.

      • DateTimeParameters — (Array<map>)

        Date-time parameters.

        • Namerequired — (String)

          A display name for the date-time parameter.

        • Valuesrequired — (Array<Date>)

          The values for the date-time parameter.

    • SourceEntity — (map)

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

      • SourceTemplate — (map)

        The source template for the source entity of the analysis.

        • DataSetReferencesrequired — (Array<map>)

          The dataset references of the source template of an analysis.

          • DataSetPlaceholderrequired — (String)

            Dataset placeholder.

          • DataSetArnrequired — (String)

            Dataset Amazon Resource Name (ARN).

        • Arnrequired — (String)

          The Amazon Resource Name (ARN) of the source template of an analysis.

    • ThemeArn — (String)

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

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 of the analysis that you're updating.

      • AnalysisId — (String)

        The ID of the analysis.

      • UpdateStatus — (String)

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

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
        • "DELETED"
      • 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.

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

Updates the read and write permissions for an analysis.

Service Reference:

Examples:

Calling the updateAnalysisPermissions operation

var params = {
  AnalysisId: 'STRING_VALUE', /* required */
  AwsAccountId: '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.updateAnalysisPermissions(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 analysis whose permissions you're updating. You must be using the AWS account that the analysis is in.

    • AnalysisId — (String)

      The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.

    • GrantPermissions — (Array<map>)

      A structure that describes the permissions to add and the principal to add them to.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

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

    • RevokePermissions — (Array<map>)

      A structure that describes the permissions to remove and the principal to remove them from.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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:

      • AnalysisArn — (String)

        The Amazon Resource Name (ARN) of the analysis that you updated.

      • AnalysisId — (String)

        The ID of the analysis that you updated permissions for.

      • Permissions — (Array<map>)

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

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

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

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 */
    ]
  },
  ThemeArn: 'STRING_VALUE',
  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 entity that you are using as a source when you update the dashboard. In SourceEntity, you specify the type of object you're using as source. You can only update a dashboard from a template, so you use a SourceTemplate entity. If you need to update a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate API operation. For SourceTemplate, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplate ARN can contain any AWS Account and any QuickSight-supported AWS Region.

      Use the DataSetReferences entity within SourceTemplate to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

      • 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. These are parameter overrides for a dashboard. A dashboard can have any type of parameters, and some parameters might accept multiple values.

      • StringParameters — (Array<map>)

        String parameters.

        • Namerequired — (String)

          A display name for a string parameter.

        • Valuesrequired — (Array<String>)

          The values of a string parameter.

      • IntegerParameters — (Array<map>)

        Integer parameters.

        • Namerequired — (String)

          The name of the integer parameter.

        • Valuesrequired — (Array<Integer>)

          The values for the integer parameter.

      • DecimalParameters — (Array<map>)

        Decimal parameters.

        • Namerequired — (String)

          A display name for the decimal parameter.

        • Valuesrequired — (Array<Float>)

          The values for the decimal parameter.

      • DateTimeParameters — (Array<map>)

        Date-time parameters.

        • Namerequired — (String)

          A display name for the date-time parameter.

        • Valuesrequired — (Array<Date>)

          The values for the date-time parameter.

    • 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. 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"
    • ThemeArn — (String)

      The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If you add a value for this field, it overrides the value that was originally associated with the entity. The theme ARN must exist in the same AWS account where you create 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:

      • 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"
        • "DELETED"
      • 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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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 the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

          The IAM 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 */
    Namespace: 'STRING_VALUE'
  }
};
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.

      • Namespace — (String)

        The namespace associated with the row-level permissions dataset.

      • 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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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: {
    CopySourceArn: 'STRING_VALUE',
    CredentialPair: {
      Password: 'STRING_VALUE', /* required */
      Username: 'STRING_VALUE', /* required */
      AlternateDataSourceParameters: [
        {
          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 */
          }
        },
        /* more items */
      ]
    }
  },
  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. For more information, see CredentialPair.

        • Usernamerequired — (String)

          User name.

        • Passwordrequired — (String)

          Password.

        • AlternateDataSourceParameters — (Array<map>)

          A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allowlist. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.

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

      • CopySourceArn — (String)

        The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

    • 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"
        • "DELETED"
      • 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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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 entity that you are using as a source when you update the template. In SourceEntity, you specify the type of object you're using as source: SourceTemplate for a template or SourceAnalysis for an analysis. Both of these require an Amazon Resource Name (ARN). For SourceTemplate, specify the ARN of the source template. For SourceAnalysis, specify the ARN of the source analysis. The SourceTemplate ARN can contain any AWS Account and any QuickSight-supported AWS Region.

      Use the DataSetReferences entity within SourceTemplate or SourceAnalysis to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.

      • 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"
        • "DELETED"
      • 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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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 the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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 the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

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

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

Updates a theme.

Service Reference:

Examples:

Calling the updateTheme operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  BaseThemeId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE', /* required */
  Configuration: {
    DataColorPalette: {
      Colors: [
        'STRING_VALUE',
        /* more items */
      ],
      EmptyFillColor: 'STRING_VALUE',
      MinMaxGradient: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    Sheet: {
      Tile: {
        Border: {
          Show: true || false
        }
      },
      TileLayout: {
        Gutter: {
          Show: true || false
        },
        Margin: {
          Show: true || false
        }
      }
    },
    UIColorPalette: {
      Accent: 'STRING_VALUE',
      AccentForeground: 'STRING_VALUE',
      Danger: 'STRING_VALUE',
      DangerForeground: 'STRING_VALUE',
      Dimension: 'STRING_VALUE',
      DimensionForeground: 'STRING_VALUE',
      Measure: 'STRING_VALUE',
      MeasureForeground: 'STRING_VALUE',
      PrimaryBackground: 'STRING_VALUE',
      PrimaryForeground: 'STRING_VALUE',
      SecondaryBackground: 'STRING_VALUE',
      SecondaryForeground: 'STRING_VALUE',
      Success: 'STRING_VALUE',
      SuccessForeground: 'STRING_VALUE',
      Warning: 'STRING_VALUE',
      WarningForeground: 'STRING_VALUE'
    }
  },
  Name: 'STRING_VALUE',
  VersionDescription: 'STRING_VALUE'
};
quicksight.updateTheme(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 theme that you're updating.

    • ThemeId — (String)

      The ID for the theme.

    • Name — (String)

      The name for the theme.

    • BaseThemeId — (String)

      The theme ID, defined by Amazon QuickSight, that a custom theme inherits from. All themes initially inherit from a default QuickSight theme.

    • VersionDescription — (String)

      A description of the theme version that you're updating Every time that you call UpdateTheme, you create a new version of the theme. Each version of the theme maintains a description of the version in VersionDescription.

    • Configuration — (map)

      The theme configuration, which contains the theme display properties.

      • DataColorPalette — (map)

        Color properties that apply to chart data colors.

        • Colors — (Array<String>)

          The hexadecimal codes for the colors.

        • MinMaxGradient — (Array<String>)

          The minimum and maximum hexadecimal codes that describe a color gradient.

        • EmptyFillColor — (String)

          The hexadecimal code of a color that applies to charts where a lack of data is highlighted.

      • UIColorPalette — (map)

        Color properties that apply to the UI and to charts, excluding the colors that apply to data.

        • PrimaryForeground — (String)

          The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.

        • PrimaryBackground — (String)

          The background color that applies to visuals and other high emphasis UI.

        • SecondaryForeground — (String)

          The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.

        • SecondaryBackground — (String)

          The background color that applies to the sheet background and sheet controls.

        • Accent — (String)

          This color is that applies to selected states and buttons.

        • AccentForeground — (String)

          The foreground color that applies to any text or other elements that appear over the accent color.

        • Danger — (String)

          The color that applies to error messages.

        • DangerForeground — (String)

          The foreground color that applies to any text or other elements that appear over the error color.

        • Warning — (String)

          This color that applies to warning and informational messages.

        • WarningForeground — (String)

          The foreground color that applies to any text or other elements that appear over the warning color.

        • Success — (String)

          The color that applies to success messages, for example the check mark for a successful download.

        • SuccessForeground — (String)

          The foreground color that applies to any text or other elements that appear over the success color.

        • Dimension — (String)

          The color that applies to the names of fields that are identified as dimensions.

        • DimensionForeground — (String)

          The foreground color that applies to any text or other elements that appear over the dimension color.

        • Measure — (String)

          The color that applies to the names of fields that are identified as measures.

        • MeasureForeground — (String)

          The foreground color that applies to any text or other elements that appear over the measure color.

      • Sheet — (map)

        Display options related to sheets.

        • Tile — (map)

          The display options for tiles.

          • Border — (map)

            The border around a tile.

            • Show — (Boolean)

              The option to enable display of borders for visuals.

        • TileLayout — (map)

          The layout options for tiles.

          • Gutter — (map)

            The gutter settings that apply between tiles.

            • Show — (Boolean)

              This Boolean value controls whether to display a gutter space between sheet tiles.

          • Margin — (map)

            The margin settings that apply around the outside edge of sheets.

            • Show — (Boolean)

              This Boolean value controls whether to display sheet margins.

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:

      • ThemeId — (String)

        The ID for the theme.

      • Arn — (String)

        The Amazon Resource Name (ARN) for the theme.

      • VersionArn — (String)

        The Amazon Resource Name (ARN) for the new version of the theme.

      • CreationStatus — (String)

        The creation status of the theme.

        Possible values include:
        • "CREATION_IN_PROGRESS"
        • "CREATION_SUCCESSFUL"
        • "CREATION_FAILED"
        • "UPDATE_IN_PROGRESS"
        • "UPDATE_SUCCESSFUL"
        • "UPDATE_FAILED"
        • "DELETED"
      • 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.

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

Updates an alias of a theme.

Service Reference:

Examples:

Calling the updateThemeAlias operation

var params = {
  AliasName: 'STRING_VALUE', /* required */
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: 'STRING_VALUE', /* required */
  ThemeVersionNumber: 'NUMBER_VALUE' /* required */
};
quicksight.updateThemeAlias(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 theme alias that you're updating.

    • ThemeId — (String)

      The ID for the theme.

    • AliasName — (String)

      The name of the theme alias that you want to update.

    • ThemeVersionNumber — (Integer)

      The version number of the theme that the alias should reference.

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:

      • ThemeAlias — (map)

        Information about the theme alias.

        • Arn — (String)

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

        • AliasName — (String)

          The display name of the theme alias.

        • ThemeVersionNumber — (Integer)

          The version number of the theme 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.

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

Updates the resource permissions for a theme. Permissions apply to the action to grant or revoke permissions on, for example "quicksight:DescribeTheme".

Theme permissions apply in groupings. Valid groupings include the following for the three levels of permissions, which are user, owner, or no permissions:

  • User

    • "quicksight:DescribeTheme"

    • "quicksight:DescribeThemeAlias"

    • "quicksight:ListThemeAliases"

    • "quicksight:ListThemeVersions"

  • Owner

    • "quicksight:DescribeTheme"

    • "quicksight:DescribeThemeAlias"

    • "quicksight:ListThemeAliases"

    • "quicksight:ListThemeVersions"

    • "quicksight:DeleteTheme"

    • "quicksight:UpdateTheme"

    • "quicksight:CreateThemeAlias"

    • "quicksight:DeleteThemeAlias"

    • "quicksight:UpdateThemeAlias"

    • "quicksight:UpdateThemePermissions"

    • "quicksight:DescribeThemePermissions"

  • To specify no permissions, omit the permissions list.

Service Reference:

Examples:

Calling the updateThemePermissions operation

var params = {
  AwsAccountId: 'STRING_VALUE', /* required */
  ThemeId: '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.updateThemePermissions(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 theme.

    • ThemeId — (String)

      The ID for the theme.

    • GrantPermissions — (Array<map>)

      A list of resource permissions to be granted for the theme.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

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

    • RevokePermissions — (Array<map>)

      A list of resource permissions to be revoked from the theme.

      • Principalrequired — (String)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

        • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

      • Actionsrequired — (Array<String>)

        The IAM 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:

      • ThemeId — (String)

        The ID for the theme.

      • ThemeArn — (String)

        The Amazon Resource Name (ARN) of the theme.

      • Permissions — (Array<map>)

        The resulting list of resource permissions for the theme.

        • Principalrequired — (String)

          The Amazon Resource Name (ARN) of the principal. This can be one of the following:

          • The ARN of an Amazon QuickSight user, group, or namespace. (This is most common.)

          • The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across AWS accounts. (This is less common.)

        • Actionsrequired — (Array<String>)

          The IAM 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 */
  CustomPermissionsName: 'STRING_VALUE',
  UnapplyCustomPermissions: true || false
};
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 role can be one of the following default security cohorts:

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

      The name of the QuickSight role is invisible to the user except for the console screens dealing with permissions.

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

      (Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Customized permissions allows you to control a user's access by restricting access the following operations:

      • Create and update data sources

      • Create and update datasets

      • Create and update email reports

      • Subscribe to email reports

      A set of custom permissions includes any combination of these restrictions. Currently, you need to create the profile names for custom permission sets by using the QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a QuickSight user.

      QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning QuickSight users to one of the default security cohorts in QuickSight (admin, author, reader).

      This feature is available only to QuickSight Enterprise edition subscriptions that use SAML 2.0-Based Federation for Single Sign-On (SSO).

    • UnapplyCustomPermissions — (Boolean)

      A flag that you use to indicate that you want to remove all custom permissions from this user. Using this parameter resets the user to the state it was in before a custom permissions profile was applied. This parameter defaults to NULL and it doesn't accept any other 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:

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

        • CustomPermissionsName — (String)

          The custom permissions profile associated with this 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.