@aws-sdk/client-dynamodb 3.980.0 → 3.982.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +14 -6
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +8 -6
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +1 -0
- package/dist-types/commands/CreateTableCommand.d.ts +6 -2
- package/dist-types/commands/DeleteTableCommand.d.ts +2 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +2 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -3
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +2 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +2 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +2 -3
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +2 -3
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/errors.d.ts +2 -3
- package/dist-types/models/models_0.d.ts +65 -6
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -2
- package/package.json +7 -7
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const K = "required", L = "type", M = "rules", N = "conditions", O = "fn", P = "argv", Q = "ref", R = "assign", S = "url", T = "properties", U = "headers", V = "metricValues";
|
|
5
5
|
const a = false, b = "error", c = "stringEquals", d = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", e = "endpoint", f = "tree", g = "dynamodb", h = { [K]: false, [L]: "string" }, i = { [K]: true, "default": false, [L]: "boolean" }, j = { [O]: "isSet", [P]: [{ [Q]: "Endpoint" }] }, k = { [Q]: "Endpoint" }, l = { [O]: "isSet", [P]: [{ [Q]: "Region" }] }, m = { [Q]: "Region" }, n = { [O]: "aws.partition", [P]: [m], [R]: "PartitionResult" }, o = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], [b]: "Invalid Configuration: FIPS and custom endpoint are not supported", [L]: b }, p = { [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, q = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], [b]: "Invalid Configuration: Dualstack and custom endpoint are not supported", [L]: b }, r = { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }, s = { [e]: { [S]: "{Endpoint}", [T]: {}, [U]: {} }, [L]: e }, t = {}, u = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsFIPS"] }, true] }, v = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsDualStack"] }, true] }, w = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, x = { [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "name"] }, y = { [e]: { [S]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [T]: {}, [U]: {} }, [L]: e }, z = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: { [V]: ["O"] }, [U]: {} }, A = { [V]: ["O"] }, B = { [b]: "Credentials-sourced account ID parameter is invalid", [L]: b }, C = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [N]: [{ [O]: "not", [P]: [p] }], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws"] }], [M]: [{ [b]: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, D = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: {} }, E = [p], F = [r], G = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArn" }] }, { [O]: "aws.parseArn", [P]: [{ [Q]: "ResourceArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], H = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArnList" }] }, { [O]: "getAttr", [P]: [{ [Q]: "ResourceArnList" }, "[0]"], [R]: "FirstArn" }, { [O]: "aws.parseArn", [P]: [{ [Q]: "FirstArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], I = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "AccountId" }] }], J = [{ [O]: "isValidHostLabel", [P]: [{ [Q]: "AccountId" }, false] }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [k, d] }], error: "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ name: "sigv4", signingRegion: "us-east-1"
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [k, d] }], error: "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ name: "sigv4", signingName: g, signingRegion: "us-east-1" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -742,6 +742,8 @@ const _GTNFE = "GlobalTableNotFoundException";
|
|
|
742
742
|
const _GTPWCASSU = "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate";
|
|
743
743
|
const _GTPWCU = "GlobalTableProvisionedWriteCapacityUnits";
|
|
744
744
|
const _GTS = "GlobalTableStatus";
|
|
745
|
+
const _GTSA = "GlobalTableSourceArn";
|
|
746
|
+
const _GTSRM = "GlobalTableSettingsReplicationMode";
|
|
745
747
|
const _GTV = "GlobalTableVersion";
|
|
746
748
|
const _GTW = "GlobalTableWitnesses";
|
|
747
749
|
const _GTWD = "GlobalTableWitnessDescription";
|
|
@@ -1347,8 +1349,8 @@ var CreateReplicationGroupMemberAction$ = [3, n0, _CRGMA,
|
|
|
1347
1349
|
];
|
|
1348
1350
|
var CreateTableInput$ = [3, n0, _CTI,
|
|
1349
1351
|
0,
|
|
1350
|
-
[
|
|
1351
|
-
[() => AttributeDefinitions,
|
|
1352
|
+
[_TN, _ADt, _KS, _LSI, _GSI, _BM, _PT, _SS, _SSES, _Ta, _TC, _DPE, _WT, _RP, _ODT, _GTSA, _GTSRM],
|
|
1353
|
+
[0, () => AttributeDefinitions, () => KeySchema, () => LocalSecondaryIndexList, () => GlobalSecondaryIndexList, 0, () => ProvisionedThroughput$, () => StreamSpecification$, () => SSESpecification$, () => TagList, 0, 2, () => WarmThroughput$, 0, () => OnDemandThroughput$, 0, 0], 1
|
|
1352
1354
|
];
|
|
1353
1355
|
var CreateTableOutput$ = [3, n0, _CTO,
|
|
1354
1356
|
0,
|
|
@@ -2066,8 +2068,8 @@ var ReplicaAutoScalingUpdate$ = [3, n0, _RASU,
|
|
|
2066
2068
|
];
|
|
2067
2069
|
var ReplicaDescription$ = [3, n0, _RD,
|
|
2068
2070
|
0,
|
|
2069
|
-
[_RN, _RSe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS],
|
|
2070
|
-
[0, 0, 0, 0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => TableClassSummary
|
|
2071
|
+
[_RN, _RSe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM],
|
|
2072
|
+
[0, 0, 0, 0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => TableClassSummary$, 0]
|
|
2071
2073
|
];
|
|
2072
2074
|
var ReplicaGlobalSecondaryIndex$ = [3, n0, _RGSI,
|
|
2073
2075
|
0,
|
|
@@ -2237,8 +2239,8 @@ var TableCreationParameters$ = [3, n0, _TCP,
|
|
|
2237
2239
|
];
|
|
2238
2240
|
var TableDescription$ = [3, n0, _TD,
|
|
2239
2241
|
0,
|
|
2240
|
-
[_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _RSes, _SSED, _AS, _TCS, _DPE, _ODT, _WT, _MRC],
|
|
2241
|
-
[() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0]
|
|
2242
|
+
[_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],
|
|
2243
|
+
[() => 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]
|
|
2242
2244
|
];
|
|
2243
2245
|
var TableInUseException$ = [-3, n0, _TIUE,
|
|
2244
2246
|
{ [_e]: _c },
|
|
@@ -4226,6 +4228,11 @@ const IndexStatus = {
|
|
|
4226
4228
|
DELETING: "DELETING",
|
|
4227
4229
|
UPDATING: "UPDATING",
|
|
4228
4230
|
};
|
|
4231
|
+
const GlobalTableSettingsReplicationMode = {
|
|
4232
|
+
DISABLED: "DISABLED",
|
|
4233
|
+
ENABLED: "ENABLED",
|
|
4234
|
+
ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES",
|
|
4235
|
+
};
|
|
4229
4236
|
const ReplicaStatus = {
|
|
4230
4237
|
ACTIVE: "ACTIVE",
|
|
4231
4238
|
ARCHIVED: "ARCHIVED",
|
|
@@ -4536,6 +4543,7 @@ exports.GlobalTableDescription$ = GlobalTableDescription$;
|
|
|
4536
4543
|
exports.GlobalTableGlobalSecondaryIndexSettingsUpdate$ = GlobalTableGlobalSecondaryIndexSettingsUpdate$;
|
|
4537
4544
|
exports.GlobalTableNotFoundException = GlobalTableNotFoundException;
|
|
4538
4545
|
exports.GlobalTableNotFoundException$ = GlobalTableNotFoundException$;
|
|
4546
|
+
exports.GlobalTableSettingsReplicationMode = GlobalTableSettingsReplicationMode;
|
|
4539
4547
|
exports.GlobalTableStatus = GlobalTableStatus;
|
|
4540
4548
|
exports.GlobalTableWitnessDescription$ = GlobalTableWitnessDescription$;
|
|
4541
4549
|
exports.GlobalTableWitnessGroupUpdate$ = GlobalTableWitnessGroupUpdate$;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const K = "required", L = "type", M = "rules", N = "conditions", O = "fn", P = "argv", Q = "ref", R = "assign", S = "url", T = "properties", U = "headers", V = "metricValues";
|
|
2
2
|
const a = false, b = "error", c = "stringEquals", d = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", e = "endpoint", f = "tree", g = "dynamodb", h = { [K]: false, [L]: "string" }, i = { [K]: true, "default": false, [L]: "boolean" }, j = { [O]: "isSet", [P]: [{ [Q]: "Endpoint" }] }, k = { [Q]: "Endpoint" }, l = { [O]: "isSet", [P]: [{ [Q]: "Region" }] }, m = { [Q]: "Region" }, n = { [O]: "aws.partition", [P]: [m], [R]: "PartitionResult" }, o = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], [b]: "Invalid Configuration: FIPS and custom endpoint are not supported", [L]: b }, p = { [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, q = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], [b]: "Invalid Configuration: Dualstack and custom endpoint are not supported", [L]: b }, r = { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }, s = { [e]: { [S]: "{Endpoint}", [T]: {}, [U]: {} }, [L]: e }, t = {}, u = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsFIPS"] }, true] }, v = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsDualStack"] }, true] }, w = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, x = { [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "name"] }, y = { [e]: { [S]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [T]: {}, [U]: {} }, [L]: e }, z = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: { [V]: ["O"] }, [U]: {} }, A = { [V]: ["O"] }, B = { [b]: "Credentials-sourced account ID parameter is invalid", [L]: b }, C = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [N]: [{ [O]: "not", [P]: [p] }], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws"] }], [M]: [{ [b]: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, D = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: {} }, E = [p], F = [r], G = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArn" }] }, { [O]: "aws.parseArn", [P]: [{ [Q]: "ResourceArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], H = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArnList" }] }, { [O]: "getAttr", [P]: [{ [Q]: "ResourceArnList" }, "[0]"], [R]: "FirstArn" }, { [O]: "aws.parseArn", [P]: [{ [Q]: "FirstArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], I = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "AccountId" }] }], J = [{ [O]: "isValidHostLabel", [P]: [{ [Q]: "AccountId" }, false] }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [k, d] }], error: "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ name: "sigv4", signingRegion: "us-east-1"
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [k, d] }], error: "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ name: "sigv4", signingName: g, signingRegion: "us-east-1" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -144,6 +144,11 @@ export const IndexStatus = {
|
|
|
144
144
|
DELETING: "DELETING",
|
|
145
145
|
UPDATING: "UPDATING",
|
|
146
146
|
};
|
|
147
|
+
export const GlobalTableSettingsReplicationMode = {
|
|
148
|
+
DISABLED: "DISABLED",
|
|
149
|
+
ENABLED: "ENABLED",
|
|
150
|
+
ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES",
|
|
151
|
+
};
|
|
147
152
|
export const ReplicaStatus = {
|
|
148
153
|
ACTIVE: "ACTIVE",
|
|
149
154
|
ARCHIVED: "ARCHIVED",
|
|
@@ -258,6 +258,8 @@ const _GTNFE = "GlobalTableNotFoundException";
|
|
|
258
258
|
const _GTPWCASSU = "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate";
|
|
259
259
|
const _GTPWCU = "GlobalTableProvisionedWriteCapacityUnits";
|
|
260
260
|
const _GTS = "GlobalTableStatus";
|
|
261
|
+
const _GTSA = "GlobalTableSourceArn";
|
|
262
|
+
const _GTSRM = "GlobalTableSettingsReplicationMode";
|
|
261
263
|
const _GTV = "GlobalTableVersion";
|
|
262
264
|
const _GTW = "GlobalTableWitnesses";
|
|
263
265
|
const _GTWD = "GlobalTableWitnessDescription";
|
|
@@ -866,8 +868,8 @@ export var CreateReplicationGroupMemberAction$ = [3, n0, _CRGMA,
|
|
|
866
868
|
];
|
|
867
869
|
export var CreateTableInput$ = [3, n0, _CTI,
|
|
868
870
|
0,
|
|
869
|
-
[
|
|
870
|
-
[() => AttributeDefinitions,
|
|
871
|
+
[_TN, _ADt, _KS, _LSI, _GSI, _BM, _PT, _SS, _SSES, _Ta, _TC, _DPE, _WT, _RP, _ODT, _GTSA, _GTSRM],
|
|
872
|
+
[0, () => AttributeDefinitions, () => KeySchema, () => LocalSecondaryIndexList, () => GlobalSecondaryIndexList, 0, () => ProvisionedThroughput$, () => StreamSpecification$, () => SSESpecification$, () => TagList, 0, 2, () => WarmThroughput$, 0, () => OnDemandThroughput$, 0, 0], 1
|
|
871
873
|
];
|
|
872
874
|
export var CreateTableOutput$ = [3, n0, _CTO,
|
|
873
875
|
0,
|
|
@@ -1585,8 +1587,8 @@ export var ReplicaAutoScalingUpdate$ = [3, n0, _RASU,
|
|
|
1585
1587
|
];
|
|
1586
1588
|
export var ReplicaDescription$ = [3, n0, _RD,
|
|
1587
1589
|
0,
|
|
1588
|
-
[_RN, _RSe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS],
|
|
1589
|
-
[0, 0, 0, 0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => TableClassSummary
|
|
1590
|
+
[_RN, _RSe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM],
|
|
1591
|
+
[0, 0, 0, 0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => TableClassSummary$, 0]
|
|
1590
1592
|
];
|
|
1591
1593
|
export var ReplicaGlobalSecondaryIndex$ = [3, n0, _RGSI,
|
|
1592
1594
|
0,
|
|
@@ -1756,8 +1758,8 @@ export var TableCreationParameters$ = [3, n0, _TCP,
|
|
|
1756
1758
|
];
|
|
1757
1759
|
export var TableDescription$ = [3, n0, _TD,
|
|
1758
1760
|
0,
|
|
1759
|
-
[_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _RSes, _SSED, _AS, _TCS, _DPE, _ODT, _WT, _MRC],
|
|
1760
|
-
[() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0]
|
|
1761
|
+
[_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],
|
|
1762
|
+
[() => 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]
|
|
1761
1763
|
];
|
|
1762
1764
|
export var TableInUseException$ = [-3, n0, _TIUE,
|
|
1763
1765
|
{ [_e]: _c },
|
|
@@ -141,6 +141,7 @@ declare const CreateGlobalTableCommand_base: {
|
|
|
141
141
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
142
142
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
143
143
|
* // },
|
|
144
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
144
145
|
* // },
|
|
145
146
|
* // ],
|
|
146
147
|
* // GlobalTableArn: "STRING_VALUE",
|
|
@@ -49,14 +49,14 @@ declare const CreateTableCommand_base: {
|
|
|
49
49
|
* const config = {}; // type is DynamoDBClientConfig
|
|
50
50
|
* const client = new DynamoDBClient(config);
|
|
51
51
|
* const input = { // CreateTableInput
|
|
52
|
-
* AttributeDefinitions: [ // AttributeDefinitions
|
|
52
|
+
* AttributeDefinitions: [ // AttributeDefinitions
|
|
53
53
|
* { // AttributeDefinition
|
|
54
54
|
* AttributeName: "STRING_VALUE", // required
|
|
55
55
|
* AttributeType: "S" || "N" || "B", // required
|
|
56
56
|
* },
|
|
57
57
|
* ],
|
|
58
58
|
* TableName: "STRING_VALUE", // required
|
|
59
|
-
* KeySchema: [ // KeySchema
|
|
59
|
+
* KeySchema: [ // KeySchema
|
|
60
60
|
* { // KeySchemaElement
|
|
61
61
|
* AttributeName: "STRING_VALUE", // required
|
|
62
62
|
* KeyType: "HASH" || "RANGE", // required
|
|
@@ -139,6 +139,8 @@ declare const CreateTableCommand_base: {
|
|
|
139
139
|
* MaxReadRequestUnits: Number("long"),
|
|
140
140
|
* MaxWriteRequestUnits: Number("long"),
|
|
141
141
|
* },
|
|
142
|
+
* GlobalTableSourceArn: "STRING_VALUE",
|
|
143
|
+
* GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
142
144
|
* };
|
|
143
145
|
* const command = new CreateTableCommand(input);
|
|
144
146
|
* const response = await client.send(command);
|
|
@@ -278,6 +280,7 @@ declare const CreateTableCommand_base: {
|
|
|
278
280
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
279
281
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
280
282
|
* // },
|
|
283
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
281
284
|
* // },
|
|
282
285
|
* // ],
|
|
283
286
|
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
@@ -286,6 +289,7 @@ declare const CreateTableCommand_base: {
|
|
|
286
289
|
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
287
290
|
* // },
|
|
288
291
|
* // ],
|
|
292
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
289
293
|
* // RestoreSummary: { // RestoreSummary
|
|
290
294
|
* // SourceBackupArn: "STRING_VALUE",
|
|
291
295
|
* // SourceTableArn: "STRING_VALUE",
|
|
@@ -195,6 +195,7 @@ declare const DeleteTableCommand_base: {
|
|
|
195
195
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
196
196
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
197
197
|
* // },
|
|
198
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
198
199
|
* // },
|
|
199
200
|
* // ],
|
|
200
201
|
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
@@ -203,6 +204,7 @@ declare const DeleteTableCommand_base: {
|
|
|
203
204
|
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
204
205
|
* // },
|
|
205
206
|
* // ],
|
|
207
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
206
208
|
* // RestoreSummary: { // RestoreSummary
|
|
207
209
|
* // SourceBackupArn: "STRING_VALUE",
|
|
208
210
|
* // SourceTableArn: "STRING_VALUE",
|
|
@@ -86,6 +86,7 @@ declare const DescribeGlobalTableCommand_base: {
|
|
|
86
86
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
87
87
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
88
88
|
* // },
|
|
89
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
89
90
|
* // },
|
|
90
91
|
* // ],
|
|
91
92
|
* // GlobalTableArn: "STRING_VALUE",
|
|
@@ -186,6 +186,7 @@ declare const DescribeTableCommand_base: {
|
|
|
186
186
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
187
187
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
188
188
|
* // },
|
|
189
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
189
190
|
* // },
|
|
190
191
|
* // ],
|
|
191
192
|
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
@@ -194,6 +195,7 @@ declare const DescribeTableCommand_base: {
|
|
|
194
195
|
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
195
196
|
* // },
|
|
196
197
|
* // ],
|
|
198
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
197
199
|
* // RestoreSummary: { // RestoreSummary
|
|
198
200
|
* // SourceBackupArn: "STRING_VALUE",
|
|
199
201
|
* // SourceTableArn: "STRING_VALUE",
|
|
@@ -274,9 +274,8 @@ declare const ExecuteTransactionCommand_base: {
|
|
|
274
274
|
* </li>
|
|
275
275
|
* </ul>
|
|
276
276
|
* <note>
|
|
277
|
-
* <p>
|
|
278
|
-
* <code>CancellationReasons</code> property.
|
|
279
|
-
* languages. Transaction cancellation reasons are ordered in the order of requested
|
|
277
|
+
* <p>DynamoDB lists the cancellation reasons on the
|
|
278
|
+
* <code>CancellationReasons</code> property. Transaction cancellation reasons are ordered in the order of requested
|
|
280
279
|
* items, if an item has no error it will have <code>None</code> code and
|
|
281
280
|
* <code>Null</code> message.</p>
|
|
282
281
|
* </note>
|
|
@@ -262,6 +262,7 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
262
262
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
263
263
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
264
264
|
* // },
|
|
265
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
265
266
|
* // },
|
|
266
267
|
* // ],
|
|
267
268
|
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
@@ -270,6 +271,7 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
270
271
|
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
271
272
|
* // },
|
|
272
273
|
* // ],
|
|
274
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
273
275
|
* // RestoreSummary: { // RestoreSummary
|
|
274
276
|
* // SourceBackupArn: "STRING_VALUE",
|
|
275
277
|
* // SourceTableArn: "STRING_VALUE",
|
|
@@ -291,6 +291,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
291
291
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
292
292
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
293
293
|
* // },
|
|
294
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
294
295
|
* // },
|
|
295
296
|
* // ],
|
|
296
297
|
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
@@ -299,6 +300,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
299
300
|
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
300
301
|
* // },
|
|
301
302
|
* // ],
|
|
303
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
302
304
|
* // RestoreSummary: { // RestoreSummary
|
|
303
305
|
* // SourceBackupArn: "STRING_VALUE",
|
|
304
306
|
* // SourceTableArn: "STRING_VALUE",
|
|
@@ -295,9 +295,8 @@ declare const TransactGetItemsCommand_base: {
|
|
|
295
295
|
* </li>
|
|
296
296
|
* </ul>
|
|
297
297
|
* <note>
|
|
298
|
-
* <p>
|
|
299
|
-
* <code>CancellationReasons</code> property.
|
|
300
|
-
* languages. Transaction cancellation reasons are ordered in the order of requested
|
|
298
|
+
* <p>DynamoDB lists the cancellation reasons on the
|
|
299
|
+
* <code>CancellationReasons</code> property. Transaction cancellation reasons are ordered in the order of requested
|
|
301
300
|
* items, if an item has no error it will have <code>None</code> code and
|
|
302
301
|
* <code>Null</code> message.</p>
|
|
303
302
|
* </note>
|
|
@@ -399,9 +399,8 @@ declare const TransactWriteItemsCommand_base: {
|
|
|
399
399
|
* </li>
|
|
400
400
|
* </ul>
|
|
401
401
|
* <note>
|
|
402
|
-
* <p>
|
|
403
|
-
* <code>CancellationReasons</code> property.
|
|
404
|
-
* languages. Transaction cancellation reasons are ordered in the order of requested
|
|
402
|
+
* <p>DynamoDB lists the cancellation reasons on the
|
|
403
|
+
* <code>CancellationReasons</code> property. Transaction cancellation reasons are ordered in the order of requested
|
|
405
404
|
* items, if an item has no error it will have <code>None</code> code and
|
|
406
405
|
* <code>Null</code> message.</p>
|
|
407
406
|
* </note>
|
|
@@ -121,6 +121,7 @@ declare const UpdateGlobalTableCommand_base: {
|
|
|
121
121
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
122
122
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
123
123
|
* // },
|
|
124
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
124
125
|
* // },
|
|
125
126
|
* // ],
|
|
126
127
|
* // GlobalTableArn: "STRING_VALUE",
|
|
@@ -339,6 +339,7 @@ declare const UpdateTableCommand_base: {
|
|
|
339
339
|
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
340
340
|
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
341
341
|
* // },
|
|
342
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
342
343
|
* // },
|
|
343
344
|
* // ],
|
|
344
345
|
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
@@ -347,6 +348,7 @@ declare const UpdateTableCommand_base: {
|
|
|
347
348
|
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
348
349
|
* // },
|
|
349
350
|
* // ],
|
|
351
|
+
* // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES",
|
|
350
352
|
* // RestoreSummary: { // RestoreSummary
|
|
351
353
|
* // SourceBackupArn: "STRING_VALUE",
|
|
352
354
|
* // SourceTableArn: "STRING_VALUE",
|
|
@@ -352,6 +352,19 @@ export declare const IndexStatus: {
|
|
|
352
352
|
* @public
|
|
353
353
|
*/
|
|
354
354
|
export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus];
|
|
355
|
+
/**
|
|
356
|
+
* @public
|
|
357
|
+
* @enum
|
|
358
|
+
*/
|
|
359
|
+
export declare const GlobalTableSettingsReplicationMode: {
|
|
360
|
+
readonly DISABLED: "DISABLED";
|
|
361
|
+
readonly ENABLED: "ENABLED";
|
|
362
|
+
readonly ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES";
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
export type GlobalTableSettingsReplicationMode = (typeof GlobalTableSettingsReplicationMode)[keyof typeof GlobalTableSettingsReplicationMode];
|
|
355
368
|
/**
|
|
356
369
|
* @public
|
|
357
370
|
* @enum
|
|
@@ -606,9 +606,8 @@ export declare class ConditionalCheckFailedException extends __BaseException {
|
|
|
606
606
|
* </li>
|
|
607
607
|
* </ul>
|
|
608
608
|
* <note>
|
|
609
|
-
* <p>
|
|
610
|
-
* <code>CancellationReasons</code> property.
|
|
611
|
-
* languages. Transaction cancellation reasons are ordered in the order of requested
|
|
609
|
+
* <p>DynamoDB lists the cancellation reasons on the
|
|
610
|
+
* <code>CancellationReasons</code> property. Transaction cancellation reasons are ordered in the order of requested
|
|
612
611
|
* items, if an item has no error it will have <code>None</code> code and
|
|
613
612
|
* <code>Null</code> message.</p>
|
|
614
613
|
* </note>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApproximateCreationDateTimePrecision, AttributeAction, BackupStatus, BackupType, BackupTypeFilter, BatchStatementErrorCodeEnum, BillingMode, ComparisonOperator, ConditionalOperator, ContinuousBackupsStatus, ContributorInsightsAction, ContributorInsightsMode, ContributorInsightsStatus, DestinationStatus, ExportFormat, ExportStatus, ExportType, ExportViewType, GlobalTableStatus, ImportStatus, IndexStatus, InputCompressionType, InputFormat, KeyType, MultiRegionConsistency, PointInTimeRecoveryStatus, ProjectionType, ReplicaStatus, ReturnConsumedCapacity, ReturnItemCollectionMetrics, ReturnValue, ReturnValuesOnConditionCheckFailure, S3SseAlgorithm, ScalarAttributeType, Select, SSEStatus, SSEType, StreamViewType, TableClass, TableStatus, TimeToLiveStatus, WitnessStatus } from "./enums";
|
|
1
|
+
import { 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, Select, SSEStatus, SSEType, StreamViewType, TableClass, TableStatus, TimeToLiveStatus, WitnessStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Contains details of a table archival operation.</p>
|
|
4
4
|
* @public
|
|
@@ -1187,7 +1187,8 @@ export interface CreateGlobalSecondaryIndexAction {
|
|
|
1187
1187
|
*/
|
|
1188
1188
|
IndexName: string | undefined;
|
|
1189
1189
|
/**
|
|
1190
|
-
* <p>The key schema for the global secondary index
|
|
1190
|
+
* <p>The key schema for the global secondary index.
|
|
1191
|
+
* Global secondary index supports up to 4 partition and up to 4 sort keys.</p>
|
|
1191
1192
|
* @public
|
|
1192
1193
|
*/
|
|
1193
1194
|
KeySchema: KeySchemaElement[] | undefined;
|
|
@@ -1470,6 +1471,28 @@ export interface ReplicaDescription {
|
|
|
1470
1471
|
* @public
|
|
1471
1472
|
*/
|
|
1472
1473
|
ReplicaTableClassSummary?: TableClassSummary | undefined;
|
|
1474
|
+
/**
|
|
1475
|
+
* <p>Indicates one of the settings synchronization modes for the global table replica:</p>
|
|
1476
|
+
* <ul>
|
|
1477
|
+
* <li>
|
|
1478
|
+
* <p>
|
|
1479
|
+
* <code>ENABLED</code>: Indicates that the settings synchronization mode for the global table
|
|
1480
|
+
* replica is enabled.</p>
|
|
1481
|
+
* </li>
|
|
1482
|
+
* <li>
|
|
1483
|
+
* <p>
|
|
1484
|
+
* <code>DISABLED</code>: Indicates that the settings synchronization mode for the global table
|
|
1485
|
+
* replica is disabled.</p>
|
|
1486
|
+
* </li>
|
|
1487
|
+
* <li>
|
|
1488
|
+
* <p>
|
|
1489
|
+
* <code>ENABLED_WITH_OVERRIDES</code>: This mode is set by default for a same account global table.
|
|
1490
|
+
* Indicates that certain global table settings can be overridden.</p>
|
|
1491
|
+
* </li>
|
|
1492
|
+
* </ul>
|
|
1493
|
+
* @public
|
|
1494
|
+
*/
|
|
1495
|
+
GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined;
|
|
1473
1496
|
}
|
|
1474
1497
|
/**
|
|
1475
1498
|
* <p>Contains details about the global table.</p>
|
|
@@ -1822,7 +1845,7 @@ export interface CreateTableInput {
|
|
|
1822
1845
|
* <p>An array of attributes that describe the key schema for the table and indexes.</p>
|
|
1823
1846
|
* @public
|
|
1824
1847
|
*/
|
|
1825
|
-
AttributeDefinitions
|
|
1848
|
+
AttributeDefinitions?: AttributeDefinition[] | undefined;
|
|
1826
1849
|
/**
|
|
1827
1850
|
* <p>The name of the table to create. You can also provide the Amazon Resource Name (ARN) of the table in
|
|
1828
1851
|
* this parameter.</p>
|
|
@@ -1875,7 +1898,7 @@ export interface CreateTableInput {
|
|
|
1875
1898
|
* Guide</i>.</p>
|
|
1876
1899
|
* @public
|
|
1877
1900
|
*/
|
|
1878
|
-
KeySchema
|
|
1901
|
+
KeySchema?: KeySchemaElement[] | undefined;
|
|
1879
1902
|
/**
|
|
1880
1903
|
* <p>One or more local secondary indexes (the maximum is 5) to be created on the table.
|
|
1881
1904
|
* Each index is scoped to a given partition key value. There is a 10 GB size limit per
|
|
@@ -1955,7 +1978,7 @@ export interface CreateTableInput {
|
|
|
1955
1978
|
* <li>
|
|
1956
1979
|
* <p>
|
|
1957
1980
|
* <code>KeySchema</code> - Specifies the key schema for the global secondary
|
|
1958
|
-
* index.</p>
|
|
1981
|
+
* index. Each global secondary index supports up to 4 partition keys and up to 4 sort keys.</p>
|
|
1959
1982
|
* </li>
|
|
1960
1983
|
* <li>
|
|
1961
1984
|
* <p>
|
|
@@ -2136,6 +2159,20 @@ export interface CreateTableInput {
|
|
|
2136
2159
|
* @public
|
|
2137
2160
|
*/
|
|
2138
2161
|
OnDemandThroughput?: OnDemandThroughput | undefined;
|
|
2162
|
+
/**
|
|
2163
|
+
* <p>The Amazon Resource Name (ARN) of the source table used for the creation
|
|
2164
|
+
* of a multi-account global table.</p>
|
|
2165
|
+
* @public
|
|
2166
|
+
*/
|
|
2167
|
+
GlobalTableSourceArn?: string | undefined;
|
|
2168
|
+
/**
|
|
2169
|
+
* <p>Controls the settings synchronization mode for the global table. For multi-account global tables,
|
|
2170
|
+
* this parameter is required and the only supported value is ENABLED. For same-account global tables,
|
|
2171
|
+
* this parameter is set to ENABLED_WITH_OVERRIDES.
|
|
2172
|
+
* </p>
|
|
2173
|
+
* @public
|
|
2174
|
+
*/
|
|
2175
|
+
GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined;
|
|
2139
2176
|
}
|
|
2140
2177
|
/**
|
|
2141
2178
|
* <p>Represents the provisioned throughput settings for the table, consisting of read and
|
|
@@ -2802,6 +2839,28 @@ export interface TableDescription {
|
|
|
2802
2839
|
* @public
|
|
2803
2840
|
*/
|
|
2804
2841
|
GlobalTableWitnesses?: GlobalTableWitnessDescription[] | undefined;
|
|
2842
|
+
/**
|
|
2843
|
+
* <p>Indicates one of the settings synchronization modes for the global table:</p>
|
|
2844
|
+
* <ul>
|
|
2845
|
+
* <li>
|
|
2846
|
+
* <p>
|
|
2847
|
+
* <code>ENABLED</code>: Indicates that the settings synchronization mode for the global table
|
|
2848
|
+
* is enabled.</p>
|
|
2849
|
+
* </li>
|
|
2850
|
+
* <li>
|
|
2851
|
+
* <p>
|
|
2852
|
+
* <code>DISABLED</code>: Indicates that the settings synchronization mode for the global table is
|
|
2853
|
+
* disabled.</p>
|
|
2854
|
+
* </li>
|
|
2855
|
+
* <li>
|
|
2856
|
+
* <p>
|
|
2857
|
+
* <code>ENABLED_WITH_OVERRIDES</code>: This mode is set by default for a same account global table.
|
|
2858
|
+
* Indicates that certain global table settings can be overridden.</p>
|
|
2859
|
+
* </li>
|
|
2860
|
+
* </ul>
|
|
2861
|
+
* @public
|
|
2862
|
+
*/
|
|
2863
|
+
GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined;
|
|
2805
2864
|
/**
|
|
2806
2865
|
* <p>Contains details for the restore.</p>
|
|
2807
2866
|
* @public
|
|
@@ -4149,7 +4208,7 @@ export interface ExportTableToPointInTimeInput {
|
|
|
4149
4208
|
* result might not be idempotent.</p>
|
|
4150
4209
|
* <p>If you submit a request with the same client token but a change in other parameters
|
|
4151
4210
|
* within the 8-hour idempotency window, DynamoDB returns an
|
|
4152
|
-
* <code>
|
|
4211
|
+
* <code>ExportConflictException</code>.</p>
|
|
4153
4212
|
* @public
|
|
4154
4213
|
*/
|
|
4155
4214
|
ClientToken?: string | undefined;
|
|
@@ -189,6 +189,13 @@ export declare const IndexStatus: {
|
|
|
189
189
|
readonly UPDATING: "UPDATING";
|
|
190
190
|
};
|
|
191
191
|
export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus];
|
|
192
|
+
export declare const GlobalTableSettingsReplicationMode: {
|
|
193
|
+
readonly DISABLED: "DISABLED";
|
|
194
|
+
readonly ENABLED: "ENABLED";
|
|
195
|
+
readonly ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES";
|
|
196
|
+
};
|
|
197
|
+
export type GlobalTableSettingsReplicationMode =
|
|
198
|
+
(typeof GlobalTableSettingsReplicationMode)[keyof typeof GlobalTableSettingsReplicationMode];
|
|
192
199
|
export declare const ReplicaStatus: {
|
|
193
200
|
readonly ACTIVE: "ACTIVE";
|
|
194
201
|
readonly ARCHIVED: "ARCHIVED";
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
ExportStatus,
|
|
18
18
|
ExportType,
|
|
19
19
|
ExportViewType,
|
|
20
|
+
GlobalTableSettingsReplicationMode,
|
|
20
21
|
GlobalTableStatus,
|
|
21
22
|
ImportStatus,
|
|
22
23
|
IndexStatus,
|
|
@@ -278,6 +279,9 @@ export interface ReplicaDescription {
|
|
|
278
279
|
GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndexDescription[] | undefined;
|
|
279
280
|
ReplicaInaccessibleDateTime?: Date | undefined;
|
|
280
281
|
ReplicaTableClassSummary?: TableClassSummary | undefined;
|
|
282
|
+
GlobalTableSettingsReplicationMode?:
|
|
283
|
+
| GlobalTableSettingsReplicationMode
|
|
284
|
+
| undefined;
|
|
281
285
|
}
|
|
282
286
|
export interface GlobalTableDescription {
|
|
283
287
|
ReplicationGroup?: ReplicaDescription[] | undefined;
|
|
@@ -331,9 +335,9 @@ export interface Tag {
|
|
|
331
335
|
Value: string | undefined;
|
|
332
336
|
}
|
|
333
337
|
export interface CreateTableInput {
|
|
334
|
-
AttributeDefinitions
|
|
338
|
+
AttributeDefinitions?: AttributeDefinition[] | undefined;
|
|
335
339
|
TableName: string | undefined;
|
|
336
|
-
KeySchema
|
|
340
|
+
KeySchema?: KeySchemaElement[] | undefined;
|
|
337
341
|
LocalSecondaryIndexes?: LocalSecondaryIndex[] | undefined;
|
|
338
342
|
GlobalSecondaryIndexes?: GlobalSecondaryIndex[] | undefined;
|
|
339
343
|
BillingMode?: BillingMode | undefined;
|
|
@@ -346,6 +350,10 @@ export interface CreateTableInput {
|
|
|
346
350
|
WarmThroughput?: WarmThroughput | undefined;
|
|
347
351
|
ResourcePolicy?: string | undefined;
|
|
348
352
|
OnDemandThroughput?: OnDemandThroughput | undefined;
|
|
353
|
+
GlobalTableSourceArn?: string | undefined;
|
|
354
|
+
GlobalTableSettingsReplicationMode?:
|
|
355
|
+
| GlobalTableSettingsReplicationMode
|
|
356
|
+
| undefined;
|
|
349
357
|
}
|
|
350
358
|
export interface ProvisionedThroughputDescription {
|
|
351
359
|
LastIncreaseDateTime?: Date | undefined;
|
|
@@ -405,6 +413,9 @@ export interface TableDescription {
|
|
|
405
413
|
GlobalTableVersion?: string | undefined;
|
|
406
414
|
Replicas?: ReplicaDescription[] | undefined;
|
|
407
415
|
GlobalTableWitnesses?: GlobalTableWitnessDescription[] | undefined;
|
|
416
|
+
GlobalTableSettingsReplicationMode?:
|
|
417
|
+
| GlobalTableSettingsReplicationMode
|
|
418
|
+
| undefined;
|
|
408
419
|
RestoreSummary?: RestoreSummary | undefined;
|
|
409
420
|
SSEDescription?: SSEDescription | undefined;
|
|
410
421
|
ArchivalSummary?: ArchivalSummary | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.982.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/dynamodb-codec": "^3.972.
|
|
26
|
+
"@aws-sdk/core": "^3.973.6",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.5",
|
|
28
|
+
"@aws-sdk/dynamodb-codec": "^3.972.6",
|
|
29
29
|
"@aws-sdk/middleware-endpoint-discovery": "^3.972.3",
|
|
30
30
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
31
31
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
33
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "^3.972.6",
|
|
34
34
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
35
35
|
"@aws-sdk/types": "^3.973.1",
|
|
36
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
+
"@aws-sdk/util-endpoints": "3.982.0",
|
|
37
37
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
38
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
38
|
+
"@aws-sdk/util-user-agent-node": "^3.972.4",
|
|
39
39
|
"@smithy/config-resolver": "^4.4.6",
|
|
40
40
|
"@smithy/core": "^3.22.0",
|
|
41
41
|
"@smithy/fetch-http-handler": "^5.3.9",
|