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

Description

Updates the read and write permissions for an analysis.

Synopsis

Creating a Request

data UpdateAnalysisPermissions Source #

See: newUpdateAnalysisPermissions smart constructor.

Constructors

UpdateAnalysisPermissions' 

Fields

  • revokePermissions :: Maybe [ResourcePermission]

    A structure that describes the permissions to remove and the principal to remove them from.

  • grantPermissions :: Maybe [ResourcePermission]

    A structure that describes the permissions to add and the principal to add them to.

  • awsAccountId :: Text

    The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.

  • analysisId :: Text

    The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.

Instances

Instances details
Eq UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Read UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Show UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Generic UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Associated Types

type Rep UpdateAnalysisPermissions :: Type -> Type #

NFData UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Hashable UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

ToJSON UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

AWSRequest UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

ToHeaders UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

ToPath UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

ToQuery UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

type Rep UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

type Rep UpdateAnalysisPermissions = D1 ('MetaData "UpdateAnalysisPermissions" "Amazonka.QuickSight.UpdateAnalysisPermissions" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateAnalysisPermissions'" '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 "analysisId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateAnalysisPermissions Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

newUpdateAnalysisPermissions Source #

Create a value of UpdateAnalysisPermissions 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:UpdateAnalysisPermissions', updateAnalysisPermissions_revokePermissions - A structure that describes the permissions to remove and the principal to remove them from.

$sel:grantPermissions:UpdateAnalysisPermissions', updateAnalysisPermissions_grantPermissions - A structure that describes the permissions to add and the principal to add them to.

$sel:awsAccountId:UpdateAnalysisPermissions', updateAnalysisPermissions_awsAccountId - The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.

$sel:analysisId:UpdateAnalysisPermissions', updateAnalysisPermissions_analysisId - The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.

Request Lenses

updateAnalysisPermissions_revokePermissions :: Lens' UpdateAnalysisPermissions (Maybe [ResourcePermission]) Source #

A structure that describes the permissions to remove and the principal to remove them from.

updateAnalysisPermissions_grantPermissions :: Lens' UpdateAnalysisPermissions (Maybe [ResourcePermission]) Source #

A structure that describes the permissions to add and the principal to add them to.

updateAnalysisPermissions_awsAccountId :: Lens' UpdateAnalysisPermissions Text Source #

The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.

updateAnalysisPermissions_analysisId :: Lens' UpdateAnalysisPermissions Text Source #

The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.

Destructuring the Response

data UpdateAnalysisPermissionsResponse Source #

See: newUpdateAnalysisPermissionsResponse smart constructor.

Constructors

UpdateAnalysisPermissionsResponse' 

Fields

Instances

Instances details
Eq UpdateAnalysisPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Read UpdateAnalysisPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Show UpdateAnalysisPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Generic UpdateAnalysisPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

Associated Types

type Rep UpdateAnalysisPermissionsResponse :: Type -> Type #

NFData UpdateAnalysisPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

type Rep UpdateAnalysisPermissionsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.UpdateAnalysisPermissions

type Rep UpdateAnalysisPermissionsResponse = D1 ('MetaData "UpdateAnalysisPermissionsResponse" "Amazonka.QuickSight.UpdateAnalysisPermissions" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "UpdateAnalysisPermissionsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "analysisId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "analysisArn") '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)))))

newUpdateAnalysisPermissionsResponse Source #

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

$sel:analysisId:UpdateAnalysisPermissions', updateAnalysisPermissionsResponse_analysisId - The ID of the analysis that you updated permissions for.

$sel:analysisArn:UpdateAnalysisPermissionsResponse', updateAnalysisPermissionsResponse_analysisArn - The Amazon Resource Name (ARN) of the analysis that you updated.

$sel:permissions:UpdateAnalysisPermissionsResponse', updateAnalysisPermissionsResponse_permissions - A structure that describes the principals and the resource-level permissions on an analysis.

$sel:status:UpdateAnalysisPermissionsResponse', updateAnalysisPermissionsResponse_status - The HTTP status of the request.

Response Lenses

updateAnalysisPermissionsResponse_requestId :: Lens' UpdateAnalysisPermissionsResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

updateAnalysisPermissionsResponse_analysisId :: Lens' UpdateAnalysisPermissionsResponse (Maybe Text) Source #

The ID of the analysis that you updated permissions for.

updateAnalysisPermissionsResponse_analysisArn :: Lens' UpdateAnalysisPermissionsResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the analysis that you updated.

updateAnalysisPermissionsResponse_permissions :: Lens' UpdateAnalysisPermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #

A structure that describes the principals and the resource-level permissions on an analysis.