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

Description

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

Creating a Request

data UpdateThemePermissions Source #

See: newUpdateThemePermissions smart constructor.

Constructors

UpdateThemePermissions' 

Fields

Instances

Instances details
Eq UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Read UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Show UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Generic UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Associated Types

type Rep UpdateThemePermissions :: Type -> Type #

NFData UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Methods

rnf :: UpdateThemePermissions -> () #

Hashable UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

ToJSON UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

AWSRequest UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Associated Types

type AWSResponse UpdateThemePermissions #

ToHeaders UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

ToPath UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

ToQuery UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

type Rep UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

type Rep UpdateThemePermissions = D1 ('MetaData "UpdateThemePermissions" "Amazonka.QuickSight.UpdateThemePermissions" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateThemePermissions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "revokePermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourcePermission])) :*: S1 ('MetaSel ('Just "grantPermissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourcePermission]))) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "themeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateThemePermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

newUpdateThemePermissions Source #

Create a value of UpdateThemePermissions 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:revokePermissions:UpdateThemePermissions', updateThemePermissions_revokePermissions - A list of resource permissions to be revoked from the theme.

$sel:grantPermissions:UpdateThemePermissions', updateThemePermissions_grantPermissions - A list of resource permissions to be granted for the theme.

$sel:awsAccountId:UpdateThemePermissions', updateThemePermissions_awsAccountId - The ID of the Amazon Web Services account that contains the theme.

$sel:themeId:UpdateThemePermissions', updateThemePermissions_themeId - The ID for the theme.

Request Lenses

updateThemePermissions_revokePermissions :: Lens' UpdateThemePermissions (Maybe [ResourcePermission]) Source #

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

updateThemePermissions_grantPermissions :: Lens' UpdateThemePermissions (Maybe [ResourcePermission]) Source #

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

updateThemePermissions_awsAccountId :: Lens' UpdateThemePermissions Text Source #

The ID of the Amazon Web Services account that contains the theme.

Destructuring the Response

data UpdateThemePermissionsResponse Source #

See: newUpdateThemePermissionsResponse smart constructor.

Constructors

UpdateThemePermissionsResponse' 

Fields

Instances

Instances details
Eq UpdateThemePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Read UpdateThemePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Show UpdateThemePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Generic UpdateThemePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

Associated Types

type Rep UpdateThemePermissionsResponse :: Type -> Type #

NFData UpdateThemePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

type Rep UpdateThemePermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateThemePermissions

type Rep UpdateThemePermissionsResponse = D1 ('MetaData "UpdateThemePermissionsResponse" "Amazonka.QuickSight.UpdateThemePermissions" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateThemePermissionsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "themeArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "themeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty ResourcePermission))) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateThemePermissionsResponse Source #

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

$sel:themeArn:UpdateThemePermissionsResponse', updateThemePermissionsResponse_themeArn - The Amazon Resource Name (ARN) of the theme.

$sel:themeId:UpdateThemePermissions', updateThemePermissionsResponse_themeId - The ID for the theme.

$sel:permissions:UpdateThemePermissionsResponse', updateThemePermissionsResponse_permissions - The resulting list of resource permissions for the theme.

$sel:status:UpdateThemePermissionsResponse', updateThemePermissionsResponse_status - The HTTP status of the request.

Response Lenses

updateThemePermissionsResponse_requestId :: Lens' UpdateThemePermissionsResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.