Class: Aws::BedrockAgentCoreControl::Types::CredentialProvider
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::CredentialProvider
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb
Overview
CredentialProvider is a union - when making an API calls you must set exactly one of the members.
CredentialProvider is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CredentialProvider corresponding to the set member.
A credential provider for gateway authentication. This structure contains the configuration for authenticating with the target endpoint.
Direct Known Subclasses
Defined Under Namespace
Classes: ApiKeyCredentialProvider, OauthCredentialProvider, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#api_key_credential_provider ⇒ Types::ApiKeyCredentialProvider
The API key credential provider.
-
#oauth_credential_provider ⇒ Types::OAuthCredentialProvider
The OAuth credential provider.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#api_key_credential_provider ⇒ Types::ApiKeyCredentialProvider
The API key credential provider. This provider uses an API key to authenticate with the target endpoint.
1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1260 class CredentialProvider < Struct.new( :oauth_credential_provider, :api_key_credential_provider, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class OauthCredentialProvider < CredentialProvider; end class ApiKeyCredentialProvider < CredentialProvider; end class Unknown < CredentialProvider; end end |
#oauth_credential_provider ⇒ Types::OAuthCredentialProvider
The OAuth credential provider. This provider uses OAuth authentication to access the target endpoint.
1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1260 class CredentialProvider < Struct.new( :oauth_credential_provider, :api_key_credential_provider, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class OauthCredentialProvider < CredentialProvider; end class ApiKeyCredentialProvider < CredentialProvider; end class Unknown < CredentialProvider; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1260 1261 1262 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1260 def unknown @unknown end |