You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QuickSight::Types::UpdateAnalysisPermissionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateAnalysisPermissionsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  aws_account_id: "AwsAccountId", # required
  analysis_id: "RestrictiveResourceId", # required
  grant_permissions: [
    {
      principal: "Principal", # required
      actions: ["String"], # required
    },
  ],
  revoke_permissions: [
    {
      principal: "Principal", # required
      actions: ["String"], # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#analysis_idString

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

Returns:

  • (String)

    The ID of the analysis whose permissions you\'re updating.

#aws_account_idString

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

Returns:

  • (String)

    The ID of the AWS account that contains the analysis whose permissions you\'re updating.

#grant_permissionsArray<Types::ResourcePermission>

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

Returns:

#revoke_permissionsArray<Types::ResourcePermission>

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

Returns:

  • (Array<Types::ResourcePermission>)

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