Class: Aws::AppFabric::Types::Credential

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

Overview

Note:

Credential is a union - when making an API calls you must set exactly one of the members.

Contains credential information for an application.

Direct Known Subclasses

ApiKeyCredential, Oauth2Credential, Unknown

Defined Under Namespace

Classes: ApiKeyCredential, Oauth2Credential, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_credentialTypes::ApiKeyCredential

Contains API key credential information.



710
711
712
713
714
715
716
717
718
719
720
721
# File 'gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/types.rb', line 710

class Credential < Struct.new(
  :oauth2_credential,
  :api_key_credential,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Oauth2Credential < Credential; end
  class ApiKeyCredential < Credential; end
  class Unknown < Credential; end
end

#oauth2_credentialTypes::Oauth2Credential

Contains OAuth2 client credential information.



710
711
712
713
714
715
716
717
718
719
720
721
# File 'gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/types.rb', line 710

class Credential < Struct.new(
  :oauth2_credential,
  :api_key_credential,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Oauth2Credential < Credential; end
  class ApiKeyCredential < Credential; end
  class Unknown < Credential; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



710
711
712
# File 'gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/types.rb', line 710

def unknown
  @unknown
end