@aws-sdk/client-dynamodb 3.1152.0 → 3.1154.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.
package/dist-cjs/index.js CHANGED
@@ -756,10 +756,13 @@ const _DKSDi = "DisableKinesisStreamingDestination";
756
756
  const _DL = "DescribeLimits";
757
757
  const _DLI = "DescribeLimitsInput";
758
758
  const _DLO = "DescribeLimitsOutput";
759
+ const _DM = "DisassociationMode";
759
760
  const _DPE = "DeletionProtectionEnabled";
761
+ const _DPEi = "DisassociationProtectionEnabled";
760
762
  const _DR = "DeleteRequest";
761
763
  const _DRA = "DeleteReplicaAction";
762
764
  const _DRGMA = "DeleteReplicationGroupMemberAction";
765
+ const _DRGMAi = "DisassociateReplicationGroupMemberAction";
763
766
  const _DRP = "DeleteResourcePolicy";
764
767
  const _DRPI = "DeleteResourcePolicyInput";
765
768
  const _DRPO = "DeleteResourcePolicyOutput";
@@ -781,6 +784,7 @@ const _DTe = "DescribeTable";
781
784
  const _DVIA = "DeleteVectorIndexAction";
782
785
  const _De = "Delimiter";
783
786
  const _Del = "Delete";
787
+ const _Di = "Disassociate";
784
788
  const _E = "Error";
785
789
  const _EA = "ExportArn";
786
790
  const _EAM = "ExpectedAttributeMap";
@@ -1921,6 +1925,11 @@ var DescribeTimeToLiveOutput$ = [3, n0, _DTTLO,
1921
1925
  [_TTLD],
1922
1926
  [() => TimeToLiveDescription$]
1923
1927
  ];
