Skip to content

Commit

Permalink
Amazon Bedrock Evaluation BatchDeleteEvaluationJob API allows custome…
Browse files Browse the repository at this point in the history
…rs to delete evaluation jobs under terminated evaluation job statuses - Stopped, Failed, or Completed. Customers can submit a batch of 25 evaluation jobs to be deleted at once.

Explicit query for authors and dashboard viewing sharing for embedded users
Add enums for Agentless scan statuses and EC2 enablement error states
Amazon EC2 Auto Scaling now provides EBS health check to manage EC2 instance replacement
Correct endpoint for FIPS is configured for US Gov Regions.
Amazon Route 53 now supports the Asia Pacific (Malaysia) Region (ap-southeast-5) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region.
  • Loading branch information
aws-sdk-cpp-automation committed Aug 22, 2024
1 parent 3521734 commit 7e3180c
Show file tree
Hide file tree
Showing 104 changed files with 6,168 additions and 160 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.389
1.11.390
Original file line number Diff line number Diff line change
Expand Up @@ -2067,9 +2067,9 @@ namespace AutoScaling
/**
* <p>Sets the health status of the specified instance.</p> <p>For more
* information, see <a
* href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html">Health
* checks for instances in an Auto Scaling group</a> in the <i>Amazon EC2 Auto
* Scaling User Guide</i>.</p><p><h3>See Also:</h3> <a
* href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/set-up-a-custom-health-check.html">Set
* up a custom health check for your Auto Scaling group</a> in the <i>Amazon EC2
* Auto Scaling User Guide</i>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealth">AWS
* API Reference</a></p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ namespace Model
///@{
/**
* <p>A comma-separated value string of one or more health check types.</p> <p>The
* valid values are <code>EC2</code>, <code>ELB</code>, and
* valid values are <code>EC2</code>, <code>EBS</code>, <code>ELB</code>, and
* <code>VPC_LATTICE</code>. <code>EC2</code> is the default health check and
* cannot be disabled. For more information, see <a
* href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html">Health
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ namespace Model
///@{
/**
* <p>A comma-separated value string of one or more health check types.</p> <p>The
* valid values are <code>EC2</code>, <code>ELB</code>, and
* valid values are <code>EC2</code>, <code>EBS</code>, <code>ELB</code>, and
* <code>VPC_LATTICE</code>. <code>EC2</code> is the default health check and
* cannot be disabled. For more information, see <a
* href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html">Health
Expand Down
202 changes: 202 additions & 0 deletions generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/BedrockClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,34 @@ namespace Bedrock
/* End of legacy constructors due deprecation */
virtual ~BedrockClient();

/**
* <p>Creates a batch deletion job. A model evaluation job can only be deleted if
* it has following status <code>FAILED</code>, <code>COMPLETED</code>, and
* <code>STOPPED</code>. You can request up to 25 model evaluation jobs be deleted
* in a single request.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/BatchDeleteEvaluationJob">AWS
* API Reference</a></p>
*/
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<typename BatchDeleteEvaluationJobRequestT = Model::BatchDeleteEvaluationJobRequest>
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<typename BatchDeleteEvaluationJobRequestT = Model::BatchDeleteEvaluationJobRequest>
void BatchDeleteEvaluationJobAsync(const BatchDeleteEvaluationJobRequestT& request, const BatchDeleteEvaluationJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&BedrockClient::BatchDeleteEvaluationJob, request, handler, context);
}

/**
* <p>API operation for creating and managing Amazon Bedrock automatic model
* evaluation jobs and model evaluation jobs that use human workers. To learn more
Expand Down Expand Up @@ -246,6 +274,34 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::CreateModelCustomizationJob, request, handler, context);
}

/**
* <p>Creates a model import job to import model that you have customized in other
* environments, such as Amazon SageMaker. For more information, see <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import
* a customized model</a> </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelImportJob">AWS
* API Reference</a></p>
*/
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<typename CreateModelImportJobRequestT = Model::CreateModelImportJobRequest>
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<typename CreateModelImportJobRequestT = Model::CreateModelImportJobRequest>
void CreateModelImportJobAsync(const CreateModelImportJobRequestT& request, const CreateModelImportJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&BedrockClient::CreateModelImportJob, request, handler, context);
}

