Skip to content

Commit f7788ac

Browse files
Add support for computer use tools
Adds defaultFontSize and defaultLineHeight as options in the EbuTtDDestinationSettings within the caption descriptions for an output stream. Add support for contact transfers in external voice systems. Add support for computer use tools PrivateCA Connector for Active Directory now supports dual stack endpoints. This release adds the IpAddressType option to the VpcInformation on a Connector which determines whether the endpoint supports IPv4 only or IPv4 and IPv6 traffic. This release updates the default value of pprof-disabled from false to true. This release adds new StandardsControlsUpdatable field to the StandardsSubscription resource Releasing minor partition endpoint updates.
1 parent c18ef25 commit f7788ac

File tree

79 files changed

+2922
-1217
lines changed

Some content is hidden

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

79 files changed

+2922
-1217
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.522
1+
1.11.523

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ namespace BedrockAgentRuntime
130130
* frameworks. For Amazon Bedrock Agents, the service automatically manages
131131
* conversation context and associates them with the agent-specific sessionId you
132132
* specify in the <a
133-
* href="https://docs.aws.amazon.com/bedrock/latest/API_agent-runtime_InvokeAgent.html">InvokeAgent</a>
133+
* href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html">InvokeAgent</a>
134134
* API operation. </p> <p>Related APIs:</p> <ul> <li> <p> <a
135135
* href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_ListSessions.html">ListSessions</a>
136136
* </p> </li> <li> <p> <a

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ namespace Model
1717
{
1818
NOT_SET,
1919
AMAZON_UserInput,
20-
AMAZON_CodeInterpreter
20+
AMAZON_CodeInterpreter,
21+
ANTHROPIC_Computer,
22+
ANTHROPIC_Bash,
23+
ANTHROPIC_TextEditor
2124
};
2225

2326
namespace ActionGroupSignatureMapper

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

Lines changed: 52 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <aws/bedrock-agent-runtime/model/APISchema.h>
1111
#include <aws/bedrock-agent-runtime/model/FunctionSchema.h>
1212
#include <aws/bedrock-agent-runtime/model/ActionGroupSignature.h>
13+
#include <aws/core/utils/memory/stl/AWSMap.h>
1314
#include <utility>
1415

1516
namespace Aws
@@ -115,19 +116,29 @@ namespace Model
115116

