Skip to content

Commit da2294c

Browse files
Modified validation to allow expectedCustomerSpend array with zero elements in Partner Opportunity operations.
Release of Dualstack and Ipv6-only EC2 Public DNS hostnames Adds support for setting up Contributor Insight rules on logs transformed via Logs Transformation feature. Doc only update that addresses a customer reported issue. Amazon Bedrock introduces asynchronous flows (in preview), which let you run flows for longer durations and yield control so that your application can perform other tasks and you don't have to actively monitor the flow's progress.
1 parent f051f58 commit da2294c

File tree

121 files changed

+8633
-997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+8633
-997
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.572
1+
1.11.573

generated/src/aws-cpp-sdk-application-autoscaling/include/aws/application-autoscaling/model/PredictiveScalingPredefinedLoadMetricSpecification.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,17 @@ namespace Model
2727
* <p> Describes a load metric for a predictive scaling policy. </p> <p>When
2828
* returned in the output of <code>DescribePolicies</code>, it indicates that a
2929
* predictive scaling policy uses individually specified load and scaling metrics
30-
* instead of a metric pair.</p><p><h3>See Also:</h3> <a
30+
* instead of a metric pair.</p> <p>The following predefined metrics are available
31+
* for predictive scaling:</p> <ul> <li> <p>
32+
* <code>ECSServiceAverageCPUUtilization</code> </p> </li> <li> <p>
33+
* <code>ECSServiceAverageMemoryUtilization</code> </p> </li> <li> <p>
34+
* <code>ECSServiceCPUUtilization</code> </p> </li> <li> <p>
35+
* <code>ECSServiceMemoryUtilization</code> </p> </li> <li> <p>
36+
* <code>ECSServiceTotalCPUUtilization</code> </p> </li> <li> <p>
37+
* <code>ECSServiceTotalMemoryUtilization</code> </p> </li> <li> <p>
38+
* <code>ALBRequestCount</code> </p> </li> <li> <p>
39+
* <code>ALBRequestCountPerTarget</code> </p> </li> <li> <p>
40+
* <code>TotalALBRequestCount</code> </p> </li> </ul><p><h3>See Also:</h3> <a
3141
* href="http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PredictiveScalingPredefinedLoadMetricSpecification">AWS
3242
* API Reference</a></p>
3343
*/

generated/src/aws-cpp-sdk-application-autoscaling/include/aws/application-autoscaling/model/PredictiveScalingPredefinedMetricPairSpecification.h

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,17 @@ namespace Model
2424
{
2525

2626
/**
27-
* <p> Represents a metric pair for a predictive scaling policy. </p><p><h3>See
28-
* Also:</h3> <a
27+
* <p> Represents a metric pair for a predictive scaling policy. </p> <p>The
28+
* following predefined metrics are available for predictive scaling:</p> <ul> <li>
29+
* <p> <code>ECSServiceAverageCPUUtilization</code> </p> </li> <li> <p>
30+
* <code>ECSServiceAverageMemoryUtilization</code> </p> </li> <li> <p>
31+
* <code>ECSServiceCPUUtilization</code> </p> </li> <li> <p>
32+
* <code>ECSServiceMemoryUtilization</code> </p> </li> <li> <p>
33+
* <code>ECSServiceTotalCPUUtilization</code> </p> </li> <li> <p>
34+
* <code>ECSServiceTotalMemoryUtilization</code> </p> </li> <li> <p>
35+
* <code>ALBRequestCount</code> </p> </li> <li> <p>
36+
* <code>ALBRequestCountPerTarget</code> </p> </li> <li> <p>
37+
* <code>TotalALBRequestCount</code> </p> </li> </ul><p><h3>See Also:</h3> <a
2938
* href="http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PredictiveScalingPredefinedMetricPairSpecification">AWS
3039
* API Reference</a></p>
3140
*/

generated/src/aws-cpp-sdk-application-autoscaling/include/aws/application-autoscaling/model/PredictiveScalingPredefinedScalingMetricSpecification.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,17 @@ namespace Model
2727
* <p> Describes a scaling metric for a predictive scaling policy. </p> <p>When
2828
* returned in the output of <code>DescribePolicies</code>, it indicates that a
2929
* predictive scaling policy uses individually specified load and scaling metrics
30-
* instead of a metric pair.</p><p><h3>See Also:</h3> <a
30+
* instead of a metric pair.</p> <p>The following predefined metrics are available
31+
* for predictive scaling:</p> <ul> <li> <p>
32+
* <code>ECSServiceAverageCPUUtilization</code> </p> </li> <li> <p>
33+
* <code>ECSServiceAverageMemoryUtilization</code> </p> </li> <li> <p>
34+
* <code>ECSServiceCPUUtilization</code> </p> </li> <li> <p>
35+
* <code>ECSServiceMemoryUtilization</code> </p> </li> <li> <p>
36+
* <code>ECSServiceTotalCPUUtilization</code> </p> </li> <li> <p>
37+
* <code>ECSServiceTotalMemoryUtilization</code> </p> </li> <li> <p>
38+
* <code>ALBRequestCount</code> </p> </li> <li> <p>
39+
* <code>ALBRequestCountPerTarget</code> </p> </li> <li> <p>
40+
* <code>TotalALBRequestCount</code> </p> </li> </ul><p><h3>See Also:</h3> <a
3141
* href="http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PredictiveScalingPredefinedScalingMetricSpecification">AWS
3242
* API Reference</a></p>
3343
*/

generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,63 @@ namespace BedrockAgentRuntime
306306
return SubmitAsync(&BedrockAgentRuntimeClient::GetAgentMemory, request, handler, context);
307307
}
308308

