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

Description

Updates an Amazon QuickSight user.

Synopsis

Creating a Request

data UpdateUser Source #

See: newUpdateUser smart constructor.

Constructors

UpdateUser' 

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

    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.
    • NONE: This clears all the previously saved external login information for a user. Use the DescribeUser API operation to check the external login information.
  • externalLoginId :: Maybe Text

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

  • unapplyCustomPermissions :: Maybe Bool

    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.

  • userName :: Text

    The Amazon QuickSight user name that you want to update.

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

  • email :: Text

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

  • role' :: UserRole

    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 Amazon QuickSight role is invisible to the user except for the console screens dealing with permissions.

Instances

Instances details
ToJSON UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

ToHeaders UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Methods

toHeaders :: UpdateUser -> [Header] #

ToPath UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

ToQuery UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

AWSRequest UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Associated Types

type AWSResponse UpdateUser #

Generic UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Associated Types

type Rep UpdateUser :: Type -> Type #

Read UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Show UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

NFData UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Methods

rnf :: UpdateUser -> () #

Eq UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Hashable UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

type AWSResponse UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

type Rep UpdateUser Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

type Rep UpdateUser = D1 ('MetaData "UpdateUser" "Amazonka.QuickSight.UpdateUser" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "UpdateUser'" '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 "unapplyCustomPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UserRole))))))

newUpdateUser Source #

Create a value of UpdateUser 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:UpdateUser', updateUser_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.

UpdateUser, updateUser_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

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.

UpdateUser, updateUser_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.
  • NONE: This clears all the previously saved external login information for a user. Use the DescribeUser API operation to check the external login information.

UpdateUser, updateUser_externalLoginId - The identity ID for a user in the external login provider.

$sel:unapplyCustomPermissions:UpdateUser', updateUser_unapplyCustomPermissions - 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.

UpdateUser, updateUser_userName - The Amazon QuickSight user name that you want to update.

UpdateUser, updateUser_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.

UpdateUser, updateUser_namespace - The namespace. Currently, you should set this to default.

UpdateUser, updateUser_email - The email address of the user that you want to update.

UpdateUser, updateUser_role - 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 Amazon QuickSight role is invisible to the user except for the console screens dealing with permissions.

Request Lenses

updateUser_customFederationProviderUrl :: Lens' UpdateUser (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.

updateUser_customPermissionsName :: Lens' UpdateUser (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

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.

updateUser_externalLoginFederationProviderType :: Lens' UpdateUser (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.
  • NONE: This clears all the previously saved external login information for a user. Use the DescribeUser API operation to check the external login information.

updateUser_externalLoginId :: Lens' UpdateUser (Maybe Text) Source #

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

updateUser_unapplyCustomPermissions :: Lens' UpdateUser (Maybe Bool) Source #

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.

updateUser_userName :: Lens' UpdateUser Text Source #

The Amazon QuickSight user name that you want to update.

updateUser_awsAccountId :: Lens' UpdateUser 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.

updateUser_namespace :: Lens' UpdateUser Text Source #

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

updateUser_email :: Lens' UpdateUser Text Source #

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

updateUser_role :: Lens' UpdateUser UserRole Source #

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 Amazon QuickSight role is invisible to the user except for the console screens dealing with permissions.

Destructuring the Response

data UpdateUserResponse Source #

See: newUpdateUserResponse smart constructor.

Constructors

UpdateUserResponse' 

Fields

Instances

Instances details
Generic UpdateUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Associated Types

type Rep UpdateUserResponse :: Type -> Type #

Read UpdateUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Show UpdateUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

NFData UpdateUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

Methods

rnf :: UpdateUserResponse -> () #

Eq UpdateUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

type Rep UpdateUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateUser

type Rep UpdateUserResponse = D1 ('MetaData "UpdateUserResponse" "Amazonka.QuickSight.UpdateUser" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "UpdateUserResponse'" '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 "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateUserResponse Source #

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

$sel:user:UpdateUserResponse', updateUserResponse_user - The Amazon QuickSight user.

UpdateUserResponse, updateUserResponse_status - The HTTP status of the request.

Response Lenses

updateUserResponse_requestId :: Lens' UpdateUserResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

updateUserResponse_status :: Lens' UpdateUserResponse Int Source #

The HTTP status of the request.