Class: Aws::LakeFormation::Types::GetTemporaryDataLocationCredentialsResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accessible_data_locationsArray<String>

Refers to the Amazon S3 locations that can be accessed through the GetTemporaryCredentialsForLocation API operation.

Returns:

  • (Array<String>)


1884
1885
1886
1887
1888
1889
1890
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1884

class GetTemporaryDataLocationCredentialsResponse < Struct.new(
  :credentials,
  :accessible_data_locations,
  :credentials_scope)
  SENSITIVE = []
  include Aws::Structure
end

#credentialsTypes::TemporaryCredentials

A temporary set of credentials for an Lake Formation user. These credentials are scoped down to only access the raw data sources that the user has access to.

The temporary security credentials consist of an access key and a session token. The access key consists of an access key ID and a secret key. When the credentials are created, they are associated with an IAM access control policy that limits what the user can do when using the credentials.



1884
1885
1886
1887
1888
1889
1890
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1884

class GetTemporaryDataLocationCredentialsResponse < Struct.new(
  :credentials,
  :accessible_data_locations,
  :credentials_scope)
  SENSITIVE = []
  include Aws::Structure
end

#credentials_scopeString

The credential scope is determined by the caller's Lake Formation permission on the associated table. Credential scope can be either:

  • READ - Provides read-only access to the data location.

  • READ_WRITE - Provides both read and write access to the data location.

Returns:

  • (String)


1884
1885
1886
1887
1888
1889
1890
# File 'gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/types.rb', line 1884

class GetTemporaryDataLocationCredentialsResponse < Struct.new(
  :credentials,
  :accessible_data_locations,
  :credentials_scope)
  SENSITIVE = []
  include Aws::Structure
end