amazonka-quicksight-2.0: Amazon QuickSight SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.QuickSight.RegisterUser

Description

Creates an Amazon QuickSight user, whose identity is associated with the Identity and Access Management (IAM) identity or role specified in the request.

Synopsis

Creating a Request

data RegisterUser Source #

See: newRegisterUser smart constructor.

Constructors

RegisterUser' 

Fields

  • customFederationProviderUrl :: Maybe Text

    The URL of the custom OpenID Connect (OIDC) provider that provides identity to let a user federate into Amazon QuickSight with an associated Identity and Access Management(IAM) role. This parameter should only be used when ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC.

  • customPermissionsName :: Maybe Text

    (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 Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

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

    This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

  • externalLoginFederationProviderType :: Maybe Text

    The type of supported external login provider that provides identity to let a user federate into Amazon QuickSight with an associated Identity and Access Management(IAM) role. The type of supported external login provider can be one of the following.

    • COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl" parameter which is only needed when the external provider is custom.
    • CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC type, use the CustomFederationProviderUrl parameter to provide the custom OIDC provider URL.
  • externalLoginId :: Maybe Text

    The identity ID for a user in the external login provider.

  • iamArn :: Maybe Text

    The ARN of the IAM user or role that you are registering with Amazon QuickSight.

  • sessionName :: Maybe Text

    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 CLI Reference.

  • userName :: Maybe Text

    The Amazon QuickSight user name that you want to create for the user you are registering.

  • identityType :: IdentityType

    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.
  • email :: Text

    The email address of the user that you want to register.

  • userRole :: UserRole

    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.
  • awsAccountId :: Text

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

  • namespace :: Text

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

Instances

Instances details
ToJSON RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

ToHeaders RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

ToPath RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

ToQuery RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

AWSRequest RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

Associated Types

type AWSResponse RegisterUser #

Generic RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

Associated Types

type Rep RegisterUser :: Type -> Type #

Read RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

Show RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

NFData RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

Methods

rnf :: RegisterUser -> () #

Eq RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

Hashable RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

type AWSResponse RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

type Rep RegisterUser Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

type Rep RegisterUser = D1 ('MetaData "RegisterUser" "Amazonka.QuickSight.RegisterUser" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "RegisterUser'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "customFederationProviderUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "customPermissionsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "externalLoginFederationProviderType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "externalLoginId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "iamArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sessionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "identityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IdentityType) :*: S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "userRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserRole) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newRegisterUser Source #

Create a value of RegisterUser 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:customFederationProviderUrl:RegisterUser', registerUser_customFederationProviderUrl - The URL of the custom OpenID Connect (OIDC) provider that provides identity to let a user federate into Amazon QuickSight with an associated Identity and Access Management(IAM) role. This parameter should only be used when ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC.

RegisterUser, registerUser_customPermissionsName - (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 Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

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

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

RegisterUser, registerUser_externalLoginFederationProviderType - The type of supported external login provider that provides identity to let a user federate into Amazon QuickSight with an associated Identity and Access Management(IAM) role. The type of supported external login provider can be one of the following.

  • COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl" parameter which is only needed when the external provider is custom.
  • CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC type, use the CustomFederationProviderUrl parameter to provide the custom OIDC provider URL.

RegisterUser, registerUser_externalLoginId - The identity ID for a user in the external login provider.

$sel:iamArn:RegisterUser', registerUser_iamArn - The ARN of the IAM user or role that you are registering with Amazon QuickSight.

$sel:sessionName:RegisterUser', registerUser_sessionName - 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 CLI Reference.

RegisterUser, registerUser_userName - The Amazon QuickSight user name that you want to create for the user you are registering.

RegisterUser, registerUser_identityType - 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.

RegisterUser, registerUser_email - The email address of the user that you want to register.

$sel:userRole:RegisterUser', registerUser_userRole - 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.

RegisterUser, registerUser_awsAccountId - The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

RegisterUser, registerUser_namespace - The namespace. Currently, you should set this to default.

Request Lenses

registerUser_customFederationProviderUrl :: Lens' RegisterUser (Maybe Text) Source #

The URL of the custom OpenID Connect (OIDC) provider that provides identity to let a user federate into Amazon QuickSight with an associated Identity and Access Management(IAM) role. This parameter should only be used when ExternalLoginFederationProviderType parameter is set to CUSTOM_OIDC.

registerUser_customPermissionsName :: Lens' RegisterUser (Maybe Text) Source #

(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 Amazon QuickSight console. Then, you use the RegisterUser API operation to assign the named set of permissions to a Amazon QuickSight user.

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

This feature is available only to Amazon QuickSight Enterprise edition subscriptions.

registerUser_externalLoginFederationProviderType :: Lens' RegisterUser (Maybe Text) Source #

The type of supported external login provider that provides identity to let a user federate into Amazon QuickSight with an associated Identity and Access Management(IAM) role. The type of supported external login provider can be one of the following.

  • COGNITO: Amazon Cognito. The provider URL is cognito-identity.amazonaws.com. When choosing the COGNITO provider type, don’t use the "CustomFederationProviderUrl" parameter which is only needed when the external provider is custom.
  • CUSTOM_OIDC: Custom OpenID Connect (OIDC) provider. When choosing CUSTOM_OIDC type, use the CustomFederationProviderUrl parameter to provide the custom OIDC provider URL.

registerUser_externalLoginId :: Lens' RegisterUser (Maybe Text) Source #

The identity ID for a user in the external login provider.

registerUser_iamArn :: Lens' RegisterUser (Maybe Text) Source #

The ARN of the IAM user or role that you are registering with Amazon QuickSight.

registerUser_sessionName :: Lens' RegisterUser (Maybe Text) Source #

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 CLI Reference.

registerUser_userName :: Lens' RegisterUser (Maybe Text) Source #

The Amazon QuickSight user name that you want to create for the user you are registering.

registerUser_identityType :: Lens' RegisterUser IdentityType Source #

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.

registerUser_email :: Lens' RegisterUser Text Source #

The email address of the user that you want to register.

registerUser_userRole :: Lens' RegisterUser UserRole Source #

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.

registerUser_awsAccountId :: Lens' RegisterUser Text Source #

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

registerUser_namespace :: Lens' RegisterUser Text Source #

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

Destructuring the Response

data RegisterUserResponse Source #

See: newRegisterUserResponse smart constructor.

Constructors

RegisterUserResponse' 

Fields

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • user :: Maybe User

    The user's user name.

  • userInvitationUrl :: Maybe Text

    The URL the user visits to complete registration and provide a password. This is returned only for users with an identity type of QUICKSIGHT.

  • status :: Int

    The HTTP status of the request.

Instances

Instances details
Generic RegisterUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

Associated Types

type Rep RegisterUserResponse :: Type -> Type #

Read RegisterUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

Show RegisterUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

NFData RegisterUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

Methods

rnf :: RegisterUserResponse -> () #

Eq RegisterUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

type Rep RegisterUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.RegisterUser

type Rep RegisterUserResponse = D1 ('MetaData "RegisterUserResponse" "Amazonka.QuickSight.RegisterUser" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "RegisterUserResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe User))) :*: (S1 ('MetaSel ('Just "userInvitationUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRegisterUserResponse Source #

Create a value of RegisterUserResponse 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:RegisterUserResponse', registerUserResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:user:RegisterUserResponse', registerUserResponse_user - The user's user name.

$sel:userInvitationUrl:RegisterUserResponse', registerUserResponse_userInvitationUrl - The URL the user visits to complete registration and provide a password. This is returned only for users with an identity type of QUICKSIGHT.

RegisterUserResponse, registerUserResponse_status - The HTTP status of the request.

Response Lenses

registerUserResponse_requestId :: Lens' RegisterUserResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

registerUserResponse_userInvitationUrl :: Lens' RegisterUserResponse (Maybe Text) Source #

The URL the user visits to complete registration and provide a password. This is returned only for users with an identity type of QUICKSIGHT.