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
* 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.
33
-
* The new replica Region is applied to all tables in the keyspace. For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/keyspaces-multi-region-add-replica.html">Add an Amazon Web Services Region to a keyspace in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
34
-
* Guide</i>.
35
-
* </p>
36
-
* <p>To change a single-Region to a multi-Region keyspace, you have to enable client-side timestamps
37
-
* for all tables in the keyspace. For more information, see
33
+
* 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
34
+
* must use client-side timestamps for conflict resolution. To enable client-side timestamps, specify <code>clientSideTimestamps.status = enabled</code>
35
+
* when invoking the API. For more information about client-side timestamps, see
38
36
* <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
39
37
* Guide</i>.</p>
38
+
* <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>
* - The only Amazon Web Services service that this role can be attached to is Amazon Keyspaces.</p>
127
+
* </li>
128
+
* </ul>
129
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/howitworks_replication_permissions_addReplica.html">Configure the IAM permissions
130
+
* required to add an Amazon Web Services Region to a keyspace</a>
131
+
* in the <i>Amazon Keyspaces Developer Guide</i>.</p>
40
132
* @example
41
133
* Use a bare-bones client and the command you need to make an API call.
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/keyspaces.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3584,7 +3584,7 @@
3584
3584
}
3585
3585
],
3586
3586
"traits": {
3587
-
"smithy.api#documentation": "<p>\n 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.\n The new replica Region is applied to all tables in the keyspace. For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/keyspaces-multi-region-add-replica.html\">Add an Amazon Web Services Region to a keyspace in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer\n Guide</i>.\n </p>\n <p>To change a single-Region to a multi-Region keyspace, you have to enable client-side timestamps\n for all tables in the keyspace. For more information, see\n <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\n Guide</i>.</p>"
3587
+
"smithy.api#documentation": "<p>\n 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.\n 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\n must use client-side timestamps for conflict resolution. To enable client-side timestamps, specify <code>clientSideTimestamps.status = enabled</code>\n when invoking the API. For more information about client-side timestamps, see\n <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\n Guide</i>.</p>\n <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>\n <ul>\n <li>\n <p>\n <code>cassandra:Alter</code>\n </p>\n </li>\n <li>\n <p>\n <code>cassandra:AlterMultiRegionResource</code>\n </p>\n </li>\n <li>\n <p>\n <code>cassandra:Create</code>\n </p>\n </li>\n <li>\n <p>\n <code>cassandra:CreateMultiRegionResource</code>\n </p>\n </li>\n <li>\n <p>\n <code>cassandra:Select</code>\n </p>\n </li>\n <li>\n <p>\n <code>cassandra:SelectMultiRegionResource</code>\n </p>\n </li>\n <li>\n <p>\n <code>cassandra:Modify</code>\n </p>\n </li>\n <li>\n <p>\n <code>cassandra:ModifyMultiRegionResource</code>\n </p>\n </li>\n </ul>\n <p>If the keyspace contains a table that is configured in provisioned mode with auto scaling enabled, \n the following additional IAM actions need to be allowed.</p>\n <ul>\n <li>\n <p>\n <code>application-autoscaling:RegisterScalableTarget</code>\n </p>\n </li>\n <li>\n <p>\n <code>application-autoscaling:DeregisterScalableTarget</code>\n </p>\n </li>\n <li>\n <p>\n <code>application-autoscaling:DescribeScalableTargets</code>\n </p>\n </li>\n <li>\n <p>\n <code>application-autoscaling:PutScalingPolicy</code>\n </p>\n </li>\n <li>\n <p>\n <code>application-autoscaling:DescribeScalingPolicies</code>\n </p>\n </li>\n </ul>\n <p>To use the <code>UpdateKeyspace</code> API, the IAM principal also needs permissions to\n create a service-linked role with the following elements:</p>\n <ul>\n <li>\n <p>\n <code>iam:CreateServiceLinkedRole</code> - The <b>action</b> the principal can perform.</p>\n </li>\n <li>\n <p>\n <code>arn:aws:iam::*:role/aws-service-role/replication.cassandra.amazonaws.com/AWSServiceRoleForKeyspacesReplication</code>\n - The <b>resource</b> that the action can be\n performed on. </p>\n </li>\n <li>\n <p>\n <code>iam:AWSServiceName: replication.cassandra.amazonaws.com</code>\n - The only Amazon Web Services service that this role can be attached to is Amazon Keyspaces.</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/keyspaces/latest/devguide/howitworks_replication_permissions_addReplica.html\">Configure the IAM permissions\n required to add an Amazon Web Services Region to a keyspace</a>\n in the <i>Amazon Keyspaces Developer Guide</i>.</p>"
0 commit comments