Skip to content

Commit 2d2f18f

Browse files
Making sentiment optional for ListRealtimeContactAnalysisSegments Response depending on conversational analytics configuration
Add support for Marketplace Metering Service dual-stack endpoints for CN regions Raise hard limit of authorized principals per SubscriptionTarget from 10 to 20. Add support for Detective DualStack endpoints Add support for Marketplace Entitlement Service dual-stack endpoints for CN and GOV regions Adds deletion protection support to policy stores. Deletion protection is disabled by default, can be enabled via the CreatePolicyStore or UpdatePolicyStore APIs, and is visible in GetPolicyStore. Doc only update for API descriptions. Changed the minimum length of clusterIdentifier, computeNodeGroupIdentifier, and queueIdentifier to 3.
1 parent ed3a913 commit 2d2f18f

File tree

36 files changed

+2282
-2038
lines changed

36 files changed

+2282
-2038
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.545
1+
1.11.546

generated/src/aws-cpp-sdk-detective/source/DetectiveEndpointRules.cpp

+186-120
Large diffs are not rendered by default.

generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/DynamoDBClient.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ namespace DynamoDB
186186
* the minimum read capacity units according to the type of read. For more
187187
* information, see <a
188188
* href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#CapacityUnitCalculations">Working
189-
* with Tables</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p><p><h3>See
190-
* Also:</h3> <a
189+
* with Tables</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p> <p>
190+
* <code>BatchGetItem</code> will result in a <code>ValidationException</code> if
191+
* the same key is specified multiple times.</p> <p><h3>See Also:</h3> <a
191192
* href="http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem">AWS
192193
* API Reference</a></p>
193194
*/

generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/CreateGlobalSecondaryIndexAction.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,9 @@ namespace Model
104104
/**
105105
* <p>The maximum number of read and write units for the global secondary index
106106
* being created. If you use this parameter, you must specify
107-
* <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or
108-
* both.</p>
107+
* <code>MaxReadRequestUnits</code>, <code>MaxWriteRequestUnits</code>, or both.
108+
* You must use either <code>OnDemand Throughput</code> or
109+
* <code>ProvisionedThroughput</code> based on your table's capacity mode.</p>
109110
*/
110111
inline const OnDemandThroughput& GetOnDemandThroughput() const { return m_onDemandThroughput; }
111112
inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }

generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/ProvisionedThroughput.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ namespace Model
2222
{
2323

2424
/**
25-
* <p>Represents the provisioned throughput settings for a specified table or
26-
* index. The settings can be modified using the <code>UpdateTable</code>
27-
* operation.</p> <p>For current minimum and maximum provisioned throughput values,
28-
* see <a
25+
* <p>Represents the provisioned throughput settings for the specified global
26+
* secondary index. You must use <code>ProvisionedThroughput</code> or
27+
* <code>OnDemandThroughput</code> based on your table’s capacity mode.</p> <p>For
28+
* current minimum and maximum provisioned throughput values, see <a
2929
* href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html">Service,
3030
* Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer
3131
* Guide</i>.</p><p><h3>See Also:</h3> <a

generated/src/aws-cpp-sdk-dynamodb/include/aws/dynamodb/model/TableWarmThroughputDescription.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ namespace Model
2525

2626
/**
2727
* <p>Represents the warm throughput value (in read units per second and write
28-
* units per second) of the base table.</p><p><h3>See Also:</h3> <a
28+
* units per second) of the table. Warm throughput is applicable for DynamoDB
29+
* Standard-IA tables and specifies the minimum provisioned capacity maintained for
30+
* immediate data access.</p><p><h3>See Also:</h3> <a
2931
* href="http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableWarmThroughputDescription">AWS
3032
* API Reference</a></p>
3133
*/
@@ -62,7 +64,7 @@ namespace Model
6264

6365
///@{
6466
/**
65-
* <p>Represents warm throughput value of the base table..</p>
67+
* <p>Represents warm throughput value of the base table.</p>
6668
*/
6769
inline TableStatus GetStatus() const { return m_status; }
6870
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }

generated/src/aws-cpp-sdk-marketplace-entitlement/source/MarketplaceEntitlementServiceEndpointRules.cpp

+95-80
Large diffs are not rendered by default.

generated/src/aws-cpp-sdk-meteringmarketplace/source/MarketplaceMeteringEndpointRules.cpp

+111-81
Large diffs are not rendered by default.

generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/VerifiedPermissionsErrors.h

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ enum class VerifiedPermissionsErrors
4949

5050
CONFLICT= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
5151
INTERNAL_SERVER,
52+
INVALID_STATE,
5253
SERVICE_QUOTA_EXCEEDED
5354
};
5455

generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CreatePolicyStoreRequest.h

+15
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
99
#include <aws/core/utils/memory/stl/AWSString.h>
1010
#include <aws/verifiedpermissions/model/ValidationSettings.h>
11+
#include <aws/verifiedpermissions/model/DeletionProtection.h>
1112
#include <utility>
1213
#include <aws/core/utils/UUID.h>
1314

