Class: Aws::BedrockAgentCoreControl::Types::CredentialProvider

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

Overview

Note:

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

Note:

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.

Defined Under Namespace

Classes: ApiKeyCredentialProvider, OauthCredentialProvider, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_credential_providerTypes::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_providerTypes::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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1260
1261
1262
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 1260

def unknown
  @unknown
end