Skip to content

Commit 764992d

Browse files
Adding new BDD representation of endpoint ruleset
Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding support for WhatsApp flow APIs and adding AccessDeniedByMetaException for Template APIs Adding new BDD representation of endpoint ruleset ARC Region Switch now supports three new execution blocks for multi-Region database workloads-Amazon Aurora Serverless scaling, Amazon Aurora Provisioned scaling, and Amazon Neptune Global Database failover. Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset This release lets customers extend the lookback period for Amazon EBS volume and Amazon ECS rightsizing recommendations to 32 days. Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Inspector support for enhanced scanning SearchContacts Connect API now supports filtering contacts by the AI Agents involved in handling them Adding new BDD representation of endpoint ruleset Added support for target-coverage-based Savings Plans purchase analysis. The StartCommitmentPurchaseAnalysis API now accepts a new TARGET AVERAGE COVERAGE value for AnalysisType, as well as an optional SavingsPlansTargetCoverage field in SavingsPlansPurchaseAnalysisConfiguration Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset Adding new BDD representation of endpoint ruleset
1 parent 689edc2 commit 764992d

137 files changed

Lines changed: 8687 additions & 371 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.820
1+
1.11.821
Lines changed: 179 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
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 Amazon Aurora provisioned cluster scaling used in a Region
25+
* switch plan.</p><p><h3>See Also:</h3> <a
26+
* href="http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/AuroraProvisionedScalingConfiguration">AWS
27+
* API Reference</a></p>
28+
*/
29+
class AuroraProvisionedScalingConfiguration {
30+
public:
31+
AWS_ARCREGIONSWITCH_API AuroraProvisionedScalingConfiguration() = default;
32+
AWS_ARCREGIONSWITCH_API AuroraProvisionedScalingConfiguration(Aws::Utils::Json::JsonView jsonValue);
33+
AWS_ARCREGIONSWITCH_API AuroraProvisionedScalingConfiguration& 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 AuroraProvisionedScalingConfiguration& 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+
AuroraProvisionedScalingConfiguration& 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+
AuroraProvisionedScalingConfiguration& WithExternalId(ExternalIdT&& value) {
83+
SetExternalId(std::forward<ExternalIdT>(value));
84+
return *this;
85+
}
86+
///@}
87+
88+
///@{
89+
/**
90+
* <p>The global cluster identifier for a global database.</p>
91+
*/
92+
inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
93+
inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
94+
template <typename GlobalClusterIdentifierT = Aws::String>
95+
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
96+
m_globalClusterIdentifierHasBeenSet = true;
97+
m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
98+
}
99+
template <typename GlobalClusterIdentifierT = Aws::String>
100+
AuroraProvisionedScalingConfiguration& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
101+
SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
102+
return *this;
103+
}
104+
///@}
105+
106+
///@{
107+
/**
108+
* <p>Per-Region configuration that maps each Region to the Aurora database cluster
109+
* ARN for scaling.</p>
110+
*/
111+
inline const Aws::Map<Aws::String, Aws::String>& GetRegionDatabaseClusterArns() const { return m_regionDatabaseClusterArns; }
112+
inline bool RegionDatabaseClusterArnsHasBeenSet() const { return m_regionDatabaseClusterArnsHasBeenSet; }
113+
template <typename RegionDatabaseClusterArnsT = Aws::Map<Aws::String, Aws::String>>
114+
void SetRegionDatabaseClusterArns(RegionDatabaseClusterArnsT&& value) {
115+
m_regionDatabaseClusterArnsHasBeenSet = true;
116+
m_regionDatabaseClusterArns = std::forward<RegionDatabaseClusterArnsT>(value);
117+
}
118+
template <typename RegionDatabaseClusterArnsT = Aws::Map<Aws::String, Aws::String>>
119+
AuroraProvisionedScalingConfiguration& WithRegionDatabaseClusterArns(RegionDatabaseClusterArnsT&& value) {
120+
SetRegionDatabaseClusterArns(std::forward<RegionDatabaseClusterArnsT>(value));
121+
return *this;
122+
}
123+
template <typename RegionDatabaseClusterArnsKeyT = Aws::String, typename RegionDatabaseClusterArnsValueT = Aws::String>
124+
AuroraProvisionedScalingConfiguration& AddRegionDatabaseClusterArns(RegionDatabaseClusterArnsKeyT&& key,
125+
RegionDatabaseClusterArnsValueT&& value) {
126+
m_regionDatabaseClusterArnsHasBeenSet = true;
127+
m_regionDatabaseClusterArns.emplace(std::forward<RegionDatabaseClusterArnsKeyT>(key),
128+
std::forward<RegionDatabaseClusterArnsValueT>(value));
129+
return *this;
130+
}
131+
///@}
132+
133+
///@{
134+
/**
135+
* <p>Per-Region configuration that maps each Region to the Aurora database
136+
* instance ARN for scaling.</p>
137+
*/
138+
inline const Aws::Map<Aws::String, Aws::String>& GetInstanceArns() const { return m_instanceArns; }
139+
inline bool InstanceArnsHasBeenSet() const { return m_instanceArnsHasBeenSet; }
140+
template <typename InstanceArnsT = Aws::Map<Aws::String, Aws::String>>
141+
void SetInstanceArns(InstanceArnsT&& value) {
142+
m_instanceArnsHasBeenSet = true;
143+
m_instanceArns = std::forward<InstanceArnsT>(value);
144+
}
145+
template <typename InstanceArnsT = Aws::Map<Aws::String, Aws::String>>
146+
AuroraProvisionedScalingConfiguration& WithInstanceArns(InstanceArnsT&& value) {
147+
SetInstanceArns(std::forward<InstanceArnsT>(value));
148+
return *this;
149+
}
150+
template <typename InstanceArnsKeyT = Aws::String, typename InstanceArnsValueT = Aws::String>
151+
AuroraProvisionedScalingConfiguration& AddInstanceArns(InstanceArnsKeyT&& key, InstanceArnsValueT&& value) {
152+
m_instanceArnsHasBeenSet = true;
153+
m_instanceArns.emplace(std::forward<InstanceArnsKeyT>(key), std::forward<InstanceArnsValueT>(value));
154+
return *this;
155+
}
156+
///@}
157+
private:
158+
int m_timeoutMinutes{0};
159+
160+
Aws::String m_crossAccountRole;
161+
162+
Aws::String m_externalId;
163+
164+
Aws::String m_globalClusterIdentifier;
165+
166+
Aws::Map<Aws::String, Aws::String> m_regionDatabaseClusterArns;
167+
168+
Aws::Map<Aws::String, Aws::String> m_instanceArns;
169+
bool m_timeoutMinutesHasBeenSet = false;
170+
bool m_crossAccountRoleHasBeenSet = false;
171+
bool m_externalIdHasBeenSet = false;
172+
bool m_globalClusterIdentifierHasBeenSet = false;
173+
bool m_regionDatabaseClusterArnsHasBeenSet = false;
174+
bool m_instanceArnsHasBeenSet = false;
175+
};
176+
177+
} // namespace Model
178+
} // namespace ARCRegionswitch
179+
} // namespace Aws
Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
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 Amazon Aurora Serverless scaling used in a Region switch
25+
* plan.</p><p><h3>See Also:</h3> <a
26+
* href="http://docs.aws.amazon.com/goto/WebAPI/arc-region-switch-2022-07-26/AuroraServerlessScalingConfiguration">AWS
27+
* API Reference</a></p>
28+
*/
29+
class AuroraServerlessScalingConfiguration {
30+
public:
31+
AWS_ARCREGIONSWITCH_API AuroraServerlessScalingConfiguration() = default;
32+
AWS_ARCREGIONSWITCH_API AuroraServerlessScalingConfiguration(Aws::Utils::Json::JsonView jsonValue);
33+
AWS_ARCREGIONSWITCH_API AuroraServerlessScalingConfiguration& 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 AuroraServerlessScalingConfiguration& 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+
AuroraServerlessScalingConfiguration& 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+
AuroraServerlessScalingConfiguration& WithExternalId(ExternalIdT&& value) {
83+
SetExternalId(std::forward<ExternalIdT>(value));
84+
return *this;
85+
}
86+
///@}
87+
88+
///@{
89+
/**
90+
* <p>The global cluster identifier for a global database.</p>
91+
*/
92+
inline const Aws::String& GetGlobalClusterIdentifier() const { return m_globalClusterIdentifier; }
93+
inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; }
94+
template <typename GlobalClusterIdentifierT = Aws::String>
95+
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
96+
m_globalClusterIdentifierHasBeenSet = true;
97+
m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
98+
}
99+
template <typename GlobalClusterIdentifierT = Aws::String>
100+
AuroraServerlessScalingConfiguration& WithGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) {
101+
SetGlobalClusterIdentifier(std::forward<GlobalClusterIdentifierT>(value));
102+
return *this;
103+
}
104+
///@}
105+
106+
///@{
107+
/**
108+
* <p>Per-Region configuration that maps each Region to the Aurora database cluster
109+
* ARN for scaling.</p>
110+
*/
111+
inline const Aws::Map<Aws::String, Aws::String>& GetRegionDatabaseClusterArns() const { return m_regionDatabaseClusterArns; }
112+
inline bool RegionDatabaseClusterArnsHasBeenSet() const { return m_regionDatabaseClusterArnsHasBeenSet; }
113+
template <typename RegionDatabaseClusterArnsT = Aws::Map<Aws::String, Aws::String>>
114+
void SetRegionDatabaseClusterArns(RegionDatabaseClusterArnsT&& value) {
115+
m_regionDatabaseClusterArnsHasBeenSet = true;
116+
m_regionDatabaseClusterArns = std::forward<RegionDatabaseClusterArnsT>(value);
117+
}
118+
template <typename RegionDatabaseClusterArnsT = Aws::Map<Aws::String, Aws::String>>
119+
AuroraServerlessScalingConfiguration& WithRegionDatabaseClusterArns(RegionDatabaseClusterArnsT&& value) {
120+
SetRegionDatabaseClusterArns(std::forward<RegionDatabaseClusterArnsT>(value));
121+
return *this;
122+
}
123+
template <typename RegionDatabaseClusterArnsKeyT = Aws::String, typename RegionDatabaseClusterArnsValueT = Aws::String>
124+
AuroraServerlessScalingConfiguration& AddRegionDatabaseClusterArns(RegionDatabaseClusterArnsKeyT&& key,
125+
RegionDatabaseClusterArnsValueT&& value) {
126+
m_regionDatabaseClusterArnsHasBeenSet = true;
127+
m_regionDatabaseClusterArns.emplace(std::forward<RegionDatabaseClusterArnsKeyT>(key),
128+
std::forward<RegionDatabaseClusterArnsValueT>(value));
129+
return *this;
130+
}
131+
///@}
132+
133+
///@{
134+
/**
135+
* <p>The target capacity percentage for Aurora Serverless scaling.</p>
136+
*/
137+
inline int GetTargetPercent() const { return m_targetPercent; }
138+
inline bool TargetPercentHasBeenSet() const { return m_targetPercentHasBeenSet; }
139+
inline void SetTargetPercent(int value) {
140+
m_targetPercentHasBeenSet = true;
141+
m_targetPercent = value;
142+
}
143+
inline AuroraServerlessScalingConfiguration& WithTargetPercent(int value) {
144+
SetTargetPercent(value);
145+
return *this;
146+
}
147+
///@}
148+
private:
149+
int m_timeoutMinutes{0};
150+
151+
Aws::String m_crossAccountRole;
152+
153+
Aws::String m_externalId;
154+
155+
Aws::String m_globalClusterIdentifier;
156+
157+
Aws::Map<Aws::String, Aws::String> m_regionDatabaseClusterArns;
158+
159+
int m_targetPercent{0};
160+
bool m_timeoutMinutesHasBeenSet = false;
161+
bool m_crossAccountRoleHasBeenSet = false;
162+
bool m_externalIdHasBeenSet = false;
163+
bool m_globalClusterIdentifierHasBeenSet = false;
164+
bool m_regionDatabaseClusterArnsHasBeenSet = false;
165+
bool m_targetPercentHasBeenSet = false;
166+
};
167+
168+
} // namespace Model
169+
} // namespace ARCRegionswitch
170+
} // namespace Aws

0 commit comments

Comments
 (0)