@@ -93,6 +94,17 @@ namespace Model
9394
template<typename DescriptionT = Aws::String>
9495
CreatePolicyStoreRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
9596
///@}
97+
98+
///@{
99+
/**
100+
* <p>Specifies whether the policy store can be deleted. If enabled, the policy
101+
* store can't be deleted.</p> <p>The default state is <code>DISABLED</code>.</p>
102+
*/
103+
inline DeletionProtection GetDeletionProtection() const { return m_deletionProtection; }
104+
inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
105+
inline void SetDeletionProtection(DeletionProtection value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
106+
inline CreatePolicyStoreRequest& WithDeletionProtection(DeletionProtection value) { SetDeletionProtection(value); return *this;}
107+
///@}
96108
private:
97109

98110
Aws::String m_clientToken;
@@ -103,6 +115,9 @@ namespace Model
103115

104116
Aws::String m_description;
105117
bool m_descriptionHasBeenSet = false;
118+
119+
DeletionProtection m_deletionProtection{DeletionProtection::NOT_SET};
120+
bool m_deletionProtectionHasBeenSet = false;
106121
};
107122

108123
} // namespace Model
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/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSString.h>
9+
10+
namespace Aws
11+
{
12+
namespace VerifiedPermissions
13+
{
14+
namespace Model
15+
{
16+
enum class DeletionProtection
17+
{
18+
NOT_SET,
19+
ENABLED,
20+
DISABLED
21+
};
22+
23+
namespace DeletionProtectionMapper
24+
{
25+
AWS_VERIFIEDPERMISSIONS_API DeletionProtection GetDeletionProtectionForName(const Aws::String& name);
26+
27+
AWS_VERIFIEDPERMISSIONS_API Aws::String GetNameForDeletionProtection(DeletionProtection value);
28+
} // namespace DeletionProtectionMapper
29+
} // namespace Model
30+
} // namespace VerifiedPermissions
31+
} // namespace Aws

generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/GetPolicyStoreResult.h

+14
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/core/utils/memory/stl/AWSString.h>
99
#include <aws/verifiedpermissions/model/ValidationSettings.h>
1010
#include <aws/core/utils/DateTime.h>
11+
#include <aws/verifiedpermissions/model/DeletionProtection.h>
1112
#include <utility>
1213

1314
namespace Aws
@@ -101,6 +102,16 @@ namespace Model
101102
GetPolicyStoreResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
102103
///@}
103104

105+
///@{
106+
/**
107+
* <p>Specifies whether the policy store can be deleted. If enabled, the policy
108+
* store can't be deleted.</p> <p>The default state is <code>DISABLED</code>.</p>
109+
*/
110+
inline DeletionProtection GetDeletionProtection() const { return m_deletionProtection; }
111+
inline void SetDeletionProtection(DeletionProtection value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
112+
inline GetPolicyStoreResult& WithDeletionProtection(DeletionProtection value) { SetDeletionProtection(value); return *this;}
113+
///@}
114+
104115
///@{
105116

106117
inline const Aws::String& GetRequestId() const { return m_requestId; }
@@ -129,6 +140,9 @@ namespace Model
129140
Aws::String m_description;
130141
bool m_descriptionHasBeenSet = false;
131142

143+
DeletionProtection m_deletionProtection{DeletionProtection::NOT_SET};
144+
bool m_deletionProtectionHasBeenSet = false;
145+
132146
Aws::String m_requestId;
133147
bool m_requestIdHasBeenSet = false;
134148
};

generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdatePolicyStoreRequest.h

+16
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
99
#include <aws/core/utils/memory/stl/AWSString.h>
1010
#include <aws/verifiedpermissions/model/ValidationSettings.h>
11+
#include <aws/verifiedpermissions/model/DeletionProtection.h>
1112
#include <utility>
1213

1314
namespace Aws
@@ -60,6 +61,18 @@ namespace Model
6061
UpdatePolicyStoreRequest& WithValidationSettings(ValidationSettingsT&& value) { SetValidationSettings(std::forward<ValidationSettingsT>(value)); return *this;}
6162
///@}
6263

