123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749 |
- {
- "version": "2.0",
- "metadata": {
- "apiVersion": "2022-02-10",
- "endpointPrefix": "cassandra",
- "jsonVersion": "1.0",
- "protocol": "json",
- "serviceFullName": "Amazon Keyspaces",
- "serviceId": "Keyspaces",
- "signatureVersion": "v4",
- "signingName": "cassandra",
- "targetPrefix": "KeyspacesService",
- "uid": "keyspaces-2022-02-10"
- },
- "operations": {
- "CreateKeyspace": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName"
- ],
- "members": {
- "keyspaceName": {},
- "tags": {
- "shape": "S3"
- },
- "replicationSpecification": {
- "type": "structure",
- "required": [
- "replicationStrategy"
- ],
- "members": {
- "replicationStrategy": {},
- "regionList": {
- "shape": "S9"
- }
- }
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "resourceArn"
- ],
- "members": {
- "resourceArn": {}
- }
- }
- },
- "CreateTable": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "tableName",
- "schemaDefinition"
- ],
- "members": {
- "keyspaceName": {},
- "tableName": {},
- "schemaDefinition": {
- "shape": "Sf"
- },
- "comment": {
- "shape": "Sq"
- },
- "capacitySpecification": {
- "shape": "Ss"
- },
- "encryptionSpecification": {
- "shape": "Sv"
- },
- "pointInTimeRecovery": {
- "shape": "Sy"
- },
- "ttl": {
- "shape": "S10"
- },
- "defaultTimeToLive": {
- "type": "integer"
- },
- "tags": {
- "shape": "S3"
- },
- "clientSideTimestamps": {
- "shape": "S13"
- },
- "autoScalingSpecification": {
- "shape": "S15"
- },
- "replicaSpecifications": {
- "shape": "S1c"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "resourceArn"
- ],
- "members": {
- "resourceArn": {}
- }
- }
- },
- "DeleteKeyspace": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName"
- ],
- "members": {
- "keyspaceName": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
- "DeleteTable": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "tableName"
- ],
- "members": {
- "keyspaceName": {},
- "tableName": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
- "GetKeyspace": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName"
- ],
- "members": {
- "keyspaceName": {}
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "resourceArn",
- "replicationStrategy"
- ],
- "members": {
- "keyspaceName": {},
- "resourceArn": {},
- "replicationStrategy": {},
- "replicationRegions": {
- "shape": "S9"
- }
- }
- }
- },
- "GetTable": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "tableName"
- ],
- "members": {
- "keyspaceName": {},
- "tableName": {}
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "tableName",
- "resourceArn"
- ],
- "members": {
- "keyspaceName": {},
- "tableName": {},
- "resourceArn": {},
- "creationTimestamp": {
- "type": "timestamp"
- },
- "status": {},
- "schemaDefinition": {
- "shape": "Sf"
- },
- "capacitySpecification": {
- "shape": "S1p"
- },
- "encryptionSpecification": {
- "shape": "Sv"
- },
- "pointInTimeRecovery": {
- "type": "structure",
- "required": [
- "status"
- ],
- "members": {
- "status": {},
- "earliestRestorableTimestamp": {
- "type": "timestamp"
- }
- }
- },
- "ttl": {
- "shape": "S10"
- },
- "defaultTimeToLive": {
- "type": "integer"
- },
- "comment": {
- "shape": "Sq"
- },
- "clientSideTimestamps": {
- "shape": "S13"
- },
- "replicaSpecifications": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "region": {},
- "status": {},
- "capacitySpecification": {
- "shape": "S1p"
- }
- }
- }
- }
- }
- }
- },
- "GetTableAutoScalingSettings": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "tableName"
- ],
- "members": {
- "keyspaceName": {},
- "tableName": {}
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "tableName",
- "resourceArn"
- ],
- "members": {
- "keyspaceName": {},
- "tableName": {},
- "resourceArn": {},
- "autoScalingSpecification": {
- "shape": "S15"
- },
- "replicaSpecifications": {
- "type": "list",
- "member": {
- "type": "structure",
- "members": {
- "region": {},
- "autoScalingSpecification": {
- "shape": "S15"
- }
- }
- }
- }
- }
- }
- },
- "ListKeyspaces": {
- "input": {
- "type": "structure",
- "members": {
- "nextToken": {},
- "maxResults": {
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "keyspaces"
- ],
- "members": {
- "nextToken": {},
- "keyspaces": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "resourceArn",
- "replicationStrategy"
- ],
- "members": {
- "keyspaceName": {},
- "resourceArn": {},
- "replicationStrategy": {},
- "replicationRegions": {
- "shape": "S9"
- }
- }
- }
- }
- }
- }
- },
- "ListTables": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName"
- ],
- "members": {
- "nextToken": {},
- "maxResults": {
- "type": "integer"
- },
- "keyspaceName": {}
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "nextToken": {},
- "tables": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "tableName",
- "resourceArn"
- ],
- "members": {
- "keyspaceName": {},
- "tableName": {},
- "resourceArn": {}
- }
- }
- }
- }
- }
- },
- "ListTagsForResource": {
- "input": {
- "type": "structure",
- "required": [
- "resourceArn"
- ],
- "members": {
- "resourceArn": {},
- "nextToken": {},
- "maxResults": {
- "type": "integer"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {
- "nextToken": {},
- "tags": {
- "shape": "S3"
- }
- }
- }
- },
- "RestoreTable": {
- "input": {
- "type": "structure",
- "required": [
- "sourceKeyspaceName",
- "sourceTableName",
- "targetKeyspaceName",
- "targetTableName"
- ],
- "members": {
- "sourceKeyspaceName": {},
- "sourceTableName": {},
- "targetKeyspaceName": {},
- "targetTableName": {},
- "restoreTimestamp": {
- "type": "timestamp"
- },
- "capacitySpecificationOverride": {
- "shape": "Ss"
- },
- "encryptionSpecificationOverride": {
- "shape": "Sv"
- },
- "pointInTimeRecoveryOverride": {
- "shape": "Sy"
- },
- "tagsOverride": {
- "shape": "S3"
- },
- "autoScalingSpecification": {
- "shape": "S15"
- },
- "replicaSpecifications": {
- "shape": "S1c"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "restoredTableARN"
- ],
- "members": {
- "restoredTableARN": {}
- }
- }
- },
- "TagResource": {
- "input": {
- "type": "structure",
- "required": [
- "resourceArn",
- "tags"
- ],
- "members": {
- "resourceArn": {},
- "tags": {
- "shape": "S3"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
- "UntagResource": {
- "input": {
- "type": "structure",
- "required": [
- "resourceArn",
- "tags"
- ],
- "members": {
- "resourceArn": {},
- "tags": {
- "shape": "S3"
- }
- }
- },
- "output": {
- "type": "structure",
- "members": {}
- }
- },
- "UpdateTable": {
- "input": {
- "type": "structure",
- "required": [
- "keyspaceName",
- "tableName"
- ],
- "members": {
- "keyspaceName": {},
- "tableName": {},
- "addColumns": {
- "shape": "Sg"
- },
- "capacitySpecification": {
- "shape": "Ss"
- },
- "encryptionSpecification": {
- "shape": "Sv"
- },
- "pointInTimeRecovery": {
- "shape": "Sy"
- },
- "ttl": {
- "shape": "S10"
- },
- "defaultTimeToLive": {
- "type": "integer"
- },
- "clientSideTimestamps": {
- "shape": "S13"
- },
- "autoScalingSpecification": {
- "shape": "S15"
- },
- "replicaSpecifications": {
- "shape": "S1c"
- }
- }
- },
- "output": {
- "type": "structure",
- "required": [
- "resourceArn"
- ],
- "members": {
- "resourceArn": {}
- }
- }
- }
- },
- "shapes": {
- "S3": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "key",
- "value"
- ],
- "members": {
- "key": {},
- "value": {}
- }
- }
- },
- "S9": {
- "type": "list",
- "member": {}
- },
- "Sf": {
- "type": "structure",
- "required": [
- "allColumns",
- "partitionKeys"
- ],
- "members": {
- "allColumns": {
- "shape": "Sg"
- },
- "partitionKeys": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "name"
- ],
- "members": {
- "name": {}
- }
- }
- },
- "clusteringKeys": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "name",
- "orderBy"
- ],
- "members": {
- "name": {},
- "orderBy": {}
- }
- }
- },
- "staticColumns": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "name"
- ],
- "members": {
- "name": {}
- }
- }
- }
- }
- },
- "Sg": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "name",
- "type"
- ],
- "members": {
- "name": {},
- "type": {}
- }
- }
- },
- "Sq": {
- "type": "structure",
- "required": [
- "message"
- ],
- "members": {
- "message": {}
- }
- },
- "Ss": {
- "type": "structure",
- "required": [
- "throughputMode"
- ],
- "members": {
- "throughputMode": {},
- "readCapacityUnits": {
- "type": "long"
- },
- "writeCapacityUnits": {
- "type": "long"
- }
- }
- },
- "Sv": {
- "type": "structure",
- "required": [
- "type"
- ],
- "members": {
- "type": {},
- "kmsKeyIdentifier": {}
- }
- },
- "Sy": {
- "type": "structure",
- "required": [
- "status"
- ],
- "members": {
- "status": {}
- }
- },
- "S10": {
- "type": "structure",
- "required": [
- "status"
- ],
- "members": {
- "status": {}
- }
- },
- "S13": {
- "type": "structure",
- "required": [
- "status"
- ],
- "members": {
- "status": {}
- }
- },
- "S15": {
- "type": "structure",
- "members": {
- "writeCapacityAutoScaling": {
- "shape": "S16"
- },
- "readCapacityAutoScaling": {
- "shape": "S16"
- }
- }
- },
- "S16": {
- "type": "structure",
- "members": {
- "autoScalingDisabled": {
- "type": "boolean"
- },
- "minimumUnits": {
- "type": "long"
- },
- "maximumUnits": {
- "type": "long"
- },
- "scalingPolicy": {
- "type": "structure",
- "members": {
- "targetTrackingScalingPolicyConfiguration": {
- "type": "structure",
- "required": [
- "targetValue"
- ],
- "members": {
- "disableScaleIn": {
- "type": "boolean"
- },
- "scaleInCooldown": {
- "type": "integer"
- },
- "scaleOutCooldown": {
- "type": "integer"
- },
- "targetValue": {
- "type": "double"
- }
- }
- }
- }
- }
- }
- },
- "S1c": {
- "type": "list",
- "member": {
- "type": "structure",
- "required": [
- "region"
- ],
- "members": {
- "region": {},
- "readCapacityUnits": {
- "type": "long"
- },
- "readCapacityAutoScaling": {
- "shape": "S16"
- }
- }
- }
- },
- "S1p": {
- "type": "structure",
- "required": [
- "throughputMode"
- ],
- "members": {
- "throughputMode": {},
- "readCapacityUnits": {
- "type": "long"
- },
- "writeCapacityUnits": {
- "type": "long"
- },
- "lastUpdateToPayPerRequestTimestamp": {
- "type": "timestamp"
- }
- }
- }
- }
- }
|