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

Class: Aws::LakeFormation::Types::BatchPermissionsRequestEntry

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 BatchPermissionsRequestEntry data as a hash:

{
  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
}

A permission to a resource granted by batch operation to the principal.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

A unique identifier for the batch permissions request entry.

Returns:

  • (String)


172
173
174
175
176
177
178
179
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 172

class BatchPermissionsRequestEntry < Struct.new(
  :id,
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option)
  include Aws::Structure
end

#permissionsArray<String>

The permissions to be granted.

Returns:

  • (Array<String>)


172
173
174
175
176
177
178
179
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 172

class BatchPermissionsRequestEntry < Struct.new(
  :id,
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option)
  include Aws::Structure
end

#permissions_with_grant_optionArray<String>

Indicates if the option to pass permissions is granted.

Returns:

  • (Array<String>)


172
173
174
175
176
177
178
179
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 172

class BatchPermissionsRequestEntry < Struct.new(
  :id,
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option)
  include Aws::Structure
end

#principalTypes::DataLakePrincipal

The principal to be granted a permission.



172
173
174
175
176
177
178
179
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 172

class BatchPermissionsRequestEntry < Struct.new(
  :id,
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option)
  include Aws::Structure
end

#resourceTypes::Resource

The resource to which the principal is to be granted a permission.

Returns:



172
173
174
175
176
177
178
179
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 172

class BatchPermissionsRequestEntry < Struct.new(
  :id,
  :principal,
  :resource,
  :permissions,
  :permissions_with_grant_option)
  include Aws::Structure
end