309+
/**
310+
* <p>Retrieves the flow definition snapshot used for an asynchronous execution.
311+
* The snapshot represents the flow metadata and definition as it existed at the
312+
* time the asynchronous execution was started. Note that even if the flow is
313+
* edited after an execution starts, the snapshot connected to the execution
314+
* remains unchanged.</p> <p>Asynchronous flows is in preview release for
315+
* Amazon Bedrock and is subject to change.</p> <p><h3>See Also:</h3> <a
316+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GetExecutionFlowSnapshot">AWS
317+
* API Reference</a></p>
318+
*/
319+
virtual Model::GetExecutionFlowSnapshotOutcome GetExecutionFlowSnapshot(const Model::GetExecutionFlowSnapshotRequest& request) const;
320+
321+
/**
322+
* A Callable wrapper for GetExecutionFlowSnapshot that returns a future to the operation so that it can be executed in parallel to other requests.
323+
*/
324+
template<typename GetExecutionFlowSnapshotRequestT = Model::GetExecutionFlowSnapshotRequest>
325+
Model::GetExecutionFlowSnapshotOutcomeCallable GetExecutionFlowSnapshotCallable(const GetExecutionFlowSnapshotRequestT& request) const
326+
{
327+
return SubmitCallable(&BedrockAgentRuntimeClient::GetExecutionFlowSnapshot, request);
328+
}
329+
330+
/**
331+
* An Async wrapper for GetExecutionFlowSnapshot that queues the request into a thread executor and triggers associated callback when operation has finished.
332+
*/
333+
template<typename GetExecutionFlowSnapshotRequestT = Model::GetExecutionFlowSnapshotRequest>
334+
void GetExecutionFlowSnapshotAsync(const GetExecutionFlowSnapshotRequestT& request, const GetExecutionFlowSnapshotResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
335+
{
336+
return SubmitAsync(&BedrockAgentRuntimeClient::GetExecutionFlowSnapshot, request, handler, context);
337+
}
338+
339+
/**
340+
* <p>Retrieves details about a specific asynchronous execution of a flow,
341+
* including its status, start and end times, and any errors that occurred during
342+
* execution.</p><p><h3>See Also:</h3> <a
343+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GetFlowExecution">AWS
344+
* API Reference</a></p>
345+
*/
346+
virtual Model::GetFlowExecutionOutcome GetFlowExecution(const Model::GetFlowExecutionRequest& request) const;
347+
348+
/**
349+
* A Callable wrapper for GetFlowExecution that returns a future to the operation so that it can be executed in parallel to other requests.
350+
*/
351+
template<typename GetFlowExecutionRequestT = Model::GetFlowExecutionRequest>
352+
Model::GetFlowExecutionOutcomeCallable GetFlowExecutionCallable(const GetFlowExecutionRequestT& request) const
353+
{
354+
return SubmitCallable(&BedrockAgentRuntimeClient::GetFlowExecution, request);
355+
}
356+
357+
/**
358+
* An Async wrapper for GetFlowExecution that queues the request into a thread executor and triggers associated callback when operation has finished.
359+
*/
360+
template<typename GetFlowExecutionRequestT = Model::GetFlowExecutionRequest>
361+
void GetFlowExecutionAsync(const GetFlowExecutionRequestT& request, const GetFlowExecutionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
362+
{
363+
return SubmitAsync(&BedrockAgentRuntimeClient::GetFlowExecution, request, handler, context);
364+
}
365+
309366
/**
310367
* <p>Retrieves the details of a specific invocation step within an invocation in a
311368
* session. For more information about sessions, see <a
@@ -485,6 +542,64 @@ namespace BedrockAgentRuntime
485542
return SubmitAsync(&BedrockAgentRuntimeClient::InvokeInlineAgent, request, handler, context);
486543
}
487544

545+
/**
546+
* <p>Lists events that occurred during an asynchronous execution of a flow. Events
547+
* provide detailed information about the execution progress, including node inputs
548+
* and outputs, flow inputs and outputs, condition results, and failure events.</p>
549+
* <p>Asynchronous flows is in preview release for Amazon Bedrock and is
550+
* subject to change.</p> <p><h3>See Also:</h3> <a
551+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ListFlowExecutionEvents">AWS
552+
* API Reference</a></p>
553+
*/
554+
virtual Model::ListFlowExecutionEventsOutcome ListFlowExecutionEvents(const Model::ListFlowExecutionEventsRequest& request) const;
555+
556+
/**
557+
* A Callable wrapper for ListFlowExecutionEvents that returns a future to the operation so that it can be executed in parallel to other requests.
558+
*/
559+
template<typename ListFlowExecutionEventsRequestT = Model::ListFlowExecutionEventsRequest>
560+
Model::ListFlowExecutionEventsOutcomeCallable ListFlowExecutionEventsCallable(const ListFlowExecutionEventsRequestT& request) const
561+
{
562+
return SubmitCallable(&BedrockAgentRuntimeClient::ListFlowExecutionEvents, request);
563+
}
564+
565+
/**
566+
* An Async wrapper for ListFlowExecutionEvents that queues the request into a thread executor and triggers associated callback when operation has finished.
567+
*/
568+
template<typename ListFlowExecutionEventsRequestT = Model::ListFlowExecutionEventsRequest>
569+
void ListFlowExecutionEventsAsync(const ListFlowExecutionEventsRequestT& request, const ListFlowExecutionEventsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
570+
{
571+
return SubmitAsync(&BedrockAgentRuntimeClient::ListFlowExecutionEvents, request, handler, context);
572+
}
573+
574+
/**
575+
* <p>Lists all asynchronous executions for a flow. Results can be paginated and
576+
* include summary information about each execution, such as status, start and end
577+
* times, and the execution's Amazon Resource Name (ARN).</p>
578+
* <p>Asynchronous flows is in preview release for Amazon Bedrock and is subject to
579+
* change.</p> <p><h3>See Also:</h3> <a
580+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ListFlowExecutions">AWS
581+
* API Reference</a></p>
582+
*/
583+
virtual Model::ListFlowExecutionsOutcome ListFlowExecutions(const Model::ListFlowExecutionsRequest& request) const;
584+
585+
/**
586+
* A Callable wrapper for ListFlowExecutions that returns a future to the operation so that it can be executed in parallel to other requests.
587+
*/
588+
template<typename ListFlowExecutionsRequestT = Model::ListFlowExecutionsRequest>
589+
Model::ListFlowExecutionsOutcomeCallable ListFlowExecutionsCallable(const ListFlowExecutionsRequestT& request) const
590+
{
591+
return SubmitCallable(&BedrockAgentRuntimeClient::ListFlowExecutions, request);
592+
}
593+
594+
/**
595+
* An Async wrapper for ListFlowExecutions that queues the request into a thread executor and triggers associated callback when operation has finished.
596+
*/
597+
template<typename ListFlowExecutionsRequestT = Model::ListFlowExecutionsRequest>
598+
void ListFlowExecutionsAsync(const ListFlowExecutionsRequestT& request, const ListFlowExecutionsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
599+
{
600+
return SubmitAsync(&BedrockAgentRuntimeClient::ListFlowExecutions, request, handler, context);
601+
}
602+
488603
/**
489604
* <p>Lists all invocation steps associated with a session and optionally, an
490605
* invocation within the session. For more information about sessions, see <a
@@ -779,6 +894,65 @@ namespace BedrockAgentRuntime
779894
return SubmitAsync(&BedrockAgentRuntimeClient::RetrieveAndGenerateStream, request, handler, context);
780895
}
781896

897+
/**
898+
* <p>Starts an asynchronous execution of an Amazon Bedrock flow. Unlike
899+
* synchronous flows that run until completion or time out after five minutes, you
900+
* can run asynchronous flows for longer durations. Asynchronous flows also yield
901+
* control so that your application can perform other tasks.</p> <p>This operation
902+
* returns an Amazon Resource Name (ARN) that you can use to track and manage your
903+
* flow's async execution.</p> <p>Asynchronous flows is in preview release
904+
* for Amazon Bedrock and is subject to change.</p> <p><h3>See Also:</h3>
905+
* <a
906+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/StartFlowExecution">AWS
907+
* API Reference</a></p>
908+
*/
909+
virtual Model::StartFlowExecutionOutcome StartFlowExecution(const Model::StartFlowExecutionRequest& request) const;
910+
911+
/**
912+
* A Callable wrapper for StartFlowExecution that returns a future to the operation so that it can be executed in parallel to other requests.
913+
*/
914+
template<typename StartFlowExecutionRequestT = Model::StartFlowExecutionRequest>
915+
Model::StartFlowExecutionOutcomeCallable StartFlowExecutionCallable(const StartFlowExecutionRequestT& request) const
916+
{
917+
return SubmitCallable(&BedrockAgentRuntimeClient::StartFlowExecution, request);
918+
}
919+
920+
/**
921+
* An Async wrapper for StartFlowExecution that queues the request into a thread executor and triggers associated callback when operation has finished.
922+
*/
923+
template<typename StartFlowExecutionRequestT = Model::StartFlowExecutionRequest>
924+
void StartFlowExecutionAsync(const StartFlowExecutionRequestT& request, const StartFlowExecutionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
925+
{
926+
return SubmitAsync(&BedrockAgentRuntimeClient::StartFlowExecution, request, handler, context);
927+
}
928+
929+
/**
930+
* <p>Stops an Amazon Bedrock flow's asynchronous execution. This operation
931+
* prevents further processing of the flow and changes the execution status to
932+
* <code>Aborted</code>.</p><p><h3>See Also:</h3> <a
933+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/StopFlowExecution">AWS
934+
* API Reference</a></p>
935+
*/
936+
virtual Model::StopFlowExecutionOutcome StopFlowExecution(const Model::StopFlowExecutionRequest& request) const;
937+
938+
/**
939+
* A Callable wrapper for StopFlowExecution that returns a future to the operation so that it can be executed in parallel to other requests.
940+
*/
941+
template<typename StopFlowExecutionRequestT = Model::StopFlowExecutionRequest>
942+
Model::StopFlowExecutionOutcomeCallable StopFlowExecutionCallable(const StopFlowExecutionRequestT& request) const
943+
{
944+
return SubmitCallable(&BedrockAgentRuntimeClient::StopFlowExecution, request);
945+
}
946+
947+
/**
948+
* An Async wrapper for StopFlowExecution that queues the request into a thread executor and triggers associated callback when operation has finished.
949+
*/
950+
template<typename StopFlowExecutionRequestT = Model::StopFlowExecutionRequest>
951+
void StopFlowExecutionAsync(const StopFlowExecutionRequestT& request, const StopFlowExecutionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
952+
{
953+
return SubmitAsync(&BedrockAgentRuntimeClient::StopFlowExecution, request, handler, context);
954+
}
955+
782956
/**
783957
* <p>Associate tags with a resource. For more information, see <a
784958
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging

0 commit comments

Comments
 (0)