64+
///@{
65+
/**
66+
* <p>Specifies whether the policy store can be deleted. If enabled, the policy
67+
* store can't be deleted.</p> <p>When you call <code>UpdatePolicyStore</code>,
68+
* this parameter is unchanged unless explicitly included in the call.</p>
69+
*/
70+
inline DeletionProtection GetDeletionProtection() const { return m_deletionProtection; }
71+
inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
72+
inline void SetDeletionProtection(DeletionProtection value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
73+
inline UpdatePolicyStoreRequest& WithDeletionProtection(DeletionProtection value) { SetDeletionProtection(value); return *this;}
74+
///@}
75+
6376
///@{
6477
/**
6578
* <p>Descriptive text that you can provide to help with identification of the
@@ -80,6 +93,9 @@ namespace Model
8093
ValidationSettings m_validationSettings;
8194
bool m_validationSettingsHasBeenSet = false;
8295

96+
DeletionProtection m_deletionProtection{DeletionProtection::NOT_SET};
97+
bool m_deletionProtectionHasBeenSet = false;
98+
8399
Aws::String m_description;
84100
bool m_descriptionHasBeenSet = false;
85101
};

generated/src/aws-cpp-sdk-verifiedpermissions/source/VerifiedPermissionsErrors.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ namespace VerifiedPermissionsErrorMapper
5757
static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException");
5858
static const int SERVICE_QUOTA_EXCEEDED_HASH = HashingUtils::HashString("ServiceQuotaExceededException");
5959
static const int INTERNAL_SERVER_HASH = HashingUtils::HashString("InternalServerException");
60+
static const int INVALID_STATE_HASH = HashingUtils::HashString("InvalidStateException");
6061

6162

6263
AWSError<CoreErrors> GetErrorForName(const char* errorName)
@@ -75,6 +76,10 @@ AWSError<CoreErrors> GetErrorForName(const char* errorName)
7576
{
7677
return AWSError<CoreErrors>(static_cast<CoreErrors>(VerifiedPermissionsErrors::INTERNAL_SERVER), RetryableType::RETRYABLE);
7778
}
79+
else if (hashCode == INVALID_STATE_HASH)
80+
{
81+
return AWSError<CoreErrors>(static_cast<CoreErrors>(VerifiedPermissionsErrors::INVALID_STATE), RetryableType::NOT_RETRYABLE);
82+
}
7883
return AWSError<CoreErrors>(CoreErrors::UNKNOWN, false);
7984
}
8085

generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CreatePolicyStoreRequest.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ Aws::String CreatePolicyStoreRequest::SerializePayload() const
3434

3535
}
3636

37+
if(m_deletionProtectionHasBeenSet)
38+
{
39+
payload.WithString("deletionProtection", DeletionProtectionMapper::GetNameForDeletionProtection(m_deletionProtection));
40+
}
41+
3742
return payload.View().WriteReadable();
3843
}
3944

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/**
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
* SPDX-License-Identifier: Apache-2.0.
4+
*/
5+
6+
#include <aws/verifiedpermissions/model/DeletionProtection.h>
7+
#include <aws/core/utils/HashingUtils.h>
8+
#include <aws/core/Globals.h>
9+
#include <aws/core/utils/EnumParseOverflowContainer.h>
10+
11+
using namespace Aws::Utils;
12+
13+
14+
namespace Aws
15+
{
16+
namespace VerifiedPermissions
17+
{
18+
namespace Model
19+
{
20+
namespace DeletionProtectionMapper
21+
{
22+
23+
static const int ENABLED_HASH = HashingUtils::HashString("ENABLED");
24+
static const int DISABLED_HASH = HashingUtils::HashString("DISABLED");
25+
26+
27+
DeletionProtection GetDeletionProtectionForName(const Aws::String& name)
28+
{
29+
int hashCode = HashingUtils::HashString(name.c_str());
30+
if (hashCode == ENABLED_HASH)
31+
{
32+
return DeletionProtection::ENABLED;
33+
}
34+
else if (hashCode == DISABLED_HASH)
35+
{
36+
return DeletionProtection::DISABLED;
37+
}
38+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
39+
if(overflowContainer)
40+
{
41+
overflowContainer->StoreOverflow(hashCode, name);
42+
return static_cast<DeletionProtection>(hashCode);
43+
}
44+
45+
return DeletionProtection::NOT_SET;
46+
}
47+
48+
Aws::String GetNameForDeletionProtection(DeletionProtection enumValue)
49+
{
50+
switch(enumValue)
51+
{
52+
case DeletionProtection::NOT_SET:
53+
return {};
54+
case DeletionProtection::ENABLED:
55+
return "ENABLED";
56+
case DeletionProtection::DISABLED:
57+
return "DISABLED";
58+
default:
59+
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
60+
if(overflowContainer)
61+
{
62+
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
63+
}
64+
65+
return {};
66+
}
67+
}
68+
69+
} // namespace DeletionProtectionMapper
70+
} // namespace Model
71+
} // namespace VerifiedPermissions
72+
} // namespace Aws

generated/src/aws-cpp-sdk-verifiedpermissions/source/model/GetPolicyStoreResult.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ GetPolicyStoreResult& GetPolicyStoreResult::operator =(const Aws::AmazonWebServi
5555
m_description = jsonValue.GetString("description");
5656
m_descriptionHasBeenSet = true;
5757
}
58+
if(jsonValue.ValueExists("deletionProtection"))
59+
{
60+
m_deletionProtection = DeletionProtectionMapper::GetDeletionProtectionForName(jsonValue.GetString("deletionProtection"));
61+
m_deletionProtectionHasBeenSet = true;
62+
}
5863

5964
const auto& headers = result.GetHeaderValueCollection();
6065
const auto& requestIdIter = headers.find("x-amzn-requestid");

generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdatePolicyStoreRequest.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Aws::String UpdatePolicyStoreRequest::SerializePayload() const
2828

2929
}
3030

31+
if(m_deletionProtectionHasBeenSet)
32+
{
33+
payload.WithString("deletionProtection", DeletionProtectionMapper::GetNameForDeletionProtection(m_deletionProtection));
34+
}
35+
3136
if(m_descriptionHasBeenSet)
3237
{
3338
payload.WithString("description", m_description);

0 commit comments

Comments
 (0)