-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating note for enabling streams for UpdateTable.
This release adds support for Multi-Region Replication with provisioned tables, and Keyspaces auto scaling APIs
- Loading branch information
1 parent
3a03b6e
commit 9a45f62
Showing
37 changed files
with
3,311 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.244 | ||
1.11.245 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
generated/src/aws-cpp-sdk-keyspaces/include/aws/keyspaces/model/AutoScalingPolicy.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/keyspaces/Keyspaces_EXPORTS.h> | ||
#include <aws/keyspaces/model/TargetTrackingScalingPolicyConfiguration.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace Keyspaces | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p>Amazon Keyspaces supports the <code>target tracking</code> auto scaling | ||
* policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's | ||
* ratio of consumed to provisioned capacity stays at or near the target value that | ||
* you specify. You define the target value as a percentage between 20 and | ||
* 90.</p><p><h3>See Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/AutoScalingPolicy">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class AutoScalingPolicy | ||
{ | ||
public: | ||
AWS_KEYSPACES_API AutoScalingPolicy(); | ||
AWS_KEYSPACES_API AutoScalingPolicy(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_KEYSPACES_API AutoScalingPolicy& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
/** | ||
* <p>Auto scaling scales up capacity automatically when traffic exceeds this | ||
* target utilization rate, and then back down when it falls below the target. A | ||
* <code>double</code> between 20 and 90.</p> | ||
*/ | ||
inline const TargetTrackingScalingPolicyConfiguration& GetTargetTrackingScalingPolicyConfiguration() const{ return m_targetTrackingScalingPolicyConfiguration; } | ||
|
||
/** | ||
* <p>Auto scaling scales up capacity automatically when traffic exceeds this | ||
* target utilization rate, and then back down when it falls below the target. A | ||
* <code>double</code> between 20 and 90.</p> | ||
*/ | ||
inline bool TargetTrackingScalingPolicyConfigurationHasBeenSet() const { return m_targetTrackingScalingPolicyConfigurationHasBeenSet; } | ||
|
||
/** | ||
* <p>Auto scaling scales up capacity automatically when traffic exceeds this | ||
* target utilization rate, and then back down when it falls below the target. A | ||
* <code>double</code> between 20 and 90.</p> | ||
*/ | ||
inline void SetTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration& value) { m_targetTrackingScalingPolicyConfigurationHasBeenSet = true; m_targetTrackingScalingPolicyConfiguration = value; } | ||
|
||
/** | ||
* <p>Auto scaling scales up capacity automatically when traffic exceeds this | ||
* target utilization rate, and then back down when it falls below the target. A | ||
* <code>double</code> between 20 and 90.</p> | ||
*/ | ||
inline void SetTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration&& value) { m_targetTrackingScalingPolicyConfigurationHasBeenSet = true; m_targetTrackingScalingPolicyConfiguration = std::move(value); } | ||
|
||
/** | ||
* <p>Auto scaling scales up capacity automatically when traffic exceeds this | ||
* target utilization rate, and then back down when it falls below the target. A | ||
* <code>double</code> between 20 and 90.</p> | ||
*/ | ||
inline AutoScalingPolicy& WithTargetTrackingScalingPolicyConfiguration(const TargetTrackingScalingPolicyConfiguration& value) { SetTargetTrackingScalingPolicyConfiguration(value); return *this;} | ||
|
||
/** | ||
* <p>Auto scaling scales up capacity automatically when traffic exceeds this | ||
* target utilization rate, and then back down when it falls below the target. A | ||
* <code>double</code> between 20 and 90.</p> | ||
*/ | ||
inline AutoScalingPolicy& WithTargetTrackingScalingPolicyConfiguration(TargetTrackingScalingPolicyConfiguration&& value) { SetTargetTrackingScalingPolicyConfiguration(std::move(value)); return *this;} | ||
|
||
private: | ||
|
||
TargetTrackingScalingPolicyConfiguration m_targetTrackingScalingPolicyConfiguration; | ||
bool m_targetTrackingScalingPolicyConfigurationHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace Keyspaces | ||
} // namespace Aws |
Oops, something went wrong.