Skip to content

Commit 66499f1

Browse files
Adds dualstack support for Amazon Elastic Container Registry Public (Amazon ECR Public).
CloudWatch Logs supports "DELIVERY" log class. This log class is used only for delivering AWS Lambda logs to Amazon S3 or Amazon Data Firehose. This release adds support for ProtectedQuery results to be delivered to more than one collaboration member via the new distribute output configuration in StartProtectedQuery. Adds dualstack support for Amazon Elastic Container Registry (Amazon ECR). Adds support for tag management on workers and tag inheritance from fleets to their associated workers. Launch of cost distribution feature for IPAM owners to distribute costs to internal teams. You can now specify a cross region inference profile as a teacher model for the CreateModelCustomizationJob API. Additionally, the GetModelCustomizationJob API has been enhanced to return the sub-task statuses of a customization job within the StatusDetails response field. Support for Custom Orchestration within InlineAgents Introducing new RuleSet rule PublishToSns action, which allows customers to publish email notifications to an Amazon SNS topic. New PublishToSns action enables customers to easily integrate their email workflows via Amazon SNS, allowing them to notify other systems about important email events. Features: Add inline code node to prompt flow
1 parent c3b0e17 commit 66499f1

File tree

125 files changed

+5810
-1361
lines changed

Some content is hidden

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

125 files changed

+5810
-1361
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.557
1+
1.11.558

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ namespace BedrockAgentRuntime
365365
}
366366

367367
/**
368-
* <p>Sends a prompt for the agent to process and respond to. Note
369-
* the following fields for the request:</p> <ul> <li> <p>To continue the same
368+
* <p> <p>Sends a prompt for the agent to process and respond to.
369+
* Note the following fields for the request:</p> <ul> <li> <p>To continue the same
370370
* conversation with an agent, use the same <code>sessionId</code> value in the
371371
* request.</p> </li> <li> <p>To activate trace enablement, turn
372372
* <code>enableTrace</code> to <code>true</code>. Trace enablement helps you follow
@@ -388,7 +388,7 @@ namespace BedrockAgentRuntime
388388
* was configured to return control, the response returns parameters for the
389389
* action, elicited from the user, in the <code>returnControl</code> field.</p>
390390
* </li> <li> <p>Errors are also surfaced in the response.</p> </li>
391-
* </ul><p><h3>See Also:</h3> <a
391+
* </ul></p><p><h3>See Also:</h3> <a
392392
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/InvokeAgent">AWS
393393
* API Reference</a></p>
394394
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8+
#include <aws/bedrock-agent-runtime/model/OrchestrationExecutor.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace BedrockAgentRuntime
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>Contains details of the custom orchestration configured for the agent.
28+
* </p><p><h3>See Also:</h3> <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/CustomOrchestration">AWS
30+
* API Reference</a></p>
31+
*/
32+
class CustomOrchestration
33+
{
34+
public:
35+
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestration() = default;
36+
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestration(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_BEDROCKAGENTRUNTIME_API CustomOrchestration& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
///@{
42+
/**
43+
* <p>The structure of the executor invoking the actions in custom orchestration.
44+
* </p>
45+
*/
46+
inline const OrchestrationExecutor& GetExecutor() const { return m_executor; }
47+
inline bool ExecutorHasBeenSet() const { return m_executorHasBeenSet; }
48+
template<typename ExecutorT = OrchestrationExecutor>
49+
void SetExecutor(ExecutorT&& value) { m_executorHasBeenSet = true; m_executor = std::forward<ExecutorT>(value); }
50+
template<typename ExecutorT = OrchestrationExecutor>
51+
CustomOrchestration& WithExecutor(ExecutorT&& value) { SetExecutor(std::forward<ExecutorT>(value)); return *this;}
52+
///@}
53+
private:
54+
55+
OrchestrationExecutor m_executor;
56+
bool m_executorHasBeenSet = false;
57+
};
58+
59+
} // namespace Model
60+
} // namespace BedrockAgentRuntime
61+
} // namespace Aws

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55

66
#pragma once
77
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSVector.h>
89
#include <aws/core/utils/memory/stl/AWSString.h>
10+
#include <aws/core/utils/DateTime.h>
911
#include <aws/bedrock-agent-runtime/model/Trace.h>
12+
#include <aws/bedrock-agent-runtime/model/Caller.h>
1013
#include <utility>
1114