116117
///@{
117118
/**
118-
* <p> To allow your agent to request the user for additional information when
119-
* trying to complete a task, set this field to <code>AMAZON.UserInput</code>. You
120-
* must leave the <code>description</code>, <code>apiSchema</code>, and
121-
* <code>actionGroupExecutor</code> fields blank for this action group. </p> <p>To
122-
* allow your agent to generate, run, and troubleshoot code when trying to complete
123-
* a task, set this field to <code>AMAZON.CodeInterpreter</code>. You must leave
124-
* the <code>description</code>, <code>apiSchema</code>, and
125-
* <code>actionGroupExecutor</code> fields blank for this action group.</p>
126-
* <p>During orchestration, if your agent determines that it needs to invoke an API
127-
* in an action group, but doesn't have enough information to complete the API
128-
* request, it will invoke this action group instead and return an <a
129-
* href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html">Observation</a>
130-
* reprompting the user for more information.</p>
119+
* <p>Specify a built-in or computer use action for this action group. If you
120+
* specify a value, you must leave the <code>description</code>,
121+
* <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields empty for
122+
* this action group. </p> <ul> <li> <p>To allow your agent to request the user for
123+
* additional information when trying to complete a task, set this field to
124+
* <code>AMAZON.UserInput</code>. </p> </li> <li> <p>To allow your agent to
125+
* generate, run, and troubleshoot code when trying to complete a task, set this
126+
* field to <code>AMAZON.CodeInterpreter</code>.</p> </li> <li> <p>To allow your
127+
* agent to use an Anthropic computer use tool, specify one of the following
128+
* values. </p> <p> Computer use is a new Anthropic Claude model
129+
* capability (in beta) available with Anthropic Claude 3.7 Sonnet and Claude 3.5
130+
* Sonnet v2 only. When operating computer use functionality, we recommend taking
131+
* additional security precautions, such as executing computer actions in virtual
132+
* environments with restricted data access and limited internet connectivity. For
133+
* more information, see <a
134+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure
135+
* an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p>
136+
* <ul> <li> <p> <code>ANTHROPIC.Computer</code> - Gives the agent
137+
* permission to use the mouse and keyboard and take screenshots.</p> </li> <li>
138+
* <p> <code>ANTHROPIC.TextEditor</code> - Gives the agent permission to view,
139+
* create and edit files.</p> </li> <li> <p> <code>ANTHROPIC.Bash</code> - Gives
140+
* the agent permission to run commands in a bash shell.</p> </li> </ul> </li>
141+
* </ul>
131142
*/
132143
inline const ActionGroupSignature& GetParentActionGroupSignature() const{ return m_parentActionGroupSignature; }
133144
inline bool ParentActionGroupSignatureHasBeenSet() const { return m_parentActionGroupSignatureHasBeenSet; }
@@ -136,6 +147,31 @@ namespace Model
136147
inline AgentActionGroup& WithParentActionGroupSignature(const ActionGroupSignature& value) { SetParentActionGroupSignature(value); return *this;}
137148
inline AgentActionGroup& WithParentActionGroupSignature(ActionGroupSignature&& value) { SetParentActionGroupSignature(std::move(value)); return *this;}
138149
///@}
150+
151+
///@{
152+
/**
153+
* <p> The configuration settings for a computer use action. </p>
154+
* <p>Computer use is a new Anthropic Claude model capability (in beta) available
155+
* with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see
156+
* <a
157+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure
158+
* an Amazon Bedrock Agent to complete tasks with computer use tools</a>.</p>
159+
*
160+
*/
161+
inline const Aws::Map<Aws::String, Aws::String>& GetParentActionGroupSignatureParams() const{ return m_parentActionGroupSignatureParams; }
162+
inline bool ParentActionGroupSignatureParamsHasBeenSet() const { return m_parentActionGroupSignatureParamsHasBeenSet; }
163+
inline void SetParentActionGroupSignatureParams(const Aws::Map<Aws::String, Aws::String>& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams = value; }
164+
inline void SetParentActionGroupSignatureParams(Aws::Map<Aws::String, Aws::String>&& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams = std::move(value); }
165+
inline AgentActionGroup& WithParentActionGroupSignatureParams(const Aws::Map<Aws::String, Aws::String>& value) { SetParentActionGroupSignatureParams(value); return *this;}
166+
inline AgentActionGroup& WithParentActionGroupSignatureParams(Aws::Map<Aws::String, Aws::String>&& value) { SetParentActionGroupSignatureParams(std::move(value)); return *this;}
167+
inline AgentActionGroup& AddParentActionGroupSignatureParams(const Aws::String& key, const Aws::String& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(key, value); return *this; }
168+
inline AgentActionGroup& AddParentActionGroupSignatureParams(Aws::String&& key, const Aws::String& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(std::move(key), value); return *this; }
169+
inline AgentActionGroup& AddParentActionGroupSignatureParams(const Aws::String& key, Aws::String&& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(key, std::move(value)); return *this; }
170+
inline AgentActionGroup& AddParentActionGroupSignatureParams(Aws::String&& key, Aws::String&& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(std::move(key), std::move(value)); return *this; }
171+
inline AgentActionGroup& AddParentActionGroupSignatureParams(const char* key, Aws::String&& value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(key, std::move(value)); return *this; }
172+
inline AgentActionGroup& AddParentActionGroupSignatureParams(Aws::String&& key, const char* value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(std::move(key), value); return *this; }
173+
inline AgentActionGroup& AddParentActionGroupSignatureParams(const char* key, const char* value) { m_parentActionGroupSignatureParamsHasBeenSet = true; m_parentActionGroupSignatureParams.emplace(key, value); return *this; }
174+
///@}
139175
private:
140176

141177
ActionGroupExecutor m_actionGroupExecutor;
@@ -155,6 +191,9 @@ namespace Model
155191

156192
ActionGroupSignature m_parentActionGroupSignature;
157193
bool m_parentActionGroupSignatureHasBeenSet = false;
194+
195+
Aws::Map<Aws::String, Aws::String> m_parentActionGroupSignatureParams;
196+
bool m_parentActionGroupSignatureParamsHasBeenSet = false;
158197
};
159198

160199
} // namespace Model

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#pragma once
77
#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
88
#include <aws/core/utils/memory/stl/AWSString.h>
9+
#include <aws/core/utils/memory/stl/AWSVector.h>
10+
#include <aws/bedrock-agent-runtime/model/ImageInput.h>
911
#include <utility>
1012

