@aws-sdk/client-keyspaces 3.835.0 → 3.838.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +1 -14
  2. package/dist-cjs/index.js +26 -0
  3. package/dist-es/models/models_0.js +16 -0
  4. package/dist-es/protocols/Aws_json1_0.js +4 -0
  5. package/dist-types/Keyspaces.d.ts +1 -14
  6. package/dist-types/KeyspacesClient.d.ts +1 -14
  7. package/dist-types/commands/CreateKeyspaceCommand.d.ts +3 -12
  8. package/dist-types/commands/CreateTableCommand.d.ts +15 -15
  9. package/dist-types/commands/CreateTypeCommand.d.ts +4 -14
  10. package/dist-types/commands/DeleteKeyspaceCommand.d.ts +3 -7
  11. package/dist-types/commands/DeleteTableCommand.d.ts +4 -12
  12. package/dist-types/commands/DeleteTypeCommand.d.ts +4 -13
  13. package/dist-types/commands/GetKeyspaceCommand.d.ts +3 -6
  14. package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +3 -27
  15. package/dist-types/commands/GetTableCommand.d.ts +8 -9
  16. package/dist-types/commands/GetTypeCommand.d.ts +3 -12
  17. package/dist-types/commands/ListKeyspacesCommand.d.ts +2 -4
  18. package/dist-types/commands/ListTablesCommand.d.ts +3 -8
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  20. package/dist-types/commands/ListTypesCommand.d.ts +3 -11
  21. package/dist-types/commands/RestoreTableCommand.d.ts +4 -53
  22. package/dist-types/commands/TagResourceCommand.d.ts +4 -14
  23. package/dist-types/commands/UntagResourceCommand.d.ts +3 -7
  24. package/dist-types/commands/UpdateKeyspaceCommand.d.ts +4 -108
  25. package/dist-types/commands/UpdateTableCommand.d.ts +15 -10
  26. package/dist-types/index.d.ts +1 -14
  27. package/dist-types/models/models_0.d.ts +225 -814
  28. package/dist-types/ts3.4/models/models_0.d.ts +38 -4
  29. package/package.json +1 -1
