Skip to content

Commit b7e4f68

Browse files
AWS Transcribe Streaming now supports specifying a resumption window for the stream through the SessionResumeWindow parameter, allowing customers to reconnect to their streams for a longer duration beyond stream start time.
Updates the regex for validating availabilityZone strings used in the describe events filters. Resource owners can now specify ResourceShareConfiguration request parameter for CreateResourceShare API including RetainSharingOnAccountLeaveOrganization boolean parameter Deprecate EvaluationReviewMetadata's CreatedBy and CreatedTime, add EvaluationReviewMetadata's RequestedBy and RequestedTime This release introduces an optional SourcePriority parameter to the ProfileObjectType APIs, allowing you to control the precedence of object types when ingesting data from multiple sources. Additionally, WebAnalytics and Device have been added as new StandardIdentifier values. ODB Networking Route Management is a feature improvement which allows for implicit creation and deletion of EC2 Routes in the Peer Network Route Table designated by the customer via new optional input. This feature release is combined with Multiple App-VPC functionality for ODB Network Peering(s). Added four new model lifecycle date fields, startOfLifeTime, endOfLifeTime, legacyTime, and publicExtendedAccessTime. Adds support for using the Converse API with Bedrock Batch inference jobs. Cognito is introducing a two-secret rotation model for app clients, enabling seamless credential rotation without downtime. Dedicated APIs support passing in a custom secret. Custom secrets need to be at least 24 characters. This eliminates reconfiguration needs and reduces security risks. This feature allows customers to specify the minimum time (in minutes) that AWS Batch keeps instances running in a compute environment after all jobs on the instance complete Added support for Change Data Capture (CDC) streams with Duration DataType. Post-Recovery Workflows enable customers to maintain comprehensive disaster recovery automation. This allows customer SREs and leadership to have complete recovery orchestration from failover through post-recovery preparation, ensuring Regions remain ready for subsequent recovery events.
1 parent 4bd9795 commit b7e4f68

137 files changed

Lines changed: 3594 additions & 534 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.759
1+
1.11.760

generated/src/aws-cpp-sdk-arc-region-switch/include/aws/arc-region-switch/model/AbbreviatedExecution.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,25 @@ class AbbreviatedExecution {
233233
}
234234
///@}
235235

236+
///@{
237+
/**
238+
* <p>The unique identifier of the most recent recovery execution. Required when
239+
* starting a post-recovery execution.</p>
240+
*/
241+
inline const Aws::String& GetRecoveryExecutionId() const { return m_recoveryExecutionId; }
242+
inline bool RecoveryExecutionIdHasBeenSet() const { return m_recoveryExecutionIdHasBeenSet; }
243+
template <typename RecoveryExecutionIdT = Aws::String>
244+
void SetRecoveryExecutionId(RecoveryExecutionIdT&& value) {
245+
m_recoveryExecutionIdHasBeenSet = true;
246+
m_recoveryExecutionId = std::forward<RecoveryExecutionIdT>(value);
247+
}
248+
template <typename RecoveryExecutionIdT = Aws::String>
249+
AbbreviatedExecution& WithRecoveryExecutionId(RecoveryExecutionIdT&& value) {
250+
SetRecoveryExecutionId(std::forward<RecoveryExecutionIdT>(value));
251+
return *this;
252+
}
253+
///@}
254+
236255
///@{
237256
/**
238257
* <p>The actual recovery time that Region switch calculates for a plan execution.
@@ -276,6 +295,8 @@ class AbbreviatedExecution {
276295

277296
Aws::String m_executionRegion;
278297

298+
Aws::String m_recoveryExecutionId;
299+
279300
Aws::String m_actualRecoveryTime;
280301
bool m_planArnHasBeenSet = false;
281302
bool m_executionIdHasBeenSet = false;
@@ -288,6 +309,7 @@ class AbbreviatedExecution {
288309
bool m_executionStateHasBeenSet = false;
289310
bool m_executionActionHasBeenSet = false;
290311
bool m_executionRegionHasBeenSet = false;
312+
bool m_recoveryExecutionIdHasBeenSet = false;
291313
bool m_actualRecoveryTimeHasBeenSet = false;
292314
};
293315

generated/src/aws-cpp-sdk-arc-region-switch/include/aws/arc-region-switch/model/CustomActionLambdaConfiguration.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ class CustomActionLambdaConfiguration {
9393

9494
///@{
9595
/**
96-
* <p>The Amazon Web Services Region for the function to run in.</p>
96+
* <p>The Amazon Web Services Region for the function to run in. For recovery
97+
* workflows use <code>activatingRegion</code> or <code>deactivatingRegion</code>.
98+
* For post-recovery workflows, use <code>activeRegion</code> (the Region with
99+
* customer traffic) or <code>inactiveRegion</code> (the Region with no customer
100+
* traffic).</p>
97101
*/
98102
inline RegionToRunIn GetRegionToRun() const { return m_regionToRun; }
99103
inline bool RegionToRunHasBeenSet() const { return m_regionToRunHasBeenSet; }