1928
+ var DisassociateReplicationGroupMemberAction$ = [3, n0, _DRGMAi,
1929
+ 0,
1930
+ [_RN, _DM],
1931
+ [0, 0], 2
1932
+ ];
1924
1933
  var EnableKinesisStreamingConfiguration$ = [3, n0, _EKSC,
1925
1934
  0,
1926
1935
  [_ACDTP],
@@ -2363,8 +2372,8 @@ var ReplicaSettingsUpdate$ = [3, n0, _RSU,
2363
2372
  ];
2364
2373
  var ReplicationGroupUpdate$ = [3, n0, _RGU,
2365
2374
  0,
2366
- [_Cr, _U, _Del],
2367
- [() => CreateReplicationGroupMemberAction$, () => UpdateReplicationGroupMemberAction$, () => DeleteReplicationGroupMemberAction$]
2375
+ [_Cr, _U, _Del, _Di],
2376
+ [() => CreateReplicationGroupMemberAction$, () => UpdateReplicationGroupMemberAction$, () => DeleteReplicationGroupMemberAction$, () => DisassociateReplicationGroupMemberAction$]
2368
2377
  ];
2369
2378
  var ReplicaUpdate$ = [3, n0, _RU,
2370
2379
  0,
@@ -2473,8 +2482,8 @@ var TableCreationParameters$ = [3, n0, _TCP,
2473
2482
  ];
2474
2483
  var TableDescription$ = [3, n0, _TD,
2475
2484
  0,
2476
- [_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _ODT, _WT, _MRC, _VI],
2477
- [() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, 0, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0, () => VectorIndexDescriptionList]
2485
+ [_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _DPEi, _ODT, _WT, _MRC, _VI],
2486
+ [() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, 0, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0, () => VectorIndexDescriptionList]
2478
2487
  ];
2479
2488
  var TableWarmThroughputDescription$ = [3, n0, _TWTD,
2480
2489
  0,
@@ -2623,8 +2632,8 @@ var UpdateReplicationGroupMemberAction$ = [3, n0, _URGMA,
2623
2632
  ];
2624
2633
  var UpdateTableInput$ = [3, n0, _UTI,
2625
2634
  0,
2626
- [_TN, _ADt, _BM, _PT, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM, _VIU],
2627
- [0, () => AttributeDefinitions, 0, () => ProvisionedThroughput$, () => GlobalSecondaryIndexUpdateList, () => StreamSpecification$, () => SSESpecification$, () => ReplicationGroupUpdateList, 0, 2, 0, () => GlobalTableWitnessGroupUpdateList, () => OnDemandThroughput$, () => WarmThroughput$, 0, () => VectorIndexUpdateList], 1
2635
+ [_TN, _ADt, _BM, _PT, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM, _DPEi, _VIU],
2636
+ [0, () => AttributeDefinitions, 0, () => ProvisionedThroughput$, () => GlobalSecondaryIndexUpdateList, () => StreamSpecification$, () => SSESpecification$, () => ReplicationGroupUpdateList, 0, 2, 0, () => GlobalTableWitnessGroupUpdateList, () => OnDemandThroughput$, () => WarmThroughput$, 0, 2, () => VectorIndexUpdateList], 1
2628
2637
  ];
2629
2638
  var UpdateTableOutput$ = [3, n0, _UTO,
2630
2639
  0,
@@ -3100,12 +3109,12 @@ var UpdateTimeToLive$ = [9, n0, _UTTL,
3100
3109
  class DescribeEndpointsCommand extends command(_ep0, _mw0, "DescribeEndpoints", DescribeEndpoints$) {
3101
3110
  }
3102
3111
 
3103
- var version = "3.1151.0";
3112
+ var version = "3.1153.0";
3104
3113
  var packageInfo = {
3105
3114
  version: version};
3106
3115
 
3107
3116
  const L = "ref", M = "argv";
3108
- const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "parsedEndpoint", j = "aws.parseArn", k = (n) => "ParsedArn_ssa_" + n + "", l = "service", m = "dynamodb", n = "isValidHostLabel", o = "accountId", p = "FirstArn", q = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", s = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", t = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}", u = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", v = { [L]: "Region" }, w = { [L]: f }, x = { "fn": h, [M]: [{ [L]: i }, "authority"] }, y = { [L]: "AccountIdEndpointMode" }, z = { "fn": h, [M]: [w, "name"] }, A = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_2" }, "region"] }, B = { [L]: "ParsedArn_ssa_2" }, C = { [L]: "ResourceArnList" }, D = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_1" }, "region"] }, E = { [L]: "ParsedArn_ssa_1" }, F = { [L]: "AccountId" }, G = {}, H = { "metricValues": ["O"] }, I = [v], J = [{ [L]: "Endpoint" }], K = [{ [L]: "ResourceArn" }];
3117
+ const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "parsedEndpoint", j = "aws.parseArn", k = (n) => "ParsedArn_ssa_" + n + "", l = "service", m = "dynamodb", n = "isValidHostLabel", o = "accountId", p = "FirstArn", q = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", s = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", t = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}", u = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", v = { [L]: "Region" }, w = { [L]: f }, x = { "fn": h, [M]: [{ [L]: i }, "authority"] }, y = { [L]: "AccountIdEndpointMode" }, z = { "fn": h, [M]: [w, "name"] }, A = { [L]: "ParsedArn_ssa_2" }, B = { "fn": h, [M]: [A, "region"] }, C = { [L]: "ResourceArnList" }, D = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_1" }, "region"] }, E = { [L]: "ParsedArn_ssa_1" }, F = { [L]: "AccountId" }, G = {}, H = { "metricValues": ["O"] }, I = [v], J = [{ [L]: "Endpoint" }], K = [{ [L]: "ResourceArn" }];
3109
3118
  const _data = {
3110
3119
  conditions: [
3111
3120
  [d, I],
@@ -3120,14 +3129,18 @@ const _data = {
3120
3129
  [e, [{ fn: h, [M]: [w, "supportsDualStack"] }, b]],
3121
3130
  [g, ["search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", x]],
3122
3131
  [d, [y]],
3132
+ [g, [v, "us-gov-east-1"]],
3133
+ [g, [v, "cn-north-1"]],
3134
+ [g, [v, "cn-northwest-1"]],
3135
+ [g, [v, "us-gov-west-1"]],
3123
3136
  [g, [z, "aws"]],
3124
3137
  [g, [y, "disabled"]],
3125
3138
  [d, K],
3126
3139
  [j, K, k(2)],
3127
- [g, [A, v]],
3128
- [g, [{ fn: h, [M]: [B, l] }, m]],
3129
- [n, [A, c]],
3130
- [n, [{ fn: h, [M]: [B, o] }, c]],
3140
+ [g, [{ fn: h, [M]: [A, l] }, m]],
3141
+ [g, [B, v]],
3142
+ [n, [{ fn: h, [M]: [A, o] }, c]],
3143
+ [n, [B, c]],
3131
3144
  [d, [C]],
3132
3145
  [h, [C, "[0]"], p],
3133
3146
  [j, [{ [L]: p }], k(1)],
@@ -3149,7 +3162,7 @@ const _data = {
3149
3162
  ["{Endpoint}", G],
3150
3163
  [a, "Invalid Configuration: FIPS and local endpoint are not supported"],
3151
3164
  [a, "Invalid Configuration: Dualstack and local endpoint are not supported"],
3152
- ["http://localhost:8000", { authSchemes: [{ signingRegion: "us-east-1", signingName: m, name: "sigv4" }] }],
3165
+ ["http://localhost:8000", { authSchemes: [{ signingRegion: "us-east-1", name: "sigv4", signingName: m }] }],
3153
3166
  [a, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"],
3154
3167
  ["https://search-dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
3155
3168
  ["https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
@@ -3159,6 +3172,9 @@ const _data = {
3159
3172
  ["https://search-dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", G],
3160
3173
  ["https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", G],
3161
3174
  [a, "FIPS is enabled but this partition does not support FIPS"],
3175
+ [a, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this region"],
3176
+ ["https://search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
3177
+ ["https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
3162
3178
  [q(2), H],
3163
3179
  [s(2), H],
3164
3180
  [q(1), H],
@@ -3167,9 +3183,6 @@ const _data = {
3167
3183
  ["https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", H],
3168
3184
  [a, "Credentials-sourced account ID parameter is invalid"],
3169
3185
  [a, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"],
3170
- [a, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"],
3171
- ["https://search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
3172
- ["https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
3173
3186
  [a, "DualStack is enabled but this partition does not support DualStack"],
3174
3187
  [t(2), H],
3175
3188
  [u(2), H],
@@ -3188,82 +3201,90 @@ const nodes = new Int32Array([
3188
3201
  1, 4, r + 35,
3189
3202
  2, r + 1, 5,
3190
3203
  3, r + 2, r + 4,
3191
- 1, 77, 7,
3192
- 2, 61, 8,
3193
- 3, 34, 9,
3204
+ 1, 85, 7,
3205
+ 2, 69, 8,
3206
+ 3, 38, 9,
3194
3207
  4, 10, r + 35,
3195
3208
  5, r + 7, 11,
3196
- 11, 12, 69,
3197
- 12, 14, 13,
3198
- 28, r + 25, 69,
3199
- 13, 33, 15,
3200
- 14, 16, 21,
3201
- 15, 17, 21,
3202
- 16, 18, 21,
3203
- 17, 19, 21,
3204
- 18, 20, 21,
3205
- 19, 32, 21,
3206
- 20, 22, 28,
3207
- 21, 23, 28,
3208
- 22, 24, 28,
3209
- 23, 25, 28,
3210
- 24, 26, 28,
3211
- 25, 27, 28,
3212
- 26, 31, 28,
3213
- 27, 29, 33,
3214
- 29, 30, r + 23,
3215
- 31, r + 33, r + 34,
3216
- 31, r + 31, r + 32,
3217
- 31, r + 29, r + 30,
3218
- 28, r + 24, 69,
3219
- 4, 35, r + 35,
3220
- 5, r + 6, 36,
3221
- 9, 37, r + 28,
3222
- 11, 38, 60,
3223
- 12, 40, 39,
3224
- 28, r + 25, 60,
3225
- 13, 59, 41,
3226
- 14, 42, 47,
3227
- 15, 43, 47,
3228
- 16, 44, 47,
3229
- 17, 45, 47,
3230
- 18, 46, 47,
3231
- 19, 58, 47,
3232
- 20, 48, 54,
3233
- 21, 49, 54,
3234
- 22, 50, 54,
3235
- 23, 51, 54,
3236
- 24, 52, 54,
3237
- 25, 53, 54,
3238
- 26, 57, 54,
3239
- 27, 55, 59,
3240
- 29, 56, r + 23,
3241
- 31, r + 21, r + 22,
3242
- 31, r + 19, r + 20,
3243
- 31, r + 17, r + 18,
3244
- 28, r + 24, 60,
3245
- 31, r + 26, r + 27,
3246
- 3, 70, 62,
3247
- 4, 63, r + 35,
3248
- 5, r + 5, 64,
3249
- 6, 65, r + 16,
3250
- 11, 66, 67,
3251
- 28, r + 8, 67,
3252
- 30, 69, 68,
3253
- 31, r + 14, r + 15,
3254
- 31, r + 12, r + 13,
3209
+ 11, 12, 77,
3210
+ 12, 18, 13,
3211
+ 13, 18, 14,
3212
+ 14, 18, 15,
3213
+ 15, 18, 16,
3214
+ 16, 18, 17,
3215
+ 32, r + 17, 77,
3216
+ 17, 37, 19,
3217
+ 18, 20, 25,
3218
+ 19, 21, 25,
3219
+ 20, 22, 25,
3220
+ 21, 23, 25,
3221
+ 22, 24, 25,
3222
+ 23, 36, 25,
3223
+ 24, 26, 32,
3224
+ 25, 27, 32,
3225
+ 26, 28, 32,
3226
+ 27, 29, 32,
3227
+ 28, 30, 32,
3228
+ 29, 31, 32,
3229
+ 30, 35, 32,
3230
+ 31, 33, 37,
3231
+ 33, 34, r + 26,
3232
+ 35, r + 33, r + 34,
3233
+ 35, r + 31, r + 32,
3234
+ 35, r + 29, r + 30,
3235
+ 32, r + 27, 77,
3236
+ 4, 39, r + 35,
3237
+ 5, r + 6, 40,
3238
+ 9, 41, r + 28,
3239
+ 11, 42, 68,
3240
+ 12, 48, 43,
3241
+ 13, 48, 44,
3242
+ 14, 48, 45,
3243
+ 15, 48, 46,
3244
+ 16, 48, 47,
3245
+ 32, r + 17, 68,
3246
+ 17, 67, 49,
3247
+ 18, 50, 55,
3248
+ 19, 51, 55,
3249
+ 20, 52, 55,
3250
+ 21, 53, 55,
3251
+ 22, 54, 55,
3252
+ 23, 66, 55,
3253
+ 24, 56, 62,
3254
+ 25, 57, 62,
3255
+ 26, 58, 62,
3256
+ 27, 59, 62,
3257
+ 28, 60, 62,
3258
+ 29, 61, 62,
3259
+ 30, 65, 62,
3260
+ 31, 63, 67,
3261
+ 33, 64, r + 26,
3262
+ 35, r + 24, r + 25,
3263
+ 35, r + 22, r + 23,
3264
+ 35, r + 20, r + 21,
3265
+ 32, r + 27, 68,
3266
+ 35, r + 18, r + 19,
3267
+ 3, 78, 70,
3255
3268
  4, 71, r + 35,
3256
3269
  5, r + 5, 72,
3257
- 6, 73, r + 11,
3258
- 9, 74, r + 11,
3259
- 11, 75, 76,
3260
- 28, r + 8, 76,
3261
- 31, r + 9, r + 10,
3262
- 2, r + 1, 78,
3263
- 3, r + 2, 79,
3264
- 4, 80, r + 4,
3265
- 7, 81, r + 4,
3266
- 8, r + 3, 82,
3270
+ 6, 73, r + 16,
3271
+ 11, 74, 75,
3272
+ 32, r + 8, 75,
3273
+ 34, 77, 76,
3274
+ 35, r + 14, r + 15,
3275
+ 35, r + 12, r + 13,
3276
+ 4, 79, r + 35,
3277
+ 5, r + 5, 80,
3278
+ 6, 81, r + 11,
3279
+ 9, 82, r + 11,
3280
+ 11, 83, 84,
3281
+ 32, r + 8, 84,
3282
+ 35, r + 9, r + 10,
3283
+ 2, r + 1, 86,
3284
+ 3, r + 2, 87,
3285
+ 4, 88, r + 4,
3286
+ 7, 89, r + 4,
3287
+ 8, r + 3, 90,
3267
3288
  10, r + 3, r + 4,
3268
3289
  ]);
3269
3290
  const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -4184,6 +4205,9 @@ const DestinationStatus = {
4184
4205
  ENABLING: "ENABLING",
4185
4206
  UPDATING: "UPDATING",
4186
4207
  };
4208
+ const DisassociationMode = {
4209
+ WAIT_FOR_REPLICATION: "WAIT_FOR_REPLICATION",
4210
+ };
4187
4211
  const Select = {
4188
4212
  ALL_ATTRIBUTES: "ALL_ATTRIBUTES",
4189
4213
  ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES",
@@ -4344,6 +4368,8 @@ exports.DescribeTimeToLiveOutput$ = DescribeTimeToLiveOutput$;
4344
4368
  exports.DestinationStatus = DestinationStatus;
4345
4369
  exports.DisableKinesisStreamingDestination$ = DisableKinesisStreamingDestination$;
4346
4370
  exports.DisableKinesisStreamingDestinationCommand = DisableKinesisStreamingDestinationCommand;
4371
+ exports.DisassociateReplicationGroupMemberAction$ = DisassociateReplicationGroupMemberAction$;
4372
+ exports.DisassociationMode = DisassociationMode;
4347
4373
  exports.DuplicateItemException = DuplicateItemException;
4348
4374
  exports.DuplicateItemException$ = DuplicateItemException$;
4349
4375
  exports.DynamoDB = DynamoDB;
@@ -1,6 +1,6 @@
1
1
  import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const L = "ref", M = "argv";
3
- const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "parsedEndpoint", j = "aws.parseArn", k = (n) => "ParsedArn_ssa_" + n + "", l = "service", m = "dynamodb", n = "isValidHostLabel", o = "accountId", p = "FirstArn", q = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", s = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", t = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}", u = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", v = { [L]: "Region" }, w = { [L]: f }, x = { "fn": h, [M]: [{ [L]: i }, "authority"] }, y = { [L]: "AccountIdEndpointMode" }, z = { "fn": h, [M]: [w, "name"] }, A = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_2" }, "region"] }, B = { [L]: "ParsedArn_ssa_2" }, C = { [L]: "ResourceArnList" }, D = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_1" }, "region"] }, E = { [L]: "ParsedArn_ssa_1" }, F = { [L]: "AccountId" }, G = {}, H = { "metricValues": ["O"] }, I = [v], J = [{ [L]: "Endpoint" }], K = [{ [L]: "ResourceArn" }];
3
+ const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "PartitionResult", g = "stringEquals", h = "getAttr", i = "parsedEndpoint", j = "aws.parseArn", k = (n) => "ParsedArn_ssa_" + n + "", l = "service", m = "dynamodb", n = "isValidHostLabel", o = "accountId", p = "FirstArn", q = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", s = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", t = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.search-ddb.{Region}.{PartitionResult#dnsSuffix}", u = (n) => "https://{ParsedArn_ssa_" + n + "#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", v = { [L]: "Region" }, w = { [L]: f }, x = { "fn": h, [M]: [{ [L]: i }, "authority"] }, y = { [L]: "AccountIdEndpointMode" }, z = { "fn": h, [M]: [w, "name"] }, A = { [L]: "ParsedArn_ssa_2" }, B = { "fn": h, [M]: [A, "region"] }, C = { [L]: "ResourceArnList" }, D = { "fn": h, [M]: [{ [L]: "ParsedArn_ssa_1" }, "region"] }, E = { [L]: "ParsedArn_ssa_1" }, F = { [L]: "AccountId" }, G = {}, H = { "metricValues": ["O"] }, I = [v], J = [{ [L]: "Endpoint" }], K = [{ [L]: "ResourceArn" }];
4
4
  const _data = {
5
5
  conditions: [
6
6
  [d, I],
@@ -15,14 +15,18 @@ const _data = {
15
15
  [e, [{ fn: h, [M]: [w, "supportsDualStack"] }, b]],
16
16
  [g, ["search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", x]],
17
17
  [d, [y]],
18
+ [g, [v, "us-gov-east-1"]],
19
+ [g, [v, "cn-north-1"]],
20
+ [g, [v, "cn-northwest-1"]],
21
+ [g, [v, "us-gov-west-1"]],
18
22
  [g, [z, "aws"]],
19
23
  [g, [y, "disabled"]],
20
24
  [d, K],
21
25
  [j, K, k(2)],
22
- [g, [A, v]],
23
- [g, [{ fn: h, [M]: [B, l] }, m]],
24
- [n, [A, c]],
25
- [n, [{ fn: h, [M]: [B, o] }, c]],
26
+ [g, [{ fn: h, [M]: [A, l] }, m]],
27
+ [g, [B, v]],
28
+ [n, [{ fn: h, [M]: [A, o] }, c]],
29
+ [n, [B, c]],
26
30
  [d, [C]],
27
31
  [h, [C, "[0]"], p],
28
32
  [j, [{ [L]: p }], k(1)],
@@ -44,7 +48,7 @@ const _data = {
44
48
  ["{Endpoint}", G],
45
49
  [a, "Invalid Configuration: FIPS and local endpoint are not supported"],
46
50
  [a, "Invalid Configuration: Dualstack and local endpoint are not supported"],
47
- ["http://localhost:8000", { authSchemes: [{ signingRegion: "us-east-1", signingName: m, name: "sigv4" }] }],
51
+ ["http://localhost:8000", { authSchemes: [{ signingRegion: "us-east-1", name: "sigv4", signingName: m }] }],
48
52
  [a, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"],
49
53
  ["https://search-dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
50
54
  ["https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
@@ -54,6 +58,9 @@ const _data = {
54
58
  ["https://search-dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", G],
55
59
  ["https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", G],
56
60
  [a, "FIPS is enabled but this partition does not support FIPS"],
61
+ [a, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this region"],
62
+ ["https://search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
63
+ ["https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
57
64
  [q(2), H],
58
65
  [s(2), H],
59
66
  [q(1), H],
@@ -62,9 +69,6 @@ const _data = {
62
69
  ["https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", H],
63
70
  [a, "Credentials-sourced account ID parameter is invalid"],
64
71
  [a, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded"],
65
- [a, "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition"],
66
- ["https://search-dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
67
- ["https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
68
72
  [a, "DualStack is enabled but this partition does not support DualStack"],
69
73
  [t(2), H],
70
74
  [u(2), H],
@@ -83,82 +87,90 @@ const nodes = new Int32Array([
83
87
  1, 4, r + 35,
84
88
  2, r + 1, 5,
85
89
  3, r + 2, r + 4,
86
- 1, 77, 7,
87
- 2, 61, 8,
88
- 3, 34, 9,
90
+ 1, 85, 7,
91
+ 2, 69, 8,
92
+ 3, 38, 9,
89
93
  4, 10, r + 35,
90
94
  5, r + 7, 11,
91
- 11, 12, 69,
92
- 12, 14, 13,
93
- 28, r + 25, 69,
94
- 13, 33, 15,
95
- 14, 16, 21,
96
- 15, 17, 21,
97
- 16, 18, 21,
98
- 17, 19, 21,
99
- 18, 20, 21,
100
- 19, 32, 21,
101
- 20, 22, 28,
102
- 21, 23, 28,
103
- 22, 24, 28,
104
- 23, 25, 28,
105
- 24, 26, 28,
106
- 25, 27, 28,
107
- 26, 31, 28,
108
- 27, 29, 33,
109
- 29, 30, r + 23,
110
- 31, r + 33, r + 34,
111
- 31, r + 31, r + 32,
112
- 31, r + 29, r + 30,
113
- 28, r + 24, 69,
114
- 4, 35, r + 35,
115
- 5, r + 6, 36,
116
- 9, 37, r + 28,
117
- 11, 38, 60,
118
- 12, 40, 39,
119
- 28, r + 25, 60,
120
- 13, 59, 41,
121
- 14, 42, 47,
122
- 15, 43, 47,
123
- 16, 44, 47,
124
- 17, 45, 47,
125
- 18, 46, 47,
126
- 19, 58, 47,
127
- 20, 48, 54,
128
- 21, 49, 54,
129
- 22, 50, 54,
130
- 23, 51, 54,
131
- 24, 52, 54,
132
- 25, 53, 54,
133
- 26, 57, 54,
134
- 27, 55, 59,
135
- 29, 56, r + 23,
136
- 31, r + 21, r + 22,
137
- 31, r + 19, r + 20,
138
- 31, r + 17, r + 18,
139
- 28, r + 24, 60,
140
- 31, r + 26, r + 27,
141
- 3, 70, 62,
142
- 4, 63, r + 35,
143
- 5, r + 5, 64,
144
- 6, 65, r + 16,
145
- 11, 66, 67,
146
- 28, r + 8, 67,
147
- 30, 69, 68,
148
- 31, r + 14, r + 15,
149
- 31, r + 12, r + 13,
95
+ 11, 12, 77,
96
+ 12, 18, 13,
97
+ 13, 18, 14,
98
+ 14, 18, 15,
99
+ 15, 18, 16,
100
+ 16, 18, 17,
101
+ 32, r + 17, 77,
102
+ 17, 37, 19,
103
+ 18, 20, 25,
104
+ 19, 21, 25,
105
+ 20, 22, 25,
106
+ 21, 23, 25,
107
+ 22, 24, 25,
108
+ 23, 36, 25,
109
+ 24, 26, 32,
110
+ 25, 27, 32,
111
+ 26, 28, 32,
112
+ 27, 29, 32,
113
+ 28, 30, 32,
114
+ 29, 31, 32,
115
+ 30, 35, 32,
116
+ 31, 33, 37,
117
+ 33, 34, r + 26,
118
+ 35, r + 33, r + 34,
119
+ 35, r + 31, r + 32,
120
+ 35, r + 29, r + 30,
121
+ 32, r + 27, 77,
122
+ 4, 39, r + 35,
123
+ 5, r + 6, 40,
124
+ 9, 41, r + 28,
125
+ 11, 42, 68,
126
+ 12, 48, 43,
127
+ 13, 48, 44,
128
+ 14, 48, 45,
129
+ 15, 48, 46,
130
+ 16, 48, 47,
131
+ 32, r + 17, 68,
132
+ 17, 67, 49,
133
+ 18, 50, 55,
134
+ 19, 51, 55,
135
+ 20, 52, 55,
136
+ 21, 53, 55,
137
+ 22, 54, 55,
138
+ 23, 66, 55,
139
+ 24, 56, 62,
140
+ 25, 57, 62,
141
+ 26, 58, 62,
142
+ 27, 59, 62,
143
+ 28, 60, 62,
144
+ 29, 61, 62,
145
+ 30, 65, 62,
146
+ 31, 63, 67,
147
+ 33, 64, r + 26,
148
+ 35, r + 24, r + 25,
149
+ 35, r + 22, r + 23,
150
+ 35, r + 20, r + 21,
151
+ 32, r + 27, 68,
152
+ 35, r + 18, r + 19,
153
+ 3, 78, 70,
150
154
  4, 71, r + 35,
151
155
  5, r + 5, 72,
152
- 6, 73, r + 11,
153
- 9, 74, r + 11,
154
- 11, 75, 76,
155
- 28, r + 8, 76,
156
- 31, r + 9, r + 10,
157
- 2, r + 1, 78,
158
- 3, r + 2, 79,
159
- 4, 80, r + 4,
160
- 7, 81, r + 4,
161
- 8, r + 3, 82,
156
+ 6, 73, r + 16,
157
+ 11, 74, 75,
158
+ 32, r + 8, 75,
159
+ 34, 77, 76,
160
+ 35, r + 14, r + 15,
161
+ 35, r + 12, r + 13,
162
+ 4, 79, r + 35,
163
+ 5, r + 5, 80,
164
+ 6, 81, r + 11,
165
+ 9, 82, r + 11,
166
+ 11, 83, 84,
167
+ 32, r + 8, 84,
168
+ 35, r + 9, r + 10,
169
+ 2, r + 1, 86,
170
+ 3, r + 2, 87,
171
+ 4, 88, r + 4,
172
+ 7, 89, r + 4,
173
+ 8, r + 3, 90,
162
174
  10, r + 3, r + 4,
163
175
  ]);
164
176
  export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -246,6 +246,9 @@ export const DestinationStatus = {
246
246
  ENABLING: "ENABLING",
247
247
  UPDATING: "UPDATING",
248
248
  };
249
+ export const DisassociationMode = {
250
+ WAIT_FOR_REPLICATION: "WAIT_FOR_REPLICATION",
251
+ };
249
252
  export const Select = {
250
253
  ALL_ATTRIBUTES: "ALL_ATTRIBUTES",
251
254
  ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES",
@@ -153,10 +153,13 @@ const _DKSDi = "DisableKinesisStreamingDestination";
153
153
  const _DL = "DescribeLimits";
154
154
  const _DLI = "DescribeLimitsInput";
155
155
  const _DLO = "DescribeLimitsOutput";
156
+ const _DM = "DisassociationMode";
156
157
  const _DPE = "DeletionProtectionEnabled";
158
+ const _DPEi = "DisassociationProtectionEnabled";
157
159
  const _DR = "DeleteRequest";
158
160
  const _DRA = "DeleteReplicaAction";
159
161
  const _DRGMA = "DeleteReplicationGroupMemberAction";
162
+ const _DRGMAi = "DisassociateReplicationGroupMemberAction";
160
163
  const _DRP = "DeleteResourcePolicy";
161
164
  const _DRPI = "DeleteResourcePolicyInput";
162
165
  const _DRPO = "DeleteResourcePolicyOutput";
@@ -178,6 +181,7 @@ const _DTe = "DescribeTable";
178
181
  const _DVIA = "DeleteVectorIndexAction";
179
182
  const _De = "Delimiter";
180
183
  const _Del = "Delete";
184
+ const _Di = "Disassociate";
181
185
  const _E = "Error";
182
186
  const _EA = "ExportArn";
183
187
  const _EAM = "ExpectedAttributeMap";
@@ -1321,6 +1325,11 @@ export var DescribeTimeToLiveOutput$ = [3, n0, _DTTLO,
1321
1325
  [_TTLD],
1322
1326
  [() => TimeToLiveDescription$]
1323
1327
  ];
1328
+ export var DisassociateReplicationGroupMemberAction$ = [3, n0, _DRGMAi,
1329
+ 0,
1330
+ [_RN, _DM],
1331
+ [0, 0], 2
1332
+ ];
1324
1333
  export var EnableKinesisStreamingConfiguration$ = [3, n0, _EKSC,
1325
1334
  0,
1326
1335
  [_ACDTP],
@@ -1763,8 +1772,8 @@ export var ReplicaSettingsUpdate$ = [3, n0, _RSU,
1763
1772
  ];
1764
1773
  export var ReplicationGroupUpdate$ = [3, n0, _RGU,
1765
1774
  0,
1766
- [_Cr, _U, _Del],
1767
- [() => CreateReplicationGroupMemberAction$, () => UpdateReplicationGroupMemberAction$, () => DeleteReplicationGroupMemberAction$]
1775
+ [_Cr, _U, _Del, _Di],
1776
+ [() => CreateReplicationGroupMemberAction$, () => UpdateReplicationGroupMemberAction$, () => DeleteReplicationGroupMemberAction$, () => DisassociateReplicationGroupMemberAction$]
1768
1777
  ];
1769
1778
  export var ReplicaUpdate$ = [3, n0, _RU,
1770
1779
  0,
@@ -1873,8 +1882,8 @@ export var TableCreationParameters$ = [3, n0, _TCP,
1873
1882
  ];
1874
1883
  export var TableDescription$ = [3, n0, _TD,
1875
1884
  0,
1876
- [_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _ODT, _WT, _MRC, _VI],
1877
- [() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, 0, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0, () => VectorIndexDescriptionList]
1885
+ [_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _DPEi, _ODT, _WT, _MRC, _VI],
1886
+ [() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, 0, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0, () => VectorIndexDescriptionList]
1878
1887
  ];
1879
1888
  export var TableWarmThroughputDescription$ = [3, n0, _TWTD,
1880
1889
  0,
@@ -2023,8 +2032,8 @@ export var UpdateReplicationGroupMemberAction$ = [3, n0, _URGMA,
2023
2032
  ];
2024
2033
  export var UpdateTableInput$ = [3, n0, _UTI,
2025
2034
  0,
2026
- [_TN, _ADt, _BM, _PT, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM, _VIU],
2027
- [0, () => AttributeDefinitions, 0, () => ProvisionedThroughput$, () => GlobalSecondaryIndexUpdateList, () => StreamSpecification$, () => SSESpecification$, () => ReplicationGroupUpdateList, 0, 2, 0, () => GlobalTableWitnessGroupUpdateList, () => OnDemandThroughput$, () => WarmThroughput$, 0, () => VectorIndexUpdateList], 1
2035
+ [_TN, _ADt, _BM, _PT, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM, _DPEi, _VIU],
2036
+ [0, () => AttributeDefinitions, 0, () => ProvisionedThroughput$, () => GlobalSecondaryIndexUpdateList, () => StreamSpecification$, () => SSESpecification$, () => ReplicationGroupUpdateList, 0, 2, 0, () => GlobalTableWitnessGroupUpdateList, () => OnDemandThroughput$, () => WarmThroughput$, 0, 2, () => VectorIndexUpdateList], 1
2028
2037
  ];
2029
2038
  export var UpdateTableOutput$ = [3, n0, _UTO,
2030
2039
  0,
@@ -332,6 +332,7 @@ declare const CreateTableCommand_base: {
332
332
  * // LastUpdateDateTime: new Date("TIMESTAMP"),
333
333
  * // },
334
334
  * // DeletionProtectionEnabled: true || false,
335
+ * // DisassociationProtectionEnabled: true || false,
335
336
  * // OnDemandThroughput: {
336
337
  * // MaxReadRequestUnits: Number("long"),
337
338
  * // MaxWriteRequestUnits: Number("long"),
@@ -225,6 +225,7 @@ declare const DeleteTableCommand_base: {
225
225
  * // LastUpdateDateTime: new Date("TIMESTAMP"),
226
226
  * // },
227
227
  * // DeletionProtectionEnabled: true || false,
228
+ * // DisassociationProtectionEnabled: true || false,
228
229
  * // OnDemandThroughput: {
229
230
  * // MaxReadRequestUnits: Number("long"),
230
231
  * // MaxWriteRequestUnits: Number("long"),
@@ -216,6 +216,7 @@ declare const DescribeTableCommand_base: {
216
216
  * // LastUpdateDateTime: new Date("TIMESTAMP"),
217
217
  * // },
218
218
  * // DeletionProtectionEnabled: true || false,
219
+ * // DisassociationProtectionEnabled: true || false,
219
220
  * // OnDemandThroughput: {
220
221
  * // MaxReadRequestUnits: Number("long"),
221
222
  * // MaxWriteRequestUnits: Number("long"),
@@ -314,6 +314,7 @@ declare const RestoreTableFromBackupCommand_base: {
314
314
  * // LastUpdateDateTime: new Date("TIMESTAMP"),
315
315
  * // },
316
316
  * // DeletionProtectionEnabled: true || false,
317
+ * // DisassociationProtectionEnabled: true || false,
317
318
  * // OnDemandThroughput: {
318
319
  * // MaxReadRequestUnits: Number("long"),
319
320
  * // MaxWriteRequestUnits: Number("long"),
@@ -343,6 +343,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
343
343
  * // LastUpdateDateTime: new Date("TIMESTAMP"),
344
344
  * // },
345
345
  * // DeletionProtectionEnabled: true || false,
346
+ * // DisassociationProtectionEnabled: true || false,
346
347
  * // OnDemandThroughput: {
347
348
  * // MaxReadRequestUnits: Number("long"),
348
349
  * // MaxWriteRequestUnits: Number("long"),
@@ -24,8 +24,8 @@ declare const UpdateTableCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB
28
- * Streams settings for a given table.</p>
27
+ * <p>Modifies the provisioned throughput settings, global secondary indexes, DynamoDB
28
+ * Streams settings, or global table replica settings for a given table.</p>
29
29
  * <p>You can only perform one of the following operations at once:</p>
30
30
  * <ul>
31
31
  * <li>
@@ -39,13 +39,36 @@ declare const UpdateTableCommand_base: {
39
39
  * backfilling, you can use <code>UpdateTable</code> to perform other
40
40
  * operations.</p>
41
41
  * </li>
42
+ * <li>
43
+ * <p>Enable or disable disassociation protection for the local global table
44
+ * replica.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>Disassociate the local global table replica and keep it as a standalone
48
+ * regional table. The <code>Disassociate</code> action must be the only
49
+ * replica update in the request. If the request includes any other update,
50
+ * <code>UpdateTable</code> fails with a <code>ValidationException</code> and
51
+ * the disassociation does not start.</p>
52
+ * </li>
42
53
  * </ul>
43
54
  * <p>
44
55
  * <code>UpdateTable</code> is an asynchronous operation; while it's executing, the table
45
56
  * status changes from <code>ACTIVE</code> to <code>UPDATING</code>. While it's
46
57
  * <code>UPDATING</code>, you can't issue another <code>UpdateTable</code> request.
47
- * When the table returns to the <code>ACTIVE</code> state, the <code>UpdateTable</code>
48
- * operation is complete.</p>
58
+ * Use <code>DescribeTable</code> to monitor the table's status.</p>
59
+ * <p>To use this operation to disassociate a local replica, you must have the
60
+ * <code>dynamodb:UpdateTable</code> and <code>dynamodb:DisassociateTableReplica</code>
61
+ * IAM permissions on the local replica. Send disassociation and disassociation
62
+ * protection requests to the replica's Region using credentials for the account that
63
+ * owns the replica. For prerequisites and the procedure, see
64
+ * <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables-disassociate.html">Disassociating a global table replica</a> in the <i>Amazon DynamoDB
65
+ * Developer Guide</i>.</p>
66
+ * <p>To confirm successful disassociation, call <code>DescribeTable</code> in the
67
+ * replica's Region and verify that <code>TableStatus</code> is <code>ACTIVE</code>
68
+ * and <code>Replicas</code> is absent or empty. If <code>TableStatus</code> returns to
69
+ * <code>ACTIVE</code> but the response still includes a <code>Replicas</code> list, the
70
+ * disassociation did not complete. Check <code>ReplicaStatus</code> for a
71
+ * replication-permission or encryption-access problem, resolve it, and retry.</p>
49
72
  * @example
50
73
  * Use a bare-bones client and the command you need to make an API call.
51
74
  * ```javascript
@@ -174,6 +197,10 @@ declare const UpdateTableCommand_base: {
174
197
  * Delete: { // DeleteReplicationGroupMemberAction
175
198
  * RegionName: "STRING_VALUE", // required
176
199
  * },
200
+ * Disassociate: { // DisassociateReplicationGroupMemberAction
201
+ * RegionName: "STRING_VALUE", // required
202
+ * DisassociationMode: "WAIT_FOR_REPLICATION", // required
203
+ * },
177
204
  * },
178
205
  * ],
179
206
  * TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
@@ -198,6 +225,7 @@ declare const UpdateTableCommand_base: {
198
225
  * WriteUnitsPerSecond: Number("long"),
199
226
  * },
200
227
  * GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
228
+ * DisassociationProtectionEnabled: true || false,
201
229
  * VectorIndexUpdates: [ // VectorIndexUpdateList
202
230
  * { // VectorIndexUpdate
203
231
  * Create: { // CreateVectorIndexAction
@@ -397,6 +425,7 @@ declare const UpdateTableCommand_base: {
397
425
  * // LastUpdateDateTime: new Date("TIMESTAMP"),
398
426
  * // },
399
427
  * // DeletionProtectionEnabled: true || false,
428
+ * // DisassociationProtectionEnabled: true || false,
400
429
  * // OnDemandThroughput: {
401
430
  * // MaxReadRequestUnits: Number("long"),
402
431
  * // MaxWriteRequestUnits: Number("long"),
@@ -493,6 +522,120 @@ declare const UpdateTableCommand_base: {
493
522
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
494
523
  *
495
524
  *
525
+ * @example To modify a table's provisioned throughput
526
+ * ```javascript
527
+ * // This example increases the provisioned read and write capacity on the Music table.
528
+ * const input = {
529
+ * ProvisionedThroughput: {
530
+ * ReadCapacityUnits: 10,
531
+ * WriteCapacityUnits: 10
532
+ * },
533
+ * TableName: "MusicCollection"
534
+ * };
535
+ * const command = new UpdateTableCommand(input);
536
+ * const response = await client.send(command);
537
+ * /* response is
538
+ * {
539
+ * TableDescription: {
540
+ * AttributeDefinitions: [
541
+ * {
542
+ * AttributeName: "Artist",
543
+ * AttributeType: "S"
544
+ * },
545
+ * {
546
+ * AttributeName: "SongTitle",
547
+ * AttributeType: "S"
548
+ * }
549
+ * ],
550
+ * CreationDateTime: 1.421866952062E9,
551
+ * ItemCount: 0,
552
+ * KeySchema: [
553
+ * {
554
+ * AttributeName: "Artist",
555
+ * KeyType: "HASH"
556
+ * },
557
+ * {
558
+ * AttributeName: "SongTitle",
559
+ * KeyType: "RANGE"
560
+ * }
561
+ * ],
562
+ * ProvisionedThroughput: {
563
+ * LastIncreaseDateTime: 1.421874759194E9,
564
+ * NumberOfDecreasesToday: 1,
565
+ * ReadCapacityUnits: 1,
566
+ * WriteCapacityUnits: 1
567
+ * },
568
+ * TableName: "MusicCollection",
569
+ * TableSizeBytes: 0,
570
+ * TableStatus: "UPDATING"
571
+ * }
572
+ * }
573
+ * *\/
574
+ * ```
575
+ *
576
+ * @example To disable disassociation protection on a local replica
577
+ * ```javascript
578
+ * // This example disables disassociation protection on the MusicCollection replica in us-west-2. You must send the request to us-west-2 using credentials for the account that owns the replica. Your table must be a global table that uses Version 2019.11.21 and multi-Region eventual consistency (MREC). You cannot combine this change with any other change in the same UpdateTable request. Before requesting disassociation, use DescribeTable to confirm that DisassociationProtectionEnabled is false and TableStatus is ACTIVE.
579
+ * const input = {
580
+ * DisassociationProtectionEnabled: false,
581
+ * TableName: "MusicCollection"
582
+ * };
583
+ * const command = new UpdateTableCommand(input);
584
+ * const response = await client.send(command);
585
+ * /* response is
586
+ * {
587
+ * TableDescription: {
588
+ * DisassociationProtectionEnabled: false,
589
+ * GlobalTableVersion: "2019.11.21",
590
+ * Replicas: [
591
+ * {
592
+ * RegionName: "us-east-1",
593
+ * ReplicaStatus: "ACTIVE"
594
+ * }
595
+ * ],
596
+ * TableArn: "arn:aws:dynamodb:us-west-2:123456789012:table/MusicCollection",
597
+ * TableName: "MusicCollection",
598
+ * TableStatus: "ACTIVE"
599
+ * }
600
+ * }
601
+ * *\/
602
+ * ```
603
+ *
604
+ * @example To disassociate a local global table replica
605
+ * ```javascript
606
+ * // This example disassociates the MusicCollection replica in us-west-2. You must first disable protection in a separate UpdateTable request. You must send the request to us-west-2 using credentials for account 123456789012, the account that owns the replica. This request works for global tables that use Version 2019.11.21 and multi-Region eventual consistency (MREC). Replicas can belong to one account or multiple accounts. You must specify WAIT_FOR_REPLICATION. The response shows that DynamoDB accepted the asynchronous request. To confirm completion, use DescribeTable in us-west-2. Verify that TableStatus is ACTIVE and Replicas is absent or empty. ACTIVE alone does not confirm successful disassociation.
607
+ * const input = {
608
+ * ReplicaUpdates: [
609
+ * {
610
+ * Disassociate: {
611
+ * DisassociationMode: "WAIT_FOR_REPLICATION",
612
+ * RegionName: "us-west-2"
613
+ * }
614
+ * }
615
+ * ],
616
+ * TableName: "arn:aws:dynamodb:us-west-2:123456789012:table/MusicCollection"
617
+ * };
618
+ * const command = new UpdateTableCommand(input);
619
+ * const response = await client.send(command);
620
+ * /* response is
621
+ * {
622
+ * TableDescription: {
623
+ * DisassociationProtectionEnabled: false,
624
+ * GlobalTableVersion: "2019.11.21",
625
+ * Replicas: [
626
+ * {
627
+ * RegionName: "us-east-1",
628
+ * ReplicaStatus: "ACTIVE"
629
+ * }
630
+ * ],
631
+ * TableArn: "arn:aws:dynamodb:us-west-2:123456789012:table/MusicCollection",
632
+ * TableName: "MusicCollection",
633
+ * TableStatus: "UPDATING"
634
+ * }
635
+ * }
636
+ * *\/
637
+ * ```
638
+ *
496
639
  * @public
497
640
  */
498
641
  export declare class UpdateTableCommand extends UpdateTableCommand_base {
@@ -598,6 +598,17 @@ export declare const DestinationStatus: {
598
598
  * @public
599
599
  */
600
600
  export type DestinationStatus = (typeof DestinationStatus)[keyof typeof DestinationStatus];
601
+ /**
602
+ * @public
603
+ * @enum
604
+ */
605
+ export declare const DisassociationMode: {
606
+ readonly WAIT_FOR_REPLICATION: "WAIT_FOR_REPLICATION";
607
+ };
608
+ /**
609
+ * @public
610
+ */
611
+ export type DisassociationMode = (typeof DisassociationMode)[keyof typeof DisassociationMode];
601
612
  /**
602
613
  * @public
603
614
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ApproximateCreationDateTimePrecision, AttributeAction, BackupStatus, BackupType, BackupTypeFilter, BatchStatementErrorCodeEnum, BillingMode, ComparisonOperator, ConditionalOperator, ContinuousBackupsStatus, ContributorInsightsAction, ContributorInsightsMode, ContributorInsightsStatus, DestinationStatus, ExportFormat, ExportStatus, ExportType, ExportViewType, GlobalTableSettingsReplicationMode, GlobalTableStatus, ImportStatus, IndexStatus, InputCompressionType, InputFormat, KeyType, MultiRegionConsistency, PointInTimeRecoveryStatus, ProjectionType, ReplicaStatus, ReturnConsumedCapacity, ReturnItemCollectionMetrics, ReturnValue, ReturnValuesOnConditionCheckFailure, S3SseAlgorithm, ScalarAttributeType, SearchSchemaElementType, Select, SSEStatus, SSEType, StreamViewType, TableClass, TableStatus, TimeToLiveStatus, VectorDistanceFunction, WitnessStatus } from "./enums";
1
+ import type { ApproximateCreationDateTimePrecision, AttributeAction, BackupStatus, BackupType, BackupTypeFilter, BatchStatementErrorCodeEnum, BillingMode, ComparisonOperator, ConditionalOperator, ContinuousBackupsStatus, ContributorInsightsAction, ContributorInsightsMode, ContributorInsightsStatus, DestinationStatus, DisassociationMode, ExportFormat, ExportStatus, ExportType, ExportViewType, GlobalTableSettingsReplicationMode, GlobalTableStatus, ImportStatus, IndexStatus, InputCompressionType, InputFormat, KeyType, MultiRegionConsistency, PointInTimeRecoveryStatus, ProjectionType, ReplicaStatus, ReturnConsumedCapacity, ReturnItemCollectionMetrics, ReturnValue, ReturnValuesOnConditionCheckFailure, S3SseAlgorithm, ScalarAttributeType, SearchSchemaElementType, Select, SSEStatus, SSEType, StreamViewType, TableClass, TableStatus, TimeToLiveStatus, VectorDistanceFunction, WitnessStatus } from "./enums";
2
2
  /**
3
3
  * <p>Contains details of a table archival operation.</p>
4
4
  * @public
@@ -3125,6 +3125,9 @@ export interface TableDescription {
3125
3125
  GlobalTableVersion?: string | undefined;
3126
3126
  /**
3127
3127
  * <p>Represents replicas of the table.</p>
3128
+ * <p>After a successful disassociation, this list is absent or empty. To confirm
3129
+ * disassociation, also verify that <code>TableStatus</code> is
3130
+ * <code>ACTIVE</code>.</p>
3128
3131
  * @public
3129
3132
  */
3130
3133
  Replicas?: ReplicaDescription[] | undefined;
@@ -3182,6 +3185,13 @@ export interface TableDescription {
3182
3185
  * @public
3183
3186
  */
3184
3187
  DeletionProtectionEnabled?: boolean | undefined;
3188
+ /**
3189
+ * <p>Specifies whether disassociation protection is enabled (<code>true</code>) or
3190
+ * disabled (<code>false</code>) for the local global table replica. Protection is
3191
+ * enabled by default.</p>
3192
+ * @public
3193
+ */
3194
+ DisassociationProtectionEnabled?: boolean | undefined;
3185
3195
  /**
3186
3196
  * <p>The maximum number of read and write units for the specified on-demand table. If you
3187
3197
  * use this parameter, you must specify <code>MaxReadRequestUnits</code>,
@@ -4467,6 +4477,33 @@ export interface KinesisStreamingDestinationOutput {
4467
4477
  */
4468
4478
  EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration | undefined;
4469
4479
  }
4480
+ /**
4481
+ * <p>The parameters for disassociating the local replica from a global table using
4482
+ * Version 2019.11.21 with multi-Region eventual consistency (MREC).</p>
4483
+ * <p>After disassociation completes, the replica remains a standalone regional table
4484
+ * that keeps its data, indexes, and table settings.</p>
4485
+ * <p>For request requirements, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html">UpdateTable</a>.
4486
+ * For prerequisites, the protection update, and completion checks, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables-disassociate.html">Disassociating a global table replica</a> in the <i>Amazon DynamoDB
4487
+ * Developer Guide</i>.</p>
4488
+ * @public
4489
+ */
4490
+ export interface DisassociateReplicationGroupMemberAction {
4491
+ /**
4492
+ * <p>The Region of the replica to disassociate. Set this value to the Region where
4493
+ * you send the <code>UpdateTable</code> request. You must use credentials for the
4494
+ * account that owns the replica.</p>
4495
+ * @public
4496
+ */
4497
+ RegionName: string | undefined;
4498
+ /**
4499
+ * <p>The mode for handling pending replication before disassociation completes.
4500
+ * You must specify <code>WAIT_FOR_REPLICATION</code>. For more information, see
4501
+ * <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables-disassociate.html">Disassociating a global table replica</a> in the <i>Amazon DynamoDB
4502
+ * Developer Guide</i>.</p>
4503
+ * @public
4504
+ */
4505
+ DisassociationMode: DisassociationMode | undefined;
4506
+ }
4470
4507
  /**
4471
4508
  * @public
4472
4509
  */
@@ -5759,7 +5796,14 @@ export interface UpdateReplicationGroupMemberAction {
5759
5796
  * <code>DeleteTableReplica</code> action in the destination Region, deleting
5760
5797
  * the replica and all if its items in the destination Region.</p>
5761
5798
  * </li>
5799
+ * <li>
5800
+ * <p>The local replica to be disassociated from a global table and retained as
5801
+ * a standalone regional table.</p>
5802
+ * </li>
5762
5803
  * </ul>
5804
+ * <p>Each <code>ReplicationGroupUpdate</code> contains exactly one action. A
5805
+ * <code>Disassociate</code> action must be the only replica update in the request;
5806
+ * including other updates causes the request to fail.</p>
5763
5807
  * <note>
5764
5808
  * <p>When you manually remove a table or global table replica, you do not automatically
5765
5809
  * remove any associated scalable targets, scaling policies, or CloudWatch
@@ -5783,6 +5827,12 @@ export interface ReplicationGroupUpdate {
5783
5827
  * @public
5784
5828
  */
5785
5829
  Delete?: DeleteReplicationGroupMemberAction | undefined;
5830
+ /**
5831
+ * <p>The parameters for disassociating the local replica from the global table and
5832
+ * retaining it as a standalone regional table.</p>
5833
+ * @public
5834
+ */
5835
+ Disassociate?: DisassociateReplicationGroupMemberAction | undefined;
5786
5836
  }
5787
5837
  /**
5788
5838
  * <p>A vector index to be added to or removed from a table.</p>
@@ -5888,7 +5938,8 @@ export interface UpdateTableInput {
5888
5938
  */
5889
5939
  SSESpecification?: SSESpecification | undefined;
5890
5940
  /**
5891
- * <p>A list of replica update actions (create, delete, or update) for the table.</p>
5941
+ * <p>A list of replica update actions (create, delete, update, or disassociate) for the
5942
+ * table.</p>
5892
5943
  * @public
5893
5944
  */
5894
5945
  ReplicaUpdates?: ReplicationGroupUpdate[] | undefined;
@@ -5982,6 +6033,18 @@ export interface UpdateTableInput {
5982
6033
  * @public
5983
6034
  */
5984
6035
  GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined;
6036
+ /**
6037
+ * <p>Specifies whether disassociation protection is enabled (<code>true</code>) or
6038
+ * disabled (<code>false</code>) for the local replica of a multi-Region eventual
6039
+ * consistency (MREC) global table using Version 2019.11.21.</p>
6040
+ * <p>Disassociation protection is enabled by default. If you omit this parameter, the
6041
+ * existing setting is unchanged. This setting is independent of
6042
+ * <code>DeletionProtectionEnabled</code>.</p>
6043
+ * <p>You can't combine this change with any other change in the same
6044
+ * <code>UpdateTable</code> request.</p>
6045
+ * @public
6046
+ */
6047
+ DisassociationProtectionEnabled?: boolean | undefined;
5985
6048
  /**
5986
6049
  * <p>A list of vector indexes to be added to or removed from the table. You can add or
5987
6050
  * remove one vector index for each <code>UpdateTable</code> operation.</p>
@@ -124,6 +124,7 @@ export declare var DescribeTableReplicaAutoScalingInput$: StaticStructureSchema;
124
124
  export declare var DescribeTableReplicaAutoScalingOutput$: StaticStructureSchema;
125
125
  export declare var DescribeTimeToLiveInput$: StaticStructureSchema;
126
126
  export declare var DescribeTimeToLiveOutput$: StaticStructureSchema;
127
+ export declare var DisassociateReplicationGroupMemberAction$: StaticStructureSchema;
127
128
  export declare var EnableKinesisStreamingConfiguration$: StaticStructureSchema;
128
129
  export declare var Endpoint$: StaticStructureSchema;
129
130
  export declare var ExecuteStatementInput$: StaticStructureSchema;
@@ -304,6 +304,10 @@ export declare const DestinationStatus: {
304
304
  readonly UPDATING: "UPDATING";
305
305
  };
306
306
  export type DestinationStatus = (typeof DestinationStatus)[keyof typeof DestinationStatus];
307
+ export declare const DisassociationMode: {
308
+ readonly WAIT_FOR_REPLICATION: "WAIT_FOR_REPLICATION";
309
+ };
310
+ export type DisassociationMode = (typeof DisassociationMode)[keyof typeof DisassociationMode];
307
311
  export declare const Select: {
308
312
  readonly ALL_ATTRIBUTES: "ALL_ATTRIBUTES";
309
313
  readonly ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES";
@@ -13,6 +13,7 @@ import {
13
13
  ContributorInsightsMode,
14
14
  ContributorInsightsStatus,
15
15
  DestinationStatus,
16
+ DisassociationMode,
16
17
  ExportFormat,
17
18
  ExportStatus,
18
19
  ExportType,
@@ -461,6 +462,7 @@ export interface TableDescription {
461
462
  ArchivalSummary?: ArchivalSummary | undefined;
462
463
  TableClassSummary?: TableClassSummary | undefined;
463
464
  DeletionProtectionEnabled?: boolean | undefined;
465
+ DisassociationProtectionEnabled?: boolean | undefined;
464
466
  OnDemandThroughput?: OnDemandThroughput | undefined;
465
467
  WarmThroughput?: TableWarmThroughputDescription | undefined;
466
468
  MultiRegionConsistency?: MultiRegionConsistency | undefined;
@@ -710,6 +712,10 @@ export interface KinesisStreamingDestinationOutput {
710
712
  DestinationStatus?: DestinationStatus | undefined;
711
713
  EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration | undefined;
712
714
  }
715
+ export interface DisassociateReplicationGroupMemberAction {
716
+ RegionName: string | undefined;
717
+ DisassociationMode: DisassociationMode | undefined;
718
+ }
713
719
  export interface GetResourcePolicyInput {
714
720
  ResourceArn: string | undefined;
715
721
  }
@@ -969,6 +975,7 @@ export interface ReplicationGroupUpdate {
969
975
  Create?: CreateReplicationGroupMemberAction | undefined;
970
976
  Update?: UpdateReplicationGroupMemberAction | undefined;
971
977
  Delete?: DeleteReplicationGroupMemberAction | undefined;
978
+ Disassociate?: DisassociateReplicationGroupMemberAction | undefined;
972
979
  }
973
980
  export interface VectorIndexUpdate {
974
981
  Create?: CreateVectorIndexAction | undefined;
@@ -990,6 +997,7 @@ export interface UpdateTableInput {
990
997
  OnDemandThroughput?: OnDemandThroughput | undefined;
991
998
  WarmThroughput?: WarmThroughput | undefined;
992
999
  GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined;
1000
+ DisassociationProtectionEnabled?: boolean | undefined;
993
1001
  VectorIndexUpdates?: VectorIndexUpdate[] | undefined;
994
1002
  }
995
1003
  export interface UpdateTableOutput {
@@ -124,6 +124,7 @@ export declare var DescribeTableReplicaAutoScalingInput$: StaticStructureSchema;
124
124
  export declare var DescribeTableReplicaAutoScalingOutput$: StaticStructureSchema;
125
125
  export declare var DescribeTimeToLiveInput$: StaticStructureSchema;
126
126
  export declare var DescribeTimeToLiveOutput$: StaticStructureSchema;
127
+ export declare var DisassociateReplicationGroupMemberAction$: StaticStructureSchema;
127
128
  export declare var EnableKinesisStreamingConfiguration$: StaticStructureSchema;
128
129
  export declare var Endpoint$: StaticStructureSchema;
129
130
  export declare var ExecuteStatementInput$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
- "version": "3.1152.0",
3
+ "version": "3.1154.0",
4
4
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb",
6
6
  "license": "Apache-2.0",
@@ -52,12 +52,12 @@
52
52
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
53
53
  },
54
54
  "dependencies": {
55
- "@aws-sdk/core": "^3.978.3",
56
- "@aws-sdk/credential-provider-node": "^3.972.86",
57
- "@aws-sdk/dynamodb-codec": "^3.973.48",
58
- "@aws-sdk/middleware-endpoint-discovery": "^3.972.32",
55
+ "@aws-sdk/core": "^3.978.4",
56
+ "@aws-sdk/credential-provider-node": "^3.972.87",
57
+ "@aws-sdk/dynamodb-codec": "^3.973.49",
58
+ "@aws-sdk/middleware-endpoint-discovery": "^3.972.33",
59
59
  "@aws-sdk/types": "^3.974.6",
60
- "@smithy/core": "^3.35.2",
60
+ "@smithy/core": "^3.36.0",
61
61
  "@smithy/fetch-http-handler": "^5.8.0",
62
62
  "@smithy/node-http-handler": "^4.12.1",
63
63
  "@smithy/types": "^4.19.0",