Class: Aws::S3Control::Types::GetDataAccessResult

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3control/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:credentials]

Instance Attribute Summary collapse

Instance Attribute Details

#credentialsTypes::Credentials

The temporary credential token that S3 Access Grants vends.

Returns:



3171
3172
3173
3174
3175
3176
3177
# File 'lib/aws-sdk-s3control/types.rb', line 3171

class GetDataAccessResult < Struct.new(
  :credentials,
  :matched_grant_target,
  :grantee)
  SENSITIVE = [:credentials]
  include Aws::Structure
end

#granteeTypes::Grantee

The user, group, or role that was granted access to the S3 location scope. For directory identities, this API also returns the grants of the IAM role used for the identity-aware request. For more information on identity-aware sessions, see [Granting permissions to use identity-aware console sessions].

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_sts-setcontext.html

Returns:



3171
3172
3173
3174
3175
3176
3177
# File 'lib/aws-sdk-s3control/types.rb', line 3171

class GetDataAccessResult < Struct.new(
  :credentials,
  :matched_grant_target,
  :grantee)
  SENSITIVE = [:credentials]
  include Aws::Structure
end

#matched_grant_targetString

The S3 URI path of the data to which you are being granted temporary access credentials.

Returns:

  • (String)


3171
3172
3173
3174
3175
3176
3177
# File 'lib/aws-sdk-s3control/types.rb', line 3171

class GetDataAccessResult < Struct.new(
  :credentials,
  :matched_grant_target,
  :grantee)
  SENSITIVE = [:credentials]
  include Aws::Structure
end