Class: Aws::BedrockAgentCoreControl::Types::HarnessGatewayOutboundAuth
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentCoreControl::Types::HarnessGatewayOutboundAuth
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb
Overview
HarnessGatewayOutboundAuth is a union - when making an API calls you must set exactly one of the members.
HarnessGatewayOutboundAuth is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HarnessGatewayOutboundAuth corresponding to the set member.
Authentication method for calling a Gateway.
Defined Under Namespace
Classes: AwsIam, None, Oauth, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#aws_iam ⇒ Types::Unit
SigV4-sign requests using the agent's execution role.
-
#none ⇒ Types::Unit
No authentication.
-
#oauth ⇒ Types::OAuthCredentialProvider
Use OAuth credentials for outbound authentication to the gateway.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#aws_iam ⇒ Types::Unit
SigV4-sign requests using the agent's execution role.
12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12077 class HarnessGatewayOutboundAuth < Struct.new( :aws_iam, :none, :oauth, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AwsIam < HarnessGatewayOutboundAuth; end class None < HarnessGatewayOutboundAuth; end class Oauth < HarnessGatewayOutboundAuth; end class Unknown < HarnessGatewayOutboundAuth; end end |
#none ⇒ Types::Unit
No authentication.
12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12077 class HarnessGatewayOutboundAuth < Struct.new( :aws_iam, :none, :oauth, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AwsIam < HarnessGatewayOutboundAuth; end class None < HarnessGatewayOutboundAuth; end class Oauth < HarnessGatewayOutboundAuth; end class Unknown < HarnessGatewayOutboundAuth; end end |
#oauth ⇒ Types::OAuthCredentialProvider
Use OAuth credentials for outbound authentication to the gateway.
The AUTHORIZATION_CODE grant type is not supported for outbound
authentication from a harness to an AgentCore Gateway, even when
defaultReturnUrl is specified.
12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12077 class HarnessGatewayOutboundAuth < Struct.new( :aws_iam, :none, :oauth, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AwsIam < HarnessGatewayOutboundAuth; end class None < HarnessGatewayOutboundAuth; end class Oauth < HarnessGatewayOutboundAuth; end class Unknown < HarnessGatewayOutboundAuth; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
12077 12078 12079 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 12077 def unknown @unknown end |