1.0.9 • Published 5 years ago

fuelplus-insights v1.0.9

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
5 years ago

fuelplus-insights is a small browser library that helps embedding Amazon Quicksight dashboards.

Installation

Install with NPM.

Run npm install fuelplus-insights

Usage

import * as Insights from 'fuelplus-insights';

Insights.initdashboard({
    dashboardId: 'DASHBOARD_ID',
    region: 'AWS_REGION', // for example: eu-central-1
    cognitoIdentityPoolId: 'COGNITO_IDENTITY_POOL_ID', // For example: eu-central-1:xxx-xxxx-xxxx-xxxx
    cognitoAuthenticatedUserPoolId: 'COGNITO_AUTHENTICATED_USER_POOL_ID', // For example: eu-central-1_xxxxxxxxx
    apiGatewayUrl: 'GET_EMBED_URL', // For example: https://xxxxxxxx.execute-api.AWS_REGION.amazonaws.com/prod/getDashboardEmbedURL?
    cognitoAuthenticatedLogins: 'COGNITO_AUTH_LOGINS', // For example: cognito-idp.AWS_REGION.amazonaws.com/COGNITO_AUTHENTICATED_USER_POOL_ID
    userArn: 'USER_ARN', // Fro example: arn:aws:quicksight:AWS_REGION:xxxxxxxxxxx:user/default/Admin/
    token: "COGNITO_ID_TOKEN",
    container: "CONTAINER_CLASS_OR_ID" // For example: .app-data-container
});

```javascript
1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago