@aws-sdk/client-keyspaces 3.696.0 → 3.708.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,13 +29,105 @@ declare const UpdateKeyspaceCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>
|
|
31
31
|
* Adds a new Amazon Web Services Region to the keyspace. You can add a new Region to a keyspace that is either a single or a multi-Region keyspace.
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* <p>To change a single-Region to a multi-Region keyspace, you have to enable client-side timestamps
|
|
36
|
-
* for all tables in the keyspace. For more information, see
|
|
32
|
+
* Amazon Keyspaces is going to replicate all tables in the keyspace to the new Region. To successfully replicate all tables to the new Region, they
|
|
33
|
+
* must use client-side timestamps for conflict resolution. To enable client-side timestamps, specify <code>clientSideTimestamps.status = enabled</code>
|
|
34
|
+
* when invoking the API. For more information about client-side timestamps, see
|
|
37
35
|
* <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/client-side-timestamps.html">Client-side timestamps in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
|
|
38
36
|
* Guide</i>.</p>
|
|
37
|
+
* <p>To add a Region to a keyspace using the <code>UpdateKeyspace</code> API, the IAM principal needs permissions for the following IAM actions:</p>
|
|
38
|
+
* <ul>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <code>cassandra:Alter</code>
|
|
42
|
+
* </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <code>cassandra:AlterMultiRegionResource</code>
|
|
47
|
+
* </p>
|
|
48
|
+
* </li>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>
|
|
51
|
+
* <code>cassandra:Create</code>
|
|
52
|
+
* </p>
|
|
53
|
+
* </li>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>
|
|
56
|
+
* <code>cassandra:CreateMultiRegionResource</code>
|
|
57
|
+
* </p>
|
|
58
|
+
* </li>
|
|
59
|
+
* <li>
|
|
60
|
+
* <p>
|
|
61
|
+
* <code>cassandra:Select</code>
|
|
62
|
+
* </p>
|
|
63
|
+
* </li>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>
|
|
66
|
+
* <code>cassandra:SelectMultiRegionResource</code>
|
|
67
|
+
* </p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>
|
|
71
|
+
* <code>cassandra:Modify</code>
|
|
72
|
+
* </p>
|
|
73
|
+
* </li>
|
|
74
|
+
* <li>
|
|
75
|
+
* <p>
|
|
76
|
+
* <code>cassandra:ModifyMultiRegionResource</code>
|
|
77
|
+
* </p>
|
|
78
|
+
* </li>
|
|
79
|
+
* </ul>
|
|
80
|
+
* <p>If the keyspace contains a table that is configured in provisioned mode with auto scaling enabled,
|
|
81
|
+
* the following additional IAM actions need to be allowed.</p>
|
|
82
|
+
* <ul>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>
|
|
85
|
+
* <code>application-autoscaling:RegisterScalableTarget</code>
|
|
86
|
+
* </p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>
|
|
90
|
+
* <code>application-autoscaling:DeregisterScalableTarget</code>
|
|
91
|
+
* </p>
|
|
92
|
+
* </li>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>
|
|
95
|
+
* <code>application-autoscaling:DescribeScalableTargets</code>
|
|
96
|
+
* </p>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>
|
|
100
|
+
* <code>application-autoscaling:PutScalingPolicy</code>
|
|
101
|
+
* </p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>
|
|
105
|
+
* <code>application-autoscaling:DescribeScalingPolicies</code>
|
|
106
|
+
* </p>
|
|
107
|
+
* </li>
|
|
108
|
+
* </ul>
|
|
109
|
+
* <p>To use the <code>UpdateKeyspace</code> API, the IAM principal also needs permissions to
|
|
110
|
+
* create a service-linked role with the following elements:</p>
|
|
111
|
+
* <ul>
|
|
112
|
+
* <li>
|
|
113
|
+
* <p>
|
|
114
|
+
* <code>iam:CreateServiceLinkedRole</code> - The <b>action</b> the principal can perform.</p>
|
|
115
|
+
* </li>
|
|
116
|
+
* <li>
|
|
117
|
+
* <p>
|
|
118
|
+
* <code>arn:aws:iam::*:role/aws-service-role/replication.cassandra.amazonaws.com/AWSServiceRoleForKeyspacesReplication</code>
|
|
119
|
+
* - The <b>resource</b> that the action can be
|
|
120
|
+
* performed on. </p>
|
|
121
|
+
* </li>
|
|
122
|
+
* <li>
|
|
123
|
+
* <p>
|
|
124
|
+
* <code>iam:AWSServiceName: replication.cassandra.amazonaws.com</code>
|
|
125
|
+
* - The only Amazon Web Services service that this role can be attached to is Amazon Keyspaces.</p>
|
|
126
|
+
* </li>
|
|
127
|
+
* </ul>
|
|
128
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/howitworks_replication_permissions_addReplica.html">Configure the IAM permissions
|
|
129
|
+
* required to add an Amazon Web Services Region to a keyspace</a>
|
|
130
|
+
* in the <i>Amazon Keyspaces Developer Guide</i>.</p>
|
|
39
131
|
* @example
|
|
40
132
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
133
|
* ```javascript
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-keyspaces",
|
|
3
3
|
"description": "AWS SDK for JavaScript Keyspaces Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.708.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-keyspaces",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.699.0",
|
|
25
25
|
"@aws-sdk/core": "3.696.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|