Class: Aws::LakeFormation::Types::BatchRevokePermissionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb

Overview

Note:

When making an API call, you may pass BatchRevokePermissionsRequest data as a hash:

{
  catalog_id: "CatalogIdString",
  entries: [ # required
    {
      id: "Identifier", # required
      principal: {
        data_lake_principal_identifier: "DataLakePrincipalString",
      },
      resource: {
        catalog: {
        },
        database: {
          name: "NameString", # required
        },
        table: {
          database_name: "NameString", # required
          name: "NameString", # required
        },
        table_with_columns: {
          database_name: "NameString",
          name: "NameString",
          column_names: ["NameString"],
          column_wildcard: {
            excluded_column_names: ["NameString"],
          },
        },
        data_location: {
          resource_arn: "ResourceArnString", # required
        },
      },
      permissions: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
      permissions_with_grant_option: ["ALL"], # accepts ALL, SELECT, ALTER, DROP, DELETE, INSERT, CREATE_DATABASE, CREATE_TABLE, DATA_LOCATION_ACCESS
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#catalog_idString

The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your AWS Lake Formation environment.

Returns:

  • (String)


234
235
236
237
238
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 234

class BatchRevokePermissionsRequest < Struct.new(
  :catalog_id,
  :entries)
  include Aws::Structure
end

#entriesArray<Types::BatchPermissionsRequestEntry>

A list of up to 20 entries for resource permissions to be revoked by batch operation to the principal.



234
235
236
237
238
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 234

class BatchRevokePermissionsRequest < Struct.new(
  :catalog_id,
  :entries)
  include Aws::Structure
end