diff --git a/VERSION b/VERSION
index c735fbb9e89..224970f7b3a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.11.389
\ No newline at end of file
+1.11.390
\ No newline at end of file
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h
index f754da4154b..58d3e87707c 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h
@@ -2067,9 +2067,9 @@ namespace AutoScaling
/**
*
Sets the health status of the specified instance.
For more
* information, see Health
- * checks for instances in an Auto Scaling group in the Amazon EC2 Auto
- * Scaling User Guide.
See Also:
Set
+ * up a custom health check for your Auto Scaling group in the Amazon EC2
+ * Auto Scaling User Guide.See Also:
AWS
* API Reference
*/
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h
index dff11169abc..9e844ba7e09 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h
@@ -251,7 +251,7 @@ namespace Model
///@{
/**
* A comma-separated value string of one or more health check types.
The
- * valid values are EC2
, ELB
, and
+ * valid values are EC2
, EBS
, ELB
, and
* VPC_LATTICE
. EC2
is the default health check and
* cannot be disabled. For more information, see Health
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h
index ba487fc976b..9006c47cc7d 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h
@@ -170,7 +170,7 @@ namespace Model
///@{
/**
* A comma-separated value string of one or more health check types.
The
- * valid values are EC2
, ELB
, and
+ * valid values are EC2
, EBS
, ELB
, and
* VPC_LATTICE
. EC2
is the default health check and
* cannot be disabled. For more information, see Health
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h
index f76657d96c8..780e292adde 100644
--- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h
@@ -77,6 +77,34 @@ namespace Bedrock
/* End of legacy constructors due deprecation */
virtual ~BedrockClient();
+ /**
+ * Creates a batch deletion job. A model evaluation job can only be deleted if
+ * it has following status FAILED
, COMPLETED
, and
+ * STOPPED
. You can request up to 25 model evaluation jobs be deleted
+ * in a single request.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::BatchDeleteEvaluationJobOutcome BatchDeleteEvaluationJob(const Model::BatchDeleteEvaluationJobRequest& request) const;
+
+ /**
+ * A Callable wrapper for BatchDeleteEvaluationJob that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::BatchDeleteEvaluationJobOutcomeCallable BatchDeleteEvaluationJobCallable(const BatchDeleteEvaluationJobRequestT& request) const
+ {
+ return SubmitCallable(&BedrockClient::BatchDeleteEvaluationJob, request);
+ }
+
+ /**
+ * An Async wrapper for BatchDeleteEvaluationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void BatchDeleteEvaluationJobAsync(const BatchDeleteEvaluationJobRequestT& request, const BatchDeleteEvaluationJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BedrockClient::BatchDeleteEvaluationJob, request, handler, context);
+ }
+
/**
* API operation for creating and managing Amazon Bedrock automatic model
* evaluation jobs and model evaluation jobs that use human workers. To learn more
@@ -246,6 +274,34 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::CreateModelCustomizationJob, request, handler, context);
}
+ /**
+ *
Creates a model import job to import model that you have customized in other
+ * environments, such as Amazon SageMaker. For more information, see Import
+ * a customized model
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::CreateModelImportJobOutcome CreateModelImportJob(const Model::CreateModelImportJobRequest& request) const;
+
+ /**
+ * A Callable wrapper for CreateModelImportJob that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::CreateModelImportJobOutcomeCallable CreateModelImportJobCallable(const CreateModelImportJobRequestT& request) const
+ {
+ return SubmitCallable(&BedrockClient::CreateModelImportJob, request);
+ }
+
+ /**
+ * An Async wrapper for CreateModelImportJob that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void CreateModelImportJobAsync(const CreateModelImportJobRequestT& request, const CreateModelImportJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BedrockClient::CreateModelImportJob, request, handler, context);
+ }
+
/**
* Creates a job to invoke a model on multiple prompts (batch inference). Format
* your data according to Deletes a custom model that you imported earlier. For more information, see
+ * Import
+ * a customized model in the Amazon
+ * Bedrock User Guide.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::DeleteImportedModelOutcome DeleteImportedModel(const Model::DeleteImportedModelRequest& request) const;
+
+ /**
+ * A Callable wrapper for DeleteImportedModel that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DeleteImportedModelOutcomeCallable DeleteImportedModelCallable(const DeleteImportedModelRequestT& request) const
+ {
+ return SubmitCallable(&BedrockClient::DeleteImportedModel, request);
+ }
+
+ /**
+ * An Async wrapper for DeleteImportedModel that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DeleteImportedModelAsync(const DeleteImportedModelRequestT& request, const DeleteImportedModelResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BedrockClient::DeleteImportedModel, request, handler, context);
+ }
+
/**
* Delete the invocation logging.
See Also:
AWS
@@ -538,6 +624,32 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::GetGuardrail, request, handler, context);
}
+ /**
+ * Gets properties associated with a customized model you imported.
+ *
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::GetImportedModelOutcome GetImportedModel(const Model::GetImportedModelRequest& request) const;
+
+ /**
+ * A Callable wrapper for GetImportedModel that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::GetImportedModelOutcomeCallable GetImportedModelCallable(const GetImportedModelRequestT& request) const
+ {
+ return SubmitCallable(&BedrockClient::GetImportedModel, request);
+ }
+
+ /**
+ * An Async wrapper for GetImportedModel that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void GetImportedModelAsync(const GetImportedModelRequestT& request, const GetImportedModelResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BedrockClient::GetImportedModel, request, handler, context);
+ }
+
/**
* Retrieves information about a model copy job. For more information, see Copy
@@ -597,6 +709,36 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::GetModelCustomizationJob, request, handler, context);
}
+ /**
+ * Retrieves the properties associated with import model job, including the
+ * status of the job. For more information, see Import
+ * a customized model in the Amazon
+ * Bedrock User Guide.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::GetModelImportJobOutcome GetModelImportJob(const Model::GetModelImportJobRequest& request) const;
+
+ /**
+ * A Callable wrapper for GetModelImportJob that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::GetModelImportJobOutcomeCallable GetModelImportJobCallable(const GetModelImportJobRequestT& request) const
+ {
+ return SubmitCallable(&BedrockClient::GetModelImportJob, request);
+ }
+
+ /**
+ * An Async wrapper for GetModelImportJob that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void GetModelImportJobAsync(const GetModelImportJobRequestT& request, const GetModelImportJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BedrockClient::GetModelImportJob, request, handler, context);
+ }
+
/**
* Gets details about a batch inference job. For more information, see View
@@ -798,6 +940,36 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::ListGuardrails, request, handler, context);
}
+ /**
+ * Returns a list of models you've imported. You can filter the results to
+ * return based on one or more criteria. For more information, see Import
+ * a customized model in the Amazon
+ * Bedrock User Guide.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListImportedModelsOutcome ListImportedModels(const Model::ListImportedModelsRequest& request = {}) const;
+
+ /**
+ * A Callable wrapper for ListImportedModels that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListImportedModelsOutcomeCallable ListImportedModelsCallable(const ListImportedModelsRequestT& request = {}) const
+ {
+ return SubmitCallable(&BedrockClient::ListImportedModels, request);
+ }
+
+ /**
+ * An Async wrapper for ListImportedModels that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListImportedModelsAsync(const ListImportedModelsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListImportedModelsRequestT& request = {}) const
+ {
+ return SubmitAsync(&BedrockClient::ListImportedModels, request, handler, context);
+ }
+
/**
* Returns a list of model copy jobs that you have submitted. You can filter the
* jobs to return based on one or more criteria. For more information, see Returns a list of import jobs you've submitted. You can filter the results to
+ * return based on one or more criteria. For more information, see Import
+ * a customized model in the Amazon
+ * Bedrock User Guide.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListModelImportJobsOutcome ListModelImportJobs(const Model::ListModelImportJobsRequest& request = {}) const;
+
+ /**
+ * A Callable wrapper for ListModelImportJobs that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListModelImportJobsOutcomeCallable ListModelImportJobsCallable(const ListModelImportJobsRequestT& request = {}) const
+ {
+ return SubmitCallable(&BedrockClient::ListModelImportJobs, request);
+ }
+
+ /**
+ * An Async wrapper for ListModelImportJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListModelImportJobsAsync(const ListModelImportJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListModelImportJobsRequestT& request = {}) const
+ {
+ return SubmitAsync(&BedrockClient::ListModelImportJobs, request, handler, context);
+ }
+
/**
* Lists all batch inference jobs in the account. For more information, see View
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockServiceClientModel.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockServiceClientModel.h
index 186090c0dfe..c1e868bf931 100644
--- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockServiceClientModel.h
@@ -18,23 +18,28 @@
/* End of generic header includes */
/* Service model headers required in BedrockClient header */
+#include
#include
#include
#include
#include
#include
+#include
#include
#include
#include
#include
+#include
#include
#include
#include
#include
#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -42,8 +47,10 @@
#include
#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -57,12 +64,14 @@
#include
#include
#include
+#include
#include
#include
#include
#include
#include
#include
+#include
#include
#include
/* End of service model headers required in BedrockClient header */
@@ -105,23 +114,28 @@ namespace Aws
namespace Model
{
/* Service model forward declarations required in BedrockClient header */
+ class BatchDeleteEvaluationJobRequest;
class CreateEvaluationJobRequest;
class CreateGuardrailRequest;
class CreateGuardrailVersionRequest;
class CreateModelCopyJobRequest;
class CreateModelCustomizationJobRequest;
+ class CreateModelImportJobRequest;
class CreateModelInvocationJobRequest;
class CreateProvisionedModelThroughputRequest;
class DeleteCustomModelRequest;
class DeleteGuardrailRequest;
+ class DeleteImportedModelRequest;
class DeleteModelInvocationLoggingConfigurationRequest;
class DeleteProvisionedModelThroughputRequest;
class GetCustomModelRequest;
class GetEvaluationJobRequest;
class GetFoundationModelRequest;
class GetGuardrailRequest;
+ class GetImportedModelRequest;
class GetModelCopyJobRequest;
class GetModelCustomizationJobRequest;
+ class GetModelImportJobRequest;
class GetModelInvocationJobRequest;
class GetModelInvocationLoggingConfigurationRequest;
class GetProvisionedModelThroughputRequest;
@@ -129,8 +143,10 @@ namespace Aws
class ListEvaluationJobsRequest;
class ListFoundationModelsRequest;
class ListGuardrailsRequest;
+ class ListImportedModelsRequest;
class ListModelCopyJobsRequest;
class ListModelCustomizationJobsRequest;
+ class ListModelImportJobsRequest;
class ListModelInvocationJobsRequest;
class ListProvisionedModelThroughputsRequest;
class ListTagsForResourceRequest;
@@ -145,23 +161,28 @@ namespace Aws
/* End of service model forward declarations required in BedrockClient header */
/* Service model Outcome class definitions */
+ typedef Aws::Utils::Outcome BatchDeleteEvaluationJobOutcome;
typedef Aws::Utils::Outcome CreateEvaluationJobOutcome;
typedef Aws::Utils::Outcome CreateGuardrailOutcome;
typedef Aws::Utils::Outcome CreateGuardrailVersionOutcome;
typedef Aws::Utils::Outcome CreateModelCopyJobOutcome;
typedef Aws::Utils::Outcome CreateModelCustomizationJobOutcome;
+ typedef Aws::Utils::Outcome CreateModelImportJobOutcome;
typedef Aws::Utils::Outcome CreateModelInvocationJobOutcome;
typedef Aws::Utils::Outcome CreateProvisionedModelThroughputOutcome;
typedef Aws::Utils::Outcome DeleteCustomModelOutcome;
typedef Aws::Utils::Outcome DeleteGuardrailOutcome;
+ typedef Aws::Utils::Outcome DeleteImportedModelOutcome;
typedef Aws::Utils::Outcome DeleteModelInvocationLoggingConfigurationOutcome;
typedef Aws::Utils::Outcome DeleteProvisionedModelThroughputOutcome;
typedef Aws::Utils::Outcome GetCustomModelOutcome;
typedef Aws::Utils::Outcome GetEvaluationJobOutcome;
typedef Aws::Utils::Outcome GetFoundationModelOutcome;
typedef Aws::Utils::Outcome GetGuardrailOutcome;
+ typedef Aws::Utils::Outcome GetImportedModelOutcome;
typedef Aws::Utils::Outcome GetModelCopyJobOutcome;
typedef Aws::Utils::Outcome GetModelCustomizationJobOutcome;
+ typedef Aws::Utils::Outcome GetModelImportJobOutcome;
typedef Aws::Utils::Outcome GetModelInvocationJobOutcome;
typedef Aws::Utils::Outcome GetModelInvocationLoggingConfigurationOutcome;
typedef Aws::Utils::Outcome GetProvisionedModelThroughputOutcome;
@@ -169,8 +190,10 @@ namespace Aws
typedef Aws::Utils::Outcome ListEvaluationJobsOutcome;
typedef Aws::Utils::Outcome ListFoundationModelsOutcome;
typedef Aws::Utils::Outcome ListGuardrailsOutcome;
+ typedef Aws::Utils::Outcome ListImportedModelsOutcome;
typedef Aws::Utils::Outcome ListModelCopyJobsOutcome;
typedef Aws::Utils::Outcome ListModelCustomizationJobsOutcome;
+ typedef Aws::Utils::Outcome ListModelImportJobsOutcome;
typedef Aws::Utils::Outcome ListModelInvocationJobsOutcome;
typedef Aws::Utils::Outcome ListProvisionedModelThroughputsOutcome;
typedef Aws::Utils::Outcome ListTagsForResourceOutcome;
@@ -185,23 +208,28 @@ namespace Aws
/* End of service model Outcome class definitions */
/* Service model Outcome callable definitions */
+ typedef std::future BatchDeleteEvaluationJobOutcomeCallable;
typedef std::future CreateEvaluationJobOutcomeCallable;
typedef std::future CreateGuardrailOutcomeCallable;
typedef std::future CreateGuardrailVersionOutcomeCallable;
typedef std::future CreateModelCopyJobOutcomeCallable;
typedef std::future CreateModelCustomizationJobOutcomeCallable;
+ typedef std::future CreateModelImportJobOutcomeCallable;
typedef std::future CreateModelInvocationJobOutcomeCallable;
typedef std::future CreateProvisionedModelThroughputOutcomeCallable;
typedef std::future DeleteCustomModelOutcomeCallable;
typedef std::future DeleteGuardrailOutcomeCallable;
+ typedef std::future DeleteImportedModelOutcomeCallable;
typedef std::future DeleteModelInvocationLoggingConfigurationOutcomeCallable;
typedef std::future DeleteProvisionedModelThroughputOutcomeCallable;
typedef std::future GetCustomModelOutcomeCallable;
typedef std::future GetEvaluationJobOutcomeCallable;
typedef std::future GetFoundationModelOutcomeCallable;
typedef std::future GetGuardrailOutcomeCallable;
+ typedef std::future GetImportedModelOutcomeCallable;
typedef std::future GetModelCopyJobOutcomeCallable;
typedef std::future GetModelCustomizationJobOutcomeCallable;
+ typedef std::future GetModelImportJobOutcomeCallable;
typedef std::future GetModelInvocationJobOutcomeCallable;
typedef std::future GetModelInvocationLoggingConfigurationOutcomeCallable;
typedef std::future GetProvisionedModelThroughputOutcomeCallable;
@@ -209,8 +237,10 @@ namespace Aws
typedef std::future ListEvaluationJobsOutcomeCallable;
typedef std::future ListFoundationModelsOutcomeCallable;
typedef std::future ListGuardrailsOutcomeCallable;
+ typedef std::future ListImportedModelsOutcomeCallable;
typedef std::future ListModelCopyJobsOutcomeCallable;
typedef std::future ListModelCustomizationJobsOutcomeCallable;
+ typedef std::future ListModelImportJobsOutcomeCallable;
typedef std::future ListModelInvocationJobsOutcomeCallable;
typedef std::future ListProvisionedModelThroughputsOutcomeCallable;
typedef std::future ListTagsForResourceOutcomeCallable;
@@ -228,23 +258,28 @@ namespace Aws
class BedrockClient;
/* Service model async handlers definitions */
+ typedef std::function&) > BatchDeleteEvaluationJobResponseReceivedHandler;
typedef std::function&) > CreateEvaluationJobResponseReceivedHandler;
typedef std::function&) > CreateGuardrailResponseReceivedHandler;
typedef std::function&) > CreateGuardrailVersionResponseReceivedHandler;
typedef std::function&) > CreateModelCopyJobResponseReceivedHandler;
typedef std::function&) > CreateModelCustomizationJobResponseReceivedHandler;
+ typedef std::function&) > CreateModelImportJobResponseReceivedHandler;
typedef std::function&) > CreateModelInvocationJobResponseReceivedHandler;
typedef std::function&) > CreateProvisionedModelThroughputResponseReceivedHandler;
typedef std::function&) > DeleteCustomModelResponseReceivedHandler;
typedef std::function&) > DeleteGuardrailResponseReceivedHandler;
+ typedef std::function&) > DeleteImportedModelResponseReceivedHandler;
typedef std::function&) > DeleteModelInvocationLoggingConfigurationResponseReceivedHandler;
typedef std::function&) > DeleteProvisionedModelThroughputResponseReceivedHandler;
typedef std::function&) > GetCustomModelResponseReceivedHandler;
typedef std::function&) > GetEvaluationJobResponseReceivedHandler;
typedef std::function&) > GetFoundationModelResponseReceivedHandler;
typedef std::function&) > GetGuardrailResponseReceivedHandler;
+ typedef std::function&) > GetImportedModelResponseReceivedHandler;
typedef std::function&) > GetModelCopyJobResponseReceivedHandler;
typedef std::function&) > GetModelCustomizationJobResponseReceivedHandler;
+ typedef std::function&) > GetModelImportJobResponseReceivedHandler;
typedef std::function&) > GetModelInvocationJobResponseReceivedHandler;
typedef std::function&) > GetModelInvocationLoggingConfigurationResponseReceivedHandler;
typedef std::function&) > GetProvisionedModelThroughputResponseReceivedHandler;
@@ -252,8 +287,10 @@ namespace Aws
typedef std::function&) > ListEvaluationJobsResponseReceivedHandler;
typedef std::function&) > ListFoundationModelsResponseReceivedHandler;
typedef std::function&) > ListGuardrailsResponseReceivedHandler;
+ typedef std::function&) > ListImportedModelsResponseReceivedHandler;
typedef std::function&) > ListModelCopyJobsResponseReceivedHandler;
typedef std::function&) > ListModelCustomizationJobsResponseReceivedHandler;
+ typedef std::function&) > ListModelImportJobsResponseReceivedHandler;
typedef std::function&) > ListModelInvocationJobsResponseReceivedHandler;
typedef std::function&) > ListProvisionedModelThroughputsResponseReceivedHandler;
typedef std::function&) > ListTagsForResourceResponseReceivedHandler;
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobError.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobError.h
new file mode 100644
index 00000000000..3ed3c6273d4
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobError.h
@@ -0,0 +1,96 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ * A JSON array that provides the status of the model evaluation jobs being
+ * deleted.
See Also:
AWS
+ * API Reference
+ */
+ class BatchDeleteEvaluationJobError
+ {
+ public:
+ AWS_BEDROCK_API BatchDeleteEvaluationJobError();
+ AWS_BEDROCK_API BatchDeleteEvaluationJobError(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API BatchDeleteEvaluationJobError& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The ARN of the model evaluation job being deleted.
+ */
+ inline const Aws::String& GetJobIdentifier() const{ return m_jobIdentifier; }
+ inline bool JobIdentifierHasBeenSet() const { return m_jobIdentifierHasBeenSet; }
+ inline void SetJobIdentifier(const Aws::String& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = value; }
+ inline void SetJobIdentifier(Aws::String&& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = std::move(value); }
+ inline void SetJobIdentifier(const char* value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier.assign(value); }
+ inline BatchDeleteEvaluationJobError& WithJobIdentifier(const Aws::String& value) { SetJobIdentifier(value); return *this;}
+ inline BatchDeleteEvaluationJobError& WithJobIdentifier(Aws::String&& value) { SetJobIdentifier(std::move(value)); return *this;}
+ inline BatchDeleteEvaluationJobError& WithJobIdentifier(const char* value) { SetJobIdentifier(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * A HTTP status code of the model evaluation job being deleted.
+ */
+ inline const Aws::String& GetCode() const{ return m_code; }
+ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
+ inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
+ inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
+ inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
+ inline BatchDeleteEvaluationJobError& WithCode(const Aws::String& value) { SetCode(value); return *this;}
+ inline BatchDeleteEvaluationJobError& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
+ inline BatchDeleteEvaluationJobError& WithCode(const char* value) { SetCode(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * A status message about the model evaluation job deletion.
+ */
+ inline const Aws::String& GetMessage() const{ return m_message; }
+ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
+ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
+ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
+ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
+ inline BatchDeleteEvaluationJobError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
+ inline BatchDeleteEvaluationJobError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
+ inline BatchDeleteEvaluationJobError& WithMessage(const char* value) { SetMessage(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_jobIdentifier;
+ bool m_jobIdentifierHasBeenSet = false;
+
+ Aws::String m_code;
+ bool m_codeHasBeenSet = false;
+
+ Aws::String m_message;
+ bool m_messageHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobItem.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobItem.h
new file mode 100644
index 00000000000..62127ae3b28
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobItem.h
@@ -0,0 +1,78 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ * An array of model evaluation jobs to be deleted, and their associated
+ * statuses.
See Also:
AWS
+ * API Reference
+ */
+ class BatchDeleteEvaluationJobItem
+ {
+ public:
+ AWS_BEDROCK_API BatchDeleteEvaluationJobItem();
+ AWS_BEDROCK_API BatchDeleteEvaluationJobItem(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API BatchDeleteEvaluationJobItem& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The ARN of model evaluation job to be deleted.
+ */
+ inline const Aws::String& GetJobIdentifier() const{ return m_jobIdentifier; }
+ inline bool JobIdentifierHasBeenSet() const { return m_jobIdentifierHasBeenSet; }
+ inline void SetJobIdentifier(const Aws::String& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = value; }
+ inline void SetJobIdentifier(Aws::String&& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = std::move(value); }
+ inline void SetJobIdentifier(const char* value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier.assign(value); }
+ inline BatchDeleteEvaluationJobItem& WithJobIdentifier(const Aws::String& value) { SetJobIdentifier(value); return *this;}
+ inline BatchDeleteEvaluationJobItem& WithJobIdentifier(Aws::String&& value) { SetJobIdentifier(std::move(value)); return *this;}
+ inline BatchDeleteEvaluationJobItem& WithJobIdentifier(const char* value) { SetJobIdentifier(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The status of the job's deletion.
+ */
+ inline const EvaluationJobStatus& GetJobStatus() const{ return m_jobStatus; }
+ inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
+ inline void SetJobStatus(const EvaluationJobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
+ inline void SetJobStatus(EvaluationJobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
+ inline BatchDeleteEvaluationJobItem& WithJobStatus(const EvaluationJobStatus& value) { SetJobStatus(value); return *this;}
+ inline BatchDeleteEvaluationJobItem& WithJobStatus(EvaluationJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_jobIdentifier;
+ bool m_jobIdentifierHasBeenSet = false;
+
+ EvaluationJobStatus m_jobStatus;
+ bool m_jobStatusHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobRequest.h
new file mode 100644
index 00000000000..dff5d5e20ff
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobRequest.h
@@ -0,0 +1,58 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ */
+ class BatchDeleteEvaluationJobRequest : public BedrockRequest
+ {
+ public:
+ AWS_BEDROCK_API BatchDeleteEvaluationJobRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "BatchDeleteEvaluationJob"; }
+
+ AWS_BEDROCK_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * An array of model evaluation job ARNs to be deleted.
+ */
+ inline const Aws::Vector& GetJobIdentifiers() const{ return m_jobIdentifiers; }
+ inline bool JobIdentifiersHasBeenSet() const { return m_jobIdentifiersHasBeenSet; }
+ inline void SetJobIdentifiers(const Aws::Vector& value) { m_jobIdentifiersHasBeenSet = true; m_jobIdentifiers = value; }
+ inline void SetJobIdentifiers(Aws::Vector&& value) { m_jobIdentifiersHasBeenSet = true; m_jobIdentifiers = std::move(value); }
+ inline BatchDeleteEvaluationJobRequest& WithJobIdentifiers(const Aws::Vector& value) { SetJobIdentifiers(value); return *this;}
+ inline BatchDeleteEvaluationJobRequest& WithJobIdentifiers(Aws::Vector&& value) { SetJobIdentifiers(std::move(value)); return *this;}
+ inline BatchDeleteEvaluationJobRequest& AddJobIdentifiers(const Aws::String& value) { m_jobIdentifiersHasBeenSet = true; m_jobIdentifiers.push_back(value); return *this; }
+ inline BatchDeleteEvaluationJobRequest& AddJobIdentifiers(Aws::String&& value) { m_jobIdentifiersHasBeenSet = true; m_jobIdentifiers.push_back(std::move(value)); return *this; }
+ inline BatchDeleteEvaluationJobRequest& AddJobIdentifiers(const char* value) { m_jobIdentifiersHasBeenSet = true; m_jobIdentifiers.push_back(value); return *this; }
+ ///@}
+ private:
+
+ Aws::Vector m_jobIdentifiers;
+ bool m_jobIdentifiersHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobResult.h
new file mode 100644
index 00000000000..d870df53803
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/BatchDeleteEvaluationJobResult.h
@@ -0,0 +1,86 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+ class BatchDeleteEvaluationJobResult
+ {
+ public:
+ AWS_BEDROCK_API BatchDeleteEvaluationJobResult();
+ AWS_BEDROCK_API BatchDeleteEvaluationJobResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BEDROCK_API BatchDeleteEvaluationJobResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * A JSON object containing the HTTP status codes and the ARNs of model
+ * evaluation jobs that failed to be deleted.
+ */
+ inline const Aws::Vector& GetErrors() const{ return m_errors; }
+ inline void SetErrors(const Aws::Vector& value) { m_errors = value; }
+ inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); }
+ inline BatchDeleteEvaluationJobResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;}
+ inline BatchDeleteEvaluationJobResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;}
+ inline BatchDeleteEvaluationJobResult& AddErrors(const BatchDeleteEvaluationJobError& value) { m_errors.push_back(value); return *this; }
+ inline BatchDeleteEvaluationJobResult& AddErrors(BatchDeleteEvaluationJobError&& value) { m_errors.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * The list of model evaluation jobs to be deleted.
+ */
+ inline const Aws::Vector& GetEvaluationJobs() const{ return m_evaluationJobs; }
+ inline void SetEvaluationJobs(const Aws::Vector& value) { m_evaluationJobs = value; }
+ inline void SetEvaluationJobs(Aws::Vector&& value) { m_evaluationJobs = std::move(value); }
+ inline BatchDeleteEvaluationJobResult& WithEvaluationJobs(const Aws::Vector& value) { SetEvaluationJobs(value); return *this;}
+ inline BatchDeleteEvaluationJobResult& WithEvaluationJobs(Aws::Vector&& value) { SetEvaluationJobs(std::move(value)); return *this;}
+ inline BatchDeleteEvaluationJobResult& AddEvaluationJobs(const BatchDeleteEvaluationJobItem& value) { m_evaluationJobs.push_back(value); return *this; }
+ inline BatchDeleteEvaluationJobResult& AddEvaluationJobs(BatchDeleteEvaluationJobItem&& value) { m_evaluationJobs.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline BatchDeleteEvaluationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline BatchDeleteEvaluationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline BatchDeleteEvaluationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::Vector m_errors;
+
+ Aws::Vector m_evaluationJobs;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelImportJobRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelImportJobRequest.h
new file mode 100644
index 00000000000..52c6ff32255
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelImportJobRequest.h
@@ -0,0 +1,197 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ */
+ class CreateModelImportJobRequest : public BedrockRequest
+ {
+ public:
+ AWS_BEDROCK_API CreateModelImportJobRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "CreateModelImportJob"; }
+
+ AWS_BEDROCK_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * The name of the import job.
+ */
+ inline const Aws::String& GetJobName() const{ return m_jobName; }
+ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
+ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
+ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
+ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
+ inline CreateModelImportJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
+ inline CreateModelImportJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
+ inline CreateModelImportJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The name of the imported model.
+ */
+ inline const Aws::String& GetImportedModelName() const{ return m_importedModelName; }
+ inline bool ImportedModelNameHasBeenSet() const { return m_importedModelNameHasBeenSet; }
+ inline void SetImportedModelName(const Aws::String& value) { m_importedModelNameHasBeenSet = true; m_importedModelName = value; }
+ inline void SetImportedModelName(Aws::String&& value) { m_importedModelNameHasBeenSet = true; m_importedModelName = std::move(value); }
+ inline void SetImportedModelName(const char* value) { m_importedModelNameHasBeenSet = true; m_importedModelName.assign(value); }
+ inline CreateModelImportJobRequest& WithImportedModelName(const Aws::String& value) { SetImportedModelName(value); return *this;}
+ inline CreateModelImportJobRequest& WithImportedModelName(Aws::String&& value) { SetImportedModelName(std::move(value)); return *this;}
+ inline CreateModelImportJobRequest& WithImportedModelName(const char* value) { SetImportedModelName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the model import job.
+ */
+ inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
+ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
+ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
+ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
+ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
+ inline CreateModelImportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
+ inline CreateModelImportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
+ inline CreateModelImportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The data source for the imported model.
+ */
+ inline const ModelDataSource& GetModelDataSource() const{ return m_modelDataSource; }
+ inline bool ModelDataSourceHasBeenSet() const { return m_modelDataSourceHasBeenSet; }
+ inline void SetModelDataSource(const ModelDataSource& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = value; }
+ inline void SetModelDataSource(ModelDataSource&& value) { m_modelDataSourceHasBeenSet = true; m_modelDataSource = std::move(value); }
+ inline CreateModelImportJobRequest& WithModelDataSource(const ModelDataSource& value) { SetModelDataSource(value); return *this;}
+ inline CreateModelImportJobRequest& WithModelDataSource(ModelDataSource&& value) { SetModelDataSource(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Tags to attach to this import job.
+ */
+ inline const Aws::Vector& GetJobTags() const{ return m_jobTags; }
+ inline bool JobTagsHasBeenSet() const { return m_jobTagsHasBeenSet; }
+ inline void SetJobTags(const Aws::Vector& value) { m_jobTagsHasBeenSet = true; m_jobTags = value; }
+ inline void SetJobTags(Aws::Vector&& value) { m_jobTagsHasBeenSet = true; m_jobTags = std::move(value); }
+ inline CreateModelImportJobRequest& WithJobTags(const Aws::Vector& value) { SetJobTags(value); return *this;}
+ inline CreateModelImportJobRequest& WithJobTags(Aws::Vector&& value) { SetJobTags(std::move(value)); return *this;}
+ inline CreateModelImportJobRequest& AddJobTags(const Tag& value) { m_jobTagsHasBeenSet = true; m_jobTags.push_back(value); return *this; }
+ inline CreateModelImportJobRequest& AddJobTags(Tag&& value) { m_jobTagsHasBeenSet = true; m_jobTags.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * Tags to attach to the imported model.
+ */
+ inline const Aws::Vector& GetImportedModelTags() const{ return m_importedModelTags; }
+ inline bool ImportedModelTagsHasBeenSet() const { return m_importedModelTagsHasBeenSet; }
+ inline void SetImportedModelTags(const Aws::Vector& value) { m_importedModelTagsHasBeenSet = true; m_importedModelTags = value; }
+ inline void SetImportedModelTags(Aws::Vector&& value) { m_importedModelTagsHasBeenSet = true; m_importedModelTags = std::move(value); }
+ inline CreateModelImportJobRequest& WithImportedModelTags(const Aws::Vector& value) { SetImportedModelTags(value); return *this;}
+ inline CreateModelImportJobRequest& WithImportedModelTags(Aws::Vector&& value) { SetImportedModelTags(std::move(value)); return *this;}
+ inline CreateModelImportJobRequest& AddImportedModelTags(const Tag& value) { m_importedModelTagsHasBeenSet = true; m_importedModelTags.push_back(value); return *this; }
+ inline CreateModelImportJobRequest& AddImportedModelTags(Tag&& value) { m_importedModelTagsHasBeenSet = true; m_importedModelTags.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * A unique, case-sensitive identifier to ensure that the API request completes
+ * no more than one time. If this token matches a previous request, Amazon Bedrock
+ * ignores the request, but does not return an error. For more information, see Ensuring
+ * idempotency.
+ */
+ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
+ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
+ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
+ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
+ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
+ inline CreateModelImportJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
+ inline CreateModelImportJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
+ inline CreateModelImportJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * VPC configuration parameters for the private Virtual Private Cloud (VPC) that
+ * contains the resources you are using for the import job.
+ */
+ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
+ inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
+ inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
+ inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
+ inline CreateModelImportJobRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
+ inline CreateModelImportJobRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The imported model is encrypted at rest using this key.
+ */
+ inline const Aws::String& GetImportedModelKmsKeyId() const{ return m_importedModelKmsKeyId; }
+ inline bool ImportedModelKmsKeyIdHasBeenSet() const { return m_importedModelKmsKeyIdHasBeenSet; }
+ inline void SetImportedModelKmsKeyId(const Aws::String& value) { m_importedModelKmsKeyIdHasBeenSet = true; m_importedModelKmsKeyId = value; }
+ inline void SetImportedModelKmsKeyId(Aws::String&& value) { m_importedModelKmsKeyIdHasBeenSet = true; m_importedModelKmsKeyId = std::move(value); }
+ inline void SetImportedModelKmsKeyId(const char* value) { m_importedModelKmsKeyIdHasBeenSet = true; m_importedModelKmsKeyId.assign(value); }
+ inline CreateModelImportJobRequest& WithImportedModelKmsKeyId(const Aws::String& value) { SetImportedModelKmsKeyId(value); return *this;}
+ inline CreateModelImportJobRequest& WithImportedModelKmsKeyId(Aws::String&& value) { SetImportedModelKmsKeyId(std::move(value)); return *this;}
+ inline CreateModelImportJobRequest& WithImportedModelKmsKeyId(const char* value) { SetImportedModelKmsKeyId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_jobName;
+ bool m_jobNameHasBeenSet = false;
+
+ Aws::String m_importedModelName;
+ bool m_importedModelNameHasBeenSet = false;
+
+ Aws::String m_roleArn;
+ bool m_roleArnHasBeenSet = false;
+
+ ModelDataSource m_modelDataSource;
+ bool m_modelDataSourceHasBeenSet = false;
+
+ Aws::Vector m_jobTags;
+ bool m_jobTagsHasBeenSet = false;
+
+ Aws::Vector m_importedModelTags;
+ bool m_importedModelTagsHasBeenSet = false;
+
+ Aws::String m_clientRequestToken;
+ bool m_clientRequestTokenHasBeenSet = false;
+
+ VpcConfig m_vpcConfig;
+ bool m_vpcConfigHasBeenSet = false;
+
+ Aws::String m_importedModelKmsKeyId;
+ bool m_importedModelKmsKeyIdHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelImportJobResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelImportJobResult.h
new file mode 100644
index 00000000000..8347e7121e9
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateModelImportJobResult.h
@@ -0,0 +1,67 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+ class CreateModelImportJobResult
+ {
+ public:
+ AWS_BEDROCK_API CreateModelImportJobResult();
+ AWS_BEDROCK_API CreateModelImportJobResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BEDROCK_API CreateModelImportJobResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the model import job.
+ */
+ inline const Aws::String& GetJobArn() const{ return m_jobArn; }
+ inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
+ inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
+ inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
+ inline CreateModelImportJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
+ inline CreateModelImportJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
+ inline CreateModelImportJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline CreateModelImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline CreateModelImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline CreateModelImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_jobArn;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DeleteImportedModelRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DeleteImportedModelRequest.h
new file mode 100644
index 00000000000..deb7028ed91
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DeleteImportedModelRequest.h
@@ -0,0 +1,56 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ */
+ class DeleteImportedModelRequest : public BedrockRequest
+ {
+ public:
+ AWS_BEDROCK_API DeleteImportedModelRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "DeleteImportedModel"; }
+
+ AWS_BEDROCK_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * Name of the imported model to delete.
+ */
+ inline const Aws::String& GetModelIdentifier() const{ return m_modelIdentifier; }
+ inline bool ModelIdentifierHasBeenSet() const { return m_modelIdentifierHasBeenSet; }
+ inline void SetModelIdentifier(const Aws::String& value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier = value; }
+ inline void SetModelIdentifier(Aws::String&& value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier = std::move(value); }
+ inline void SetModelIdentifier(const char* value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier.assign(value); }
+ inline DeleteImportedModelRequest& WithModelIdentifier(const Aws::String& value) { SetModelIdentifier(value); return *this;}
+ inline DeleteImportedModelRequest& WithModelIdentifier(Aws::String&& value) { SetModelIdentifier(std::move(value)); return *this;}
+ inline DeleteImportedModelRequest& WithModelIdentifier(const char* value) { SetModelIdentifier(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_modelIdentifier;
+ bool m_modelIdentifierHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DeleteImportedModelResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DeleteImportedModelResult.h
new file mode 100644
index 00000000000..c8b7034aac0
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DeleteImportedModelResult.h
@@ -0,0 +1,52 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+ class DeleteImportedModelResult
+ {
+ public:
+ AWS_BEDROCK_API DeleteImportedModelResult();
+ AWS_BEDROCK_API DeleteImportedModelResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BEDROCK_API DeleteImportedModelResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline DeleteImportedModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline DeleteImportedModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline DeleteImportedModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationBedrockModel.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationBedrockModel.h
index c7e7bd6b7ea..0a2f9679210 100644
--- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationBedrockModel.h
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationBedrockModel.h
@@ -28,7 +28,7 @@ namespace Model
* evaluation job. Each Amazon Bedrock model supports different
* inferenceParams
. To learn more about supported inference parameters
* for Amazon Bedrock models, see Inference
+ * href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html">Inference
* parameters for foundation models. The inferenceParams
* are specified using JSON. To successfully insert JSON as string make sure that
* all quotations are properly escaped. For example,
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationDataset.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationDataset.h
index f7ac315dbf1..364990efa86 100644
--- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationDataset.h
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationDataset.h
@@ -45,7 +45,7 @@ namespace Model
*
Used to specify supported built-in prompt datasets. Valid values are
* Builtin.Bold
, Builtin.BoolQ
,
* Builtin.NaturalQuestions
, Builtin.Gigaword
,
- * Builtin.RealToxicityPrompts
, Builtin.TriviaQa
,
+ * Builtin.RealToxicityPrompts
, Builtin.TriviaQA
,
* Builtin.T-Rex
, Builtin.WomensEcommerceClothingReviews
* and Builtin.Wikitext2
.
*/
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationJobStatus.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationJobStatus.h
index 94f8b08ae99..71f1f65f2a9 100644
--- a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationJobStatus.h
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/EvaluationJobStatus.h
@@ -20,7 +20,8 @@ namespace Model
Completed,
Failed,
Stopping,
- Stopped
+ Stopped,
+ Deleting
};
namespace EvaluationJobStatusMapper
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetImportedModelRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetImportedModelRequest.h
new file mode 100644
index 00000000000..393777ca9f5
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetImportedModelRequest.h
@@ -0,0 +1,56 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ */
+ class GetImportedModelRequest : public BedrockRequest
+ {
+ public:
+ AWS_BEDROCK_API GetImportedModelRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "GetImportedModel"; }
+
+ AWS_BEDROCK_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * Name or Amazon Resource Name (ARN) of the imported model.
+ */
+ inline const Aws::String& GetModelIdentifier() const{ return m_modelIdentifier; }
+ inline bool ModelIdentifierHasBeenSet() const { return m_modelIdentifierHasBeenSet; }
+ inline void SetModelIdentifier(const Aws::String& value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier = value; }
+ inline void SetModelIdentifier(Aws::String&& value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier = std::move(value); }
+ inline void SetModelIdentifier(const char* value) { m_modelIdentifierHasBeenSet = true; m_modelIdentifier.assign(value); }
+ inline GetImportedModelRequest& WithModelIdentifier(const Aws::String& value) { SetModelIdentifier(value); return *this;}
+ inline GetImportedModelRequest& WithModelIdentifier(Aws::String&& value) { SetModelIdentifier(std::move(value)); return *this;}
+ inline GetImportedModelRequest& WithModelIdentifier(const char* value) { SetModelIdentifier(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_modelIdentifier;
+ bool m_modelIdentifierHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetImportedModelResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetImportedModelResult.h
new file mode 100644
index 00000000000..b56772336da
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetImportedModelResult.h
@@ -0,0 +1,170 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+ class GetImportedModelResult
+ {
+ public:
+ AWS_BEDROCK_API GetImportedModelResult();
+ AWS_BEDROCK_API GetImportedModelResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BEDROCK_API GetImportedModelResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) associated with this imported model.
+ */
+ inline const Aws::String& GetModelArn() const{ return m_modelArn; }
+ inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
+ inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
+ inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
+ inline GetImportedModelResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
+ inline GetImportedModelResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
+ inline GetImportedModelResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The name of the imported model.
+ */
+ inline const Aws::String& GetModelName() const{ return m_modelName; }
+ inline void SetModelName(const Aws::String& value) { m_modelName = value; }
+ inline void SetModelName(Aws::String&& value) { m_modelName = std::move(value); }
+ inline void SetModelName(const char* value) { m_modelName.assign(value); }
+ inline GetImportedModelResult& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
+ inline GetImportedModelResult& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
+ inline GetImportedModelResult& WithModelName(const char* value) { SetModelName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Job name associated with the imported model.
+ */
+ inline const Aws::String& GetJobName() const{ return m_jobName; }
+ inline void SetJobName(const Aws::String& value) { m_jobName = value; }
+ inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
+ inline void SetJobName(const char* value) { m_jobName.assign(value); }
+ inline GetImportedModelResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
+ inline GetImportedModelResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
+ inline GetImportedModelResult& WithJobName(const char* value) { SetJobName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Job Amazon Resource Name (ARN) associated with the imported model.
+ */
+ inline const Aws::String& GetJobArn() const{ return m_jobArn; }
+ inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
+ inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
+ inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
+ inline GetImportedModelResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
+ inline GetImportedModelResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
+ inline GetImportedModelResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The data source for this imported model.
+ */
+ inline const ModelDataSource& GetModelDataSource() const{ return m_modelDataSource; }
+ inline void SetModelDataSource(const ModelDataSource& value) { m_modelDataSource = value; }
+ inline void SetModelDataSource(ModelDataSource&& value) { m_modelDataSource = std::move(value); }
+ inline GetImportedModelResult& WithModelDataSource(const ModelDataSource& value) { SetModelDataSource(value); return *this;}
+ inline GetImportedModelResult& WithModelDataSource(ModelDataSource&& value) { SetModelDataSource(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Creation time of the imported model.
+ */
+ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
+ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
+ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
+ inline GetImportedModelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
+ inline GetImportedModelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The architecture of the imported model.
+ */
+ inline const Aws::String& GetModelArchitecture() const{ return m_modelArchitecture; }
+ inline void SetModelArchitecture(const Aws::String& value) { m_modelArchitecture = value; }
+ inline void SetModelArchitecture(Aws::String&& value) { m_modelArchitecture = std::move(value); }
+ inline void SetModelArchitecture(const char* value) { m_modelArchitecture.assign(value); }
+ inline GetImportedModelResult& WithModelArchitecture(const Aws::String& value) { SetModelArchitecture(value); return *this;}
+ inline GetImportedModelResult& WithModelArchitecture(Aws::String&& value) { SetModelArchitecture(std::move(value)); return *this;}
+ inline GetImportedModelResult& WithModelArchitecture(const char* value) { SetModelArchitecture(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The imported model is encrypted at rest using this key.
+ */
+ inline const Aws::String& GetModelKmsKeyArn() const{ return m_modelKmsKeyArn; }
+ inline void SetModelKmsKeyArn(const Aws::String& value) { m_modelKmsKeyArn = value; }
+ inline void SetModelKmsKeyArn(Aws::String&& value) { m_modelKmsKeyArn = std::move(value); }
+ inline void SetModelKmsKeyArn(const char* value) { m_modelKmsKeyArn.assign(value); }
+ inline GetImportedModelResult& WithModelKmsKeyArn(const Aws::String& value) { SetModelKmsKeyArn(value); return *this;}
+ inline GetImportedModelResult& WithModelKmsKeyArn(Aws::String&& value) { SetModelKmsKeyArn(std::move(value)); return *this;}
+ inline GetImportedModelResult& WithModelKmsKeyArn(const char* value) { SetModelKmsKeyArn(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline GetImportedModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline GetImportedModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline GetImportedModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_modelArn;
+
+ Aws::String m_modelName;
+
+ Aws::String m_jobName;
+
+ Aws::String m_jobArn;
+
+ ModelDataSource m_modelDataSource;
+
+ Aws::Utils::DateTime m_creationTime;
+
+ Aws::String m_modelArchitecture;
+
+ Aws::String m_modelKmsKeyArn;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelImportJobRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelImportJobRequest.h
new file mode 100644
index 00000000000..86ea79ae0b2
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelImportJobRequest.h
@@ -0,0 +1,56 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ */
+ class GetModelImportJobRequest : public BedrockRequest
+ {
+ public:
+ AWS_BEDROCK_API GetModelImportJobRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "GetModelImportJob"; }
+
+ AWS_BEDROCK_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * The identifier of the import job.
+ */
+ inline const Aws::String& GetJobIdentifier() const{ return m_jobIdentifier; }
+ inline bool JobIdentifierHasBeenSet() const { return m_jobIdentifierHasBeenSet; }
+ inline void SetJobIdentifier(const Aws::String& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = value; }
+ inline void SetJobIdentifier(Aws::String&& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = std::move(value); }
+ inline void SetJobIdentifier(const char* value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier.assign(value); }
+ inline GetModelImportJobRequest& WithJobIdentifier(const Aws::String& value) { SetJobIdentifier(value); return *this;}
+ inline GetModelImportJobRequest& WithJobIdentifier(Aws::String&& value) { SetJobIdentifier(std::move(value)); return *this;}
+ inline GetModelImportJobRequest& WithJobIdentifier(const char* value) { SetJobIdentifier(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_jobIdentifier;
+ bool m_jobIdentifierHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelImportJobResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelImportJobResult.h
new file mode 100644
index 00000000000..bdb78d6f95e
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetModelImportJobResult.h
@@ -0,0 +1,241 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+ class GetModelImportJobResult
+ {
+ public:
+ AWS_BEDROCK_API GetModelImportJobResult();
+ AWS_BEDROCK_API GetModelImportJobResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BEDROCK_API GetModelImportJobResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the import job.
+ */
+ inline const Aws::String& GetJobArn() const{ return m_jobArn; }
+ inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
+ inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
+ inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
+ inline GetModelImportJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
+ inline GetModelImportJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
+ inline GetModelImportJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The name of the import job.
+ */
+ inline const Aws::String& GetJobName() const{ return m_jobName; }
+ inline void SetJobName(const Aws::String& value) { m_jobName = value; }
+ inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
+ inline void SetJobName(const char* value) { m_jobName.assign(value); }
+ inline GetModelImportJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
+ inline GetModelImportJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
+ inline GetModelImportJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The name of the imported model.
+ */
+ inline const Aws::String& GetImportedModelName() const{ return m_importedModelName; }
+ inline void SetImportedModelName(const Aws::String& value) { m_importedModelName = value; }
+ inline void SetImportedModelName(Aws::String&& value) { m_importedModelName = std::move(value); }
+ inline void SetImportedModelName(const char* value) { m_importedModelName.assign(value); }
+ inline GetModelImportJobResult& WithImportedModelName(const Aws::String& value) { SetImportedModelName(value); return *this;}
+ inline GetModelImportJobResult& WithImportedModelName(Aws::String&& value) { SetImportedModelName(std::move(value)); return *this;}
+ inline GetModelImportJobResult& WithImportedModelName(const char* value) { SetImportedModelName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the imported model.
+ */
+ inline const Aws::String& GetImportedModelArn() const{ return m_importedModelArn; }
+ inline void SetImportedModelArn(const Aws::String& value) { m_importedModelArn = value; }
+ inline void SetImportedModelArn(Aws::String&& value) { m_importedModelArn = std::move(value); }
+ inline void SetImportedModelArn(const char* value) { m_importedModelArn.assign(value); }
+ inline GetModelImportJobResult& WithImportedModelArn(const Aws::String& value) { SetImportedModelArn(value); return *this;}
+ inline GetModelImportJobResult& WithImportedModelArn(Aws::String&& value) { SetImportedModelArn(std::move(value)); return *this;}
+ inline GetModelImportJobResult& WithImportedModelArn(const char* value) { SetImportedModelArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the IAM role associated with this job.
+ */
+ inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
+ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
+ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
+ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
+ inline GetModelImportJobResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
+ inline GetModelImportJobResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
+ inline GetModelImportJobResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The data source for the imported model.
+ */
+ inline const ModelDataSource& GetModelDataSource() const{ return m_modelDataSource; }
+ inline void SetModelDataSource(const ModelDataSource& value) { m_modelDataSource = value; }
+ inline void SetModelDataSource(ModelDataSource&& value) { m_modelDataSource = std::move(value); }
+ inline GetModelImportJobResult& WithModelDataSource(const ModelDataSource& value) { SetModelDataSource(value); return *this;}
+ inline GetModelImportJobResult& WithModelDataSource(ModelDataSource&& value) { SetModelDataSource(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The status of the job. A successful job transitions from in-progress to
+ * completed when the imported model is ready to use. If the job failed, the
+ * failure message contains information about why the job failed.
+ */
+ inline const ModelImportJobStatus& GetStatus() const{ return m_status; }
+ inline void SetStatus(const ModelImportJobStatus& value) { m_status = value; }
+ inline void SetStatus(ModelImportJobStatus&& value) { m_status = std::move(value); }
+ inline GetModelImportJobResult& WithStatus(const ModelImportJobStatus& value) { SetStatus(value); return *this;}
+ inline GetModelImportJobResult& WithStatus(ModelImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Information about why the import job failed.
+ */
+ inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
+ inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; }
+ inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); }
+ inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); }
+ inline GetModelImportJobResult& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
+ inline GetModelImportJobResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
+ inline GetModelImportJobResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The time the resource was created.
+ */
+ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
+ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
+ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
+ inline GetModelImportJobResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
+ inline GetModelImportJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Time the resource was last modified.
+ */
+ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
+ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
+ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
+ inline GetModelImportJobResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
+ inline GetModelImportJobResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Time that the resource transitioned to terminal state.
+ */
+ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
+ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
+ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
+ inline GetModelImportJobResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
+ inline GetModelImportJobResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The Virtual Private Cloud (VPC) configuration of the import model job.
+ */
+ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
+ inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfig = value; }
+ inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfig = std::move(value); }
+ inline GetModelImportJobResult& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
+ inline GetModelImportJobResult& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The imported model is encrypted at rest using this key.
+ */
+ inline const Aws::String& GetImportedModelKmsKeyArn() const{ return m_importedModelKmsKeyArn; }
+ inline void SetImportedModelKmsKeyArn(const Aws::String& value) { m_importedModelKmsKeyArn = value; }
+ inline void SetImportedModelKmsKeyArn(Aws::String&& value) { m_importedModelKmsKeyArn = std::move(value); }
+ inline void SetImportedModelKmsKeyArn(const char* value) { m_importedModelKmsKeyArn.assign(value); }
+ inline GetModelImportJobResult& WithImportedModelKmsKeyArn(const Aws::String& value) { SetImportedModelKmsKeyArn(value); return *this;}
+ inline GetModelImportJobResult& WithImportedModelKmsKeyArn(Aws::String&& value) { SetImportedModelKmsKeyArn(std::move(value)); return *this;}
+ inline GetModelImportJobResult& WithImportedModelKmsKeyArn(const char* value) { SetImportedModelKmsKeyArn(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline GetModelImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline GetModelImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline GetModelImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_jobArn;
+
+ Aws::String m_jobName;
+
+ Aws::String m_importedModelName;
+
+ Aws::String m_importedModelArn;
+
+ Aws::String m_roleArn;
+
+ ModelDataSource m_modelDataSource;
+
+ ModelImportJobStatus m_status;
+
+ Aws::String m_failureMessage;
+
+ Aws::Utils::DateTime m_creationTime;
+
+ Aws::Utils::DateTime m_lastModifiedTime;
+
+ Aws::Utils::DateTime m_endTime;
+
+ VpcConfig m_vpcConfig;
+
+ Aws::String m_importedModelKmsKeyArn;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ImportedModelSummary.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ImportedModelSummary.h
new file mode 100644
index 00000000000..3003f1e9fa9
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ImportedModelSummary.h
@@ -0,0 +1,94 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ * Information about tne imported model.
See Also:
AWS
+ * API Reference
+ */
+ class ImportedModelSummary
+ {
+ public:
+ AWS_BEDROCK_API ImportedModelSummary();
+ AWS_BEDROCK_API ImportedModelSummary(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API ImportedModelSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the imported model.
+ */
+ inline const Aws::String& GetModelArn() const{ return m_modelArn; }
+ inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
+ inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
+ inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
+ inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
+ inline ImportedModelSummary& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
+ inline ImportedModelSummary& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
+ inline ImportedModelSummary& WithModelArn(const char* value) { SetModelArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Name of the imported model.
+ */
+ inline const Aws::String& GetModelName() const{ return m_modelName; }
+ inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
+ inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; }
+ inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); }
+ inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); }
+ inline ImportedModelSummary& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
+ inline ImportedModelSummary& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
+ inline ImportedModelSummary& WithModelName(const char* value) { SetModelName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Creation time of the imported model.
+ */
+ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
+ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
+ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
+ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
+ inline ImportedModelSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
+ inline ImportedModelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_modelArn;
+ bool m_modelArnHasBeenSet = false;
+
+ Aws::String m_modelName;
+ bool m_modelNameHasBeenSet = false;
+
+ Aws::Utils::DateTime m_creationTime;
+ bool m_creationTimeHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListImportedModelsRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListImportedModelsRequest.h
new file mode 100644
index 00000000000..d5e7fe52bde
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListImportedModelsRequest.h
@@ -0,0 +1,161 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Http
+{
+ class URI;
+} //namespace Http
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ */
+ class ListImportedModelsRequest : public BedrockRequest
+ {
+ public:
+ AWS_BEDROCK_API ListImportedModelsRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "ListImportedModels"; }
+
+ AWS_BEDROCK_API Aws::String SerializePayload() const override;
+
+ AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
+
+
+ ///@{
+ /**
+ * Return imported models that created before the specified time.
+ */
+ inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
+ inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
+ inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
+ inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
+ inline ListImportedModelsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
+ inline ListImportedModelsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Return imported models that were created after the specified time.
+ */
+ inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
+ inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
+ inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
+ inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
+ inline ListImportedModelsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
+ inline ListImportedModelsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Return imported models only if the model name contains these characters.
+ */
+ inline const Aws::String& GetNameContains() const{ return m_nameContains; }
+ inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
+ inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
+ inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
+ inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
+ inline ListImportedModelsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
+ inline ListImportedModelsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
+ inline ListImportedModelsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The maximum number of results to return in the response. If the total number
+ * of results is greater than this value, use the token returned in the response in
+ * the nextToken
field when making another request to return the next
+ * batch of results.
+ */
+ inline int GetMaxResults() const{ return m_maxResults; }
+ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
+ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
+ inline ListImportedModelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * If the total number of results is greater than the maxResults
+ * value provided in the request, enter the token returned in the
+ * nextToken
field in the response in this field to return the next
+ * batch of results.
+ */
+ inline const Aws::String& GetNextToken() const{ return m_nextToken; }
+ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
+ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
+ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
+ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
+ inline ListImportedModelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
+ inline ListImportedModelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
+ inline ListImportedModelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The field to sort by in the returned list of imported models.
+ */
+ inline const SortModelsBy& GetSortBy() const{ return m_sortBy; }
+ inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
+ inline void SetSortBy(const SortModelsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
+ inline void SetSortBy(SortModelsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
+ inline ListImportedModelsRequest& WithSortBy(const SortModelsBy& value) { SetSortBy(value); return *this;}
+ inline ListImportedModelsRequest& WithSortBy(SortModelsBy&& value) { SetSortBy(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Specifies whetehr to sort the results in ascending or descending order.
+ */
+ inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
+ inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
+ inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
+ inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
+ inline ListImportedModelsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
+ inline ListImportedModelsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::Utils::DateTime m_creationTimeBefore;
+ bool m_creationTimeBeforeHasBeenSet = false;
+
+ Aws::Utils::DateTime m_creationTimeAfter;
+ bool m_creationTimeAfterHasBeenSet = false;
+
+ Aws::String m_nameContains;
+ bool m_nameContainsHasBeenSet = false;
+
+ int m_maxResults;
+ bool m_maxResultsHasBeenSet = false;
+
+ Aws::String m_nextToken;
+ bool m_nextTokenHasBeenSet = false;
+
+ SortModelsBy m_sortBy;
+ bool m_sortByHasBeenSet = false;
+
+ SortOrder m_sortOrder;
+ bool m_sortOrderHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListImportedModelsResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListImportedModelsResult.h
new file mode 100644
index 00000000000..dcceeb1dfb0
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListImportedModelsResult.h
@@ -0,0 +1,86 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+ class ListImportedModelsResult
+ {
+ public:
+ AWS_BEDROCK_API ListImportedModelsResult();
+ AWS_BEDROCK_API ListImportedModelsResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BEDROCK_API ListImportedModelsResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * If the total number of results is greater than the maxResults
+ * value provided in the request, use this token when making another request in the
+ * nextToken
field to return the next batch of results.
+ */
+ inline const Aws::String& GetNextToken() const{ return m_nextToken; }
+ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
+ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
+ inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
+ inline ListImportedModelsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
+ inline ListImportedModelsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
+ inline ListImportedModelsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Model summaries.
+ */
+ inline const Aws::Vector& GetModelSummaries() const{ return m_modelSummaries; }
+ inline void SetModelSummaries(const Aws::Vector& value) { m_modelSummaries = value; }
+ inline void SetModelSummaries(Aws::Vector&& value) { m_modelSummaries = std::move(value); }
+ inline ListImportedModelsResult& WithModelSummaries(const Aws::Vector& value) { SetModelSummaries(value); return *this;}
+ inline ListImportedModelsResult& WithModelSummaries(Aws::Vector&& value) { SetModelSummaries(std::move(value)); return *this;}
+ inline ListImportedModelsResult& AddModelSummaries(const ImportedModelSummary& value) { m_modelSummaries.push_back(value); return *this; }
+ inline ListImportedModelsResult& AddModelSummaries(ImportedModelSummary&& value) { m_modelSummaries.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline ListImportedModelsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline ListImportedModelsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline ListImportedModelsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_nextToken;
+
+ Aws::Vector m_modelSummaries;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelImportJobsRequest.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelImportJobsRequest.h
new file mode 100644
index 00000000000..d4acd052d5d
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelImportJobsRequest.h
@@ -0,0 +1,177 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Http
+{
+ class URI;
+} //namespace Http
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ */
+ class ListModelImportJobsRequest : public BedrockRequest
+ {
+ public:
+ AWS_BEDROCK_API ListModelImportJobsRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "ListModelImportJobs"; }
+
+ AWS_BEDROCK_API Aws::String SerializePayload() const override;
+
+ AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
+
+
+ ///@{
+ /**
+ * Return import jobs that were created after the specified time.
+ */
+ inline const Aws::Utils::DateTime& GetCreationTimeAfter() const{ return m_creationTimeAfter; }
+ inline bool CreationTimeAfterHasBeenSet() const { return m_creationTimeAfterHasBeenSet; }
+ inline void SetCreationTimeAfter(const Aws::Utils::DateTime& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = value; }
+ inline void SetCreationTimeAfter(Aws::Utils::DateTime&& value) { m_creationTimeAfterHasBeenSet = true; m_creationTimeAfter = std::move(value); }
+ inline ListModelImportJobsRequest& WithCreationTimeAfter(const Aws::Utils::DateTime& value) { SetCreationTimeAfter(value); return *this;}
+ inline ListModelImportJobsRequest& WithCreationTimeAfter(Aws::Utils::DateTime&& value) { SetCreationTimeAfter(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Return import jobs that were created before the specified time.
+ */
+ inline const Aws::Utils::DateTime& GetCreationTimeBefore() const{ return m_creationTimeBefore; }
+ inline bool CreationTimeBeforeHasBeenSet() const { return m_creationTimeBeforeHasBeenSet; }
+ inline void SetCreationTimeBefore(const Aws::Utils::DateTime& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = value; }
+ inline void SetCreationTimeBefore(Aws::Utils::DateTime&& value) { m_creationTimeBeforeHasBeenSet = true; m_creationTimeBefore = std::move(value); }
+ inline ListModelImportJobsRequest& WithCreationTimeBefore(const Aws::Utils::DateTime& value) { SetCreationTimeBefore(value); return *this;}
+ inline ListModelImportJobsRequest& WithCreationTimeBefore(Aws::Utils::DateTime&& value) { SetCreationTimeBefore(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Return imported jobs with the specified status.
+ */
+ inline const ModelImportJobStatus& GetStatusEquals() const{ return m_statusEquals; }
+ inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
+ inline void SetStatusEquals(const ModelImportJobStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
+ inline void SetStatusEquals(ModelImportJobStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
+ inline ListModelImportJobsRequest& WithStatusEquals(const ModelImportJobStatus& value) { SetStatusEquals(value); return *this;}
+ inline ListModelImportJobsRequest& WithStatusEquals(ModelImportJobStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Return imported jobs only if the job name contains these characters.
+ */
+ inline const Aws::String& GetNameContains() const{ return m_nameContains; }
+ inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
+ inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
+ inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
+ inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
+ inline ListModelImportJobsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
+ inline ListModelImportJobsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
+ inline ListModelImportJobsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The maximum number of results to return in the response. If the total number
+ * of results is greater than this value, use the token returned in the response in
+ * the nextToken
field when making another request to return the next
+ * batch of results.
+ */
+ inline int GetMaxResults() const{ return m_maxResults; }
+ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
+ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
+ inline ListModelImportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * If the total number of results is greater than the maxResults
+ * value provided in the request, enter the token returned in the
+ * nextToken
field in the response in this field to return the next
+ * batch of results.
+ */
+ inline const Aws::String& GetNextToken() const{ return m_nextToken; }
+ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
+ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
+ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
+ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
+ inline ListModelImportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
+ inline ListModelImportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
+ inline ListModelImportJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The field to sort by in the returned list of imported jobs.
+ */
+ inline const SortJobsBy& GetSortBy() const{ return m_sortBy; }
+ inline bool SortByHasBeenSet() const { return m_sortByHasBeenSet; }
+ inline void SetSortBy(const SortJobsBy& value) { m_sortByHasBeenSet = true; m_sortBy = value; }
+ inline void SetSortBy(SortJobsBy&& value) { m_sortByHasBeenSet = true; m_sortBy = std::move(value); }
+ inline ListModelImportJobsRequest& WithSortBy(const SortJobsBy& value) { SetSortBy(value); return *this;}
+ inline ListModelImportJobsRequest& WithSortBy(SortJobsBy&& value) { SetSortBy(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Specifies whether to sort the results in ascending or descending order.
+ */
+ inline const SortOrder& GetSortOrder() const{ return m_sortOrder; }
+ inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
+ inline void SetSortOrder(const SortOrder& value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
+ inline void SetSortOrder(SortOrder&& value) { m_sortOrderHasBeenSet = true; m_sortOrder = std::move(value); }
+ inline ListModelImportJobsRequest& WithSortOrder(const SortOrder& value) { SetSortOrder(value); return *this;}
+ inline ListModelImportJobsRequest& WithSortOrder(SortOrder&& value) { SetSortOrder(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::Utils::DateTime m_creationTimeAfter;
+ bool m_creationTimeAfterHasBeenSet = false;
+
+ Aws::Utils::DateTime m_creationTimeBefore;
+ bool m_creationTimeBeforeHasBeenSet = false;
+
+ ModelImportJobStatus m_statusEquals;
+ bool m_statusEqualsHasBeenSet = false;
+
+ Aws::String m_nameContains;
+ bool m_nameContainsHasBeenSet = false;
+
+ int m_maxResults;
+ bool m_maxResultsHasBeenSet = false;
+
+ Aws::String m_nextToken;
+ bool m_nextTokenHasBeenSet = false;
+
+ SortJobsBy m_sortBy;
+ bool m_sortByHasBeenSet = false;
+
+ SortOrder m_sortOrder;
+ bool m_sortOrderHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelImportJobsResult.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelImportJobsResult.h
new file mode 100644
index 00000000000..bc8f004b350
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ListModelImportJobsResult.h
@@ -0,0 +1,87 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+ class ListModelImportJobsResult
+ {
+ public:
+ AWS_BEDROCK_API ListModelImportJobsResult();
+ AWS_BEDROCK_API ListModelImportJobsResult(const Aws::AmazonWebServiceResult& result);
+ AWS_BEDROCK_API ListModelImportJobsResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * If the total number of results is greater than the maxResults
+ * value provided in the request, enter the token returned in the
+ * nextToken
field in the response in this field to return the next
+ * batch of results.
+ */
+ inline const Aws::String& GetNextToken() const{ return m_nextToken; }
+ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
+ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
+ inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
+ inline ListModelImportJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
+ inline ListModelImportJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
+ inline ListModelImportJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Import job summaries.
+ */
+ inline const Aws::Vector& GetModelImportJobSummaries() const{ return m_modelImportJobSummaries; }
+ inline void SetModelImportJobSummaries(const Aws::Vector& value) { m_modelImportJobSummaries = value; }
+ inline void SetModelImportJobSummaries(Aws::Vector&& value) { m_modelImportJobSummaries = std::move(value); }
+ inline ListModelImportJobsResult& WithModelImportJobSummaries(const Aws::Vector& value) { SetModelImportJobSummaries(value); return *this;}
+ inline ListModelImportJobsResult& WithModelImportJobSummaries(Aws::Vector&& value) { SetModelImportJobSummaries(std::move(value)); return *this;}
+ inline ListModelImportJobsResult& AddModelImportJobSummaries(const ModelImportJobSummary& value) { m_modelImportJobSummaries.push_back(value); return *this; }
+ inline ListModelImportJobsResult& AddModelImportJobSummaries(ModelImportJobSummary&& value) { m_modelImportJobSummaries.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline ListModelImportJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline ListModelImportJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline ListModelImportJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_nextToken;
+
+ Aws::Vector m_modelImportJobSummaries;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelDataSource.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelDataSource.h
new file mode 100644
index 00000000000..a0afdd95a31
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelDataSource.h
@@ -0,0 +1,59 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ * Data source for the imported model.
See Also:
AWS
+ * API Reference
+ */
+ class ModelDataSource
+ {
+ public:
+ AWS_BEDROCK_API ModelDataSource();
+ AWS_BEDROCK_API ModelDataSource(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API ModelDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The Amazon S3 data source of the imported model.
+ */
+ inline const S3DataSource& GetS3DataSource() const{ return m_s3DataSource; }
+ inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
+ inline void SetS3DataSource(const S3DataSource& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; }
+ inline void SetS3DataSource(S3DataSource&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); }
+ inline ModelDataSource& WithS3DataSource(const S3DataSource& value) { SetS3DataSource(value); return *this;}
+ inline ModelDataSource& WithS3DataSource(S3DataSource&& value) { SetS3DataSource(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ S3DataSource m_s3DataSource;
+ bool m_s3DataSourceHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelImportJobStatus.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelImportJobStatus.h
new file mode 100644
index 00000000000..93716cedf1b
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelImportJobStatus.h
@@ -0,0 +1,32 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace Bedrock
+{
+namespace Model
+{
+ enum class ModelImportJobStatus
+ {
+ NOT_SET,
+ InProgress,
+ Completed,
+ Failed
+ };
+
+namespace ModelImportJobStatusMapper
+{
+AWS_BEDROCK_API ModelImportJobStatus GetModelImportJobStatusForName(const Aws::String& name);
+
+AWS_BEDROCK_API Aws::String GetNameForModelImportJobStatus(ModelImportJobStatus value);
+} // namespace ModelImportJobStatusMapper
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelImportJobSummary.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelImportJobSummary.h
new file mode 100644
index 00000000000..cb8ff12fd1b
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/ModelImportJobSummary.h
@@ -0,0 +1,174 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ * Information about the import job.
See Also:
AWS
+ * API Reference
+ */
+ class ModelImportJobSummary
+ {
+ public:
+ AWS_BEDROCK_API ModelImportJobSummary();
+ AWS_BEDROCK_API ModelImportJobSummary(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API ModelImportJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The Amazon Resource Name (ARN) of the import job.
+ */
+ inline const Aws::String& GetJobArn() const{ return m_jobArn; }
+ inline bool JobArnHasBeenSet() const { return m_jobArnHasBeenSet; }
+ inline void SetJobArn(const Aws::String& value) { m_jobArnHasBeenSet = true; m_jobArn = value; }
+ inline void SetJobArn(Aws::String&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::move(value); }
+ inline void SetJobArn(const char* value) { m_jobArnHasBeenSet = true; m_jobArn.assign(value); }
+ inline ModelImportJobSummary& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
+ inline ModelImportJobSummary& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
+ inline ModelImportJobSummary& WithJobArn(const char* value) { SetJobArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The name of the import job.
+ */
+ inline const Aws::String& GetJobName() const{ return m_jobName; }
+ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
+ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
+ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
+ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
+ inline ModelImportJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
+ inline ModelImportJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
+ inline ModelImportJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The status of the imported job.
+ */
+ inline const ModelImportJobStatus& GetStatus() const{ return m_status; }
+ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
+ inline void SetStatus(const ModelImportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
+ inline void SetStatus(ModelImportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
+ inline ModelImportJobSummary& WithStatus(const ModelImportJobStatus& value) { SetStatus(value); return *this;}
+ inline ModelImportJobSummary& WithStatus(ModelImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The time when the import job was last modified.
+ */
+ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
+ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
+ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
+ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
+ inline ModelImportJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
+ inline ModelImportJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The time import job was created.
+ */
+ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
+ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
+ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
+ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
+ inline ModelImportJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
+ inline ModelImportJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The time when import job ended.
+ */
+ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
+ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
+ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
+ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
+ inline ModelImportJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
+ inline ModelImportJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The Amazon resource Name (ARN) of the imported model.
+ */
+ inline const Aws::String& GetImportedModelArn() const{ return m_importedModelArn; }
+ inline bool ImportedModelArnHasBeenSet() const { return m_importedModelArnHasBeenSet; }
+ inline void SetImportedModelArn(const Aws::String& value) { m_importedModelArnHasBeenSet = true; m_importedModelArn = value; }
+ inline void SetImportedModelArn(Aws::String&& value) { m_importedModelArnHasBeenSet = true; m_importedModelArn = std::move(value); }
+ inline void SetImportedModelArn(const char* value) { m_importedModelArnHasBeenSet = true; m_importedModelArn.assign(value); }
+ inline ModelImportJobSummary& WithImportedModelArn(const Aws::String& value) { SetImportedModelArn(value); return *this;}
+ inline ModelImportJobSummary& WithImportedModelArn(Aws::String&& value) { SetImportedModelArn(std::move(value)); return *this;}
+ inline ModelImportJobSummary& WithImportedModelArn(const char* value) { SetImportedModelArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The name of the imported model.
+ */
+ inline const Aws::String& GetImportedModelName() const{ return m_importedModelName; }
+ inline bool ImportedModelNameHasBeenSet() const { return m_importedModelNameHasBeenSet; }
+ inline void SetImportedModelName(const Aws::String& value) { m_importedModelNameHasBeenSet = true; m_importedModelName = value; }
+ inline void SetImportedModelName(Aws::String&& value) { m_importedModelNameHasBeenSet = true; m_importedModelName = std::move(value); }
+ inline void SetImportedModelName(const char* value) { m_importedModelNameHasBeenSet = true; m_importedModelName.assign(value); }
+ inline ModelImportJobSummary& WithImportedModelName(const Aws::String& value) { SetImportedModelName(value); return *this;}
+ inline ModelImportJobSummary& WithImportedModelName(Aws::String&& value) { SetImportedModelName(std::move(value)); return *this;}
+ inline ModelImportJobSummary& WithImportedModelName(const char* value) { SetImportedModelName(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_jobArn;
+ bool m_jobArnHasBeenSet = false;
+
+ Aws::String m_jobName;
+ bool m_jobNameHasBeenSet = false;
+
+ ModelImportJobStatus m_status;
+ bool m_statusHasBeenSet = false;
+
+ Aws::Utils::DateTime m_lastModifiedTime;
+ bool m_lastModifiedTimeHasBeenSet = false;
+
+ Aws::Utils::DateTime m_creationTime;
+ bool m_creationTimeHasBeenSet = false;
+
+ Aws::Utils::DateTime m_endTime;
+ bool m_endTimeHasBeenSet = false;
+
+ Aws::String m_importedModelArn;
+ bool m_importedModelArnHasBeenSet = false;
+
+ Aws::String m_importedModelName;
+ bool m_importedModelNameHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/S3DataSource.h b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/S3DataSource.h
new file mode 100644
index 00000000000..827e3acbb96
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/S3DataSource.h
@@ -0,0 +1,61 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Bedrock
+{
+namespace Model
+{
+
+ /**
+ * The Amazon S3 data source of the imported job.
See Also:
AWS
+ * API Reference
+ */
+ class S3DataSource
+ {
+ public:
+ AWS_BEDROCK_API S3DataSource();
+ AWS_BEDROCK_API S3DataSource(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API S3DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The URI of the Amazon S3 data source.
+ */
+ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
+ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
+ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
+ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
+ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
+ inline S3DataSource& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
+ inline S3DataSource& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
+ inline S3DataSource& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_s3Uri;
+ bool m_s3UriHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/source/BedrockClient.cpp b/generated/src/aws-cpp-sdk-bedrock/source/BedrockClient.cpp
index 143c99e040d..ea93311793c 100644
--- a/generated/src/aws-cpp-sdk-bedrock/source/BedrockClient.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock/source/BedrockClient.cpp
@@ -21,23 +21,28 @@
#include
#include
#include
+#include
#include
#include
#include
#include
#include
+#include
#include
#include
#include
#include
+#include
#include
#include
#include
#include
#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -45,8 +50,10 @@
#include
#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -199,6 +206,33 @@ void BedrockClient::OverrideEndpoint(const Aws::String& endpoint)
m_endpointProvider->OverrideEndpoint(endpoint);
}
+BatchDeleteEvaluationJobOutcome BedrockClient::BatchDeleteEvaluationJob(const BatchDeleteEvaluationJobRequest& request) const
+{
+ AWS_OPERATION_GUARD(BatchDeleteEvaluationJob);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchDeleteEvaluationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BatchDeleteEvaluationJob, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, BatchDeleteEvaluationJob, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BatchDeleteEvaluationJob",
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> BatchDeleteEvaluationJobOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, BatchDeleteEvaluationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/evaluation-jobs/batch-delete");
+ return BatchDeleteEvaluationJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
CreateEvaluationJobOutcome BedrockClient::CreateEvaluationJob(const CreateEvaluationJobRequest& request) const
{
AWS_OPERATION_GUARD(CreateEvaluationJob);
@@ -340,6 +374,33 @@ CreateModelCustomizationJobOutcome BedrockClient::CreateModelCustomizationJob(co
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+CreateModelImportJobOutcome BedrockClient::CreateModelImportJob(const CreateModelImportJobRequest& request) const
+{
+ AWS_OPERATION_GUARD(CreateModelImportJob);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateModelImportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateModelImportJob, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, CreateModelImportJob, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateModelImportJob",
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> CreateModelImportJobOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateModelImportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/model-import-jobs");
+ return CreateModelImportJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
CreateModelInvocationJobOutcome BedrockClient::CreateModelInvocationJob(const CreateModelInvocationJobRequest& request) const
{
AWS_OPERATION_GUARD(CreateModelInvocationJob);
@@ -460,6 +521,39 @@ DeleteGuardrailOutcome BedrockClient::DeleteGuardrail(const DeleteGuardrailReque
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+DeleteImportedModelOutcome BedrockClient::DeleteImportedModel(const DeleteImportedModelRequest& request) const
+{
+ AWS_OPERATION_GUARD(DeleteImportedModel);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteImportedModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ if (!request.ModelIdentifierHasBeenSet())
+ {
+ AWS_LOGSTREAM_ERROR("DeleteImportedModel", "Required field: ModelIdentifier, is not set");
+ return DeleteImportedModelOutcome(Aws::Client::AWSError(BedrockErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ModelIdentifier]", false));
+ }
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteImportedModel, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, DeleteImportedModel, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteImportedModel",
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> DeleteImportedModelOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteImportedModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/imported-models/");
+ endpointResolutionOutcome.GetResult().AddPathSegment(request.GetModelIdentifier());
+ return DeleteImportedModelOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
DeleteModelInvocationLoggingConfigurationOutcome BedrockClient::DeleteModelInvocationLoggingConfiguration(const DeleteModelInvocationLoggingConfigurationRequest& request) const
{
AWS_OPERATION_GUARD(DeleteModelInvocationLoggingConfiguration);
@@ -652,6 +746,39 @@ GetGuardrailOutcome BedrockClient::GetGuardrail(const GetGuardrailRequest& reque
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+GetImportedModelOutcome BedrockClient::GetImportedModel(const GetImportedModelRequest& request) const
+{
+ AWS_OPERATION_GUARD(GetImportedModel);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetImportedModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ if (!request.ModelIdentifierHasBeenSet())
+ {
+ AWS_LOGSTREAM_ERROR("GetImportedModel", "Required field: ModelIdentifier, is not set");
+ return GetImportedModelOutcome(Aws::Client::AWSError(BedrockErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ModelIdentifier]", false));
+ }
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetImportedModel, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, GetImportedModel, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetImportedModel",
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> GetImportedModelOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetImportedModel, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/imported-models/");
+ endpointResolutionOutcome.GetResult().AddPathSegment(request.GetModelIdentifier());
+ return GetImportedModelOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
GetModelCopyJobOutcome BedrockClient::GetModelCopyJob(const GetModelCopyJobRequest& request) const
{
AWS_OPERATION_GUARD(GetModelCopyJob);
@@ -718,6 +845,39 @@ GetModelCustomizationJobOutcome BedrockClient::GetModelCustomizationJob(const Ge
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+GetModelImportJobOutcome BedrockClient::GetModelImportJob(const GetModelImportJobRequest& request) const
+{
+ AWS_OPERATION_GUARD(GetModelImportJob);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetModelImportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ if (!request.JobIdentifierHasBeenSet())
+ {
+ AWS_LOGSTREAM_ERROR("GetModelImportJob", "Required field: JobIdentifier, is not set");
+ return GetModelImportJobOutcome(Aws::Client::AWSError(BedrockErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [JobIdentifier]", false));
+ }
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetModelImportJob, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, GetModelImportJob, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetModelImportJob",
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> GetModelImportJobOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetModelImportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/model-import-jobs/");
+ endpointResolutionOutcome.GetResult().AddPathSegment(request.GetJobIdentifier());
+ return GetModelImportJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
GetModelInvocationJobOutcome BedrockClient::GetModelInvocationJob(const GetModelInvocationJobRequest& request) const
{
AWS_OPERATION_GUARD(GetModelInvocationJob);
@@ -919,6 +1079,33 @@ ListGuardrailsOutcome BedrockClient::ListGuardrails(const ListGuardrailsRequest&
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+ListImportedModelsOutcome BedrockClient::ListImportedModels(const ListImportedModelsRequest& request) const
+{
+ AWS_OPERATION_GUARD(ListImportedModels);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListImportedModels, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListImportedModels, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, ListImportedModels, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListImportedModels",
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> ListImportedModelsOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListImportedModels, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/imported-models");
+ return ListImportedModelsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
ListModelCopyJobsOutcome BedrockClient::ListModelCopyJobs(const ListModelCopyJobsRequest& request) const
{
AWS_OPERATION_GUARD(ListModelCopyJobs);
@@ -973,6 +1160,33 @@ ListModelCustomizationJobsOutcome BedrockClient::ListModelCustomizationJobs(cons
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+ListModelImportJobsOutcome BedrockClient::ListModelImportJobs(const ListModelImportJobsRequest& request) const
+{
+ AWS_OPERATION_GUARD(ListModelImportJobs);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListModelImportJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListModelImportJobs, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, ListModelImportJobs, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListModelImportJobs",
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> ListModelImportJobsOutcome {
+ auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming(
+ [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); },
+ TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+ AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListModelImportJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/model-import-jobs");
+ return ListModelImportJobsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
ListModelInvocationJobsOutcome BedrockClient::ListModelInvocationJobs(const ListModelInvocationJobsRequest& request) const
{
AWS_OPERATION_GUARD(ListModelInvocationJobs);
diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobError.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobError.cpp
new file mode 100644
index 00000000000..6c892aaafc6
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobError.cpp
@@ -0,0 +1,87 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace Bedrock
+{
+namespace Model
+{
+
+BatchDeleteEvaluationJobError::BatchDeleteEvaluationJobError() :
+ m_jobIdentifierHasBeenSet(false),
+ m_codeHasBeenSet(false),
+ m_messageHasBeenSet(false)
+{
+}
+
+BatchDeleteEvaluationJobError::BatchDeleteEvaluationJobError(JsonView jsonValue)
+ : BatchDeleteEvaluationJobError()
+{
+ *this = jsonValue;
+}
+
+BatchDeleteEvaluationJobError& BatchDeleteEvaluationJobError::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("jobIdentifier"))
+ {
+ m_jobIdentifier = jsonValue.GetString("jobIdentifier");
+
+ m_jobIdentifierHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("code"))
+ {
+ m_code = jsonValue.GetString("code");
+
+ m_codeHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("message"))
+ {
+ m_message = jsonValue.GetString("message");
+
+ m_messageHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue BatchDeleteEvaluationJobError::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_jobIdentifierHasBeenSet)
+ {
+ payload.WithString("jobIdentifier", m_jobIdentifier);
+
+ }
+
+ if(m_codeHasBeenSet)
+ {
+ payload.WithString("code", m_code);
+
+ }
+
+ if(m_messageHasBeenSet)
+ {
+ payload.WithString("message", m_message);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobItem.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobItem.cpp
new file mode 100644
index 00000000000..28eac00d11c
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobItem.cpp
@@ -0,0 +1,73 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace Bedrock
+{
+namespace Model
+{
+
+BatchDeleteEvaluationJobItem::BatchDeleteEvaluationJobItem() :
+ m_jobIdentifierHasBeenSet(false),
+ m_jobStatus(EvaluationJobStatus::NOT_SET),
+ m_jobStatusHasBeenSet(false)
+{
+}
+
+BatchDeleteEvaluationJobItem::BatchDeleteEvaluationJobItem(JsonView jsonValue)
+ : BatchDeleteEvaluationJobItem()
+{
+ *this = jsonValue;
+}
+
+BatchDeleteEvaluationJobItem& BatchDeleteEvaluationJobItem::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("jobIdentifier"))
+ {
+ m_jobIdentifier = jsonValue.GetString("jobIdentifier");
+
+ m_jobIdentifierHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("jobStatus"))
+ {
+ m_jobStatus = EvaluationJobStatusMapper::GetEvaluationJobStatusForName(jsonValue.GetString("jobStatus"));
+
+ m_jobStatusHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue BatchDeleteEvaluationJobItem::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_jobIdentifierHasBeenSet)
+ {
+ payload.WithString("jobIdentifier", m_jobIdentifier);
+
+ }
+
+ if(m_jobStatusHasBeenSet)
+ {
+ payload.WithString("jobStatus", EvaluationJobStatusMapper::GetNameForEvaluationJobStatus(m_jobStatus));
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace Bedrock
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobRequest.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobRequest.cpp
new file mode 100644
index 00000000000..37bd01cf9f2
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobRequest.cpp
@@ -0,0 +1,40 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Bedrock::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+BatchDeleteEvaluationJobRequest::BatchDeleteEvaluationJobRequest() :
+ m_jobIdentifiersHasBeenSet(false)
+{
+}
+
+Aws::String BatchDeleteEvaluationJobRequest::SerializePayload() const
+{
+ JsonValue payload;
+
+ if(m_jobIdentifiersHasBeenSet)
+ {
+ Aws::Utils::Array jobIdentifiersJsonList(m_jobIdentifiers.size());
+ for(unsigned jobIdentifiersIndex = 0; jobIdentifiersIndex < jobIdentifiersJsonList.GetLength(); ++jobIdentifiersIndex)
+ {
+ jobIdentifiersJsonList[jobIdentifiersIndex].AsString(m_jobIdentifiers[jobIdentifiersIndex]);
+ }
+ payload.WithArray("jobIdentifiers", std::move(jobIdentifiersJsonList));
+
+ }
+
+ return payload.View().WriteReadable();
+}
+
+
+
+
diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobResult.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobResult.cpp
new file mode 100644
index 00000000000..bf7cabd45c0
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/source/model/BatchDeleteEvaluationJobResult.cpp
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::Bedrock::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+using namespace Aws;
+
+BatchDeleteEvaluationJobResult::BatchDeleteEvaluationJobResult()
+{
+}
+
+BatchDeleteEvaluationJobResult::BatchDeleteEvaluationJobResult(const Aws::AmazonWebServiceResult& result)
+{
+ *this = result;
+}
+
+BatchDeleteEvaluationJobResult& BatchDeleteEvaluationJobResult::operator =(const Aws::AmazonWebServiceResult& result)
+{
+ JsonView jsonValue = result.GetPayload().View();
+ if(jsonValue.ValueExists("errors"))
+ {
+ Aws::Utils::Array errorsJsonList = jsonValue.GetArray("errors");
+ for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex)
+ {
+ m_errors.push_back(errorsJsonList[errorsIndex].AsObject());
+ }
+ }
+
+ if(jsonValue.ValueExists("evaluationJobs"))
+ {
+ Aws::Utils::Array evaluationJobsJsonList = jsonValue.GetArray("evaluationJobs");
+ for(unsigned evaluationJobsIndex = 0; evaluationJobsIndex < evaluationJobsJsonList.GetLength(); ++evaluationJobsIndex)
+ {
+ m_evaluationJobs.push_back(evaluationJobsJsonList[evaluationJobsIndex].AsObject());
+ }
+ }
+
+
+ const auto& headers = result.GetHeaderValueCollection();
+ const auto& requestIdIter = headers.find("x-amzn-requestid");
+ if(requestIdIter != headers.end())
+ {
+ m_requestId = requestIdIter->second;
+ }
+
+
+ return *this;
+}
diff --git a/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelImportJobRequest.cpp b/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelImportJobRequest.cpp
new file mode 100644
index 00000000000..88f7196af92
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock/source/model/CreateModelImportJobRequest.cpp
@@ -0,0 +1,101 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include