Skip to content

Commit f5309cf

Browse files
Added JobLevelCostAllocationConfiguration field to enable cost allocation reporting at the job level, providing more granular visibility into EMR Serverless charges
Adding support for Custom Metrics and Pre-Defined Attributes to GetCurrentMetricData API. It is a internal bug fix for region expansion This release adds event-based logging feature that enables granular event logging controls for AWS IoT logs. Add support for WebAuthn under user settings. Automatic Plan Execution Reports allow customers to maintain a concise record of their Region switch Plan executions. This enables customer SREs and leadership to have a clear view of their recovery posture based on the generated reports for their Plan executions. AWS Wickr now provides a suite of admin APIs to allow you to programmatically manage secure communication for Wickr networks at scale. These APIs enable you to automate administrative workflows including user lifecycle management, network configuration, and security group administration.
1 parent 6494d9f commit f5309cf

File tree

354 files changed

+33719
-321
lines changed

Some content is hidden

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

354 files changed

+33719
-321
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.714
1+
1.11.715

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/arc-region-switch/ARCRegionswitch_EXPORTS.h>
99
#include <aws/arc-region-switch/model/AssociatedAlarm.h>
1010
#include <aws/arc-region-switch/model/RecoveryApproach.h>
11+
#include <aws/arc-region-switch/model/ReportConfiguration.h>
1112
#include <aws/arc-region-switch/model/Trigger.h>
1213
#include <aws/arc-region-switch/model/Workflow.h>
1314
#include <aws/core/utils/memory/stl/AWSMap.h>
@@ -166,6 +167,22 @@ class CreatePlanRequest : public ARCRegionswitchRequest {
166167
}
167168
///@}
168169

