Skip to content

Commit 016da33

Browse files
Added default pagination value for ListMalwareProtectionPlans API and updated UpdateFindingsFeedback API
This release adds support for creating and managing InfluxDB 3 Core and Enterprise DbClusters. This release expands Listener Rule Conditions to support RegexValues and adds support for a new Transforms field in Listener Rules. Introducing EC2 Capacity Manager for monitoring and analyzing capacity usage across On-Demand Instances, Spot Instances, and Capacity Reservations. Add support for manage Lightsail Bucket CORS configuration Amazon Bedrock Automated Reasoning Policy now offers enhanced AWS KMS integration. The CreateAutomatedReasoningPolicy API includes a new kmsKeyId field, allowing customers to specify their preferred KMS key for encryption, improving control and compliance with AWS encryption mandates. Add support for NetworkType field in CreateDbCluster, ModifyDbCluster, RestoreDbClusterFromSnapshot and RestoreDbClusterToPointInTime for DocumentDB.
1 parent e8594e0 commit 016da33

File tree

221 files changed

+15492
-1189
lines changed

Some content is hidden

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

221 files changed

+15492
-1189
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.669
1+
1.11.670

generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/CreateAutomatedReasoningPolicyRequest.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,21 @@ namespace Model
9191
CreateAutomatedReasoningPolicyRequest& WithPolicyDefinition(PolicyDefinitionT&& value) { SetPolicyDefinition(std::forward<PolicyDefinitionT>(value)); return *this;}
9292
///@}
9393

94+
///@{
95+
/**
96+
* <p>The identifier of the KMS key to use for encrypting the automated reasoning
97+
* policy and its associated artifacts. If you don't specify a KMS key, Amazon
98+
* Bedrock uses an KMS managed key for encryption. For enhanced security and
99+
* control, you can specify a customer managed KMS key.</p>
100+
*/
101+
inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
102+
inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
103+
template<typename KmsKeyIdT = Aws::String>
104+
void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
105+
template<typename KmsKeyIdT = Aws::String>
106+
CreateAutomatedReasoningPolicyRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
107+
///@}
108+
94109
///@{
95110
/**
96111
* <p>A list of tags to associate with the Automated Reasoning policy. Tags help
@@ -119,6 +134,9 @@ namespace Model
119134
AutomatedReasoningPolicyDefinition m_policyDefinition;
120135
bool m_policyDefinitionHasBeenSet = false;
121136

137+
Aws::String m_kmsKeyId;
138+
bool m_kmsKeyIdHasBeenSet = false;
139+
122140
Aws::Vector<Tag> m_tags;
123141
bool m_tagsHasBeenSet = false;
124142
};

generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/DeleteAutomatedReasoningPolicyRequest.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

1212
namespace Aws
1313
{
14+
namespace Http
15+
{
16+
class URI;
17+
} //namespace Http
1418
namespace Bedrock
1519
{
1620
namespace Model
@@ -31,6 +35,8 @@ namespace Model
3135

3236
AWS_BEDROCK_API Aws::String SerializePayload() const override;
3337

38+
AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39+
3440

3541
///@{
3642
/**
@@ -44,10 +50,28 @@ namespace Model
4450
template<typename PolicyArnT = Aws::String>
4551
DeleteAutomatedReasoningPolicyRequest& WithPolicyArn(PolicyArnT&& value) { SetPolicyArn(std::forward<PolicyArnT>(value)); return *this;}
4652
///@}
53+
54+
///@{
55+
/**
56+
* <p>Specifies whether to force delete the automated reasoning policy even if it
57+
* has active resources. When <code>false</code>, Amazon Bedrock validates if all
58+
* artifacts have been deleted (e.g. policy version, test case, test result) for a
59+
* policy before deletion. When <code>true</code>, Amazon Bedrock will delete the
60+
* policy and all its artifacts without validation. Default is <code>false</code>.
61+
* </p>
62+
*/
63+
inline bool GetForce() const { return m_force; }
64+
inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
65+
inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
66+
inline DeleteAutomatedReasoningPolicyRequest& WithForce(bool value) { SetForce(value); return *this;}
67+
///@}
4768
private:
4869

