Skip to content

Get Temporary Glue Partition Credentials

lakeformation_get_temporary_glue_partition_credentials R Documentation

This API is identical to GetTemporaryTableCredentials except that this is used when the target Data Catalog resource is of type Partition

Description

This API is identical to GetTemporaryTableCredentials except that this is used when the target Data Catalog resource is of type Partition. Lake Formation restricts the permission of the vended credentials with the same scope down policy which restricts access to a single Amazon S3 prefix.

Usage

lakeformation_get_temporary_glue_partition_credentials(TableArn,
  Partition, Permissions, DurationSeconds, AuditContext,
  SupportedPermissionTypes)

Arguments

TableArn

[required] The ARN of the partitions' table.

Partition

[required] A list of partition values identifying a single partition.

Permissions

Filters the request based on the user having been granted a list of specified permissions on the requested resource(s).

DurationSeconds

The time period, between 900 and 21,600 seconds, for the timeout of the temporary credentials.

AuditContext

A structure representing context to access a resource (column names, query ID, etc).

SupportedPermissionTypes

A list of supported permission types for the partition. Valid values are COLUMN_PERMISSION and CELL_FILTER_PERMISSION.

Value

A list with the following syntax:

list(
  AccessKeyId = "string",
  SecretAccessKey = "string",
  SessionToken = "string",
  Expiration = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_temporary_glue_partition_credentials(
  TableArn = "string",
  Partition = list(
    Values = list(
      "string"
    )
  ),
  Permissions = list(
    "ALL"|"SELECT"|"ALTER"|"DROP"|"DELETE"|"INSERT"|"DESCRIBE"|"CREATE_DATABASE"|"CREATE_TABLE"|"DATA_LOCATION_ACCESS"|"CREATE_LF_TAG"|"ASSOCIATE"|"GRANT_WITH_LF_TAG_EXPRESSION"
  ),
  DurationSeconds = 123,
  AuditContext = list(
    AdditionalAuditContext = "string"
  ),
  SupportedPermissionTypes = list(
    "COLUMN_PERMISSION"|"CELL_FILTER_PERMISSION"|"NESTED_PERMISSION"|"NESTED_CELL_PERMISSION"
  )
)