170+
///@{
171+
172+
inline const ReportConfiguration& GetReportConfiguration() const { return m_reportConfiguration; }
173+
inline bool ReportConfigurationHasBeenSet() const { return m_reportConfigurationHasBeenSet; }
174+
template <typename ReportConfigurationT = ReportConfiguration>
175+
void SetReportConfiguration(ReportConfigurationT&& value) {
176+
m_reportConfigurationHasBeenSet = true;
177+
m_reportConfiguration = std::forward<ReportConfigurationT>(value);
178+
}
179+
template <typename ReportConfigurationT = ReportConfiguration>
180+
CreatePlanRequest& WithReportConfiguration(ReportConfigurationT&& value) {
181+
SetReportConfiguration(std::forward<ReportConfigurationT>(value));
182+
return *this;
183+
}
184+
///@}
185+
169186
///@{
170187
/**
171188
* <p>The name of a Region switch plan.</p>
@@ -281,6 +298,8 @@ class CreatePlanRequest : public ARCRegionswitchRequest {
281298

282299
Aws::Vector<Trigger> m_triggers;
283300

301+
ReportConfiguration m_reportConfiguration;
302+
284303
Aws::String m_name;
285304

286305
Aws::Vector<Aws::String> m_regions;
@@ -296,6 +315,7 @@ class CreatePlanRequest : public ARCRegionswitchRequest {
296315
bool m_recoveryTimeObjectiveMinutesHasBeenSet = false;
297316
bool m_associatedAlarmsHasBeenSet = false;
298317
bool m_triggersHasBeenSet = false;
318+
bool m_reportConfigurationHasBeenSet = false;
299319
bool m_nameHasBeenSet = false;
300320
bool m_regionsHasBeenSet = false;
301321
bool m_recoveryApproachHasBeenSet = false;
Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
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/arc-region-switch/model/DocumentDbDefaultBehavior.h>
9+
#include <aws/arc-region-switch/model/DocumentDbUngraceful.h>
10+
#include <aws/core/utils/memory/stl/AWSString.h>
11+
#include <aws/core/utils/memory/stl/AWSVector.h>
12+
13+
#include <utility>
14+
15+
namespace Aws {
16+
namespace Utils {
17+
namespace Json {
18+
class JsonValue;
19+
class JsonView;
20+
} // namespace Json
21+
} // namespace Utils
22+
namespace ARCRegionswitch {
23+
namespace Model {
24+
25+
/**
26+
* <p>Configuration for Amazon DocumentDB global clusters used in a Region switch
27+
* plan.</p><p><h3>See Also:</h3> <a
28+
* href="http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/DocumentDbConfiguration">AWS
29+
* API Reference</a></p>
30+
*/
31+
class DocumentDbConfiguration {
32+
public:
33+
AWS_ARCREGIONSWITCH_API DocumentDbConfiguration() = default;
34+
AWS_ARCREGIONSWITCH_API DocumentDbConfiguration(Aws::Utils::Json::JsonView jsonValue);
35+
AWS_ARCREGIONSWITCH_API DocumentDbConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
36+
AWS_ARCREGIONSWITCH_API Aws::Utils::Json::JsonValue Jsonize() const;
37+
38+
///@{
39+
/**
40+
* <p>The timeout value specified for the configuration.</p>
41+
*/
42+
inline int GetTimeoutMinutes() const { return m_timeoutMinutes; }
43+
inline bool TimeoutMinutesHasBeenSet() const { return m_timeoutMinutesHasBeenSet; }
44+
inline void SetTimeoutMinutes(int value) {
45+
m_timeoutMinutesHasBeenSet = true;
46+
m_timeoutMinutes = value;
47+
}
48+
inline DocumentDbConfiguration& WithTimeoutMinutes(int value) {
49+
SetTimeoutMinutes(value);
50+
return *this;
51+
}
52+
///@}
53+
54+
///@{
55+
/**
56+
* <p>The cross account role for the configuration.</p>
57+
*/
58+
inline const Aws::String& GetCrossAccountRole() const { return m_crossAccountRole; }
59+
inline bool CrossAccountRoleHasBeenSet() const { return m_crossAccountRoleHasBeenSet; }
60+
template <typename CrossAccountRoleT = Aws::String>
61+
void SetCrossAccountRole(CrossAccountRoleT&& value) {
62+
m_crossAccountRoleHasBeenSet = true;
63+
m_crossAccountRole = std::forward<CrossAccountRoleT>(value);
64+
}
65+
template <typename CrossAccountRoleT = Aws::String>
66+
DocumentDbConfiguration& WithCrossAccountRole(CrossAccountRoleT&& value) {
67+
SetCrossAccountRole(std::forward<CrossAccountRoleT>(value));
68+
return *this;
69+
}
70+
///@}
71+
72+
///@{
73+
/**
74+
* <p>The external ID (secret key) for the configuration.</p>
75+
*/
76+
inline const Aws::String& GetExternalId() const { return m_externalId; }
77+
inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
78+
template <typename ExternalIdT = Aws::String>
79+
void SetExternalId(ExternalIdT&& value) {
80+
m_externalIdHasBeenSet = true;
81+
m_externalId = std::forward<ExternalIdT>(value);
82+
}
83+
template <typename ExternalIdT = Aws::String>
84+
DocumentDbConfiguration& WithExternalId(ExternalIdT&& value) {
85+
SetExternalId(std::forward<ExternalIdT>(value));
86+
return *this;
87+
}
88+
///@}
89+
90+
///@{
91+
/**
92+
* <p>The behavior for a global cluster, that is, only allow switchover or also
93+
* allow failover.</p>
94+
*/
95+
inline DocumentDbDefaultBehavior GetBehavior() const { return m_behavior; }
96+
inline bool BehaviorHasBeenSet() const { return m_behaviorHasBeenSet; }
97+
inline void SetBehavior(DocumentDbDefaultBehavior value) {
98+
m_behaviorHasBeenSet = true;
99+
m_behavior = value;
100+
}
101+
inline DocumentDbConfiguration& WithBehavior(DocumentDbDefaultBehavior value) {
102+
SetBehavior(value);
103+
return *this;
104+
}
105+
///@}
106+
107+
///@{
108+
/**
109+
* <p>The settings for ungraceful execution.</p>
110+
*/
111+
inline const DocumentDbUngraceful& GetUngraceful() const { return m_ungraceful; }
112+
inline bool UngracefulHasBeenSet() const { return m_ungracefulHasBeenSet; }
113+
template <typename UngracefulT = DocumentDbUngraceful>
114+
void SetUngraceful(UngracefulT&& value) {
115+
m_ungracefulHasBeenSet = true;
116+
m_ungraceful = std::forward<UngracefulT>(value);
117+
}
118+
template <typename UngracefulT = DocumentDbUngraceful>
119+
DocumentDbConfiguration& WithUngraceful(UngracefulT&& value) {
120+
SetUngraceful(std::forward<UngracefulT>(value));
121+
return *this;
122+
}
123+
///@}
124+
125+
///@{
126+
/**
127+
* <p>The global cluster identifier for a DocumentDB global cluster.</p>
128+
*/
129+
inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
130+
inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
131+
template <typename GlobalClusterIdentifierT = Aws::String>
132+
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
133+
m_globalClusterIdentifierHasBeenSet = true;
134+
m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
135+
}
136+
template <typename GlobalClusterIdentifierT = Aws::String>
137+
DocumentDbConfiguration& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
138+
SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
139+
return *this;
140+
}
141+
///@}
142+
143+
///@{
144+
/**
145+
* <p>The database cluster Amazon Resource Names (ARNs) for a DocumentDB global
146+
* cluster.</p>
147+
*/
148+
inline const Aws::Vector<Aws::String>& GetDatabaseClusterArns() const { return m_databaseClusterArns; }
149+
inline bool DatabaseClusterArnsHasBeenSet() const { return m_databaseClusterArnsHasBeenSet; }
150+
template <typename DatabaseClusterArnsT = Aws::Vector<Aws::String>>
151+
void SetDatabaseClusterArns(DatabaseClusterArnsT&& value) {
152+
m_databaseClusterArnsHasBeenSet = true;
153+
m_databaseClusterArns = std::forward<DatabaseClusterArnsT>(value);
154+
}
155+
template <typename DatabaseClusterArnsT = Aws::Vector<Aws::String>>
156+
DocumentDbConfiguration& WithDatabaseClusterArns(DatabaseClusterArnsT&& value) {
157+
SetDatabaseClusterArns(std::forward<DatabaseClusterArnsT>(value));
158+
return *this;
159+
}
160+
template <typename DatabaseClusterArnsT = Aws::String>
161+
DocumentDbConfiguration& AddDatabaseClusterArns(DatabaseClusterArnsT&& value) {
162+
m_databaseClusterArnsHasBeenSet = true;
163+
m_databaseClusterArns.emplace_back(std::forward<DatabaseClusterArnsT>(value));
164+
return *this;
165+
}
166+
///@}
167+
private:
168+
int m_timeoutMinutes{0};
169+
170+
Aws::String m_crossAccountRole;
171+
172+
Aws::String m_externalId;
173+
174+
DocumentDbDefaultBehavior m_behavior{DocumentDbDefaultBehavior::NOT_SET};
175+
176+
DocumentDbUngraceful m_ungraceful;
177+
178+
Aws::String m_globalClusterIdentifier;
179+
180+
Aws::Vector<Aws::String> m_databaseClusterArns;
181+
bool m_timeoutMinutesHasBeenSet = false;
182+
bool m_crossAccountRoleHasBeenSet = false;
183+
bool m_externalIdHasBeenSet = false;
184+
bool m_behaviorHasBeenSet = false;
185+
bool m_ungracefulHasBeenSet = false;
186+
bool m_globalClusterIdentifierHasBeenSet = false;
187+
bool m_databaseClusterArnsHasBeenSet = false;
188+
};
189+
190+
} // namespace Model
191+
} // namespace ARCRegionswitch
192+
} // namespace Aws
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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/AWSString.h>
9+
10+
namespace Aws {
11+
namespace ARCRegionswitch {
12+
namespace Model {
13+
enum class DocumentDbDefaultBehavior { NOT_SET, switchoverOnly, failover };
14+
15+
namespace DocumentDbDefaultBehaviorMapper {
16+
AWS_ARCREGIONSWITCH_API DocumentDbDefaultBehavior GetDocumentDbDefaultBehaviorForName(const Aws::String& name);
17+
18+
AWS_ARCREGIONSWITCH_API Aws::String GetNameForDocumentDbDefaultBehavior(DocumentDbDefaultBehavior value);
19+
} // namespace DocumentDbDefaultBehaviorMapper
20+
} // namespace Model
21+
} // namespace ARCRegionswitch
22+
} // namespace Aws
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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/arc-region-switch/model/DocumentDbUngracefulBehavior.h>
9+
10+
#include <utility>
11+
12+
namespace Aws {
13+
namespace Utils {
14+
namespace Json {
15+
class JsonValue;
16+
class JsonView;
17+
} // namespace Json
18+
} // namespace Utils
19+
namespace ARCRegionswitch {
20+
namespace Model {
21+
22+
/**
23+
* <p>Configuration for handling failures when performing operations on DocumentDB
24+
* global clusters.</p><p><h3>See Also:</h3> <a
25+
* href="http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/DocumentDbUngraceful">AWS
26+
* API Reference</a></p>
27+
*/
28+
class DocumentDbUngraceful {
29+
public:
30+
AWS_ARCREGIONSWITCH_API DocumentDbUngraceful() = default;
31+
AWS_ARCREGIONSWITCH_API DocumentDbUngraceful(Aws::Utils::Json::JsonView jsonValue);
32+
AWS_ARCREGIONSWITCH_API DocumentDbUngraceful& operator=(Aws::Utils::Json::JsonView jsonValue);
33+
AWS_ARCREGIONSWITCH_API Aws::Utils::Json::JsonValue Jsonize() const;
34+
35+
///@{
36+
/**
37+
* <p>The settings for ungraceful execution.</p>
38+
*/
39+
inline DocumentDbUngracefulBehavior GetUngraceful() const { return m_ungraceful; }
40+
inline bool UngracefulHasBeenSet() const { return m_ungracefulHasBeenSet; }
41+
inline void SetUngraceful(DocumentDbUngracefulBehavior value) {
42+
m_ungracefulHasBeenSet = true;
43+
m_ungraceful = value;
44+
}
45+
inline DocumentDbUngraceful& WithUngraceful(DocumentDbUngracefulBehavior value) {
46+
SetUngraceful(value);
47+
return *this;
48+
}
49+
///@}
50+
private:
51+
DocumentDbUngracefulBehavior m_ungraceful{DocumentDbUngracefulBehavior::NOT_SET};
52+
bool m_ungracefulHasBeenSet = false;
53+
};
54+
55+
} // namespace Model
56+
} // namespace ARCRegionswitch
57+
} // namespace Aws
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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/AWSString.h>
9+
10+
namespace Aws {
11+
namespace ARCRegionswitch {
12+
namespace Model {
13+
enum class DocumentDbUngracefulBehavior { NOT_SET, failover };
14+
15+
namespace DocumentDbUngracefulBehaviorMapper {
16+
AWS_ARCREGIONSWITCH_API DocumentDbUngracefulBehavior GetDocumentDbUngracefulBehaviorForName(const Aws::String& name);
17+
18+
AWS_ARCREGIONSWITCH_API Aws::String GetNameForDocumentDbUngracefulBehavior(DocumentDbUngracefulBehavior value);
19+
} // namespace DocumentDbUngracefulBehaviorMapper
20+
} // namespace Model
21+
} // namespace ARCRegionswitch
22+
} // namespace Aws

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <aws/arc-region-switch/ARCRegionswitch_EXPORTS.h>
88
#include <aws/arc-region-switch/model/ArcRoutingControlConfiguration.h>
99
#include <aws/arc-region-switch/model/CustomActionLambdaConfiguration.h>
10+
#include <aws/arc-region-switch/model/DocumentDbConfiguration.h>
1011
#include <aws/arc-region-switch/model/Ec2AsgCapacityIncreaseConfiguration.h>
1112
#include <aws/arc-region-switch/model/EcsCapacityIncreaseConfiguration.h>
1213
#include <aws/arc-region-switch/model/EksResourceScalingConfiguration.h>
@@ -223,6 +224,22 @@ class ExecutionBlockConfiguration {
223224
return *this;
224225
}
225226
///@}
227+
228+
///@{
229+
230+
inline const DocumentDbConfiguration& GetDocumentDbConfig() const { return m_documentDbConfig; }
231+
inline bool DocumentDbConfigHasBeenSet() const { return m_documentDbConfigHasBeenSet; }
232+
template <typename DocumentDbConfigT = DocumentDbConfiguration>
233+
void SetDocumentDbConfig(DocumentDbConfigT&& value) {
234+
m_documentDbConfigHasBeenSet = true;
235+
m_documentDbConfig = std::forward<DocumentDbConfigT>(value);
236+
}
237+
template <typename DocumentDbConfigT = DocumentDbConfiguration>
238+
ExecutionBlockConfiguration& WithDocumentDbConfig(DocumentDbConfigT&& value) {
239+
SetDocumentDbConfig(std::forward<DocumentDbConfigT>(value));
240+
return *this;
241+
}
242+
///@}
226243
private:
227244
CustomActionLambdaConfiguration m_customActionLambdaConfig;
228245

@@ -243,6 +260,8 @@ class ExecutionBlockConfiguration {
243260
EksResourceScalingConfiguration m_eksResourceScalingConfig;
244261

245262
Route53HealthCheckConfiguration m_route53HealthCheckConfig;
263+
264+
DocumentDbConfiguration m_documentDbConfig;
246265
bool m_customActionLambdaConfigHasBeenSet = false;
247266
bool m_ec2AsgCapacityIncreaseConfigHasBeenSet = false;
248267
bool m_executionApprovalConfigHasBeenSet = false;
@@ -253,6 +272,7 @@ class ExecutionBlockConfiguration {
253272
bool m_ecsCapacityIncreaseConfigHasBeenSet = false;
254273
bool m_eksResourceScalingConfigHasBeenSet = false;
255274
bool m_route53HealthCheckConfigHasBeenSet = false;
275+
bool m_documentDbConfigHasBeenSet = false;
256276
};
257277

258278
} // namespace Model

0 commit comments

Comments
 (0)