1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2022-02-10", 5 "endpointPrefix":"cassandra", 6 "jsonVersion":"1.0", 7 "protocol":"json", 8 "serviceFullName":"Amazon Keyspaces", 9 "serviceId":"Keyspaces", 10 "signatureVersion":"v4", 11 "signingName":"cassandra", 12 "targetPrefix":"KeyspacesService", 13 "uid":"keyspaces-2022-02-10" 14 }, 15 "operations":{ 16 "CreateKeyspace":{ 17 "name":"CreateKeyspace", 18 "http":{ 19 "method":"POST", 20 "requestUri":"/" 21 }, 22 "input":{"shape":"CreateKeyspaceRequest"}, 23 "output":{"shape":"CreateKeyspaceResponse"}, 24 "errors":[ 25 {"shape":"ValidationException"}, 26 {"shape":"ServiceQuotaExceededException"}, 27 {"shape":"InternalServerException"}, 28 {"shape":"ConflictException"}, 29 {"shape":"AccessDeniedException"} 30 ], 31 "documentation":"<p>The <code>CreateKeyspace</code> operation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names must be unique within each Region.</p> <p> <code>CreateKeyspace</code> is an asynchronous operation. You can monitor the creation status of the new keyspace by using the <code>GetKeyspace</code> operation.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/working-with-keyspaces.html#keyspaces-create\">Creating keyspaces</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 32 }, 33 "CreateTable":{ 34 "name":"CreateTable", 35 "http":{ 36 "method":"POST", 37 "requestUri":"/" 38 }, 39 "input":{"shape":"CreateTableRequest"}, 40 "output":{"shape":"CreateTableResponse"}, 41 "errors":[ 42 {"shape":"ValidationException"}, 43 {"shape":"ServiceQuotaExceededException"}, 44 {"shape":"InternalServerException"}, 45 {"shape":"ConflictException"}, 46 {"shape":"AccessDeniedException"}, 47 {"shape":"ResourceNotFoundException"} 48 ], 49 "documentation":"<p>The <code>CreateTable</code> operation adds a new table to the specified keyspace. Within a keyspace, table names must be unique.</p> <p> <code>CreateTable</code> is an asynchronous operation. When the request is received, the status of the table is set to <code>CREATING</code>. You can monitor the creation status of the new table by using the <code>GetTable</code> operation, which returns the current <code>status</code> of the table. You can start using a table when the status is <code>ACTIVE</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/working-with-tables.html#tables-create\">Creating tables</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 50 }, 51 "DeleteKeyspace":{ 52 "name":"DeleteKeyspace", 53 "http":{ 54 "method":"POST", 55 "requestUri":"/" 56 }, 57 "input":{"shape":"DeleteKeyspaceRequest"}, 58 "output":{"shape":"DeleteKeyspaceResponse"}, 59 "errors":[ 60 {"shape":"ValidationException"}, 61 {"shape":"ServiceQuotaExceededException"}, 62 {"shape":"InternalServerException"}, 63 {"shape":"ConflictException"}, 64 {"shape":"AccessDeniedException"}, 65 {"shape":"ResourceNotFoundException"} 66 ], 67 "documentation":"<p>The <code>DeleteKeyspace</code> operation deletes a keyspace and all of its tables. </p>" 68 }, 69 "DeleteTable":{ 70 "name":"DeleteTable", 71 "http":{ 72 "method":"POST", 73 "requestUri":"/" 74 }, 75 "input":{"shape":"DeleteTableRequest"}, 76 "output":{"shape":"DeleteTableResponse"}, 77 "errors":[ 78 {"shape":"ValidationException"}, 79 {"shape":"ServiceQuotaExceededException"}, 80 {"shape":"InternalServerException"}, 81 {"shape":"ConflictException"}, 82 {"shape":"AccessDeniedException"}, 83 {"shape":"ResourceNotFoundException"} 84 ], 85 "documentation":"<p>The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received, the specified table is in the <code>DELETING</code> state until Amazon Keyspaces completes the deletion. If the table is in the <code>ACTIVE</code> state, you can delete it. If a table is either in the <code>CREATING</code> or <code>UPDATING</code> states, then Amazon Keyspaces returns a <code>ResourceInUseException</code>. If the specified table does not exist, Amazon Keyspaces returns a <code>ResourceNotFoundException</code>. If the table is already in the <code>DELETING</code> state, no error is returned.</p>" 86 }, 87 "GetKeyspace":{ 88 "name":"GetKeyspace", 89 "http":{ 90 "method":"POST", 91 "requestUri":"/" 92 }, 93 "input":{"shape":"GetKeyspaceRequest"}, 94 "output":{"shape":"GetKeyspaceResponse"}, 95 "errors":[ 96 {"shape":"ValidationException"}, 97 {"shape":"ServiceQuotaExceededException"}, 98 {"shape":"InternalServerException"}, 99 {"shape":"AccessDeniedException"}, 100 {"shape":"ResourceNotFoundException"} 101 ], 102 "documentation":"<p>Returns the name and the Amazon Resource Name (ARN) of the specified table.</p>" 103 }, 104 "GetTable":{ 105 "name":"GetTable", 106 "http":{ 107 "method":"POST", 108 "requestUri":"/" 109 }, 110 "input":{"shape":"GetTableRequest"}, 111 "output":{"shape":"GetTableResponse"}, 112 "errors":[ 113 {"shape":"ValidationException"}, 114 {"shape":"ServiceQuotaExceededException"}, 115 {"shape":"InternalServerException"}, 116 {"shape":"AccessDeniedException"}, 117 {"shape":"ResourceNotFoundException"} 118 ], 119 "documentation":"<p>Returns information about the table, including the table's name and current status, the keyspace name, configuration settings, and metadata.</p> <p>To read table metadata using <code>GetTable</code>, <code>Select</code> action permissions for the table and system tables are required to complete the operation.</p>" 120 }, 121 "GetTableAutoScalingSettings":{ 122 "name":"GetTableAutoScalingSettings", 123 "http":{ 124 "method":"POST", 125 "requestUri":"/" 126 }, 127 "input":{"shape":"GetTableAutoScalingSettingsRequest"}, 128 "output":{"shape":"GetTableAutoScalingSettingsResponse"}, 129 "errors":[ 130 {"shape":"ValidationException"}, 131 {"shape":"ServiceQuotaExceededException"}, 132 {"shape":"InternalServerException"}, 133 {"shape":"AccessDeniedException"}, 134 {"shape":"ResourceNotFoundException"} 135 ], 136 "documentation":"<p>Returns auto scaling related settings of the specified table in JSON format. If the table is a multi-Region table, the Amazon Web Services Region specific auto scaling settings of the table are included.</p> <p>Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic. For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html\">Managing throughput capacity automatically with Amazon Keyspaces auto scaling</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 137 }, 138 "ListKeyspaces":{ 139 "name":"ListKeyspaces", 140 "http":{ 141 "method":"POST", 142 "requestUri":"/" 143 }, 144 "input":{"shape":"ListKeyspacesRequest"}, 145 "output":{"shape":"ListKeyspacesResponse"}, 146 "errors":[ 147 {"shape":"ValidationException"}, 148 {"shape":"ServiceQuotaExceededException"}, 149 {"shape":"InternalServerException"}, 150 {"shape":"AccessDeniedException"}, 151 {"shape":"ResourceNotFoundException"} 152 ], 153 "documentation":"<p>Returns a list of keyspaces.</p>" 154 }, 155 "ListTables":{ 156 "name":"ListTables", 157 "http":{ 158 "method":"POST", 159 "requestUri":"/" 160 }, 161 "input":{"shape":"ListTablesRequest"}, 162 "output":{"shape":"ListTablesResponse"}, 163 "errors":[ 164 {"shape":"ValidationException"}, 165 {"shape":"ServiceQuotaExceededException"}, 166 {"shape":"InternalServerException"}, 167 {"shape":"AccessDeniedException"}, 168 {"shape":"ResourceNotFoundException"} 169 ], 170 "documentation":"<p>Returns a list of tables for a specified keyspace.</p>" 171 }, 172 "ListTagsForResource":{ 173 "name":"ListTagsForResource", 174 "http":{ 175 "method":"POST", 176 "requestUri":"/" 177 }, 178 "input":{"shape":"ListTagsForResourceRequest"}, 179 "output":{"shape":"ListTagsForResourceResponse"}, 180 "errors":[ 181 {"shape":"ValidationException"}, 182 {"shape":"ServiceQuotaExceededException"}, 183 {"shape":"InternalServerException"}, 184 {"shape":"AccessDeniedException"}, 185 {"shape":"ResourceNotFoundException"} 186 ], 187 "documentation":"<p>Returns a list of all tags associated with the specified Amazon Keyspaces resource.</p>" 188 }, 189 "RestoreTable":{ 190 "name":"RestoreTable", 191 "http":{ 192 "method":"POST", 193 "requestUri":"/" 194 }, 195 "input":{"shape":"RestoreTableRequest"}, 196 "output":{"shape":"RestoreTableResponse"}, 197 "errors":[ 198 {"shape":"ValidationException"}, 199 {"shape":"ServiceQuotaExceededException"}, 200 {"shape":"InternalServerException"}, 201 {"shape":"ConflictException"}, 202 {"shape":"AccessDeniedException"}, 203 {"shape":"ResourceNotFoundException"} 204 ], 205 "documentation":"<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>" 206 }, 207 "TagResource":{ 208 "name":"TagResource", 209 "http":{ 210 "method":"POST", 211 "requestUri":"/" 212 }, 213 "input":{"shape":"TagResourceRequest"}, 214 "output":{"shape":"TagResourceResponse"}, 215 "errors":[ 216 {"shape":"ValidationException"}, 217 {"shape":"ServiceQuotaExceededException"}, 218 {"shape":"InternalServerException"}, 219 {"shape":"AccessDeniedException"}, 220 {"shape":"ResourceNotFoundException"} 221 ], 222 "documentation":"<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>" 223 }, 224 "UntagResource":{ 225 "name":"UntagResource", 226 "http":{ 227 "method":"POST", 228 "requestUri":"/" 229 }, 230 "input":{"shape":"UntagResourceRequest"}, 231 "output":{"shape":"UntagResourceResponse"}, 232 "errors":[ 233 {"shape":"ValidationException"}, 234 {"shape":"ServiceQuotaExceededException"}, 235 {"shape":"InternalServerException"}, 236 {"shape":"ConflictException"}, 237 {"shape":"AccessDeniedException"}, 238 {"shape":"ResourceNotFoundException"} 239 ], 240 "documentation":"<p>Removes the association of tags from a Amazon Keyspaces resource.</p>" 241 }, 242 "UpdateTable":{ 243 "name":"UpdateTable", 244 "http":{ 245 "method":"POST", 246 "requestUri":"/" 247 }, 248 "input":{"shape":"UpdateTableRequest"}, 249 "output":{"shape":"UpdateTableResponse"}, 250 "errors":[ 251 {"shape":"ValidationException"}, 252 {"shape":"ServiceQuotaExceededException"}, 253 {"shape":"InternalServerException"}, 254 {"shape":"ConflictException"}, 255 {"shape":"AccessDeniedException"}, 256 {"shape":"ResourceNotFoundException"} 257 ], 258 "documentation":"<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>" 259 } 260 }, 261 "shapes":{ 262 "ARN":{ 263 "type":"string", 264 "max":1000, 265 "min":20, 266 "pattern":"arn:(aws[a-zA-Z0-9-]*):cassandra:.+.*" 267 }, 268 "AccessDeniedException":{ 269 "type":"structure", 270 "members":{ 271 "message":{ 272 "shape":"String", 273 "documentation":"<p>Description of the error.</p>" 274 } 275 }, 276 "documentation":"<p>You don't have sufficient access permissions to perform this action. </p>", 277 "exception":true 278 }, 279 "AutoScalingPolicy":{ 280 "type":"structure", 281 "members":{ 282 "targetTrackingScalingPolicyConfiguration":{ 283 "shape":"TargetTrackingScalingPolicyConfiguration", 284 "documentation":"<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>" 285 } 286 }, 287 "documentation":"<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>" 288 }, 289 "AutoScalingSettings":{ 290 "type":"structure", 291 "members":{ 292 "autoScalingDisabled":{ 293 "shape":"BooleanObject", 294 "documentation":"<p>This optional parameter enables auto scaling for the table if set to <code>false</code>.</p>" 295 }, 296 "minimumUnits":{ 297 "shape":"CapacityUnits", 298 "documentation":"<p>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).</p>" 299 }, 300 "maximumUnits":{ 301 "shape":"CapacityUnits", 302 "documentation":"<p>Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).</p>" 303 }, 304 "scalingPolicy":{ 305 "shape":"AutoScalingPolicy", 306 "documentation":"<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>" 307 } 308 }, 309 "documentation":"<p>The optional auto scaling settings for a table with provisioned throughput capacity.</p> <p>To turn on auto scaling for a table in <code>throughputMode:PROVISIONED</code>, you must specify the following parameters. </p> <p>Configure the minimum and maximum units for write and read capacity. The auto scaling policy ensures that capacity never goes below the minimum or above the maximum range.</p> <ul> <li> <p> <code>minimumUnits</code>: 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).</p> </li> <li> <p> <code>maximumUnits</code>: 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).</p> </li> <li> <p> <code>scalingPolicy</code>: Amazon Keyspaces supports the <code>target tracking</code> scaling policy. The auto scaling target is the provisioned read and write capacity of the table. </p> <ul> <li> <p> <code>targetTrackingScalingPolicyConfiguration</code>: To define the target tracking policy, you must define the target value. </p> <ul> <li> <p> <code>targetValue</code>: 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 define <code>targetValue</code> as a percentage. A <code>double</code> between 20 and 90. (Required)</p> </li> <li> <p> <code>disableScaleIn</code>: A <code>boolean</code> that specifies if <code>scale-in</code> is disabled or enabled for the table. This parameter is disabled by default. To turn on <code>scale-in</code>, set the <code>boolean</code> value to <code>FALSE</code>. This means that capacity for a table can be automatically scaled down on your behalf. (Optional) </p> </li> <li> <p> <code>scaleInCooldown</code>: 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) </p> </li> <li> <p> <code>scaleOutCooldown</code>: 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) </p> </li> </ul> </li> </ul> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html\">Managing throughput capacity automatically with Amazon Keyspaces auto scaling</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 310 }, 311 "AutoScalingSpecification":{ 312 "type":"structure", 313 "members":{ 314 "writeCapacityAutoScaling":{ 315 "shape":"AutoScalingSettings", 316 "documentation":"<p>The auto scaling settings for the table's write capacity.</p>" 317 }, 318 "readCapacityAutoScaling":{ 319 "shape":"AutoScalingSettings", 320 "documentation":"<p>The auto scaling settings for the table's read capacity.</p>" 321 } 322 }, 323 "documentation":"<p>The optional auto scaling settings for read and write capacity of a table in provisioned capacity mode.</p>" 324 }, 325 "BooleanObject":{"type":"boolean"}, 326 "CapacitySpecification":{ 327 "type":"structure", 328 "required":["throughputMode"], 329 "members":{ 330 "throughputMode":{ 331 "shape":"ThroughputMode", 332 "documentation":"<p>The read/write throughput capacity mode for a table. The options are:</p> <ul> <li> <p> <code>throughputMode:PAY_PER_REQUEST</code> and </p> </li> <li> <p> <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p> </li> </ul> <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html\">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 333 }, 334 "readCapacityUnits":{ 335 "shape":"CapacityUnits", 336 "documentation":"<p>The throughput capacity specified for <code>read</code> operations defined in <code>read capacity units</code> <code>(RCUs)</code>.</p>" 337 }, 338 "writeCapacityUnits":{ 339 "shape":"CapacityUnits", 340 "documentation":"<p>The throughput capacity specified for <code>write</code> operations defined in <code>write capacity units</code> <code>(WCUs)</code>.</p>" 341 } 342 }, 343 "documentation":"<p>Amazon Keyspaces has two read/write capacity modes for processing reads and writes on your tables: </p> <ul> <li> <p>On-demand (default)</p> </li> <li> <p>Provisioned</p> </li> </ul> <p>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.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html\">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 344 }, 345 "CapacitySpecificationSummary":{ 346 "type":"structure", 347 "required":["throughputMode"], 348 "members":{ 349 "throughputMode":{ 350 "shape":"ThroughputMode", 351 "documentation":"<p>The read/write throughput capacity mode for a table. The options are:</p> <ul> <li> <p> <code>throughputMode:PAY_PER_REQUEST</code> and </p> </li> <li> <p> <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input. </p> </li> </ul> <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html\">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 352 }, 353 "readCapacityUnits":{ 354 "shape":"CapacityUnits", 355 "documentation":"<p>The throughput capacity specified for <code>read</code> operations defined in <code>read capacity units</code> <code>(RCUs)</code>.</p>" 356 }, 357 "writeCapacityUnits":{ 358 "shape":"CapacityUnits", 359 "documentation":"<p>The throughput capacity specified for <code>write</code> operations defined in <code>write capacity units</code> <code>(WCUs)</code>.</p>" 360 }, 361 "lastUpdateToPayPerRequestTimestamp":{ 362 "shape":"Timestamp", 363 "documentation":"<p>The timestamp of the last operation that changed the provisioned throughput capacity of a table.</p>" 364 } 365 }, 366 "documentation":"<p>The read/write throughput capacity mode for a table. The options are:</p> <ul> <li> <p> <code>throughputMode:PAY_PER_REQUEST</code> and </p> </li> <li> <p> <code>throughputMode:PROVISIONED</code>.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html\">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 367 }, 368 "CapacityUnits":{ 369 "type":"long", 370 "box":true, 371 "min":1 372 }, 373 "ClientSideTimestamps":{ 374 "type":"structure", 375 "required":["status"], 376 "members":{ 377 "status":{ 378 "shape":"ClientSideTimestampsStatus", 379 "documentation":"<p>Shows how to enable client-side timestamps settings for the specified table.</p>" 380 } 381 }, 382 "documentation":"<p>The client-side timestamp setting of the table.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps-how-it-works.html\">How it works: Amazon Keyspaces client-side timestamps</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 383 }, 384 "ClientSideTimestampsStatus":{ 385 "type":"string", 386 "enum":["ENABLED"] 387 }, 388 "ClusteringKey":{ 389 "type":"structure", 390 "required":[ 391 "name", 392 "orderBy" 393 ], 394 "members":{ 395 "name":{ 396 "shape":"GenericString", 397 "documentation":"<p>The name(s) of the clustering column(s).</p>" 398 }, 399 "orderBy":{ 400 "shape":"SortOrder", 401 "documentation":"<p>Sets the ascendant (<code>ASC</code>) or descendant (<code>DESC</code>) order modifier.</p>" 402 } 403 }, 404 "documentation":"<p>The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.</p>" 405 }, 406 "ClusteringKeyList":{ 407 "type":"list", 408 "member":{"shape":"ClusteringKey"} 409 }, 410 "ColumnDefinition":{ 411 "type":"structure", 412 "required":[ 413 "name", 414 "type" 415 ], 416 "members":{ 417 "name":{ 418 "shape":"GenericString", 419 "documentation":"<p>The name of the column.</p>" 420 }, 421 "type":{ 422 "shape":"GenericString", 423 "documentation":"<p>The data type of the column. For a list of available data types, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/cql.elements.html#cql.data-types\">Data types</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 424 } 425 }, 426 "documentation":"<p>The names and data types of regular columns.</p>" 427 }, 428 "ColumnDefinitionList":{ 429 "type":"list", 430 "member":{"shape":"ColumnDefinition"}, 431 "min":1 432 }, 433 "Comment":{ 434 "type":"structure", 435 "required":["message"], 436 "members":{ 437 "message":{ 438 "shape":"String", 439 "documentation":"<p>An optional description of the table.</p>" 440 } 441 }, 442 "documentation":"<p>An optional comment that describes the table.</p>" 443 }, 444 "ConflictException":{ 445 "type":"structure", 446 "members":{ 447 "message":{ 448 "shape":"String", 449 "documentation":"<p>Description of the error.</p>" 450 } 451 }, 452 "documentation":"<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>", 453 "exception":true 454 }, 455 "CreateKeyspaceRequest":{ 456 "type":"structure", 457 "required":["keyspaceName"], 458 "members":{ 459 "keyspaceName":{ 460 "shape":"KeyspaceName", 461 "documentation":"<p>The name of the keyspace to be created.</p>" 462 }, 463 "tags":{ 464 "shape":"TagList", 465 "documentation":"<p>A list of key-value pair tags to be attached to the keyspace.</p> <p>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>" 466 }, 467 "replicationSpecification":{ 468 "shape":"ReplicationSpecification", 469 "documentation":"<p> The replication specification of the keyspace includes:</p> <ul> <li> <p> <code>replicationStrategy</code> - the required value is <code>SINGLE_REGION</code> or <code>MULTI_REGION</code>.</p> </li> <li> <p> <code>regionList</code> - if the <code>replicationStrategy</code> is <code>MULTI_REGION</code>, the <code>regionList</code> requires the current Region and at least one additional Amazon Web Services Region where the keyspace is going to be replicated in. The maximum number of supported replication Regions including the current Region is six.</p> </li> </ul>" 470 } 471 } 472 }, 473 "CreateKeyspaceResponse":{ 474 "type":"structure", 475 "required":["resourceArn"], 476 "members":{ 477 "resourceArn":{ 478 "shape":"ARN", 479 "documentation":"<p>The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).</p>" 480 } 481 } 482 }, 483 "CreateTableRequest":{ 484 "type":"structure", 485 "required":[ 486 "keyspaceName", 487 "tableName", 488 "schemaDefinition" 489 ], 490 "members":{ 491 "keyspaceName":{ 492 "shape":"KeyspaceName", 493 "documentation":"<p>The name of the keyspace that the table is going to be created in.</p>" 494 }, 495 "tableName":{ 496 "shape":"TableName", 497 "documentation":"<p>The name of the table.</p>" 498 }, 499 "schemaDefinition":{ 500 "shape":"SchemaDefinition", 501 "documentation":"<p>The <code>schemaDefinition</code> consists of the following parameters.</p> <p>For each column to be created:</p> <ul> <li> <p> <code>name</code> - The name of the column.</p> </li> <li> <p> <code>type</code> - An Amazon Keyspaces data type. For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/cql.elements.html#cql.data-types\">Data types</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> </li> </ul> <p>The primary key of the table consists of the following columns:</p> <ul> <li> <p> <code>partitionKeys</code> - The partition key can be a single column, or it can be a compound value composed of two or more columns. The partition key portion of the primary key is required and determines how Amazon Keyspaces stores your data.</p> </li> <li> <p> <code>name</code> - The name of each partition key column.</p> </li> <li> <p> <code>clusteringKeys</code> - The optional clustering column portion of your primary key determines how the data is clustered and sorted within each partition.</p> </li> <li> <p> <code>name</code> - The name of the clustering column. </p> </li> <li> <p> <code>orderBy</code> - Sets the ascendant (<code>ASC</code>) or descendant (<code>DESC</code>) order modifier.</p> <p>To define a column as static use <code>staticColumns</code> - Static columns store values that are shared by all rows in the same partition:</p> </li> <li> <p> <code>name</code> - The name of the column.</p> </li> <li> <p> <code>type</code> - An Amazon Keyspaces data type.</p> </li> </ul>" 502 }, 503 "comment":{ 504 "shape":"Comment", 505 "documentation":"<p>This parameter allows to enter a description of the table.</p>" 506 }, 507 "capacitySpecification":{ 508 "shape":"CapacitySpecification", 509 "documentation":"<p>Specifies the read/write throughput capacity mode for the table. The options are:</p> <ul> <li> <p> <code>throughputMode:PAY_PER_REQUEST</code> and </p> </li> <li> <p> <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p> </li> </ul> <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html\">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 510 }, 511 "encryptionSpecification":{ 512 "shape":"EncryptionSpecification", 513 "documentation":"<p>Specifies how the encryption key for encryption at rest is managed for the table. You can choose one of the following KMS key (KMS key):</p> <ul> <li> <p> <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p> </li> <li> <p> <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you. This option requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input.</p> </li> </ul> <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html\">Encryption at rest</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 514 }, 515 "pointInTimeRecovery":{ 516 "shape":"PointInTimeRecovery", 517 "documentation":"<p>Specifies if <code>pointInTimeRecovery</code> is enabled or disabled for the table. The options are:</p> <ul> <li> <p> <code>status=ENABLED</code> </p> </li> <li> <p> <code>status=DISABLED</code> </p> </li> </ul> <p>If it's not specified, the default is <code>status=DISABLED</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html\">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 518 }, 519 "ttl":{ 520 "shape":"TimeToLive", 521 "documentation":"<p>Enables Time to Live custom settings for the table. The options are:</p> <ul> <li> <p> <code>status:enabled</code> </p> </li> <li> <p> <code>status:disabled</code> </p> </li> </ul> <p>The default is <code>status:disabled</code>. After <code>ttl</code> is enabled, you can't disable it for the table.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html\">Expiring data by using Amazon Keyspaces Time to Live (TTL)</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 522 }, 523 "defaultTimeToLive":{ 524 "shape":"DefaultTimeToLive", 525 "documentation":"<p>The default Time to Live setting in seconds for the table.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl\">Setting the default TTL value for a table</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 526 }, 527 "tags":{ 528 "shape":"TagList", 529 "documentation":"<p>A list of key-value pair tags to be attached to the resource. </p> <p>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>" 530 }, 531 "clientSideTimestamps":{ 532 "shape":"ClientSideTimestamps", 533 "documentation":"<p> Enables client-side timestamps for the table. By default, the setting is disabled. You can enable client-side timestamps with the following option:</p> <ul> <li> <p> <code>status: \"enabled\"</code> </p> </li> </ul> <p>Once client-side timestamps are enabled for a table, this setting cannot be disabled.</p>" 534 }, 535 "autoScalingSpecification":{ 536 "shape":"AutoScalingSpecification", 537 "documentation":"<p>The optional auto scaling settings for a table in provisioned capacity mode. Specifies if the service can manage throughput capacity automatically on your behalf.</p> <p>Auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic. For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html\">Managing throughput capacity automatically with Amazon Keyspaces auto scaling</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>By default, auto scaling is disabled for a table. </p>" 538 }, 539 "replicaSpecifications":{ 540 "shape":"ReplicaSpecificationList", 541 "documentation":"<p>The optional Amazon Web Services Region specific settings of a multi-Region table. These settings overwrite the general settings of the table for the specified Region. </p> <p>For a multi-Region table in provisioned capacity mode, you can configure the table's read capacity differently for each Region's replica. The write capacity, however, remains synchronized between all replicas to ensure that there's enough capacity to replicate writes across all Regions. To define the read capacity for a table replica in a specific Region, you can do so by configuring the following parameters.</p> <ul> <li> <p> <code>region</code>: The Region where these settings are applied. (Required)</p> </li> <li> <p> <code>readCapacityUnits</code>: The provisioned read capacity units. (Optional)</p> </li> <li> <p> <code>readCapacityAutoScaling</code>: The read capacity auto scaling settings for the table. (Optional) </p> </li> </ul>" 542 } 543 } 544 }, 545 "CreateTableResponse":{ 546 "type":"structure", 547 "required":["resourceArn"], 548 "members":{ 549 "resourceArn":{ 550 "shape":"ARN", 551 "documentation":"<p>The unique identifier of the table in the format of an Amazon Resource Name (ARN).</p>" 552 } 553 } 554 }, 555 "DefaultTimeToLive":{ 556 "type":"integer", 557 "box":true, 558 "max":630720000, 559 "min":0 560 }, 561 "DeleteKeyspaceRequest":{ 562 "type":"structure", 563 "required":["keyspaceName"], 564 "members":{ 565 "keyspaceName":{ 566 "shape":"KeyspaceName", 567 "documentation":"<p>The name of the keyspace to be deleted.</p>" 568 } 569 } 570 }, 571 "DeleteKeyspaceResponse":{ 572 "type":"structure", 573 "members":{ 574 } 575 }, 576 "DeleteTableRequest":{ 577 "type":"structure", 578 "required":[ 579 "keyspaceName", 580 "tableName" 581 ], 582 "members":{ 583 "keyspaceName":{ 584 "shape":"KeyspaceName", 585 "documentation":"<p>The name of the keyspace of the to be deleted table.</p>" 586 }, 587 "tableName":{ 588 "shape":"TableName", 589 "documentation":"<p>The name of the table to be deleted.</p>" 590 } 591 } 592 }, 593 "DeleteTableResponse":{ 594 "type":"structure", 595 "members":{ 596 } 597 }, 598 "DoubleObject":{"type":"double"}, 599 "EncryptionSpecification":{ 600 "type":"structure", 601 "required":["type"], 602 "members":{ 603 "type":{ 604 "shape":"EncryptionType", 605 "documentation":"<p>The encryption option specified for the table. You can choose one of the following KMS keys (KMS keys):</p> <ul> <li> <p> <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p> </li> <li> <p> <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you. This option requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p> </li> </ul> <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>. </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html\">Encryption at rest</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 606 }, 607 "kmsKeyIdentifier":{ 608 "shape":"kmsKeyARN", 609 "documentation":"<p>The Amazon Resource Name (ARN) of the customer managed KMS key, for example <code>kms_key_identifier:ARN</code>.</p>" 610 } 611 }, 612 "documentation":"<p>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):</p> <ul> <li> <p>Amazon Web Services owned key - This is the default encryption type. The key is owned by Amazon Keyspaces (no additional charge). </p> </li> <li> <p>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).</p> </li> </ul> <p>For more information about encryption at rest in Amazon Keyspaces, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html\">Encryption at rest</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> <p>For more information about KMS, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html\">KMS management service concepts</a> in the <i>Key Management Service Developer Guide</i>.</p>" 613 }, 614 "EncryptionType":{ 615 "type":"string", 616 "enum":[ 617 "CUSTOMER_MANAGED_KMS_KEY", 618 "AWS_OWNED_KMS_KEY" 619 ] 620 }, 621 "GenericString":{"type":"string"}, 622 "GetKeyspaceRequest":{ 623 "type":"structure", 624 "required":["keyspaceName"], 625 "members":{ 626 "keyspaceName":{ 627 "shape":"KeyspaceName", 628 "documentation":"<p>The name of the keyspace.</p>" 629 } 630 } 631 }, 632 "GetKeyspaceResponse":{ 633 "type":"structure", 634 "required":[ 635 "keyspaceName", 636 "resourceArn", 637 "replicationStrategy" 638 ], 639 "members":{ 640 "keyspaceName":{ 641 "shape":"KeyspaceName", 642 "documentation":"<p>The name of the keyspace.</p>" 643 }, 644 "resourceArn":{ 645 "shape":"ARN", 646 "documentation":"<p>Returns the ARN of the keyspace.</p>" 647 }, 648 "replicationStrategy":{ 649 "shape":"rs", 650 "documentation":"<p> Returns the replication strategy of the keyspace. The options are <code>SINGLE_REGION</code> or <code>MULTI_REGION</code>. </p>" 651 }, 652 "replicationRegions":{ 653 "shape":"RegionList", 654 "documentation":"<p> If the <code>replicationStrategy</code> of the keyspace is <code>MULTI_REGION</code>, a list of replication Regions is returned. </p>" 655 } 656 } 657 }, 658 "GetTableAutoScalingSettingsRequest":{ 659 "type":"structure", 660 "required":[ 661 "keyspaceName", 662 "tableName" 663 ], 664 "members":{ 665 "keyspaceName":{ 666 "shape":"KeyspaceName", 667 "documentation":"<p>The name of the keyspace.</p>" 668 }, 669 "tableName":{ 670 "shape":"TableName", 671 "documentation":"<p>The name of the table.</p>" 672 } 673 } 674 }, 675 "GetTableAutoScalingSettingsResponse":{ 676 "type":"structure", 677 "required":[ 678 "keyspaceName", 679 "tableName", 680 "resourceArn" 681 ], 682 "members":{ 683 "keyspaceName":{ 684 "shape":"KeyspaceName", 685 "documentation":"<p>The name of the keyspace.</p>" 686 }, 687 "tableName":{ 688 "shape":"TableName", 689 "documentation":"<p>The name of the table.</p>" 690 }, 691 "resourceArn":{ 692 "shape":"ARN", 693 "documentation":"<p>The Amazon Resource Name (ARN) of the table.</p>" 694 }, 695 "autoScalingSpecification":{ 696 "shape":"AutoScalingSpecification", 697 "documentation":"<p>The auto scaling settings of the table.</p>" 698 }, 699 "replicaSpecifications":{ 700 "shape":"ReplicaAutoScalingSpecificationList", 701 "documentation":"<p>The Amazon Web Services Region specific settings of a multi-Region table. Returns the settings for all Regions the table is replicated in.</p>" 702 } 703 } 704 }, 705 "GetTableRequest":{ 706 "type":"structure", 707 "required":[ 708 "keyspaceName", 709 "tableName" 710 ], 711 "members":{ 712 "keyspaceName":{ 713 "shape":"KeyspaceName", 714 "documentation":"<p>The name of the keyspace that the table is stored in.</p>" 715 }, 716 "tableName":{ 717 "shape":"TableName", 718 "documentation":"<p>The name of the table.</p>" 719 } 720 } 721 }, 722 "GetTableResponse":{ 723 "type":"structure", 724 "required":[ 725 "keyspaceName", 726 "tableName", 727 "resourceArn" 728 ], 729 "members":{ 730 "keyspaceName":{ 731 "shape":"KeyspaceName", 732 "documentation":"<p>The name of the keyspace that the specified table is stored in.</p>" 733 }, 734 "tableName":{ 735 "shape":"TableName", 736 "documentation":"<p>The name of the specified table.</p>" 737 }, 738 "resourceArn":{ 739 "shape":"ARN", 740 "documentation":"<p>The Amazon Resource Name (ARN) of the specified table.</p>" 741 }, 742 "creationTimestamp":{ 743 "shape":"Timestamp", 744 "documentation":"<p>The creation timestamp of the specified table.</p>" 745 }, 746 "status":{ 747 "shape":"TableStatus", 748 "documentation":"<p>The current status of the specified table.</p>" 749 }, 750 "schemaDefinition":{ 751 "shape":"SchemaDefinition", 752 "documentation":"<p>The schema definition of the specified table.</p>" 753 }, 754 "capacitySpecification":{ 755 "shape":"CapacitySpecificationSummary", 756 "documentation":"<p>The read/write throughput capacity mode for a table. The options are:</p> <ul> <li> <p> <code>throughputMode:PAY_PER_REQUEST</code> </p> </li> <li> <p> <code>throughputMode:PROVISIONED</code> </p> </li> </ul>" 757 }, 758 "encryptionSpecification":{ 759 "shape":"EncryptionSpecification", 760 "documentation":"<p>The encryption settings of the specified table.</p>" 761 }, 762 "pointInTimeRecovery":{ 763 "shape":"PointInTimeRecoverySummary", 764 "documentation":"<p>The point-in-time recovery status of the specified table.</p>" 765 }, 766 "ttl":{ 767 "shape":"TimeToLive", 768 "documentation":"<p>The custom Time to Live settings of the specified table.</p>" 769 }, 770 "defaultTimeToLive":{ 771 "shape":"DefaultTimeToLive", 772 "documentation":"<p>The default Time to Live settings in seconds of the specified table.</p>" 773 }, 774 "comment":{ 775 "shape":"Comment", 776 "documentation":"<p>The the description of the specified table.</p>" 777 }, 778 "clientSideTimestamps":{ 779 "shape":"ClientSideTimestamps", 780 "documentation":"<p> The client-side timestamps setting of the table.</p>" 781 }, 782 "replicaSpecifications":{ 783 "shape":"ReplicaSpecificationSummaryList", 784 "documentation":"<p>Returns the Amazon Web Services Region specific settings of all Regions a multi-Region table is replicated in.</p>" 785 } 786 } 787 }, 788 "IntegerObject":{"type":"integer"}, 789 "InternalServerException":{ 790 "type":"structure", 791 "members":{ 792 "message":{ 793 "shape":"String", 794 "documentation":"<p>Description of the error.</p>" 795 } 796 }, 797 "documentation":"<p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>", 798 "exception":true, 799 "fault":true 800 }, 801 "KeyspaceName":{ 802 "type":"string", 803 "max":48, 804 "min":1, 805 "pattern":"[a-zA-Z0-9][a-zA-Z0-9_]{0,47}" 806 }, 807 "KeyspaceSummary":{ 808 "type":"structure", 809 "required":[ 810 "keyspaceName", 811 "resourceArn", 812 "replicationStrategy" 813 ], 814 "members":{ 815 "keyspaceName":{ 816 "shape":"KeyspaceName", 817 "documentation":"<p>The name of the keyspace.</p>" 818 }, 819 "resourceArn":{ 820 "shape":"ARN", 821 "documentation":"<p>The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).</p>" 822 }, 823 "replicationStrategy":{ 824 "shape":"rs", 825 "documentation":"<p> This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available values are <code>SINGLE_REGION</code> or <code>MULTI_REGION</code>. </p>" 826 }, 827 "replicationRegions":{ 828 "shape":"RegionList", 829 "documentation":"<p> If the <code>replicationStrategy</code> of the keyspace is <code>MULTI_REGION</code>, a list of replication Regions is returned. </p>" 830 } 831 }, 832 "documentation":"<p>Represents the properties of a keyspace.</p>" 833 }, 834 "KeyspaceSummaryList":{ 835 "type":"list", 836 "member":{"shape":"KeyspaceSummary"} 837 }, 838 "ListKeyspacesRequest":{ 839 "type":"structure", 840 "members":{ 841 "nextToken":{ 842 "shape":"NextToken", 843 "documentation":"<p>The pagination token. To resume pagination, provide the <code>NextToken</code> value as argument of a subsequent API invocation.</p>" 844 }, 845 "maxResults":{ 846 "shape":"MaxResults", 847 "documentation":"<p>The total number of keyspaces to return in the output. If the total number of keyspaces available is more than the value specified, a <code>NextToken</code> is provided in the output. To resume pagination, provide the <code>NextToken</code> value as an argument of a subsequent API invocation.</p>" 848 } 849 } 850 }, 851 "ListKeyspacesResponse":{ 852 "type":"structure", 853 "required":["keyspaces"], 854 "members":{ 855 "nextToken":{ 856 "shape":"NextToken", 857 "documentation":"<p>A token to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response.</p>" 858 }, 859 "keyspaces":{ 860 "shape":"KeyspaceSummaryList", 861 "documentation":"<p>A list of keyspaces.</p>" 862 } 863 } 864 }, 865 "ListTablesRequest":{ 866 "type":"structure", 867 "required":["keyspaceName"], 868 "members":{ 869 "nextToken":{ 870 "shape":"NextToken", 871 "documentation":"<p>The pagination token. To resume pagination, provide the <code>NextToken</code> value as an argument of a subsequent API invocation.</p>" 872 }, 873 "maxResults":{ 874 "shape":"MaxResults", 875 "documentation":"<p>The total number of tables to return in the output. If the total number of tables available is more than the value specified, a <code>NextToken</code> is provided in the output. To resume pagination, provide the <code>NextToken</code> value as an argument of a subsequent API invocation.</p>" 876 }, 877 "keyspaceName":{ 878 "shape":"KeyspaceName", 879 "documentation":"<p>The name of the keyspace.</p>" 880 } 881 } 882 }, 883 "ListTablesResponse":{ 884 "type":"structure", 885 "members":{ 886 "nextToken":{ 887 "shape":"NextToken", 888 "documentation":"<p>A token to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response.</p>" 889 }, 890 "tables":{ 891 "shape":"TableSummaryList", 892 "documentation":"<p>A list of tables.</p>" 893 } 894 } 895 }, 896 "ListTagsForResourceRequest":{ 897 "type":"structure", 898 "required":["resourceArn"], 899 "members":{ 900 "resourceArn":{ 901 "shape":"ARN", 902 "documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Keyspaces resource.</p>" 903 }, 904 "nextToken":{ 905 "shape":"NextToken", 906 "documentation":"<p>The pagination token. To resume pagination, provide the <code>NextToken</code> value as argument of a subsequent API invocation.</p>" 907 }, 908 "maxResults":{ 909 "shape":"MaxResults", 910 "documentation":"<p>The total number of tags to return in the output. If the total number of tags available is more than the value specified, a <code>NextToken</code> is provided in the output. To resume pagination, provide the <code>NextToken</code> value as an argument of a subsequent API invocation.</p>" 911 } 912 } 913 }, 914 "ListTagsForResourceResponse":{ 915 "type":"structure", 916 "members":{ 917 "nextToken":{ 918 "shape":"NextToken", 919 "documentation":"<p>A token to specify where to start paginating. This is the <code>NextToken</code> from a previously truncated response.</p>" 920 }, 921 "tags":{ 922 "shape":"TagList", 923 "documentation":"<p>A list of tags.</p>" 924 } 925 } 926 }, 927 "MaxResults":{ 928 "type":"integer", 929 "box":true, 930 "max":1000, 931 "min":1 932 }, 933 "NextToken":{ 934 "type":"string", 935 "max":2048, 936 "min":1 937 }, 938 "PartitionKey":{ 939 "type":"structure", 940 "required":["name"], 941 "members":{ 942 "name":{ 943 "shape":"GenericString", 944 "documentation":"<p>The name(s) of the partition key column(s).</p>" 945 } 946 }, 947 "documentation":"<p>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.</p>" 948 }, 949 "PartitionKeyList":{ 950 "type":"list", 951 "member":{"shape":"PartitionKey"}, 952 "min":1 953 }, 954 "PointInTimeRecovery":{ 955 "type":"structure", 956 "required":["status"], 957 "members":{ 958 "status":{ 959 "shape":"PointInTimeRecoveryStatus", 960 "documentation":"<p>The options are:</p> <ul> <li> <p> <code>status=ENABLED</code> </p> </li> <li> <p> <code>status=DISABLED</code> </p> </li> </ul>" 961 } 962 }, 963 "documentation":"<p>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.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html\">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 964 }, 965 "PointInTimeRecoveryStatus":{ 966 "type":"string", 967 "enum":[ 968 "ENABLED", 969 "DISABLED" 970 ] 971 }, 972 "PointInTimeRecoverySummary":{ 973 "type":"structure", 974 "required":["status"], 975 "members":{ 976 "status":{ 977 "shape":"PointInTimeRecoveryStatus", 978 "documentation":"<p>Shows if point-in-time recovery is enabled or disabled for the specified table.</p>" 979 }, 980 "earliestRestorableTimestamp":{ 981 "shape":"Timestamp", 982 "documentation":"<p>Specifies the earliest possible restore point of the table in ISO 8601 format.</p>" 983 } 984 }, 985 "documentation":"<p>The point-in-time recovery status of the specified table.</p>" 986 }, 987 "RegionList":{ 988 "type":"list", 989 "member":{"shape":"region"}, 990 "max":6, 991 "min":2 992 }, 993 "ReplicaAutoScalingSpecification":{ 994 "type":"structure", 995 "members":{ 996 "region":{ 997 "shape":"region", 998 "documentation":"<p>The Amazon Web Services Region.</p>" 999 }, 1000 "autoScalingSpecification":{ 1001 "shape":"AutoScalingSpecification", 1002 "documentation":"<p>The auto scaling settings for a multi-Region table in the specified Amazon Web Services Region.</p>" 1003 } 1004 }, 1005 "documentation":"<p>The auto scaling settings of a multi-Region table in the specified Amazon Web Services Region.</p>" 1006 }, 1007 "ReplicaAutoScalingSpecificationList":{ 1008 "type":"list", 1009 "member":{"shape":"ReplicaAutoScalingSpecification"}, 1010 "min":0 1011 }, 1012 "ReplicaSpecification":{ 1013 "type":"structure", 1014 "required":["region"], 1015 "members":{ 1016 "region":{ 1017 "shape":"region", 1018 "documentation":"<p>The Amazon Web Services Region.</p>" 1019 }, 1020 "readCapacityUnits":{ 1021 "shape":"CapacityUnits", 1022 "documentation":"<p>The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.</p>" 1023 }, 1024 "readCapacityAutoScaling":{ 1025 "shape":"AutoScalingSettings", 1026 "documentation":"<p>The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.</p>" 1027 } 1028 }, 1029 "documentation":"<p>The Amazon Web Services Region specific settings of a multi-Region table.</p> <p>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.</p> <ul> <li> <p> <code>region</code>: The Region where these settings are applied. (Required)</p> </li> <li> <p> <code>readCapacityUnits</code>: The provisioned read capacity units. (Optional)</p> </li> <li> <p> <code>readCapacityAutoScaling</code>: The read capacity auto scaling settings for the table. (Optional)</p> </li> </ul>" 1030 }, 1031 "ReplicaSpecificationList":{ 1032 "type":"list", 1033 "member":{"shape":"ReplicaSpecification"}, 1034 "min":1 1035 }, 1036 "ReplicaSpecificationSummary":{ 1037 "type":"structure", 1038 "members":{ 1039 "region":{ 1040 "shape":"region", 1041 "documentation":"<p>The Amazon Web Services Region.</p>" 1042 }, 1043 "status":{ 1044 "shape":"TableStatus", 1045 "documentation":"<p>The status of the multi-Region table in the specified Amazon Web Services Region.</p>" 1046 }, 1047 "capacitySpecification":{"shape":"CapacitySpecificationSummary"} 1048 }, 1049 "documentation":"<p>The Region-specific settings of a multi-Region table in the specified Amazon Web Services Region.</p> <p>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.</p>" 1050 }, 1051 "ReplicaSpecificationSummaryList":{ 1052 "type":"list", 1053 "member":{"shape":"ReplicaSpecificationSummary"}, 1054 "min":0 1055 }, 1056 "ReplicationSpecification":{ 1057 "type":"structure", 1058 "required":["replicationStrategy"], 1059 "members":{ 1060 "replicationStrategy":{ 1061 "shape":"rs", 1062 "documentation":"<p> The <code>replicationStrategy</code> of a keyspace, the required value is <code>SINGLE_REGION</code> or <code>MULTI_REGION</code>. </p>" 1063 }, 1064 "regionList":{ 1065 "shape":"RegionList", 1066 "documentation":"<p> The <code>regionList</code> can contain up to six Amazon Web Services Regions where the keyspace is replicated in. </p>" 1067 } 1068 }, 1069 "documentation":"<p> The replication specification of the keyspace includes:</p> <ul> <li> <p> <code>regionList</code> - up to six Amazon Web Services Regions where the keyspace is replicated in.</p> </li> <li> <p> <code>replicationStrategy</code> - the required value is <code>SINGLE_REGION</code> or <code>MULTI_REGION</code>.</p> </li> </ul>" 1070 }, 1071 "ResourceNotFoundException":{ 1072 "type":"structure", 1073 "members":{ 1074 "message":{ 1075 "shape":"String", 1076 "documentation":"<p>Description of the error.</p>" 1077 }, 1078 "resourceArn":{ 1079 "shape":"ARN", 1080 "documentation":"<p>The unique identifier in the format of Amazon Resource Name (ARN), for the resource not found.</p>" 1081 } 1082 }, 1083 "documentation":"<p>The operation tried to access a keyspace or table that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>", 1084 "exception":true 1085 }, 1086 "RestoreTableRequest":{ 1087 "type":"structure", 1088 "required":[ 1089 "sourceKeyspaceName", 1090 "sourceTableName", 1091 "targetKeyspaceName", 1092 "targetTableName" 1093 ], 1094 "members":{ 1095 "sourceKeyspaceName":{ 1096 "shape":"KeyspaceName", 1097 "documentation":"<p>The keyspace name of the source table.</p>" 1098 }, 1099 "sourceTableName":{ 1100 "shape":"TableName", 1101 "documentation":"<p>The name of the source table.</p>" 1102 }, 1103 "targetKeyspaceName":{ 1104 "shape":"KeyspaceName", 1105 "documentation":"<p>The name of the target keyspace.</p>" 1106 }, 1107 "targetTableName":{ 1108 "shape":"TableName", 1109 "documentation":"<p>The name of the target table.</p>" 1110 }, 1111 "restoreTimestamp":{ 1112 "shape":"Timestamp", 1113 "documentation":"<p>The restore timestamp in ISO 8601 format.</p>" 1114 }, 1115 "capacitySpecificationOverride":{ 1116 "shape":"CapacitySpecification", 1117 "documentation":"<p>Specifies the read/write throughput capacity mode for the target table. The options are:</p> <ul> <li> <p> <code>throughputMode:PAY_PER_REQUEST</code> </p> </li> <li> <p> <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p> </li> </ul> <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html\">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1118 }, 1119 "encryptionSpecificationOverride":{ 1120 "shape":"EncryptionSpecification", 1121 "documentation":"<p>Specifies the encryption settings for the target table. You can choose one of the following KMS key (KMS key):</p> <ul> <li> <p> <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p> </li> <li> <p> <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you. This option requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p> </li> </ul> <p>The default is <code>type:AWS_OWNED_KMS_KEY</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html\">Encryption at rest</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1122 }, 1123 "pointInTimeRecoveryOverride":{ 1124 "shape":"PointInTimeRecovery", 1125 "documentation":"<p>Specifies the <code>pointInTimeRecovery</code> settings for the target table. The options are:</p> <ul> <li> <p> <code>status=ENABLED</code> </p> </li> <li> <p> <code>status=DISABLED</code> </p> </li> </ul> <p>If it's not specified, the default is <code>status=DISABLED</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html\">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1126 }, 1127 "tagsOverride":{ 1128 "shape":"TagList", 1129 "documentation":"<p>A list of key-value pair tags to be attached to the restored table. </p> <p>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>" 1130 }, 1131 "autoScalingSpecification":{ 1132 "shape":"AutoScalingSpecification", 1133 "documentation":"<p>The optional auto scaling settings for the restored table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html\">Managing throughput capacity automatically with Amazon Keyspaces auto scaling</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1134 }, 1135 "replicaSpecifications":{ 1136 "shape":"ReplicaSpecificationList", 1137 "documentation":"<p>The optional Region specific settings of a multi-Regional table.</p>" 1138 } 1139 } 1140 }, 1141 "RestoreTableResponse":{ 1142 "type":"structure", 1143 "required":["restoredTableARN"], 1144 "members":{ 1145 "restoredTableARN":{ 1146 "shape":"ARN", 1147 "documentation":"<p>The Amazon Resource Name (ARN) of the restored table.</p>" 1148 } 1149 } 1150 }, 1151 "SchemaDefinition":{ 1152 "type":"structure", 1153 "required":[ 1154 "allColumns", 1155 "partitionKeys" 1156 ], 1157 "members":{ 1158 "allColumns":{ 1159 "shape":"ColumnDefinitionList", 1160 "documentation":"<p>The regular columns of the table.</p>" 1161 }, 1162 "partitionKeys":{ 1163 "shape":"PartitionKeyList", 1164 "documentation":"<p>The columns that are part of the partition key of the table .</p>" 1165 }, 1166 "clusteringKeys":{ 1167 "shape":"ClusteringKeyList", 1168 "documentation":"<p>The columns that are part of the clustering key of the table.</p>" 1169 }, 1170 "staticColumns":{ 1171 "shape":"StaticColumnList", 1172 "documentation":"<p>The columns that have been defined as <code>STATIC</code>. Static columns store values that are shared by all rows in the same partition.</p>" 1173 } 1174 }, 1175 "documentation":"<p>Describes the schema of the table.</p>" 1176 }, 1177 "ServiceQuotaExceededException":{ 1178 "type":"structure", 1179 "members":{ 1180 "message":{ 1181 "shape":"String", 1182 "documentation":"<p>Description of the error.</p>" 1183 } 1184 }, 1185 "documentation":"<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>", 1186 "exception":true 1187 }, 1188 "SortOrder":{ 1189 "type":"string", 1190 "enum":[ 1191 "ASC", 1192 "DESC" 1193 ] 1194 }, 1195 "StaticColumn":{ 1196 "type":"structure", 1197 "required":["name"], 1198 "members":{ 1199 "name":{ 1200 "shape":"GenericString", 1201 "documentation":"<p>The name of the static column.</p>" 1202 } 1203 }, 1204 "documentation":"<p>The static columns of the table. Static columns store values that are shared by all rows in the same partition.</p>" 1205 }, 1206 "StaticColumnList":{ 1207 "type":"list", 1208 "member":{"shape":"StaticColumn"} 1209 }, 1210 "String":{"type":"string"}, 1211 "TableName":{ 1212 "type":"string", 1213 "max":48, 1214 "min":1, 1215 "pattern":"[a-zA-Z0-9][a-zA-Z0-9_]{0,47}" 1216 }, 1217 "TableStatus":{ 1218 "type":"string", 1219 "enum":[ 1220 "ACTIVE", 1221 "CREATING", 1222 "UPDATING", 1223 "DELETING", 1224 "DELETED", 1225 "RESTORING", 1226 "INACCESSIBLE_ENCRYPTION_CREDENTIALS" 1227 ] 1228 }, 1229 "TableSummary":{ 1230 "type":"structure", 1231 "required":[ 1232 "keyspaceName", 1233 "tableName", 1234 "resourceArn" 1235 ], 1236 "members":{ 1237 "keyspaceName":{ 1238 "shape":"KeyspaceName", 1239 "documentation":"<p>The name of the keyspace that the table is stored in.</p>" 1240 }, 1241 "tableName":{ 1242 "shape":"TableName", 1243 "documentation":"<p>The name of the table.</p>" 1244 }, 1245 "resourceArn":{ 1246 "shape":"ARN", 1247 "documentation":"<p>The unique identifier of the table in the format of an Amazon Resource Name (ARN).</p>" 1248 } 1249 }, 1250 "documentation":"<p>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).</p>" 1251 }, 1252 "TableSummaryList":{ 1253 "type":"list", 1254 "member":{"shape":"TableSummary"} 1255 }, 1256 "Tag":{ 1257 "type":"structure", 1258 "required":[ 1259 "key", 1260 "value" 1261 ], 1262 "members":{ 1263 "key":{ 1264 "shape":"TagKey", 1265 "documentation":"<p>The key of the tag. Tag keys are case sensitive. Each Amazon Keyspaces resource can only have up to one tag with the same key. If you try to add an existing tag (same key), the existing tag value will be updated to the new value.</p>" 1266 }, 1267 "value":{ 1268 "shape":"TagValue", 1269 "documentation":"<p>The value of the tag. Tag values are case-sensitive and can be null.</p>" 1270 } 1271 }, 1272 "documentation":"<p>Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single Amazon Keyspaces resource.</p> <p>Amazon Web Services-assigned tag names and values are automatically assigned the <code>aws:</code> 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 prefix <code>user:</code> in the Cost Allocation Report. You cannot backdate the application of a tag.</p> <p>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>" 1273 }, 1274 "TagKey":{ 1275 "type":"string", 1276 "max":128, 1277 "min":1 1278 }, 1279 "TagList":{ 1280 "type":"list", 1281 "member":{"shape":"Tag"}, 1282 "max":60, 1283 "min":1 1284 }, 1285 "TagResourceRequest":{ 1286 "type":"structure", 1287 "required":[ 1288 "resourceArn", 1289 "tags" 1290 ], 1291 "members":{ 1292 "resourceArn":{ 1293 "shape":"ARN", 1294 "documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Keyspaces resource to which to add tags.</p>" 1295 }, 1296 "tags":{ 1297 "shape":"TagList", 1298 "documentation":"<p>The tags to be assigned to the Amazon Keyspaces resource.</p>" 1299 } 1300 } 1301 }, 1302 "TagResourceResponse":{ 1303 "type":"structure", 1304 "members":{ 1305 } 1306 }, 1307 "TagValue":{ 1308 "type":"string", 1309 "max":256, 1310 "min":1 1311 }, 1312 "TargetTrackingScalingPolicyConfiguration":{ 1313 "type":"structure", 1314 "required":["targetValue"], 1315 "members":{ 1316 "disableScaleIn":{ 1317 "shape":"BooleanObject", 1318 "documentation":"<p>Specifies if <code>scale-in</code> is enabled.</p> <p>When auto scaling automatically decreases capacity for a table, the table <i>scales in</i>. When scaling policies are set, they can't scale in the table lower than its minimum capacity.</p>" 1319 }, 1320 "scaleInCooldown":{ 1321 "shape":"IntegerObject", 1322 "documentation":"<p>Specifies a <code>scale-in</code> cool down period.</p> <p>A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts. </p>" 1323 }, 1324 "scaleOutCooldown":{ 1325 "shape":"IntegerObject", 1326 "documentation":"<p>Specifies a scale out cool down period.</p> <p>A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts. </p>" 1327 }, 1328 "targetValue":{ 1329 "shape":"DoubleObject", 1330 "documentation":"<p>Specifies the target value for the target tracking auto scaling policy.</p> <p>Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define <code>targetValue</code> as a percentage. A <code>double</code> between 20 and 90.</p>" 1331 } 1332 }, 1333 "documentation":"<p>The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.</p>" 1334 }, 1335 "ThroughputMode":{ 1336 "type":"string", 1337 "enum":[ 1338 "PAY_PER_REQUEST", 1339 "PROVISIONED" 1340 ] 1341 }, 1342 "TimeToLive":{ 1343 "type":"structure", 1344 "required":["status"], 1345 "members":{ 1346 "status":{ 1347 "shape":"TimeToLiveStatus", 1348 "documentation":"<p>Shows how to enable custom Time to Live (TTL) settings for the specified table.</p>" 1349 } 1350 }, 1351 "documentation":"<p>Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_enabling\">Enabling TTL on tables</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1352 }, 1353 "TimeToLiveStatus":{ 1354 "type":"string", 1355 "enum":["ENABLED"] 1356 }, 1357 "Timestamp":{"type":"timestamp"}, 1358 "UntagResourceRequest":{ 1359 "type":"structure", 1360 "required":[ 1361 "resourceArn", 1362 "tags" 1363 ], 1364 "members":{ 1365 "resourceArn":{ 1366 "shape":"ARN", 1367 "documentation":"<p>The Amazon Keyspaces resource that the tags will be removed from. This value is an Amazon Resource Name (ARN).</p>" 1368 }, 1369 "tags":{ 1370 "shape":"TagList", 1371 "documentation":"<p>A list of existing tags to be removed from the Amazon Keyspaces resource.</p>" 1372 } 1373 } 1374 }, 1375 "UntagResourceResponse":{ 1376 "type":"structure", 1377 "members":{ 1378 } 1379 }, 1380 "UpdateTableRequest":{ 1381 "type":"structure", 1382 "required":[ 1383 "keyspaceName", 1384 "tableName" 1385 ], 1386 "members":{ 1387 "keyspaceName":{ 1388 "shape":"KeyspaceName", 1389 "documentation":"<p>The name of the keyspace the specified table is stored in.</p>" 1390 }, 1391 "tableName":{ 1392 "shape":"TableName", 1393 "documentation":"<p>The name of the table.</p>" 1394 }, 1395 "addColumns":{ 1396 "shape":"ColumnDefinitionList", 1397 "documentation":"<p>For each column to be added to the specified table:</p> <ul> <li> <p> <code>name</code> - The name of the column.</p> </li> <li> <p> <code>type</code> - An Amazon Keyspaces data type. For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/cql.elements.html#cql.data-types\">Data types</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p> </li> </ul>" 1398 }, 1399 "capacitySpecification":{ 1400 "shape":"CapacitySpecification", 1401 "documentation":"<p>Modifies the read/write throughput capacity mode for the table. The options are:</p> <ul> <li> <p> <code>throughputMode:PAY_PER_REQUEST</code> and </p> </li> <li> <p> <code>throughputMode:PROVISIONED</code> - Provisioned capacity mode requires <code>readCapacityUnits</code> and <code>writeCapacityUnits</code> as input.</p> </li> </ul> <p>The default is <code>throughput_mode:PAY_PER_REQUEST</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/ReadWriteCapacityMode.html\">Read/write capacity modes</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1402 }, 1403 "encryptionSpecification":{ 1404 "shape":"EncryptionSpecification", 1405 "documentation":"<p>Modifies the encryption settings of the table. You can choose one of the following KMS key (KMS key):</p> <ul> <li> <p> <code>type:AWS_OWNED_KMS_KEY</code> - This key is owned by Amazon Keyspaces. </p> </li> <li> <p> <code>type:CUSTOMER_MANAGED_KMS_KEY</code> - This key is stored in your account and is created, owned, and managed by you. This option requires the <code>kms_key_identifier</code> of the KMS key in Amazon Resource Name (ARN) format as input. </p> </li> </ul> <p>The default is <code>AWS_OWNED_KMS_KEY</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/EncryptionAtRest.html\">Encryption at rest</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1406 }, 1407 "pointInTimeRecovery":{ 1408 "shape":"PointInTimeRecovery", 1409 "documentation":"<p>Modifies the <code>pointInTimeRecovery</code> settings of the table. The options are:</p> <ul> <li> <p> <code>status=ENABLED</code> </p> </li> <li> <p> <code>status=DISABLED</code> </p> </li> </ul> <p>If it's not specified, the default is <code>status=DISABLED</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery.html\">Point-in-time recovery</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1410 }, 1411 "ttl":{ 1412 "shape":"TimeToLive", 1413 "documentation":"<p>Modifies Time to Live custom settings for the table. The options are:</p> <ul> <li> <p> <code>status:enabled</code> </p> </li> <li> <p> <code>status:disabled</code> </p> </li> </ul> <p>The default is <code>status:disabled</code>. After <code>ttl</code> is enabled, you can't disable it for the table.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL.html\">Expiring data by using Amazon Keyspaces Time to Live (TTL)</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1414 }, 1415 "defaultTimeToLive":{ 1416 "shape":"DefaultTimeToLive", 1417 "documentation":"<p>The default Time to Live setting in seconds for the table.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/TTL-how-it-works.html#ttl-howitworks_default_ttl\">Setting the default TTL value for a table</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1418 }, 1419 "clientSideTimestamps":{ 1420 "shape":"ClientSideTimestamps", 1421 "documentation":"<p>Enables client-side timestamps for the table. By default, the setting is disabled. You can enable client-side timestamps with the following option:</p> <ul> <li> <p> <code>status: \"enabled\"</code> </p> </li> </ul> <p>Once client-side timestamps are enabled for a table, this setting cannot be disabled.</p>" 1422 }, 1423 "autoScalingSpecification":{ 1424 "shape":"AutoScalingSpecification", 1425 "documentation":"<p>The optional auto scaling settings to update for a table in provisioned capacity mode. Specifies if the service can manage throughput capacity of a provisioned table automatically on your behalf. Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing your table's read and write capacity automatically in response to application traffic.</p> <p>If auto scaling is already enabled for the table, you can use <code>UpdateTable</code> to update the minimum and maximum values or the auto scaling policy settings independently.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html\">Managing throughput capacity automatically with Amazon Keyspaces auto scaling</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>" 1426 }, 1427 "replicaSpecifications":{ 1428 "shape":"ReplicaSpecificationList", 1429 "documentation":"<p>The Region specific settings of a multi-Regional table.</p>" 1430 } 1431 } 1432 }, 1433 "UpdateTableResponse":{ 1434 "type":"structure", 1435 "required":["resourceArn"], 1436 "members":{ 1437 "resourceArn":{ 1438 "shape":"ARN", 1439 "documentation":"<p>The Amazon Resource Name (ARN) of the modified table.</p>" 1440 } 1441 } 1442 }, 1443 "ValidationException":{ 1444 "type":"structure", 1445 "members":{ 1446 "message":{ 1447 "shape":"String", 1448 "documentation":"<p>Description of the error.</p>" 1449 } 1450 }, 1451 "documentation":"<p>The operation failed due to an invalid or malformed request.</p>", 1452 "exception":true 1453 }, 1454 "kmsKeyARN":{ 1455 "type":"string", 1456 "max":5096, 1457 "min":1 1458 }, 1459 "region":{ 1460 "type":"string", 1461 "max":25, 1462 "min":2 1463 }, 1464 "rs":{ 1465 "type":"string", 1466 "enum":[ 1467 "SINGLE_REGION", 1468 "MULTI_REGION" 1469 ], 1470 "max":20, 1471 "min":1 1472 } 1473 }, 1474 "documentation":"<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>" 1475} 1476