libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QuickSight.GetSessionEmbedUrl

Description

Generates a session URL and authorization code that you can use to embed the Amazon 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 Amazon 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:

Synopsis

Creating a Request

data GetSessionEmbedUrl Source #

See: newGetSessionEmbedUrl smart constructor.

Constructors

GetSessionEmbedUrl' 

Fields

  • sessionLifetimeInMinutes :: Maybe Natural

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

  • entryPoint :: Maybe Text

    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 Amazon QuickSight console URL of the dashboard
    • /analyses/AnalysisId - where AnalysisId is the actual ID key from the Amazon QuickSight console URL of the analysis
  • userArn :: Maybe Text

    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. Identity and Access Management (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.

  • awsAccountId :: Text

    The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription.

Instances

Instances details
Eq GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Read GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Show GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Generic GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Associated Types

type Rep GetSessionEmbedUrl :: Type -> Type #

NFData GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Methods

rnf :: GetSessionEmbedUrl -> () #

Hashable GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

AWSRequest GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Associated Types

type AWSResponse GetSessionEmbedUrl #

ToHeaders GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

ToPath GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

ToQuery GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

type Rep GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

type Rep GetSessionEmbedUrl = D1 ('MetaData "GetSessionEmbedUrl" "Amazonka.QuickSight.GetSessionEmbedUrl" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "GetSessionEmbedUrl'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sessionLifetimeInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "entryPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetSessionEmbedUrl Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

newGetSessionEmbedUrl Source #

Create a value of GetSessionEmbedUrl with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sessionLifetimeInMinutes:GetSessionEmbedUrl', getSessionEmbedUrl_sessionLifetimeInMinutes - How many minutes the session is valid. The session lifetime must be 15-600 minutes.

$sel:entryPoint:GetSessionEmbedUrl', getSessionEmbedUrl_entryPoint - 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 Amazon QuickSight console URL of the dashboard
  • /analyses/AnalysisId - where AnalysisId is the actual ID key from the Amazon QuickSight console URL of the analysis

$sel:userArn:GetSessionEmbedUrl', getSessionEmbedUrl_userArn - 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. Identity and Access Management (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.

$sel:awsAccountId:GetSessionEmbedUrl', getSessionEmbedUrl_awsAccountId - The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription.

Request Lenses

getSessionEmbedUrl_sessionLifetimeInMinutes :: Lens' GetSessionEmbedUrl (Maybe Natural) Source #

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

getSessionEmbedUrl_entryPoint :: Lens' GetSessionEmbedUrl (Maybe Text) Source #

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 Amazon QuickSight console URL of the dashboard
  • /analyses/AnalysisId - where AnalysisId is the actual ID key from the Amazon QuickSight console URL of the analysis

getSessionEmbedUrl_userArn :: Lens' GetSessionEmbedUrl (Maybe Text) Source #

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. Identity and Access Management (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.

getSessionEmbedUrl_awsAccountId :: Lens' GetSessionEmbedUrl Text Source #

The ID for the Amazon Web Services account associated with your Amazon QuickSight subscription.

Destructuring the Response

data GetSessionEmbedUrlResponse Source #

See: newGetSessionEmbedUrlResponse smart constructor.

Constructors

GetSessionEmbedUrlResponse' 

Fields

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • embedUrl :: Maybe (Sensitive Text)

    A single-use URL that you can put into your server-side web page to embed your Amazon 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 :: Int

    The HTTP status of the request.

Instances

Instances details
Eq GetSessionEmbedUrlResponse Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Show GetSessionEmbedUrlResponse Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Generic GetSessionEmbedUrlResponse Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

Associated Types

type Rep GetSessionEmbedUrlResponse :: Type -> Type #

NFData GetSessionEmbedUrlResponse Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

type Rep GetSessionEmbedUrlResponse Source # 
Instance details

Defined in Amazonka.QuickSight.GetSessionEmbedUrl

type Rep GetSessionEmbedUrlResponse = D1 ('MetaData "GetSessionEmbedUrlResponse" "Amazonka.QuickSight.GetSessionEmbedUrl" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "GetSessionEmbedUrlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "embedUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetSessionEmbedUrlResponse Source #

Create a value of GetSessionEmbedUrlResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:embedUrl:GetSessionEmbedUrlResponse', getSessionEmbedUrlResponse_embedUrl - A single-use URL that you can put into your server-side web page to embed your Amazon 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.

$sel:status:GetSessionEmbedUrlResponse', getSessionEmbedUrlResponse_status - The HTTP status of the request.

Response Lenses

getSessionEmbedUrlResponse_requestId :: Lens' GetSessionEmbedUrlResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

getSessionEmbedUrlResponse_embedUrl :: Lens' GetSessionEmbedUrlResponse (Maybe Text) Source #

A single-use URL that you can put into your server-side web page to embed your Amazon 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.