generated/src/aws-cpp-sdk-arc-region-switch/include/aws/arc-region-switch/model/ExecutionAction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace Aws {
1111
namespace ARCRegionswitch {
1212
namespace Model {
13-
enum class ExecutionAction { NOT_SET, activate, deactivate };
13+
enum class ExecutionAction { NOT_SET, activate, deactivate, postRecovery };
1414

1515
namespace ExecutionActionMapper {
1616
AWS_ARCREGIONSWITCH_API ExecutionAction GetExecutionActionForName(const Aws::String& name);

generated/src/aws-cpp-sdk-arc-region-switch/include/aws/arc-region-switch/model/ExecutionBlockConfiguration.h

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#include <aws/arc-region-switch/model/EksResourceScalingConfiguration.h>
1414
#include <aws/arc-region-switch/model/ExecutionApprovalConfiguration.h>
1515
#include <aws/arc-region-switch/model/GlobalAuroraConfiguration.h>
16+
#include <aws/arc-region-switch/model/RdsCreateCrossRegionReplicaConfiguration.h>
17+
#include <aws/arc-region-switch/model/RdsPromoteReadReplicaConfiguration.h>
1618
#include <aws/arc-region-switch/model/RegionSwitchPlanConfiguration.h>
1719
#include <aws/arc-region-switch/model/Route53HealthCheckConfiguration.h>
1820
#include <aws/core/utils/memory/stl/AWSAllocator.h>
@@ -240,6 +242,44 @@ class ExecutionBlockConfiguration {
240242
return *this;
241243
}
242244
///@}
245+
246+
///@{
247+
/**
248+
* <p>An Amazon RDS promote read replica execution block.</p>
249+
*/
250+
inline const RdsPromoteReadReplicaConfiguration& GetRdsPromoteReadReplicaConfig() const { return m_rdsPromoteReadReplicaConfig; }
251+
inline bool RdsPromoteReadReplicaConfigHasBeenSet() const { return m_rdsPromoteReadReplicaConfigHasBeenSet; }
252+
template <typename RdsPromoteReadReplicaConfigT = RdsPromoteReadReplicaConfiguration>
253+
void SetRdsPromoteReadReplicaConfig(RdsPromoteReadReplicaConfigT&& value) {
254+
m_rdsPromoteReadReplicaConfigHasBeenSet = true;
255+
m_rdsPromoteReadReplicaConfig = std::forward<RdsPromoteReadReplicaConfigT>(value);
256+
}
257+
template <typename RdsPromoteReadReplicaConfigT = RdsPromoteReadReplicaConfiguration>
258+
ExecutionBlockConfiguration& WithRdsPromoteReadReplicaConfig(RdsPromoteReadReplicaConfigT&& value) {
259+
SetRdsPromoteReadReplicaConfig(std::forward<RdsPromoteReadReplicaConfigT>(value));
260+
return *this;
261+
}
262+
///@}
263+
264+
///@{
265+
/**
266+
* <p>An Amazon RDS create cross-Region replica execution block.</p>
267+
*/
268+
inline const RdsCreateCrossRegionReplicaConfiguration& GetRdsCreateCrossRegionReadReplicaConfig() const {
269+
return m_rdsCreateCrossRegionReadReplicaConfig;
270+
}
271+
inline bool RdsCreateCrossRegionReadReplicaConfigHasBeenSet() const { return m_rdsCreateCrossRegionReadReplicaConfigHasBeenSet; }
272+
template <typename RdsCreateCrossRegionReadReplicaConfigT = RdsCreateCrossRegionReplicaConfiguration>
273+
void SetRdsCreateCrossRegionReadReplicaConfig(RdsCreateCrossRegionReadReplicaConfigT&& value) {
274+
m_rdsCreateCrossRegionReadReplicaConfigHasBeenSet = true;
275+
m_rdsCreateCrossRegionReadReplicaConfig = std::forward<RdsCreateCrossRegionReadReplicaConfigT>(value);
276+
}
277+
template <typename RdsCreateCrossRegionReadReplicaConfigT = RdsCreateCrossRegionReplicaConfiguration>
278+
ExecutionBlockConfiguration& WithRdsCreateCrossRegionReadReplicaConfig(RdsCreateCrossRegionReadReplicaConfigT&& value) {
279+
SetRdsCreateCrossRegionReadReplicaConfig(std::forward<RdsCreateCrossRegionReadReplicaConfigT>(value));
280+
return *this;
281+
}
282+
///@}
243283
private:
244284
CustomActionLambdaConfiguration m_customActionLambdaConfig;
245285

@@ -262,6 +302,10 @@ class ExecutionBlockConfiguration {
262302
Route53HealthCheckConfiguration m_route53HealthCheckConfig;
263303

264304
DocumentDbConfiguration m_documentDbConfig;
305+
306+
RdsPromoteReadReplicaConfiguration m_rdsPromoteReadReplicaConfig;
307+
308+
RdsCreateCrossRegionReplicaConfiguration m_rdsCreateCrossRegionReadReplicaConfig;
265309
bool m_customActionLambdaConfigHasBeenSet = false;
266310
bool m_ec2AsgCapacityIncreaseConfigHasBeenSet = false;
267311
bool m_executionApprovalConfigHasBeenSet = false;
@@ -273,6 +317,8 @@ class ExecutionBlockConfiguration {
273317
bool m_eksResourceScalingConfigHasBeenSet = false;
274318
bool m_route53HealthCheckConfigHasBeenSet = false;
275319
bool m_documentDbConfigHasBeenSet = false;
320+
bool m_rdsPromoteReadReplicaConfigHasBeenSet = false;
321+
bool m_rdsCreateCrossRegionReadReplicaConfigHasBeenSet = false;
276322
};
277323

278324
} // namespace Model

generated/src/aws-cpp-sdk-arc-region-switch/include/aws/arc-region-switch/model/ExecutionBlockType.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ enum class ExecutionBlockType {
2222
ECSServiceScaling,
2323
EKSResourceScaling,
2424
Route53HealthCheck,
25-
DocumentDb
25+
DocumentDb,
26+
RdsPromoteReadReplica,
27+
RdsCreateCrossRegionReplica
2628
};
2729

2830
namespace ExecutionBlockTypeMapper {

generated/src/aws-cpp-sdk-arc-region-switch/include/aws/arc-region-switch/model/GetPlanExecutionResult.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,24 @@ class GetPlanExecutionResult {
220220
}
221221
///@}
222222

223+
///@{
224+
/**
225+
* <p>The unique identifier of the most recent recovery execution. Required when
226+
* starting a post-recovery execution.</p>
227+
*/
228+
inline const Aws::String& GetRecoveryExecutionId() const { return m_recoveryExecutionId; }
229+
template <typename RecoveryExecutionIdT = Aws::String>
230+
void SetRecoveryExecutionId(RecoveryExecutionIdT&& value) {
231+
m_recoveryExecutionIdHasBeenSet = true;
232+
m_recoveryExecutionId = std::forward<RecoveryExecutionIdT>(value);
233+
}
234+
template <typename RecoveryExecutionIdT = Aws::String>
235+
GetPlanExecutionResult& WithRecoveryExecutionId(RecoveryExecutionIdT&& value) {
236+
SetRecoveryExecutionId(std::forward<RecoveryExecutionIdT>(value));
237+
return *this;
238+
}
239+
///@}
240+
223241
///@{
224242
/**
225243
* <p>The states of the steps in the plan execution.</p>
@@ -364,6 +382,8 @@ class GetPlanExecutionResult {
364382

365383
Aws::String m_executionRegion;
366384

385+
Aws::String m_recoveryExecutionId;
386+
367387
Aws::Vector<StepState> m_stepStates;
368388

369389
Plan m_plan;
@@ -387,6 +407,7 @@ class GetPlanExecutionResult {
387407
bool m_executionStateHasBeenSet = false;
388408
bool m_executionActionHasBeenSet = false;
389409
bool m_executionRegionHasBeenSet = false;
410+
bool m_recoveryExecutionIdHasBeenSet = false;
390411
bool m_stepStatesHasBeenSet = false;
391412
bool m_planHasBeenSet = false;
392413
bool m_actualRecoveryTimeHasBeenSet = false;
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
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/arc-region-switch/ARCRegionswitch_EXPORTS.h>
8+
#include <aws/core/utils/memory/stl/AWSMap.h>
9+
#include <aws/core/utils/memory/stl/AWSString.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 ARCRegionswitch {
21+
namespace Model {
22+
23+
/**
24+
* <p>Configuration for creating an Amazon RDS cross-Region read replica during
25+
* post-recovery in a Region switch.</p><p><h3>See Also:</h3> <a
26+
* href="http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/RdsCreateCrossRegionReplicaConfiguration">AWS
27+
* API Reference</a></p>
28+
*/
29+
class RdsCreateCrossRegionReplicaConfiguration {
30+
public:
31+
AWS_ARCREGIONSWITCH_API RdsCreateCrossRegionReplicaConfiguration() = default;
32+
AWS_ARCREGIONSWITCH_API RdsCreateCrossRegionReplicaConfiguration(Aws::Utils::Json::JsonView jsonValue);
33+
AWS_ARCREGIONSWITCH_API RdsCreateCrossRegionReplicaConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
34+
AWS_ARCREGIONSWITCH_API Aws::Utils::Json::JsonValue Jsonize() const;
35+
36+
///@{
37+
/**
38+
* <p>The timeout value specified for the configuration.</p>
39+
*/
40+
inline int GetTimeoutMinutes() const { return m_timeoutMinutes; }
41+
inline bool TimeoutMinutesHasBeenSet() const { return m_timeoutMinutesHasBeenSet; }
42+
inline void SetTimeoutMinutes(int value) {
43+
m_timeoutMinutesHasBeenSet = true;
44+
m_timeoutMinutes = value;
45+
}
46+
inline RdsCreateCrossRegionReplicaConfiguration& WithTimeoutMinutes(int value) {
47+
SetTimeoutMinutes(value);
48+
return *this;
49+
}
50+
///@}
51+
52+
///@{
53+
/**
54+
* <p>The cross-account role for the configuration.</p>
55+
*/
56+
inline const Aws::String& GetCrossAccountRole() const { return m_crossAccountRole; }
57+
inline bool CrossAccountRoleHasBeenSet() const { return m_crossAccountRoleHasBeenSet; }
58+
template <typename CrossAccountRoleT = Aws::String>
59+
void SetCrossAccountRole(CrossAccountRoleT&& value) {
60+
m_crossAccountRoleHasBeenSet = true;
61+
m_crossAccountRole = std::forward<CrossAccountRoleT>(value);
62+
}
63+
template <typename CrossAccountRoleT = Aws::String>
64+
RdsCreateCrossRegionReplicaConfiguration& WithCrossAccountRole(CrossAccountRoleT&& value) {
65+
SetCrossAccountRole(std::forward<CrossAccountRoleT>(value));
66+
return *this;
67+
}
68+
///@}
69+
70+
///@{
71+
/**
72+
* <p>The external ID (secret key) for the configuration.</p>
73+
*/
74+
inline const Aws::String& GetExternalId() const { return m_externalId; }
75+
inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
76+
template <typename ExternalIdT = Aws::String>
77+
void SetExternalId(ExternalIdT&& value) {
78+
m_externalIdHasBeenSet = true;
79+
m_externalId = std::forward<ExternalIdT>(value);
80+
}
81+
template <typename ExternalIdT = Aws::String>
82+
RdsCreateCrossRegionReplicaConfiguration& WithExternalId(ExternalIdT&& value) {
83+
SetExternalId(std::forward<ExternalIdT>(value));
84+
return *this;
85+
}
86+
///@}
87+
88+
///@{
89+
/**
90+
* <p>A map of database instance ARNs for each Region in the plan.</p>
91+
*/
92+
inline const Aws::Map<Aws::String, Aws::String>& GetDbInstanceArnMap() const { return m_dbInstanceArnMap; }
93+
inline bool DbInstanceArnMapHasBeenSet() const { return m_dbInstanceArnMapHasBeenSet; }
94+
template <typename DbInstanceArnMapT = Aws::Map<Aws::String, Aws::String>>
95+
void SetDbInstanceArnMap(DbInstanceArnMapT&& value) {
96+
m_dbInstanceArnMapHasBeenSet = true;
97+
m_dbInstanceArnMap = std::forward<DbInstanceArnMapT>(value);
98+
}
99+
template <typename DbInstanceArnMapT = Aws::Map<Aws::String, Aws::String>>
100+
RdsCreateCrossRegionReplicaConfiguration& WithDbInstanceArnMap(DbInstanceArnMapT&& value) {
101+
SetDbInstanceArnMap(std::forward<DbInstanceArnMapT>(value));
102+
return *this;
103+
}
104+
template <typename DbInstanceArnMapKeyT = Aws::String, typename DbInstanceArnMapValueT = Aws::String>
105+
RdsCreateCrossRegionReplicaConfiguration& AddDbInstanceArnMap(DbInstanceArnMapKeyT&& key, DbInstanceArnMapValueT&& value) {
106+
m_dbInstanceArnMapHasBeenSet = true;
107+
m_dbInstanceArnMap.emplace(std::forward<DbInstanceArnMapKeyT>(key), std::forward<DbInstanceArnMapValueT>(value));
108+
return *this;
109+
}
110+
///@}
111+
private:
112+
int m_timeoutMinutes{0};
113+
114+
Aws::String m_crossAccountRole;
115+
116+
Aws::String m_externalId;
117+
118+
Aws::Map<Aws::String, Aws::String> m_dbInstanceArnMap;
119+
bool m_timeoutMinutesHasBeenSet = false;
120+
bool m_crossAccountRoleHasBeenSet = false;
121+
bool m_externalIdHasBeenSet = false;
122+
bool m_dbInstanceArnMapHasBeenSet = false;
123+
};
124+
125+
} // namespace Model
126+
} // namespace ARCRegionswitch
127+
} // namespace Aws

0 commit comments

Comments
 (0)