1113
namespace Aws
@@ -54,10 +56,32 @@ namespace Model
5456
inline ContentBody& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
5557
inline ContentBody& WithBody(const char* value) { SetBody(value); return *this;}
5658
///@}
59+
60+
///@{
61+
/**
62+
* <p>Lists details, including format and source, for the image in the response
63+
* from the function call. You can specify only one image and the function in the
64+
* <code>returnControlInvocationResults</code> must be a computer use action. For
65+
* more information, see <a
66+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure
67+
* an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p>
68+
*/
69+
inline const Aws::Vector<ImageInput>& GetImages() const{ return m_images; }
70+
inline bool ImagesHasBeenSet() const { return m_imagesHasBeenSet; }
71+
inline void SetImages(const Aws::Vector<ImageInput>& value) { m_imagesHasBeenSet = true; m_images = value; }
72+
inline void SetImages(Aws::Vector<ImageInput>&& value) { m_imagesHasBeenSet = true; m_images = std::move(value); }
73+
inline ContentBody& WithImages(const Aws::Vector<ImageInput>& value) { SetImages(value); return *this;}
74+
inline ContentBody& WithImages(Aws::Vector<ImageInput>&& value) { SetImages(std::move(value)); return *this;}
75+
inline ContentBody& AddImages(const ImageInput& value) { m_imagesHasBeenSet = true; m_images.push_back(value); return *this; }
76+
inline ContentBody& AddImages(ImageInput&& value) { m_imagesHasBeenSet = true; m_images.push_back(std::move(value)); return *this; }
77+
///@}
5778
private:
5879

5980
Aws::String m_body;
6081
bool m_bodyHasBeenSet = false;
82+
83+
Aws::Vector<ImageInput> m_images;
84+
bool m_imagesHasBeenSet = false;
6185
};
6286

6387
} // namespace Model

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,15 @@ namespace Model
103103

