Class: Aws::AppFabric::Types::Credential
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppFabric::Types::Credential
- 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
Defined Under Namespace
Classes: ApiKeyCredential, Oauth2Credential, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#api_key_credential ⇒ Types::ApiKeyCredential
Contains API key credential information.
-
#oauth2_credential ⇒ Types::Oauth2Credential
Contains OAuth2 client credential information.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#api_key_credential ⇒ Types::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_credential ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
710 711 712 |
# File 'gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/types.rb', line 710 def unknown @unknown end |