1215
namespace Aws
@@ -44,6 +47,44 @@ namespace Model
4447
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
4548

4649

50+
///@{
51+
/**
52+
* <p>The caller chain for the trace part.</p>
53+
*/
54+
inline const Aws::Vector<Caller>& GetCallerChain() const { return m_callerChain; }
55+
inline bool CallerChainHasBeenSet() const { return m_callerChainHasBeenSet; }
56+
template<typename CallerChainT = Aws::Vector<Caller>>
57+
void SetCallerChain(CallerChainT&& value) { m_callerChainHasBeenSet = true; m_callerChain = std::forward<CallerChainT>(value); }
58+
template<typename CallerChainT = Aws::Vector<Caller>>
59+
InlineAgentTracePart& WithCallerChain(CallerChainT&& value) { SetCallerChain(std::forward<CallerChainT>(value)); return *this;}
60+
template<typename CallerChainT = Caller>
61+
InlineAgentTracePart& AddCallerChain(CallerChainT&& value) { m_callerChainHasBeenSet = true; m_callerChain.emplace_back(std::forward<CallerChainT>(value)); return *this; }
62+
///@}
63+
64+
///@{
65+
/**
66+
* <p>The collaborator name for the trace part.</p>
67+
*/
68+
inline const Aws::String& GetCollaboratorName() const { return m_collaboratorName; }
69+
inline bool CollaboratorNameHasBeenSet() const { return m_collaboratorNameHasBeenSet; }
70+
template<typename CollaboratorNameT = Aws::String>
71+
void SetCollaboratorName(CollaboratorNameT&& value) { m_collaboratorNameHasBeenSet = true; m_collaboratorName = std::forward<CollaboratorNameT>(value); }
72+
template<typename CollaboratorNameT = Aws::String>
73+
InlineAgentTracePart& WithCollaboratorName(CollaboratorNameT&& value) { SetCollaboratorName(std::forward<CollaboratorNameT>(value)); return *this;}
74+
///@}
75+
76+
///@{
77+
/**
78+
* <p>The time that trace occurred. </p>
79+
*/
80+
inline const Aws::Utils::DateTime& GetEventTime() const { return m_eventTime; }
81+
inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; }
82+
template<typename EventTimeT = Aws::Utils::DateTime>
83+
void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::forward<EventTimeT>(value); }
84+
template<typename EventTimeT = Aws::Utils::DateTime>
85+
InlineAgentTracePart& WithEventTime(EventTimeT&& value) { SetEventTime(std::forward<EventTimeT>(value)); return *this;}
86+
///@}
87+
4788
///@{
4889
/**
4990
* <p>The unique identifier of the session with the agent.</p>
@@ -74,6 +115,15 @@ namespace Model
74115
///@}
75116
private:
76117

118+
Aws::Vector<Caller> m_callerChain;
119+
bool m_callerChainHasBeenSet = false;
120+
121+
Aws::String m_collaboratorName;
122+
bool m_collaboratorNameHasBeenSet = false;
123+
124+
Aws::Utils::DateTime m_eventTime{};
125+
bool m_eventTimeHasBeenSet = false;
126+
77127
Aws::String m_sessionId;
78128
bool m_sessionIdHasBeenSet = false;
79129

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

Lines changed: 48 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
#include <aws/core/utils/event/EventStreamDecoder.h>
1111
#include <aws/core/utils/memory/stl/AWSVector.h>
1212
#include <aws/bedrock-agent-runtime/model/AgentCollaboration.h>
13-
#include <aws/bedrock-agent-runtime/model/InlineBedrockModelConfigurations.h>
1413
#include <aws/core/utils/memory/stl/AWSString.h>
14+
#include <aws/bedrock-agent-runtime/model/InlineBedrockModelConfigurations.h>
15+
#include <aws/bedrock-agent-runtime/model/CustomOrchestration.h>
1516
#include <aws/bedrock-agent-runtime/model/GuardrailConfigurationWithArn.h>
1617
#include <aws/bedrock-agent-runtime/model/InlineSessionState.h>
18+
#include <aws/bedrock-agent-runtime/model/OrchestrationType.h>
1719
#include <aws/bedrock-agent-runtime/model/PromptOverrideConfiguration.h>
1820
#include <aws/bedrock-agent-runtime/model/StreamingConfigurations.h>
1921
#include <aws/bedrock-agent-runtime/model/AgentActionGroup.h>
@@ -93,6 +95,18 @@ namespace Model
9395
inline InvokeInlineAgentRequest& WithAgentCollaboration(AgentCollaboration value) { SetAgentCollaboration(value); return *this;}
9496
///@}
9597

98+
///@{
99+
/**
100+
* <p>The name for the agent.</p>
101+
*/
102+
inline const Aws::String& GetAgentName() const { return m_agentName; }
103+
inline bool AgentNameHasBeenSet() const { return m_agentNameHasBeenSet; }
104+
template<typename AgentNameT = Aws::String>
105+
void SetAgentName(AgentNameT&& value) { m_agentNameHasBeenSet = true; m_agentName = std::forward<AgentNameT>(value); }
106+
template<typename AgentNameT = Aws::String>
107+
InvokeInlineAgentRequest& WithAgentName(AgentNameT&& value) { SetAgentName(std::forward<AgentNameT>(value)); return *this;}
108+
///@}
109+
96110
///@{
97111
/**
98112
* <p>Model settings for the request.</p>
@@ -135,6 +149,18 @@ namespace Model
135149
InvokeInlineAgentRequest& AddCollaborators(CollaboratorsT&& value) { m_collaboratorsHasBeenSet = true; m_collaborators.emplace_back(std::forward<CollaboratorsT>(value)); return *this; }
136150
///@}
137151

152+
///@{
153+
/**
154+
* <p>Contains details of the custom orchestration configured for the agent. </p>
155+
*/
156+
inline const CustomOrchestration& GetCustomOrchestration() const { return m_customOrchestration; }
157+
inline bool CustomOrchestrationHasBeenSet() const { return m_customOrchestrationHasBeenSet; }
158+
template<typename CustomOrchestrationT = CustomOrchestration>
159+
void SetCustomOrchestration(CustomOrchestrationT&& value) { m_customOrchestrationHasBeenSet = true; m_customOrchestration = std::forward<CustomOrchestrationT>(value); }
160+
template<typename CustomOrchestrationT = CustomOrchestration>
161+
InvokeInlineAgentRequest& WithCustomOrchestration(CustomOrchestrationT&& value) { SetCustomOrchestration(std::forward<CustomOrchestrationT>(value)); return *this;}
162+
///@}
163+
138164
///@{
139165
/**
140166
* <p> The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to
@@ -153,7 +179,7 @@ namespace Model
153179
* <p> Specifies whether to turn on the trace or not to track the agent's reasoning
154180
* process. For more information, see <a
155181
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/trace-events.html">Using
156-
* trace</a>. <pre><code> &lt;/p&gt; </code></pre>
182+
* trace</a>. </p>
157183
*/
158184
inline bool GetEnableTrace() const { return m_enableTrace; }
159185
inline bool EnableTraceHasBeenSet() const { return m_enableTraceHasBeenSet; }
@@ -275,6 +301,17 @@ namespace Model
275301
InvokeInlineAgentRequest& AddKnowledgeBases(KnowledgeBasesT&& value) { m_knowledgeBasesHasBeenSet = true; m_knowledgeBases.emplace_back(std::forward<KnowledgeBasesT>(value)); return *this; }
276302
///@}
277303