/**
* <p>Creates a job to invoke a model on multiple prompts (batch inference). Format
* your data according to <a
Expand Down Expand Up @@ -372,6 +428,36 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::DeleteGuardrail, request, handler, context);
}

/**
* <p>Deletes a custom model that you imported earlier. For more information, see
* <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import
* a customized model</a> in the <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon
* Bedrock User Guide</a>. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteImportedModel">AWS
* API Reference</a></p>
*/
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<typename DeleteImportedModelRequestT = Model::DeleteImportedModelRequest>
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<typename DeleteImportedModelRequestT = Model::DeleteImportedModelRequest>
void DeleteImportedModelAsync(const DeleteImportedModelRequestT& request, const DeleteImportedModelResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&BedrockClient::DeleteImportedModel, request, handler, context);
}

/**
* <p>Delete the invocation logging. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/DeleteModelInvocationLoggingConfiguration">AWS
Expand Down Expand Up @@ -538,6 +624,32 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::GetGuardrail, request, handler, context);
}

/**
* <p>Gets properties associated with a customized model you imported.
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetImportedModel">AWS
* API Reference</a></p>
*/
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<typename GetImportedModelRequestT = Model::GetImportedModelRequest>
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<typename GetImportedModelRequestT = Model::GetImportedModelRequest>
void GetImportedModelAsync(const GetImportedModelRequestT& request, const GetImportedModelResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&BedrockClient::GetImportedModel, request, handler, context);
}

/**
* <p>Retrieves information about a model copy job. For more information, see <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/copy-model.html">Copy
Expand Down Expand Up @@ -597,6 +709,36 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::GetModelCustomizationJob, request, handler, context);
}

/**
* <p>Retrieves the properties associated with import model job, including the
* status of the job. For more information, see <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import
* a customized model</a> in the <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon
* Bedrock User Guide</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GetModelImportJob">AWS
* API Reference</a></p>
*/
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<typename GetModelImportJobRequestT = Model::GetModelImportJobRequest>
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<typename GetModelImportJobRequestT = Model::GetModelImportJobRequest>
void GetModelImportJobAsync(const GetModelImportJobRequestT& request, const GetModelImportJobResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
{
return SubmitAsync(&BedrockClient::GetModelImportJob, request, handler, context);
}

/**
* <p>Gets details about a batch inference job. For more information, see <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-manage.html#batch-inference-view">View
Expand Down Expand Up @@ -798,6 +940,36 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::ListGuardrails, request, handler, context);
}

/**
* <p>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 <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import
* a customized model</a> in the <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon
* Bedrock User Guide</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListImportedModels">AWS
* API Reference</a></p>
*/
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<typename ListImportedModelsRequestT = Model::ListImportedModelsRequest>
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<typename ListImportedModelsRequestT = Model::ListImportedModelsRequest>
void ListImportedModelsAsync(const ListImportedModelsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListImportedModelsRequestT& request = {}) const
{
return SubmitAsync(&BedrockClient::ListImportedModels, request, handler, context);
}

/**
* <p>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 <a
Expand Down Expand Up @@ -859,6 +1031,36 @@ namespace Bedrock
return SubmitAsync(&BedrockClient::ListModelCustomizationJobs, request, handler, context);
}

/**
* <p>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 <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import
* a customized model</a> in the <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon
* Bedrock User Guide</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ListModelImportJobs">AWS
* API Reference</a></p>
*/
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<typename ListModelImportJobsRequestT = Model::ListModelImportJobsRequest>
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<typename ListModelImportJobsRequestT = Model::ListModelImportJobsRequest>
void ListModelImportJobsAsync(const ListModelImportJobsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListModelImportJobsRequestT& request = {}) const
{
return SubmitAsync(&BedrockClient::ListModelImportJobs, request, handler, context);
}

/**
* <p>Lists all batch inference jobs in the account. For more information, see <a
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-manage.html#batch-inference-view">View
Expand Down
Loading

0 comments on commit 7e3180c

Please sign in to comment.