You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
15
15
you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
16
16
<p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
17
-
Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes
17
+
Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as
18
+
infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes
18
19
the supported DDL operations in detail.</p>
19
20
<p>For the list of all supported CQL APIs, see <ahref="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types
20
21
in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
Copy file name to clipboardExpand all lines: clients/client-keyspaces/src/Keyspaces.ts
+29-11Lines changed: 29 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,8 @@ import { KeyspacesClient } from "./KeyspacesClient";
46
46
* 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,
47
47
* you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
48
48
* <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
49
-
* Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes
49
+
* Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as
50
+
* infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes
50
51
* the supported DDL operations in detail.</p>
51
52
* <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
52
53
* in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
@@ -338,8 +339,7 @@ export class Keyspaces extends KeyspacesClient {
338
339
* <p>Restores the specified table to the specified point in time within the
339
340
* <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see
* 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
361
371
* Guide</i>.</p>
362
372
* <p>Note that the following settings are not restored, and you must configure them manually for
363
373
* the new table:</p>
364
-
* <p>• Automatic scaling policies (for tables that use provisioned capacity
365
-
* mode)</p>
366
-
* <p>• Identity and Access Management (IAM) policies</p>
367
-
* <p>• Amazon CloudWatch metrics and alarms</p>
374
+
* <ul>
375
+
* <li>
376
+
* <p>Automatic scaling policies (for tables that use provisioned capacity
377
+
* mode)</p>
378
+
* </li>
379
+
* <li>
380
+
* <p>Identity and Access Management (IAM) policies</p>
* 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,
259
259
* you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
260
260
* <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
261
-
* Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes
261
+
* Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI, as well as
262
+
* infrastructure as code (IaC) services and tools such as CloudFormation and Terraform. This API reference describes
262
263
* the supported DDL operations in detail.</p>
263
264
* <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
264
265
* in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
* 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
61
70
* Guide</i>.</p>
62
71
* <p>Note that the following settings are not restored, and you must configure them manually for
63
72
* the new table:</p>
64
-
* <p>• Automatic scaling policies (for tables that use provisioned capacity
65
-
* mode)</p>
66
-
* <p>• Identity and Access Management (IAM) policies</p>
67
-
* <p>• Amazon CloudWatch metrics and alarms</p>
73
+
* <ul>
74
+
* <li>
75
+
* <p>Automatic scaling policies (for tables that use provisioned capacity
76
+
* mode)</p>
77
+
* </li>
78
+
* <li>
79
+
* <p>Identity and Access Management (IAM) policies</p>
80
+
* </li>
81
+
* <li>
82
+
* <p>Amazon CloudWatch metrics and alarms</p>
83
+
* </li>
84
+
* </ul>
68
85
* @example
69
86
* Use a bare-bones client and the command you need to make an API call.
const_data={version:"1.0",parameters:{Region:{required:a,type:c},UseDualStack:i,UseFIPS:i,Endpoint:{required:b,type:c}},rules:[{conditions:[{[s]:"aws.partition",[t]:[{[u]:"Region"}],assign:d}],type:e,rules:[{conditions:[{[s]:"isSet",[t]:[j]}],type:e,rules:[{conditions:q,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:f},{type:e,rules:[{conditions:r,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:f},{endpoint:{url:j,properties:m,headers:m},type:g}]}]},{conditions:[k,l],type:e,rules:[{conditions:[n,p],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://cassandra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:f}]},{conditions:q,type:e,rules:[{conditions:[n],type:e,rules:[{type:e,rules:[{conditions:[{[s]:"stringEquals",[t]:["aws-us-gov",{[s]:h,[t]:[o,"name"]}]}],endpoint:{url:"https://cassandra.{Region}.amazonaws.com",properties:m,headers:m},type:g},{endpoint:{url:"https://cassandra-fips.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:f}]},{conditions:r,type:e,rules:[{conditions:[p],type:e,rules:[{type:e,rules:[{endpoint:{url:"https://cassandra.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:m,headers:m},type:g}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:f}]},{type:e,rules:[{endpoint:{url:"https://cassandra.{Region}.{PartitionResult#dnsSuffix}",properties:m,headers:m},type:g}]}]}]};
30
+
r=[{[v]:"Region"}];
31
+
const_data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cassandra-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://cassandra.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://cassandra-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://cassandra.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://cassandra.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
0 commit comments