Class: Aws::CloudWatchOmni::Types::IntegrationCredential

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

Overview

Note:

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

The credential that an integration uses to authenticate with its external system. Exactly one member is set, matching the integration's authentication type.

Defined Under Namespace

Classes: ApiKeyCredential, OauthClientCredential, OauthCodeCredential, Unknown

Constant Summary collapse

SENSITIVE =
[:oauth_code_credential, :oauth_client_credential, :api_key_credential]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_credentialTypes::ApiKeyCredential

An API key credential.



2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2605

class IntegrationCredential < Struct.new(
  :oauth_code_credential,
  :oauth_client_credential,
  :api_key_credential,
  :unknown)
  SENSITIVE = [:oauth_code_credential, :oauth_client_credential, :api_key_credential]
  include Aws::Structure
  include Aws::Structure::Union

  class OauthCodeCredential < IntegrationCredential; end
  class OauthClientCredential < IntegrationCredential; end
  class ApiKeyCredential < IntegrationCredential; end
  class Unknown < IntegrationCredential; end
end

#oauth_client_credentialTypes::OAuthClientCredential

Credentials for an OAuth 2.0 client-credentials grant.



2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2605

class IntegrationCredential < Struct.new(
  :oauth_code_credential,
  :oauth_client_credential,
  :api_key_credential,
  :unknown)
  SENSITIVE = [:oauth_code_credential, :oauth_client_credential, :api_key_credential]
  include Aws::Structure
  include Aws::Structure::Union

  class OauthCodeCredential < IntegrationCredential; end
  class OauthClientCredential < IntegrationCredential; end
  class ApiKeyCredential < IntegrationCredential; end
  class Unknown < IntegrationCredential; end
end

#oauth_code_credentialTypes::OAuthCodeCredential

Credentials for an OAuth 2.0 authorization-code grant.



2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2605

class IntegrationCredential < Struct.new(
  :oauth_code_credential,
  :oauth_client_credential,
  :api_key_credential,
  :unknown)
  SENSITIVE = [:oauth_code_credential, :oauth_client_credential, :api_key_credential]
  include Aws::Structure
  include Aws::Structure::Union

  class OauthCodeCredential < IntegrationCredential; end
  class OauthClientCredential < IntegrationCredential; end
  class ApiKeyCredential < IntegrationCredential; end
  class Unknown < IntegrationCredential; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2605
2606
2607
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2605

def unknown
  @unknown
end