Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,33 @@
*/

#pragma once
#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeErrorMarshaller.h>
#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeServiceClientModel.h>
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
#include <aws/core/client/AWSClient.h>
#include <aws/core/client/AWSClientAsyncCRTP.h>
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <smithy/client/AwsSmithyClient.h>
#include <smithy/client/serializer/JsonOutcomeSerializer.h>
#include <smithy/identity/auth/built-in/GenericAuthSchemeResolver.h>
#include <smithy/identity/auth/built-in/SigV4AuthScheme.h>

namespace Aws {
namespace BedrockAgentRuntime {
AWS_BEDROCKAGENTRUNTIME_API extern const char SERVICE_NAME[];
/**
* <p>Contains APIs related to model invocation and querying of knowledge
* bases.</p>
*/
class AWS_BEDROCKAGENTRUNTIME_API BedrockAgentRuntimeClient
: public Aws::Client::AWSJsonClient,
public Aws::Client::ClientWithAsyncTemplateMethods<BedrockAgentRuntimeClient> {
: Aws::Client::ClientWithAsyncTemplateMethods<BedrockAgentRuntimeClient>,
public smithy::client::AwsSmithyClientT<
Aws::BedrockAgentRuntime::SERVICE_NAME, Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration,
smithy::AuthSchemeResolverBase<>, Aws::Crt::Variant<smithy::SigV4AuthScheme>, BedrockAgentRuntimeEndpointProviderBase,
smithy::client::JsonOutcomeSerializer, smithy::client::JsonOutcome, Aws::Client::BedrockAgentRuntimeErrorMarshaller> {
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* GetServiceName();
static const char* GetAllocationTag();
inline const char* GetServiceClientName() const override { return "Bedrock Agent Runtime"; }

typedef BedrockAgentRuntimeClientConfiguration ClientConfigurationType;
typedef BedrockAgentRuntimeEndpointProvider EndpointProviderType;
Expand Down Expand Up @@ -1058,10 +1065,6 @@ class AWS_BEDROCKAGENTRUNTIME_API BedrockAgentRuntimeClient

private:
friend class Aws::Client::ClientWithAsyncTemplateMethods<BedrockAgentRuntimeClient>;
void init(const BedrockAgentRuntimeClientConfiguration& clientConfiguration);

BedrockAgentRuntimeClientConfiguration m_clientConfiguration;
std::shared_ptr<BedrockAgentRuntimeEndpointProviderBase> m_endpointProvider;
};

} // namespace BedrockAgentRuntime
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,33 @@
*/

#pragma once
#include <aws/bedrock-agent/BedrockAgentErrorMarshaller.h>
#include <aws/bedrock-agent/BedrockAgentServiceClientModel.h>
#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
#include <aws/core/client/AWSClient.h>
#include <aws/core/client/AWSClientAsyncCRTP.h>
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <smithy/client/AwsSmithyClient.h>
#include <smithy/client/serializer/JsonOutcomeSerializer.h>
#include <smithy/identity/auth/built-in/GenericAuthSchemeResolver.h>
#include <smithy/identity/auth/built-in/SigV4AuthScheme.h>

namespace Aws {
namespace BedrockAgent {
AWS_BEDROCKAGENT_API extern const char SERVICE_NAME[];
/**
* <p>Describes the API operations for creating and managing Amazon Bedrock
* agents.</p>
*/
class AWS_BEDROCKAGENT_API BedrockAgentClient : public Aws::Client::AWSJsonClient,
public Aws::Client::ClientWithAsyncTemplateMethods<BedrockAgentClient> {
class AWS_BEDROCKAGENT_API BedrockAgentClient
: Aws::Client::ClientWithAsyncTemplateMethods<BedrockAgentClient>,
public smithy::client::AwsSmithyClientT<Aws::BedrockAgent::SERVICE_NAME, Aws::BedrockAgent::BedrockAgentClientConfiguration,
smithy::AuthSchemeResolverBase<>, Aws::Crt::Variant<smithy::SigV4AuthScheme>,
BedrockAgentEndpointProviderBase, smithy::client::JsonOutcomeSerializer,
smithy::client::JsonOutcome, Aws::Client::BedrockAgentErrorMarshaller> {
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* GetServiceName();
static const char* GetAllocationTag();
inline const char* GetServiceClientName() const override { return "Bedrock Agent"; }

typedef BedrockAgentClientConfiguration ClientConfigurationType;
typedef BedrockAgentEndpointProvider EndpointProviderType;
Expand Down Expand Up @@ -2175,10 +2183,6 @@ class AWS_BEDROCKAGENT_API BedrockAgentClient : public Aws::Client::AWSJsonClien

private:
friend class Aws::Client::ClientWithAsyncTemplateMethods<BedrockAgentClient>;
void init(const BedrockAgentClientConfiguration& clientConfiguration);

BedrockAgentClientConfiguration m_clientConfiguration;
std::shared_ptr<BedrockAgentEndpointProviderBase> m_endpointProvider;
};

} // namespace BedrockAgent
Expand Down
Loading
Loading