@@ -69,12 +69,10 @@ declare const ListKeyspacesCommand_base: {
69
69
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
70
70
  *
71
71
  * @throws {@link ResourceNotFoundException} (client fault)
72
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
73
- * or its status might not be <code>ACTIVE</code>.</p>
72
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
74
73
  *
75
74
  * @throws {@link ServiceQuotaExceededException} (client fault)
76
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
77
- * Guide</i>.</p>
75
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
78
76
  *
79
77
  * @throws {@link ValidationException} (client fault)
80
78
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -27,10 +27,7 @@ declare const ListTablesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>The <code>ListTables</code> operation returns a list of tables for a specified keyspace.</p>
31
- * <p>To read keyspace metadata using <code>ListTables</code>, the
32
- * IAM principal needs <code>Select</code> action
33
- * permissions for the system keyspace.</p>
30
+ * <p>The <code>ListTables</code> operation returns a list of tables for a specified keyspace.</p> <p>To read keyspace metadata using <code>ListTables</code>, the IAM principal needs <code>Select</code> action permissions for the system keyspace.</p>
34
31
  * @example
35
32
  * Use a bare-bones client and the command you need to make an API call.
36
33
  * ```javascript
@@ -70,12 +67,10 @@ declare const ListTablesCommand_base: {
70
67
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
71
68
  *
72
69
  * @throws {@link ResourceNotFoundException} (client fault)
73
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
74
- * or its status might not be <code>ACTIVE</code>.</p>
70
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
75
71
  *
76
72
  * @throws {@link ServiceQuotaExceededException} (client fault)
77
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
78
- * Guide</i>.</p>
73
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
79
74
  *
80
75
  * @throws {@link ValidationException} (client fault)
81
76
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -27,10 +27,7 @@ declare const ListTagsForResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Returns a list of all tags associated with the specified Amazon Keyspaces resource.</p>
31
- * <p>To read keyspace metadata using <code>ListTagsForResource</code>, the
32
- * IAM principal needs <code>Select</code> action
33
- * permissions for the specified resource and the system keyspace.</p>
30
+ * <p>Returns a list of all tags associated with the specified Amazon Keyspaces resource.</p> <p>To read keyspace metadata using <code>ListTagsForResource</code>, the IAM principal needs <code>Select</code> action permissions for the specified resource and the system keyspace.</p>
34
31
  * @example
35
32
  * Use a bare-bones client and the command you need to make an API call.
36
33
  * ```javascript
@@ -69,12 +66,10 @@ declare const ListTagsForResourceCommand_base: {
69
66
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
70
67
  *
71
68
  * @throws {@link ResourceNotFoundException} (client fault)
72
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
73
- * or its status might not be <code>ACTIVE</code>.</p>
69
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
74
70
  *
75
71
  * @throws {@link ServiceQuotaExceededException} (client fault)
76
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
77
- * Guide</i>.</p>
72
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
78
73
  *
79
74
  * @throws {@link ValidationException} (client fault)
80
75
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -27,13 +27,7 @@ declare const ListTypesCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>
31
- * The <code>ListTypes</code> operation returns a list of types for a specified keyspace.
32
- * </p>
33
- * <p>To read keyspace metadata using <code>ListTypes</code>, the
34
- * IAM principal needs <code>Select</code> action
35
- * permissions for the system keyspace. To configure the required permissions, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/configure-udt-permissions.html#udt-permissions-view">Permissions to view a UDT</a>
36
- * in the <i>Amazon Keyspaces Developer Guide</i>.</p>
30
+ * <p> The <code>ListTypes</code> operation returns a list of types for a specified keyspace. </p> <p>To read keyspace metadata using <code>ListTypes</code>, the IAM principal needs <code>Select</code> action permissions for the system keyspace. To configure the required permissions, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/configure-udt-permissions.html#udt-permissions-view">Permissions to view a UDT</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
37
31
  * @example
38
32
  * Use a bare-bones client and the command you need to make an API call.
39
33
  * ```javascript
@@ -69,12 +63,10 @@ declare const ListTypesCommand_base: {
69
63
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
70
64
  *
71
65
  * @throws {@link ResourceNotFoundException} (client fault)
72
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
73
- * or its status might not be <code>ACTIVE</code>.</p>
66
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
74
67
  *
75
68
  * @throws {@link ServiceQuotaExceededException} (client fault)
76
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
77
- * Guide</i>.</p>
69
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
78
70
  *
79
71
  * @throws {@link ValidationException} (client fault)
80
72
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -27,52 +27,7 @@ declare const RestoreTableCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Restores the table to the specified point in time within the
31
- * <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see
32
- * <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
33
- * Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
34
- * <p>Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
35
- * <p>When you restore using point in time recovery,
36
- * Amazon Keyspaces restores your source table's schema and data to the state
37
- * based on the selected timestamp <code>(day:hour:minute:second)</code> to a new table. The Time to Live (TTL) settings
38
- * are also restored to the state based on the selected timestamp.</p>
39
- * <p>In addition to the table's schema, data, and TTL settings,
40
- * <code>RestoreTable</code> restores the capacity mode, auto scaling settings, encryption settings, and
41
- * point-in-time recovery settings from the source table.
42
- * Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp,
43
- * these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p>
44
- * <p>You can also overwrite
45
- * these settings during restore:</p>
46
- * <ul>
47
- * <li>
48
- * <p>Read/write capacity mode</p>
49
- * </li>
50
- * <li>
51
- * <p>Provisioned throughput capacity units</p>
52
- * </li>
53
- * <li>
54
- * <p>Auto scaling settings</p>
55
- * </li>
56
- * <li>
57
- * <p>Point-in-time (PITR) settings</p>
58
- * </li>
59
- * <li>
60
- * <p>Tags</p>
61
- * </li>
62
- * </ul>
63
- * <p>For more
64
- * information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer
65
- * Guide</i>.</p>
66
- * <p>Note that the following settings are not restored, and you must configure them manually for
67
- * the new table:</p>
68
- * <ul>
69
- * <li>
70
- * <p>Identity and Access Management (IAM) policies</p>
71
- * </li>
72
- * <li>
73
- * <p>Amazon CloudWatch metrics and alarms</p>
74
- * </li>
75
- * </ul>
30
+ * <p>Restores the table to the specified point in time within the <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window"> Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p> <p>When you restore using point in time recovery, Amazon Keyspaces restores your source table's schema and data to the state based on the selected timestamp <code>(day:hour:minute:second)</code> to a new table. The Time to Live (TTL) settings are also restored to the state based on the selected timestamp.</p> <p>In addition to the table's schema, data, and TTL settings, <code>RestoreTable</code> restores the capacity mode, auto scaling settings, encryption settings, and point-in-time recovery settings from the source table. Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp, these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p> <p>You can also overwrite these settings during restore:</p> <ul> <li> <p>Read/write capacity mode</p> </li> <li> <p>Provisioned throughput capacity units</p> </li> <li> <p>Auto scaling settings</p> </li> <li> <p>Point-in-time (PITR) settings</p> </li> <li> <p>Tags</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>Note that the following settings are not restored, and you must configure them manually for the new table:</p> <ul> <li> <p>Identity and Access Management (IAM) policies</p> </li> <li> <p>Amazon CloudWatch metrics and alarms</p> </li> </ul>
76
31
  * @example
77
32
  * Use a bare-bones client and the command you need to make an API call.
78
33
  * ```javascript
@@ -169,20 +124,16 @@ declare const RestoreTableCommand_base: {
169
124
  * <p>You don't have sufficient access permissions to perform this action. </p>
170
125
  *
171
126
  * @throws {@link ConflictException} (client fault)
172
- * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
173
- * perform an action and the same or a different action is already
174
- * in progress, or if you try to create a resource that already exists. </p>
127
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. </p>
175
128
  *
176
129
  * @throws {@link InternalServerException} (server fault)
177
130
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
178
131
  *
179
132
  * @throws {@link ResourceNotFoundException} (client fault)
180
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
181
- * or its status might not be <code>ACTIVE</code>.</p>
133
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
182
134
  *
183
135
  * @throws {@link ServiceQuotaExceededException} (client fault)
184
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
185
- * Guide</i>.</p>
136
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
186
137
  *
187
138
  * @throws {@link ValidationException} (client fault)
188
139
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -27,13 +27,7 @@ declare const TagResourceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Associates a set of tags with a Amazon Keyspaces resource. You can then
31
- * activate these user-defined tags so that they appear on the Cost Management Console for cost allocation tracking.
32
- * For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer
33
- * Guide</i>.</p>
34
- * <p>For IAM policy examples that show how to control access to Amazon Keyspaces resources based on tags,
35
- * see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-tags">Amazon Keyspaces resource access based on tags</a>
36
- * in the <i>Amazon Keyspaces Developer Guide</i>.</p>
30
+ * <p>Associates a set of tags with a Amazon Keyspaces resource. You can then activate these user-defined tags so that they appear on the Cost Management Console for cost allocation tracking. For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/tagging-keyspaces.html">Adding tags and labels to Amazon Keyspaces resources</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>For IAM policy examples that show how to control access to Amazon Keyspaces resources based on tags, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-tags">Amazon Keyspaces resource access based on tags</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
37
31
  * @example
38
32
  * Use a bare-bones client and the command you need to make an API call.
39
33
  * ```javascript
@@ -65,20 +59,16 @@ declare const TagResourceCommand_base: {
65
59
  * <p>You don't have sufficient access permissions to perform this action. </p>
66
60
  *
67
61
  * @throws {@link ConflictException} (client fault)
68
- * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
69
- * perform an action and the same or a different action is already
70
- * in progress, or if you try to create a resource that already exists. </p>
62
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. </p>
71
63
  *
72
64
  * @throws {@link InternalServerException} (server fault)
73
65
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
74
66
  *
75
67
  * @throws {@link ResourceNotFoundException} (client fault)
76
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
77
- * or its status might not be <code>ACTIVE</code>.</p>
68
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
78
69
  *
79
70
  * @throws {@link ServiceQuotaExceededException} (client fault)
80
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
81
- * Guide</i>.</p>
71
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
82
72
  *
83
73
  * @throws {@link ValidationException} (client fault)
84
74
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -59,20 +59,16 @@ declare const UntagResourceCommand_base: {
59
59
  * <p>You don't have sufficient access permissions to perform this action. </p>
60
60
  *
61
61
  * @throws {@link ConflictException} (client fault)
62
- * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
63
- * perform an action and the same or a different action is already
64
- * in progress, or if you try to create a resource that already exists. </p>
62
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. </p>
65
63
  *
66
64
  * @throws {@link InternalServerException} (server fault)
67
65
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
68
66
  *
69
67
  * @throws {@link ResourceNotFoundException} (client fault)
70
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
71
- * or its status might not be <code>ACTIVE</code>.</p>
68
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
72
69
  *
73
70
  * @throws {@link ServiceQuotaExceededException} (client fault)
74
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
75
- * Guide</i>.</p>
71
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
76
72
  *
77
73
  * @throws {@link ValidationException} (client fault)
78
74
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -27,107 +27,7 @@ declare const UpdateKeyspaceCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>
31
- * Adds a new Amazon Web Services Region to the keyspace. You can add a new Region to a keyspace that is either a single or a multi-Region keyspace.
32
- * Amazon Keyspaces is going to replicate all tables in the keyspace to the new Region. To successfully replicate all tables to the new Region, they
33
- * must use client-side timestamps for conflict resolution. To enable client-side timestamps, specify <code>clientSideTimestamps.status = enabled</code>
34
- * when invoking the API. For more information about client-side timestamps, see
35
- * <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps.html">Client-side timestamps in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
36
- * Guide</i>.</p>
37
- * <p>To add a Region to a keyspace using the <code>UpdateKeyspace</code> API, the IAM principal needs permissions for the following IAM actions:</p>
38
- * <ul>
39
- * <li>
40
- * <p>
41
- * <code>cassandra:Alter</code>
42
- * </p>
43
- * </li>
44
- * <li>
45
- * <p>
46
- * <code>cassandra:AlterMultiRegionResource</code>
47
- * </p>
48
- * </li>
49
- * <li>
50
- * <p>
51
- * <code>cassandra:Create</code>
52
- * </p>
53
- * </li>
54
- * <li>
55
- * <p>
56
- * <code>cassandra:CreateMultiRegionResource</code>
57
- * </p>
58
- * </li>
59
- * <li>
60
- * <p>
61
- * <code>cassandra:Select</code>
62
- * </p>
63
- * </li>
64
- * <li>
65
- * <p>
66
- * <code>cassandra:SelectMultiRegionResource</code>
67
- * </p>
68
- * </li>
69
- * <li>
70
- * <p>
71
- * <code>cassandra:Modify</code>
72
- * </p>
73
- * </li>
74
- * <li>
75
- * <p>
76
- * <code>cassandra:ModifyMultiRegionResource</code>
77
- * </p>
78
- * </li>
79
- * </ul>
80
- * <p>If the keyspace contains a table that is configured in provisioned mode with auto scaling enabled,
81
- * the following additional IAM actions need to be allowed.</p>
82
- * <ul>
83
- * <li>
84
- * <p>
85
- * <code>application-autoscaling:RegisterScalableTarget</code>
86
- * </p>
87
- * </li>
88
- * <li>
89
- * <p>
90
- * <code>application-autoscaling:DeregisterScalableTarget</code>
91
- * </p>
92
- * </li>
93
- * <li>
94
- * <p>
95
- * <code>application-autoscaling:DescribeScalableTargets</code>
96
- * </p>
97
- * </li>
98
- * <li>
99
- * <p>
100
- * <code>application-autoscaling:PutScalingPolicy</code>
101
- * </p>
102
- * </li>
103
- * <li>
104
- * <p>
105
- * <code>application-autoscaling:DescribeScalingPolicies</code>
106
- * </p>
107
- * </li>
108
- * </ul>
109
- * <p>To use the <code>UpdateKeyspace</code> API, the IAM principal also needs permissions to
110
- * create a service-linked role with the following elements:</p>
111
- * <ul>
112
- * <li>
113
- * <p>
114
- * <code>iam:CreateServiceLinkedRole</code> - The <b>action</b> the principal can perform.</p>
115
- * </li>
116
- * <li>
117
- * <p>
118
- * <code>arn:aws:iam::*:role/aws-service-role/replication.cassandra.amazonaws.com/AWSServiceRoleForKeyspacesReplication</code>
119
- * - The <b>resource</b> that the action can be
120
- * performed on. </p>
121
- * </li>
122
- * <li>
123
- * <p>
124
- * <code>iam:AWSServiceName: replication.cassandra.amazonaws.com</code>
125
- * - The only Amazon Web Services service that this role can be attached to is Amazon Keyspaces.</p>
126
- * </li>
127
- * </ul>
128
- * <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/howitworks_replication_permissions_addReplica.html">Configure the IAM permissions
129
- * required to add an Amazon Web Services Region to a keyspace</a>
130
- * in the <i>Amazon Keyspaces Developer Guide</i>.</p>
30
+ * <p> Adds a new Amazon Web Services Region to the keyspace. You can add a new Region to a keyspace that is either a single or a multi-Region keyspace. Amazon Keyspaces is going to replicate all tables in the keyspace to the new Region. To successfully replicate all tables to the new Region, they must use client-side timestamps for conflict resolution. To enable client-side timestamps, specify <code>clientSideTimestamps.status = enabled</code> when invoking the API. For more information about client-side timestamps, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps.html">Client-side timestamps in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>To add a Region to a keyspace using the <code>UpdateKeyspace</code> API, the IAM principal needs permissions for the following IAM actions:</p> <ul> <li> <p> <code>cassandra:Alter</code> </p> </li> <li> <p> <code>cassandra:AlterMultiRegionResource</code> </p> </li> <li> <p> <code>cassandra:Create</code> </p> </li> <li> <p> <code>cassandra:CreateMultiRegionResource</code> </p> </li> <li> <p> <code>cassandra:Select</code> </p> </li> <li> <p> <code>cassandra:SelectMultiRegionResource</code> </p> </li> <li> <p> <code>cassandra:Modify</code> </p> </li> <li> <p> <code>cassandra:ModifyMultiRegionResource</code> </p> </li> </ul> <p>If the keyspace contains a table that is configured in provisioned mode with auto scaling enabled, the following additional IAM actions need to be allowed.</p> <ul> <li> <p> <code>application-autoscaling:RegisterScalableTarget</code> </p> </li> <li> <p> <code>application-autoscaling:DeregisterScalableTarget</code> </p> </li> <li> <p> <code>application-autoscaling:DescribeScalableTargets</code> </p> </li> <li> <p> <code>application-autoscaling:PutScalingPolicy</code> </p> </li> <li> <p> <code>application-autoscaling:DescribeScalingPolicies</code> </p> </li> </ul> <p>To use the <code>UpdateKeyspace</code> API, the IAM principal also needs permissions to create a service-linked role with the following elements:</p> <ul> <li> <p> <code>iam:CreateServiceLinkedRole</code> - The <b>action</b> the principal can perform.</p> </li> <li> <p> <code>arn:aws:iam::*:role/aws-service-role/replication.cassandra.amazonaws.com/AWSServiceRoleForKeyspacesReplication</code> - The <b>resource</b> that the action can be performed on. </p> </li> <li> <p> <code>iam:AWSServiceName: replication.cassandra.amazonaws.com</code> - The only Amazon Web Services service that this role can be attached to is Amazon Keyspaces.</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/howitworks_replication_permissions_addReplica.html">Configure the IAM permissions required to add an Amazon Web Services Region to a keyspace</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
131
31
  * @example
132
32
  * Use a bare-bones client and the command you need to make an API call.
133
33
  * ```javascript
@@ -164,20 +64,16 @@ declare const UpdateKeyspaceCommand_base: {
164
64
  * <p>You don't have sufficient access permissions to perform this action. </p>
165
65
  *
166
66
  * @throws {@link ConflictException} (client fault)
167
- * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
168
- * perform an action and the same or a different action is already
169
- * in progress, or if you try to create a resource that already exists. </p>
67
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. </p>
170
68
  *
171
69
  * @throws {@link InternalServerException} (server fault)
172
70
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
173
71
  *
174
72
  * @throws {@link ResourceNotFoundException} (client fault)
175
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
176
- * or its status might not be <code>ACTIVE</code>.</p>
73
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
177
74
  *
178
75
  * @throws {@link ServiceQuotaExceededException} (client fault)
179
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
180
- * Guide</i>.</p>
76
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
181
77
  *
182
78
  * @throws {@link ValidationException} (client fault)
183
79
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -27,9 +27,7 @@ declare const UpdateTableCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Adds new columns to the table or updates one of the table's settings, for example
31
- * capacity mode, auto scaling, encryption, point-in-time recovery, or ttl settings.
32
- * Note that you can only update one specific table setting per update operation.</p>
30
+ * <p>Adds new columns to the table or updates one of the table's settings, for example capacity mode, auto scaling, encryption, point-in-time recovery, or ttl settings. Note that you can only update one specific table setting per update operation.</p>
33
31
  * @example
34
32
  * Use a bare-bones client and the command you need to make an API call.
35
33
  * ```javascript
@@ -111,6 +109,17 @@ declare const UpdateTableCommand_base: {
111
109
  * },
112
110
  * },
113
111
  * ],
112
+ * cdcSpecification: { // CdcSpecification
113
+ * status: "STRING_VALUE", // required
114
+ * viewType: "STRING_VALUE",
115
+ * tags: [ // TagList
116
+ * { // Tag
117
+ * key: "STRING_VALUE", // required
118
+ * value: "STRING_VALUE", // required
119
+ * },
120
+ * ],
121
+ * propagateTags: "STRING_VALUE",
122
+ * },
114
123
  * };
115
124
  * const command = new UpdateTableCommand(input);
116
125
  * const response = await client.send(command);
@@ -130,20 +139,16 @@ declare const UpdateTableCommand_base: {
130
139
  * <p>You don't have sufficient access permissions to perform this action. </p>
131
140
  *
132
141
  * @throws {@link ConflictException} (client fault)
133
- * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
134
- * perform an action and the same or a different action is already
135
- * in progress, or if you try to create a resource that already exists. </p>
142
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to perform an action and the same or a different action is already in progress, or if you try to create a resource that already exists. </p>
136
143
  *
137
144
  * @throws {@link InternalServerException} (server fault)
138
145
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
139
146
  *
140
147
  * @throws {@link ResourceNotFoundException} (client fault)
141
- * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly,
142
- * or its status might not be <code>ACTIVE</code>.</p>
148
+ * <p>The operation tried to access a keyspace, table, or type that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
143
149
  *
144
150
  * @throws {@link ServiceQuotaExceededException} (client fault)
145
- * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
146
- * Guide</i>.</p>
151
+ * <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
147
152
  *
148
153
  * @throws {@link ValidationException} (client fault)
149
154
  * <p>The operation failed due to an invalid or malformed request.</p>
@@ -1,18 +1,5 @@
1
1
  /**
2
- * <p>Amazon Keyspaces (for Apache Cassandra) is a scalable,
3
- * highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,
4
- * run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code,
5
- * you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
6
- * <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
7
- * Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as
8
- * infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes
9
- * the supported DDL operations in detail.</p>
10
- * <p>For the list of all supported CQL APIs, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types
11
- * in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
12
- * Guide</i>.</p>
13
- * <p>To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/logging-using-cloudtrail.html#service-name-info-in-cloudtrail">Amazon Keyspaces information in CloudTrail</a> in the <i>Amazon Keyspaces Developer
14
- * Guide</i>.</p>
15
- * <p>For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">Amazon Web Services APIs</a> in the <i>General Reference</i>.</p>
2
+ * <p>Amazon Keyspaces (for Apache Cassandra) is a scalable, highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate, run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code, you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p> <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers, Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes the supported DDL operations in detail.</p> <p>For the list of all supported CQL APIs, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/logging-using-cloudtrail.html#service-name-info-in-cloudtrail">Amazon Keyspaces information in CloudTrail</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">Amazon Web Services APIs</a> in the <i>General Reference</i>.</p>
16
3
  *
17
4
  * @packageDocumentation
18
5
  */