304+
///@{
305+
/**
306+
* <p>Specifies the type of orchestration strategy for the agent. This is set to
307+
* DEFAULT orchestration type, by default. </p>
308+
*/
309+
inline OrchestrationType GetOrchestrationType() const { return m_orchestrationType; }
310+
inline bool OrchestrationTypeHasBeenSet() const { return m_orchestrationTypeHasBeenSet; }
311+
inline void SetOrchestrationType(OrchestrationType value) { m_orchestrationTypeHasBeenSet = true; m_orchestrationType = value; }
312+
inline InvokeInlineAgentRequest& WithOrchestrationType(OrchestrationType value) { SetOrchestrationType(value); return *this;}
313+
///@}
314+
278315
///@{
279316
/**
280317
* <p> Configurations for advanced prompts used to override the default prompts to
@@ -322,6 +359,9 @@ namespace Model
322359
AgentCollaboration m_agentCollaboration{AgentCollaboration::NOT_SET};
323360
bool m_agentCollaborationHasBeenSet = false;
324361

362+
Aws::String m_agentName;
363+
bool m_agentNameHasBeenSet = false;
364+
325365
InlineBedrockModelConfigurations m_bedrockModelConfigurations;
326366
bool m_bedrockModelConfigurationsHasBeenSet = false;
327367

@@ -331,6 +371,9 @@ namespace Model
331371
Aws::Vector<Collaborator> m_collaborators;
332372
bool m_collaboratorsHasBeenSet = false;
333373

374+
CustomOrchestration m_customOrchestration;
375+
bool m_customOrchestrationHasBeenSet = false;
376+
334377
Aws::String m_customerEncryptionKeyArn;
335378
bool m_customerEncryptionKeyArnHasBeenSet = false;
336379

@@ -361,6 +404,9 @@ namespace Model
361404
Aws::Vector<KnowledgeBase> m_knowledgeBases;
362405
bool m_knowledgeBasesHasBeenSet = false;
363406

407+
OrchestrationType m_orchestrationType{OrchestrationType::NOT_SET};
408+
bool m_orchestrationTypeHasBeenSet = false;
409+
364410
PromptOverrideConfiguration m_promptOverrideConfiguration;
365411
bool m_promptOverrideConfigurationHasBeenSet = false;
366412

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <utility>
10+
11+
namespace Aws
12+
{
13+
namespace Utils
14+
{
15+
namespace Json
16+
{
17+
class JsonValue;
18+
class JsonView;
19+
} // namespace Json
20+
} // namespace Utils
21+
namespace BedrockAgentRuntime
22+
{
23+
namespace Model
24+
{
25+
26+
/**
27+
* <p>The structure of the executor invoking the actions in custom
28+
* orchestration.</p><p><h3>See Also:</h3> <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/OrchestrationExecutor">AWS
30+
* API Reference</a></p>
31+
*/
32+
class OrchestrationExecutor
33+
{
34+
public:
35+
AWS_BEDROCKAGENTRUNTIME_API OrchestrationExecutor() = default;
36+
AWS_BEDROCKAGENTRUNTIME_API OrchestrationExecutor(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_BEDROCKAGENTRUNTIME_API OrchestrationExecutor& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
///@{
42+
/**
43+
* <p>The Amazon Resource Name (ARN) of the Lambda function containing the business
44+
* logic that is carried out upon invoking the action. </p>
45+
*/
46+
inline const Aws::String& GetLambda() const { return m_lambda; }
47+
inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
48+
template<typename LambdaT = Aws::String>
49+
void SetLambda(LambdaT&& value) { m_lambdaHasBeenSet = true; m_lambda = std::forward<LambdaT>(value); }
50+
template<typename LambdaT = Aws::String>
51+
OrchestrationExecutor& WithLambda(LambdaT&& value) { SetLambda(std::forward<LambdaT>(value)); return *this;}
52+
///@}
53+
private:
54+
55+
Aws::String m_lambda;
56+
bool m_lambdaHasBeenSet = false;
57+
};
58+
59+
} // namespace Model
60+
} // namespace BedrockAgentRuntime
61+
} // namespace Aws
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#pragma once
7+
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace BedrockAgentRuntime
13+
{
14+
namespace Model
15+
{
16+
enum class OrchestrationType
17+
{
18+
NOT_SET,
19+
DEFAULT,
20+
CUSTOM_ORCHESTRATION
21+
};
22+
23+
namespace OrchestrationTypeMapper
24+
{
25+
AWS_BEDROCKAGENTRUNTIME_API OrchestrationType GetOrchestrationTypeForName(const Aws::String& name);
26+
27+
AWS_BEDROCKAGENTRUNTIME_API Aws::String GetNameForOrchestrationType(OrchestrationType value);
28+
} // namespace OrchestrationTypeMapper
29+
} // namespace Model
30+
} // namespace BedrockAgentRuntime
31+
} // namespace Aws

0 commit comments

Comments
 (0)