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_credential ⇒ Types::ApiKeyCredential

An API key credential.



5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 5077

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_credential ⇒ Types::OAuthClientCredential

Credentials for an OAuth 2.0 client-credentials grant.



5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 5077

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_credential ⇒ Types::OAuthCodeCredential

Credentials for an OAuth 2.0 authorization-code grant.



5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 5077

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



5077
5078
5079
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 5077

def unknown
  @unknown
end