HarnessGatewayOutboundAuth
Authentication method for calling a Gateway.
Inheritors
Types
SigV4-sign requests using the agent's execution role.
No authentication.
An OAuth credential provider for gateway authentication. This structure contains the configuration for authenticating with the target endpoint using OAuth.
Functions
Casts this HarnessGatewayOutboundAuth as a AwsIam and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.Unit value. Throws an exception if the HarnessGatewayOutboundAuth is not a AwsIam.
Casts this HarnessGatewayOutboundAuth as a AwsIam and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.Unit value. Returns null if the HarnessGatewayOutboundAuth is not a AwsIam.
Casts this HarnessGatewayOutboundAuth as a None and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.Unit value. Throws an exception if the HarnessGatewayOutboundAuth is not a None.
Casts this HarnessGatewayOutboundAuth as a None and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.Unit value. Returns null if the HarnessGatewayOutboundAuth is not a None.
Casts this HarnessGatewayOutboundAuth as a Oauth and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.OAuthCredentialProvider value. Throws an exception if the HarnessGatewayOutboundAuth is not a Oauth.
Casts this HarnessGatewayOutboundAuth as a Oauth and retrieves its aws.sdk.kotlin.services.bedrockagentcorecontrol.model.OAuthCredentialProvider value. Returns null if the HarnessGatewayOutboundAuth is not a Oauth.