Class: Aws::CloudWatchOmni::Types::IntegrationCredential
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchOmni::Types::IntegrationCredential
- 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
-
#api_key_credential ⇒ Types::ApiKeyCredential
An API key credential.
-
#oauth_client_credential ⇒ Types::OAuthClientCredential
Credentials for an OAuth 2.0 client-credentials grant.
-
#oauth_code_credential ⇒ Types::OAuthCodeCredential
Credentials for an OAuth 2.0 authorization-code grant.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#api_key_credential ⇒ Types::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_credential ⇒ Types::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_credential ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
2605 2606 2607 |
# File 'gems/aws-sdk-cloudwatchomni/lib/aws-sdk-cloudwatchomni/types.rb', line 2605 def unknown @unknown end |