Skip to content

Commit 6af06fc

Browse files
Add dual stack endpoint to SDK
Added functionality for the Required and Hidden case rule types to be conditionally evaluated on up to 5 conditions. Not need to include to any release notes. The only change is to correct LoadTimeout unit from milliseconds to seconds in RedshiftSettings Adding first class support for AG-UI protocol in AgentCore Runtime. This release introduces a new generative AI feature called Lex Bot Analyzer. This feature leverage AI to analyze the bot configuration against AWS Lex best practices to identify configuration issues and provides recommendations.
1 parent cbbc2ba commit 6af06fc

61 files changed

Lines changed: 4565 additions & 958 deletions

File tree

Some content is hidden

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

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.765
1+
1.11.766

generated/src/aws-cpp-sdk-bedrock-agentcore-control/include/aws/bedrock-agentcore-control/model/ServerProtocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Aws {
1111
namespace BedrockAgentCoreControl {
1212
namespace Model {
13-
enum class ServerProtocol { NOT_SET, MCP, HTTP, A2A };
13+
enum class ServerProtocol { NOT_SET, MCP, HTTP, A2A, AGUI };
1414

1515
namespace ServerProtocolMapper {
1616
AWS_BEDROCKAGENTCORECONTROL_API ServerProtocol GetServerProtocolForName(const Aws::String& name);

generated/src/aws-cpp-sdk-bedrock-agentcore-control/source/model/ServerProtocol.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace ServerProtocolMapper {
1818
static const int MCP_HASH = HashingUtils::HashString("MCP");
1919
static const int HTTP_HASH = HashingUtils::HashString("HTTP");
2020
static const int A2A_HASH = HashingUtils::HashString("A2A");
21+
static const int AGUI_HASH = HashingUtils::HashString("AGUI");
2122

2223
ServerProtocol GetServerProtocolForName(const Aws::String& name) {
2324
int hashCode = HashingUtils::HashString(name.c_str());
@@ -27,6 +28,8 @@ ServerProtocol GetServerProtocolForName(const Aws::String& name) {
2728
return ServerProtocol::HTTP;
2829
} else if (hashCode == A2A_HASH) {
2930
return ServerProtocol::A2A;
31+
} else if (hashCode == AGUI_HASH) {
32+
return ServerProtocol::AGUI;
3033
}
3134
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
3235
if (overflowContainer) {
@@ -47,6 +50,8 @@ Aws::String GetNameForServerProtocol(ServerProtocol enumValue) {
4750
return "HTTP";
4851
case ServerProtocol::A2A:
4952
return "A2A";
53+
case ServerProtocol::AGUI:
54+
return "AGUI";
5055
default:
5156
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
5257
if (overflowContainer) {

generated/src/aws-cpp-sdk-connectcases/include/aws/connectcases/model/BooleanCondition.h

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#pragma once
77
#include <aws/connectcases/ConnectCases_EXPORTS.h>
88
#include <aws/connectcases/model/BooleanOperands.h>
9+
#include <aws/core/utils/memory/stl/AWSAllocator.h>
910

1011
#include <utility>
1112

@@ -18,6 +19,7 @@ class JsonView;
1819
} // namespace Utils
1920
namespace ConnectCases {
2021
namespace Model {
22+
class CompoundCondition;
2123

2224
/**
2325
* <p>Boolean condition for a rule. In the Amazon Connect admin website, case rules
@@ -70,12 +72,56 @@ class BooleanCondition {
7072
return *this;
7173
}
7274
///@}
75+
76+
///@{
77+
/**
78+
* <p>Combines multiple conditions with AND operator. All conditions must be true
79+
* for the compound condition to be true.</p>
80+
*/
81+
inline const CompoundCondition& GetAndAll() const { return *m_andAll; }
82+
inline bool AndAllHasBeenSet() const { return m_andAllHasBeenSet; }
83+
template <typename AndAllT = CompoundCondition>
84+
void SetAndAll(AndAllT&& value) {
85+
m_andAllHasBeenSet = true;
86+
m_andAll = Aws::MakeShared<CompoundCondition>("BooleanCondition", std::forward<AndAllT>(value));
87+
}
88+
template <typename AndAllT = CompoundCondition>
89+
BooleanCondition& WithAndAll(AndAllT&& value) {
90+
SetAndAll(std::forward<AndAllT>(value));
91+
return *this;
92+
}
93+
///@}
94+
95+
///@{
96+
/**
97+
* <p>Combines multiple conditions with OR operator. At least one condition must be
98+
* true for the compound condition to be true.</p>
99+
*/
100+
inline const CompoundCondition& GetOrAll() const { return *m_orAll; }
101+
inline bool OrAllHasBeenSet() const { return m_orAllHasBeenSet; }
102+
template <typename OrAllT = CompoundCondition>
103+
void SetOrAll(OrAllT&& value) {
104+
m_orAllHasBeenSet = true;
105+
m_orAll = Aws::MakeShared<CompoundCondition>("BooleanCondition", std::forward<OrAllT>(value));
106+
}
107+
template <typename OrAllT = CompoundCondition>
108+
BooleanCondition& WithOrAll(OrAllT&& value) {
109+
SetOrAll(std::forward<OrAllT>(value));
110+
return *this;
111+
}
112+
///@}
73113
private:
74114
BooleanOperands m_equalTo;
75115

76116
BooleanOperands m_notEqualTo;
117+
118+
std::shared_ptr<CompoundCondition> m_andAll;
119+
120+
std::shared_ptr<CompoundCondition> m_orAll;
77121
bool m_equalToHasBeenSet = false;
78122
bool m_notEqualToHasBeenSet = false;
123+
bool m_andAllHasBeenSet = false;
124+
bool m_orAllHasBeenSet = false;
79125
};
80126

81127
} // namespace Model
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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/connectcases/ConnectCases_EXPORTS.h>
8+
#include <aws/connectcases/model/BooleanCondition.h>
9+
#include <aws/core/utils/memory/stl/AWSVector.h>
10+
11+
#include <utility>
12+
13+
namespace Aws {
14+
namespace Utils {
15+
namespace Json {
16+
class JsonValue;
17+
class JsonView;
18+
} // namespace Json
19+
} // namespace Utils
20+
namespace ConnectCases {
21+
namespace Model {
22+
class BooleanCondition;
23+
24+
/**
25+
* <p>A compound condition that combines multiple boolean conditions using logical
26+
* operators. In the Amazon Connect admin website, case rules are known as <i>case
27+
* field conditions</i>. For more information about case field conditions, see <a
28+
* href="https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html">Add
29+
* case field conditions to a case template</a>.</p><p><h3>See Also:</h3> <a
30+
* href="http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CompoundCondition">AWS
31+
* API Reference</a></p>
32+
*/
33+
class CompoundCondition {
34+
public:
35+
AWS_CONNECTCASES_API CompoundCondition() = default;
36+
AWS_CONNECTCASES_API CompoundCondition(Aws::Utils::Json::JsonView jsonValue);
37+
AWS_CONNECTCASES_API CompoundCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
38+
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
39+
40+
///@{
41+
/**
42+
* <p>The list of conditions to combine using the logical operator.</p>
43+
*/
44+
inline const Aws::Vector<BooleanCondition>& GetConditions() const { return m_conditions; }
45+
inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
46+
template <typename ConditionsT = Aws::Vector<BooleanCondition>>
47+
void SetConditions(ConditionsT&& value) {
48+
m_conditionsHasBeenSet = true;
49+
m_conditions = std::forward<ConditionsT>(value);
50+
}
51+
template <typename ConditionsT = Aws::Vector<BooleanCondition>>
52+
CompoundCondition& WithConditions(ConditionsT&& value) {
53+
SetConditions(std::forward<ConditionsT>(value));
54+
return *this;
55+
}
56+
template <typename ConditionsT = BooleanCondition>
57+
CompoundCondition& AddConditions(ConditionsT&& value) {
58+
m_conditionsHasBeenSet = true;
59+
m_conditions.emplace_back(std::forward<ConditionsT>(value));
60+
return *this;
61+
}
62+
///@}
63+
private:
64+
Aws::Vector<BooleanCondition> m_conditions;
65+
bool m_conditionsHasBeenSet = false;
66+
};
67+
68+
} // namespace Model
69+
} // namespace ConnectCases
70+
} // namespace Aws

generated/src/aws-cpp-sdk-connectcases/source/model/BooleanCondition.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
#include <aws/connectcases/model/BooleanCondition.h>
7+
#include <aws/connectcases/model/CompoundCondition.h>
78
#include <aws/core/utils/json/JsonSerializer.h>
89

910
#include <utility>
@@ -26,6 +27,14 @@ BooleanCondition& BooleanCondition::operator=(JsonView jsonValue) {
2627
m_notEqualTo = jsonValue.GetObject("notEqualTo");
2728
m_notEqualToHasBeenSet = true;
2829
}
30+
if (jsonValue.ValueExists("andAll")) {
31+
m_andAll = Aws::MakeShared<CompoundCondition>("BooleanCondition", jsonValue.GetObject("andAll"));
32+
m_andAllHasBeenSet = true;
33+
}
34+
if (jsonValue.ValueExists("orAll")) {
35+
m_orAll = Aws::MakeShared<CompoundCondition>("BooleanCondition", jsonValue.GetObject("orAll"));
36+
m_orAllHasBeenSet = true;
37+
}
2938
return *this;
3039
}
3140

@@ -40,6 +49,14 @@ JsonValue BooleanCondition::Jsonize() const {
4049
payload.WithObject("notEqualTo", m_notEqualTo.Jsonize());
4150
}
4251

52+
if (m_andAllHasBeenSet) {
53+
payload.WithObject("andAll", m_andAll->Jsonize());
54+
}
55+
56+
if (m_orAllHasBeenSet) {
57+
payload.WithObject("orAll", m_orAll->Jsonize());
58+
}
59+
4360
return payload;
4461
}
4562

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/connectcases/model/CompoundCondition.h>
7+
#include <aws/core/utils/json/JsonSerializer.h>
8+
9+
#include <utility>
10+
11+
using namespace Aws::Utils::Json;
12+
using namespace Aws::Utils;
13+
14+
namespace Aws {
15+
namespace ConnectCases {
16+
namespace Model {
17+
18+
CompoundCondition::CompoundCondition(JsonView jsonValue) { *this = jsonValue; }
19+
20+
CompoundCondition& CompoundCondition::operator=(JsonView jsonValue) {
21+
if (jsonValue.ValueExists("conditions")) {
22+
Aws::Utils::Array<JsonView> conditionsJsonList = jsonValue.GetArray("conditions");
23+
for (unsigned conditionsIndex = 0; conditionsIndex < conditionsJsonList.GetLength(); ++conditionsIndex) {
24+
m_conditions.push_back(conditionsJsonList[conditionsIndex].AsObject());
25+
}
26+
m_conditionsHasBeenSet = true;
27+
}
28+
return *this;
29+
}
30+
31+
JsonValue CompoundCondition::Jsonize() const {
32+
JsonValue payload;
33+
34+
if (m_conditionsHasBeenSet) {
35+
Aws::Utils::Array<JsonValue> conditionsJsonList(m_conditions.size());
36+
for (unsigned conditionsIndex = 0; conditionsIndex < conditionsJsonList.GetLength(); ++conditionsIndex) {
37+
conditionsJsonList[conditionsIndex].AsObject(m_conditions[conditionsIndex].Jsonize());
38+
}
39+
payload.WithArray("conditions", std::move(conditionsJsonList));
40+
}
41+
42+
return payload;
43+
}
44+
45+
} // namespace Model
46+
} // namespace ConnectCases
47+
} // namespace Aws

generated/src/aws-cpp-sdk-dms/include/aws/dms/model/RedshiftSettings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class RedshiftSettings {
306306

307307
///@{
308308
/**
309-
* <p>The amount of time to wait (in milliseconds) before timing out of operations
309+
* <p>The amount of time to wait (in seconds) before timing out of operations
310310
* performed by DMS on a Redshift cluster, such as Redshift COPY, INSERT, DELETE,
311311
* and UPDATE.</p>
312312
*/

0 commit comments

Comments
 (0)