Class: Aws::EMRContainers::Types::Credentials

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-emrcontainers/types.rb

Overview

Note:

Credentials is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Credentials corresponding to the set member.

The structure containing the session token being returned.

Direct Known Subclasses

Token, Unknown

Defined Under Namespace

Classes: Token, Unknown

Constant Summary collapse

SENSITIVE =
[:token]

Instance Attribute Summary collapse

Instance Attribute Details

#tokenString

The actual session token being returned.

Returns:

  • (String)


499
500
501
502
503
504
505
506
507
508
# File 'lib/aws-sdk-emrcontainers/types.rb', line 499

class Credentials < Struct.new(
  :token,
  :unknown)
  SENSITIVE = [:token]
  include Aws::Structure
  include Aws::Structure::Union

  class Token < Credentials; end
  class Unknown < Credentials; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



499
500
501
# File 'lib/aws-sdk-emrcontainers/types.rb', line 499

def unknown
  @unknown
end