4970
Aws::String m_policyArn;
5071
bool m_policyArnHasBeenSet = false;
72+
73+
bool m_force{false};
74+
bool m_forceHasBeenSet = false;
5175
};
5276

5377
} // namespace Model

generated/src/aws-cpp-sdk-bedrock/include/aws/bedrock/model/GetAutomatedReasoningPolicyResult.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,20 @@ namespace Model
9999
GetAutomatedReasoningPolicyResult& WithDefinitionHash(DefinitionHashT&& value) { SetDefinitionHash(std::forward<DefinitionHashT>(value)); return *this;}
100100
///@}
101101

102+
///@{
103+
/**
104+
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the automated
105+
* reasoning policy and its associated artifacts. If a KMS key is not provided
106+
* during the initial CreateAutomatedReasoningPolicyRequest, the kmsKeyArn won't be
107+
* included in the GetAutomatedReasoningPolicyResponse. </p>
108+
*/
109+
inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
110+
template<typename KmsKeyArnT = Aws::String>
111+
void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
112+
template<typename KmsKeyArnT = Aws::String>
113+
GetAutomatedReasoningPolicyResult& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
114+
///@}
115+
102116
///@{
103117
/**
104118
* <p>The timestamp when the policy was created.</p>
@@ -149,6 +163,9 @@ namespace Model
149163
Aws::String m_definitionHash;
150164
bool m_definitionHashHasBeenSet = false;
151165

166+
Aws::String m_kmsKeyArn;
167+
bool m_kmsKeyArnHasBeenSet = false;
168+
152169
Aws::Utils::DateTime m_createdAt{};
153170
bool m_createdAtHasBeenSet = false;
154171

generated/src/aws-cpp-sdk-bedrock/source/BedrockEndpointRules.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static constexpr RulesBlobT RulesBlob = {{
2121
':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','T',
2222
'h','e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ','t','o',' ','d','i','s',
2323
'p','a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"',',','"','t','y','p','e',
24-
'"',':','"','S','t','r','i','n','g','"','}',',','"','U','s','e','D','u','a','l','S','t','a','c','k',
24+
'"',':','"','s','t','r','i','n','g','"','}',',','"','U','s','e','D','u','a','l','S','t','a','c','k',
2525
'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','D','u','a',
2626
'l','S','t','a','c','k','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"',
2727
'd','e','f','a','u','l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a',
@@ -31,7 +31,7 @@ static constexpr RulesBlobT RulesBlob = {{
3131
'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','d','u','a','l','-','s','t','a','c',
3232
'k',',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e','s',
3333
't',' ','M','A','Y',' ','r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"',',','"',
34-
't','y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"','U','s','e','F','I','P','S',
34+
't','y','p','e','"',':','"','b','o','o','l','e','a','n','"','}',',','"','U','s','e','F','I','P','S',
3535
'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','F','I','P',
3636
'S','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"','d','e','f','a','u',
3737
'l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',
@@ -42,13 +42,13 @@ static constexpr RulesBlobT RulesBlob = {{
4242
'o','e','s',' ','n','o','t',' ','h','a','v','e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l',
4343
'i','a','n','t',' ','e','n','d','p','o','i','n','t',',',' ','d','i','s','p','a','t','c','h','i','n',
4444
'g',' ','t','h','e',' ','r','e','q','u','e','s','t',' ','w','i','l','l',' ','r','e','t','u','r','n',
45-
' ','a','n',' ','e','r','r','o','r','.','"',',','"','t','y','p','e','"',':','"','B','o','o','l','e',
45+
' ','a','n',' ','e','r','r','o','r','.','"',',','"','t','y','p','e','"',':','"','b','o','o','l','e',
4646
'a','n','"','}',',','"','E','n','d','p','o','i','n','t','"',':','{','"','b','u','i','l','t','I','n',
4747
'"',':','"','S','D','K',':',':','E','n','d','p','o','i','n','t','"',',','"','r','e','q','u','i','r',
4848
'e','d','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',
4949
':','"','O','v','e','r','r','i','d','e',' ','t','h','e',' ','e','n','d','p','o','i','n','t',' ','u',
5050
's','e','d',' ','t','o',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t','"',
51-
',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s',
51+
',','"','t','y','p','e','"',':','"','s','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s',
5252
'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"',
5353
'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n',
5454
'd','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o',

generated/src/aws-cpp-sdk-bedrock/source/model/CreateAutomatedReasoningPolicyRequest.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ Aws::String CreateAutomatedReasoningPolicyRequest::SerializePayload() const
4040

4141
}
4242

43+
if(m_kmsKeyIdHasBeenSet)
44+
{
45+
payload.WithString("kmsKeyId", m_kmsKeyId);
46+
47+
}
48+
4349
if(m_tagsHasBeenSet)
4450
{
4551
Aws::Utils::Array<JsonValue> tagsJsonList(m_tags.size());

generated/src/aws-cpp-sdk-bedrock/source/model/DeleteAutomatedReasoningPolicyRequest.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,32 @@
55

66
#include <aws/bedrock/model/DeleteAutomatedReasoningPolicyRequest.h>
77
#include <aws/core/utils/json/JsonSerializer.h>
8+
#include <aws/core/http/URI.h>
9+
#include <aws/core/utils/memory/stl/AWSStringStream.h>
810

911
#include <utility>
1012

1113
using namespace Aws::Bedrock::Model;
1214
using namespace Aws::Utils::Json;
1315
using namespace Aws::Utils;
16+
using namespace Aws::Http;
1417

1518
Aws::String DeleteAutomatedReasoningPolicyRequest::SerializePayload() const
1619
{
1720
return {};
1821
}
1922

23+
void DeleteAutomatedReasoningPolicyRequest::AddQueryStringParameters(URI& uri) const
24+
{
25+
Aws::StringStream ss;
26+
if(m_forceHasBeenSet)
27+
{
28+
ss << m_force;
29+
uri.AddQueryStringParameter("force", ss.str());
30+
ss.str("");
31+
}
32+
33+
}
2034

2135

2236

generated/src/aws-cpp-sdk-bedrock/source/model/GetAutomatedReasoningPolicyResult.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ GetAutomatedReasoningPolicyResult& GetAutomatedReasoningPolicyResult::operator =
5555
m_definitionHash = jsonValue.GetString("definitionHash");
5656
m_definitionHashHasBeenSet = true;
5757
}
58+
if(jsonValue.ValueExists("kmsKeyArn"))
59+
{
60+
m_kmsKeyArn = jsonValue.GetString("kmsKeyArn");
61+
m_kmsKeyArnHasBeenSet = true;
62+
}
5863
if(jsonValue.ValueExists("createdAt"))
5964
{
6065
m_createdAt = jsonValue.GetString("createdAt");

generated/src/aws-cpp-sdk-docdb/include/aws/docdb/DocDBClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ namespace DocDB
416416
/**
417417
* <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple
418418
* Amazon Web Services Regions. The global cluster contains one primary cluster
419-
* with read-write capability, and up-to give read-only secondary clusters. Global
419+
* with read-write capability, and up-to 10 read-only secondary clusters. Global
420420
* clusters uses storage-based fast replication across regions with latencies less
421421
* than one second, using dedicated infrastructure with no impact to your
422422
* workload’s performance.</p> <p/> <p>You can create a global cluster that is

generated/src/aws-cpp-sdk-docdb/include/aws/docdb/DocDBErrors.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ enum class DocDBErrors
9191
INVALID_SUBNET,
9292
INVALID_V_P_C_NETWORK_STATE_FAULT,
9393
K_M_S_KEY_NOT_ACCESSIBLE_FAULT,
94+
NETWORK_TYPE_NOT_SUPPORTED,
9495
RESOURCE_NOT_FOUND_FAULT,
9596
SHARED_SNAPSHOT_QUOTA_EXCEEDED_FAULT,
9697
SNAPSHOT_QUOTA_EXCEEDED_FAULT,

0 commit comments

Comments
 (0)