104104
///@{
105105
/**
106-
* <p>The response from the function call using the parameters. The key of the
107-
* object is the content type (currently, only <code>TEXT</code> is supported). The
108-
* response may be returned directly or from the Lambda function.</p>
106+
* <p>The response from the function call using the parameters. The response might
107+
* be returned directly or from the Lambda function. Specify <code>TEXT</code> or
108+
* <code>IMAGES</code>. The key of the object is the content type. You can only
109+
* specify one type. If you specify <code>IMAGES</code>, you can specify only one
110+
* image. You can specify images only when the function in the
111+
* <code>returnControlInvocationResults</code> is a computer use action. For more
112+
* information, see <a
113+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure
114+
* an Amazon Bedrock Agent to complete tasks with computer use tools</a>.</p>
109115
*/
110116
inline const Aws::Map<Aws::String, ContentBody>& GetResponseBody() const{ return m_responseBody; }
111117
inline bool ResponseBodyHasBeenSet() const { return m_responseBodyHasBeenSet; }
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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/ImageInputFormat.h>
9+
#include <aws/bedrock-agent-runtime/model/ImageInputSource.h>
10+
#include <utility>
11+
12+
namespace Aws
13+
{
14+
namespace Utils
15+
{
16+
namespace Json
17+
{
18+
class JsonValue;
19+
class JsonView;
20+
} // namespace Json
21+
} // namespace Utils
22+
namespace BedrockAgentRuntime
23+
{
24+
namespace Model
25+
{
26+
27+
/**
28+
* <p>Details about an image in the result from a function in the action group
29+
* invocation. You can specify images only when the function is a computer use
30+
* action. For more information, see <a
31+
* href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure
32+
* an Amazon Bedrock Agent to complete tasks with computer use
33+
* tools</a>.</p><p><h3>See Also:</h3> <a
34+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ImageInput">AWS
35+
* API Reference</a></p>
36+
*/
37+
class ImageInput
38+
{
39+
public:
40+
AWS_BEDROCKAGENTRUNTIME_API ImageInput();
41+
AWS_BEDROCKAGENTRUNTIME_API ImageInput(Aws::Utils::Json::JsonView jsonValue);
42+
AWS_BEDROCKAGENTRUNTIME_API ImageInput& operator=(Aws::Utils::Json::JsonView jsonValue);
43+
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
44+
45+
46+
///@{
47+
/**
48+
* <p>The type of image in the result.</p>
49+
*/
50+
inline const ImageInputFormat& GetFormat() const{ return m_format; }
51+
inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
52+
inline void SetFormat(const ImageInputFormat& value) { m_formatHasBeenSet = true; m_format = value; }
53+
inline void SetFormat(ImageInputFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
54+
inline ImageInput& WithFormat(const ImageInputFormat& value) { SetFormat(value); return *this;}
55+
inline ImageInput& WithFormat(ImageInputFormat&& value) { SetFormat(std::move(value)); return *this;}
56+
///@}
57+
58+
///@{
59+
/**
60+
* <p>The source of the image in the result.</p>
61+
*/
62+
inline const ImageInputSource& GetSource() const{ return m_source; }
63+
inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
64+
inline void SetSource(const ImageInputSource& value) { m_sourceHasBeenSet = true; m_source = value; }
65+
inline void SetSource(ImageInputSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
66+
inline ImageInput& WithSource(const ImageInputSource& value) { SetSource(value); return *this;}
67+
inline ImageInput& WithSource(ImageInputSource&& value) { SetSource(std::move(value)); return *this;}
68+
///@}
69+
private:
70+
71+
ImageInputFormat m_format;
72+
bool m_formatHasBeenSet = false;
73+
74+
ImageInputSource m_source;
75+
bool m_sourceHasBeenSet = false;
76+
};
77+
78+
} // namespace Model
79+
} // namespace BedrockAgentRuntime
80+
} // namespace Aws
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 ImageInputFormat
17+
{
18+
NOT_SET,
19+
png,
20+
jpeg,
21+
gif,
22+
webp
23+
};
24+
25+
namespace ImageInputFormatMapper
26+
{
27+
AWS_BEDROCKAGENTRUNTIME_API ImageInputFormat GetImageInputFormatForName(const Aws::String& name);
28+
29+
AWS_BEDROCKAGENTRUNTIME_API Aws::String GetNameForImageInputFormat(ImageInputFormat value);
30+
} // namespace ImageInputFormatMapper
31+
} // namespace Model
32+
} // namespace BedrockAgentRuntime
33+
} // namespace Aws
Lines changed: 61 additions & 0 deletions
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/Array.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>Details about the source of an input image in the result from a function in
28+
* the action group invocation.</p><p><h3>See Also:</h3> <a
29+
* href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/ImageInputSource">AWS
30+
* API Reference</a></p>
31+
*/
32+
class ImageInputSource
33+
{
34+
public:
35+
AWS_BEDROCKAGENTRUNTIME_API ImageInputSource();
36+
AWS_BEDROCKAGENTRUNTIME_API ImageInputSource(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_BEDROCKAGENTRUNTIME_API ImageInputSource& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
41+
///@{
42+
/**
43+
* <p> The raw image bytes for the image. If you use an Amazon Web Services SDK,
44+
* you don't need to encode the image bytes in base64.</p>
45+
*/
46+
inline const Aws::Utils::ByteBuffer& GetBytes() const{ return m_bytes; }
47+
inline bool BytesHasBeenSet() const { return m_bytesHasBeenSet; }
48+
inline void SetBytes(const Aws::Utils::ByteBuffer& value) { m_bytesHasBeenSet = true; m_bytes = value; }
49+
inline void SetBytes(Aws::Utils::ByteBuffer&& value) { m_bytesHasBeenSet = true; m_bytes = std::move(value); }
50+
inline ImageInputSource& WithBytes(const Aws::Utils::ByteBuffer& value) { SetBytes(value); return *this;}
51+
inline ImageInputSource& WithBytes(Aws::Utils::ByteBuffer&& value) { SetBytes(std::move(value)); return *this;}
52+
///@}
53+
private:
54+
55+
Aws::Utils::ByteBuffer m_bytes;
56+
bool m_bytesHasBeenSet = 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/RetrievalFilter.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,12 @@ namespace Model
184184

185185
///@{
186186
/**
187-
* <p>Knowledge base data sources that contain a metadata attribute whose name
188-
* matches the <code>key</code> and whose value doesn't match the
189-
* <code>value</code> in this object are returned.</p> <p>The following example
190-
* would return data sources that don't contain an <code>animal</code> attribute
191-
* whose value is <code>cat</code>.</p> <p> <code>"notEquals": { "key": "animal",
187+
* <p>Knowledge base data sources are returned when:</p> <ul> <li> <p>It contains a
188+
* metadata attribute whose name matches the <code>key</code> and whose value
189+
* doesn't match the <code>value</code> in this object.</p> </li> <li> <p>The key
190+
* is not present in the document.</p> </li> </ul> <p>The following example would
191+
* return data sources that don't contain an <code>animal</code> attribute whose
192+
* value is <code>cat</code>.</p> <p> <code>"notEquals": { "key": "animal",
192193
* "value": "cat" }</code> </p>
193194
*/
194195
inline const FilterAttribute& GetNotEquals() const{ return m_notEquals; }

0 commit comments

Comments
 (0)