Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- Auto
Scaling Policy Amazon Keyspaces supports the
target tracking
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.- Auto
Scaling Settings The optional auto scaling settings for a table with provisioned throughput capacity.
To turn on auto scaling for a table in
throughputMode:PROVISIONED
, you must specify the following parameters.Configure the minimum and maximum capacity units. The auto scaling policy ensures that capacity never goes below the minimum or above the maximum range.
-
minimumUnits
: The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default). -
maximumUnits
: The maximum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default). -
scalingPolicy
: Amazon Keyspaces supports thetarget tracking
scaling policy. The auto scaling target is the provisioned capacity of the table.-
targetTrackingScalingPolicyConfiguration
: To define the target tracking policy, you must define the target value.-
targetValue
: The target utilization rate of the table. Amazon Keyspaces auto scaling ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You definetargetValue
as a percentage. Adouble
between 20 and 90. (Required) -
disableScaleIn
: Aboolean
that specifies ifscale-in
is disabled or enabled for the table. This parameter is disabled by default. To turn onscale-in
, set theboolean
value toFALSE
. This means that capacity for a table can be automatically scaled down on your behalf. (Optional) -
scaleInCooldown
: A cooldown period in seconds between scaling activities that lets the table stabilize before another scale in activity starts. If no value is provided, the default is 0. (Optional) -
scaleOutCooldown
: A cooldown period in seconds between scaling activities that lets the table stabilize before another scale out activity starts. If no value is provided, the default is 0. (Optional)
-
-
For more information, see Managing throughput capacity automatically with Amazon Keyspaces auto scaling in the Amazon Keyspaces Developer Guide.
-
- Auto
Scaling Specification The optional auto scaling capacity settings for a table in provisioned capacity mode.
- Capacity
Specification Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables:
-
On-demand (default)
-
Provisioned
The read/write capacity mode that you choose controls how you are charged for read and write throughput and how table throughput capacity is managed.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
-
- Capacity
Specification Summary The read/write throughput capacity mode for a table. The options are:
-
throughputMode:PAY_PER_REQUEST
and -
throughputMode:PROVISIONED
.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
-
- CdcSpecification
The settings for the CDC stream of a table. For more information about CDC streams, see Working with change data capture (CDC) streams in Amazon Keyspaces in the Amazon Keyspaces Developer Guide.
- CdcSpecification
Summary The settings of the CDC stream of the table. For more information about CDC streams, see Working with change data capture (CDC) streams in Amazon Keyspaces in the Amazon Keyspaces Developer Guide.
- Client
Side Timestamps The client-side timestamp setting of the table.
For more information, see How it works: Amazon Keyspaces client-side timestamps in the Amazon Keyspaces Developer Guide.
- Clustering
Key The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.
- Column
Definition The names and data types of regular columns.
- Comment
An optional comment that describes the table.
- Encryption
Specification Amazon Keyspaces encrypts and decrypts the table data at rest transparently and integrates with Key Management Service for storing and managing the encryption key. You can choose one of the following KMS keys (KMS keys):
-
Amazon Web Services owned key - This is the default encryption type. The key is owned by Amazon Keyspaces (no additional charge).
-
Customer managed key - This key is stored in your account and is created, owned, and managed by you. You have full control over the customer managed key (KMS charges apply).
For more information about encryption at rest in Amazon Keyspaces, see Encryption at rest in the Amazon Keyspaces Developer Guide.
For more information about KMS, see KMS management service concepts in the Key Management Service Developer Guide.
-
- Field
Definition A field definition consists out of a name and a type.
- Keyspace
Summary Represents the properties of a keyspace.
- Partition
Key The partition key portion of the primary key is required and determines how Amazon Keyspaces stores the data. The partition key can be a single column, or it can be a compound value composed of two or more columns.
- Point
InTime Recovery Point-in-time recovery (PITR) helps protect your Amazon Keyspaces tables from accidental write or delete operations by providing you continuous backups of your table data.
For more information, see Point-in-time recovery in the Amazon Keyspaces Developer Guide.
- Point
InTime Recovery Summary The point-in-time recovery status of the specified table.
- Replica
Auto Scaling Specification The auto scaling settings of a multi-Region table in the specified Amazon Web Services Region.
- Replica
Specification The Amazon Web Services Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per Amazon Web Services Region. You can do this by configuring the following parameters.
-
region
: The Region where these settings are applied. (Required) -
readCapacityUnits
: The provisioned read capacity units. (Optional) -
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
-
- Replica
Specification Summary The Region-specific settings of a multi-Region table in the specified Amazon Web Services Region.
If the multi-Region table is using provisioned capacity and has optional auto scaling policies configured, note that the Region specific summary returns both read and write capacity settings. But only Region specific read capacity settings can be configured for a multi-Region table. In a multi-Region table, your write capacity units will be synced across all Amazon Web Services Regions to ensure that there is enough capacity to replicate write events across Regions.
- Replication
Group Status This shows the summary status of the keyspace after a new Amazon Web Services Region was added.
- Replication
Specification The replication specification of the keyspace includes:
-
regionList
- the Amazon Web Services Regions where the keyspace is replicated in. -
replicationStrategy
- the required value isSINGLE_REGION
orMULTI_REGION
.
-
- Schema
Definition Describes the schema of the table.
- Static
Column The static columns of the table. Static columns store values that are shared by all rows in the same partition.
- Table
Summary Returns the name of the specified table, the keyspace it is stored in, and the unique identifier in the format of an Amazon Resource Name (ARN).
- Tag
Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single Amazon Keyspaces resource.
Amazon Web Services-assigned tag names and values are automatically assigned the
aws:
prefix, which the user cannot assign. Amazon Web Services-assigned tag names do not count towards the tag limit of 50. User-assigned tag names have the prefixuser:
in the Cost Allocation Report. You cannot backdate the application of a tag.For more information, see Adding tags and labels to Amazon Keyspaces resources in the Amazon Keyspaces Developer Guide.
- Target
Tracking Scaling Policy Configuration The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.
- Time
ToLive Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.
For more information, see Enabling TTL on tables in the Amazon Keyspaces Developer Guide.
Enums§
- CdcPropagate
Tags - When writing a match expression against
CdcPropagateTags
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - CdcStatus
- When writing a match expression against
CdcStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Client
Side Timestamps Status - When writing a match expression against
ClientSideTimestampsStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Encryption
Type - When writing a match expression against
EncryptionType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Keyspace
Status - When writing a match expression against
KeyspaceStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Point
InTime Recovery Status - When writing a match expression against
PointInTimeRecoveryStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Rs
- When writing a match expression against
Rs
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Sort
Order - When writing a match expression against
SortOrder
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Table
Status - When writing a match expression against
TableStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Throughput
Mode - When writing a match expression against
ThroughputMode
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Time
ToLive Status - When writing a match expression against
TimeToLiveStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Type
Status - When writing a match expression against
TypeStatus
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - View
Type - When writing a match expression against
ViewType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.