@aws-sdk/client-dynamodb
Advanced tools
Comparing version 3.699.0 to 3.705.0
@@ -6,3 +6,3 @@ "use strict"; | ||
const a = false, b = "isSet", c = "error", d = "endpoint", e = "tree", f = "PartitionResult", g = "stringEquals", h = "not", i = { [H]: false, [I]: "String" }, j = { [H]: true, "default": false, [I]: "Boolean" }, k = { [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, l = { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }, m = {}, n = { [L]: "Region" }, o = { [J]: b, [K]: [{ [L]: "AccountIdEndpointMode" }] }, p = { [L]: "AccountIdEndpointMode" }, q = { [J]: b, [K]: [{ [L]: "AccountId" }] }, r = { [L]: "AccountId" }, s = { [J]: g, [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, "aws"] }, t = { [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, u = { [J]: h, [K]: [k] }, v = { [J]: h, [K]: [l] }, w = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsFIPS"] }, true] }, x = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsDualStack"] }, true] }, y = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, z = { "conditions": [o, { [J]: g, [K]: [p, "disabled"] }], [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, A = { [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, B = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, C = { [M]: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, D = [k], E = [l], F = [n], G = [o, { [J]: g, [K]: [p, "disabled"] }]; | ||
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i, AccountId: i, AccountIdEndpointMode: i }, rules: [{ conditions: [{ [J]: b, [K]: [{ [L]: "Endpoint" }] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: c }, { endpoint: { [M]: "{Endpoint}", [N]: m, [O]: m }, [I]: d }], [I]: e }, { conditions: [{ [J]: b, [K]: F }], rules: [{ conditions: [{ [J]: "aws.partition", [K]: F, assign: f }], rules: [{ conditions: [{ [J]: g, [K]: [n, "local"] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [I]: c }, { endpoint: { [M]: "http://localhost:8000", [N]: { authSchemes: [{ name: "sigv4", signingName: "dynamodb", signingRegion: "us-east-1" }] }, [O]: m }, [I]: d }], [I]: e }, { conditions: [o, { [J]: g, [K]: [p, "required"] }, { [J]: h, [K]: [q] }], error: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.", [I]: c }, { conditions: [q, s, u, v, { [J]: h, [K]: [{ [J]: "isValidHostLabel", [K]: [r, a] }] }], error: "Credentials-sourced account ID parameter is invalid", [I]: c }, { conditions: [k, l], rules: [{ conditions: [w, x], rules: [{ conditions: G, endpoint: y, [I]: d }, { endpoint: y, [I]: d }], [I]: e }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: c }], [I]: e }, { conditions: D, rules: [{ conditions: [w], rules: [{ conditions: [{ [J]: g, [K]: [t, "aws-us-gov"] }], rules: [z, A], [I]: e }, { conditions: G, endpoint: B, [I]: d }, { endpoint: B, [I]: d }], [I]: e }, { error: "FIPS is enabled but this partition does not support FIPS", [I]: c }], [I]: e }, { conditions: E, rules: [{ conditions: [x], rules: [{ conditions: G, endpoint: C, [I]: d }, { endpoint: C, [I]: d }], [I]: e }, { error: "DualStack is enabled but this partition does not support DualStack", [I]: c }], [I]: e }, z, { conditions: [q, s, u, v], endpoint: { [M]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [N]: m, [O]: m }, [I]: d }, A], [I]: e }], [I]: e }, { error: "Invalid Configuration: Missing Region", [I]: c }] }; | ||
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i, AccountId: i, AccountIdEndpointMode: i }, rules: [{ conditions: [{ [J]: b, [K]: [{ [L]: "Endpoint" }] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: c }, { endpoint: { [M]: "{Endpoint}", [N]: m, [O]: m }, [I]: d }], [I]: e }, { conditions: [{ [J]: b, [K]: F }], rules: [{ conditions: [{ [J]: "aws.partition", [K]: F, assign: f }], rules: [{ conditions: [{ [J]: g, [K]: [n, "local"] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [I]: c }, { endpoint: { [M]: "http://localhost:8000", [N]: { authSchemes: [{ signingRegion: "us-east-1", signingName: "dynamodb", name: "sigv4" }] }, [O]: m }, [I]: d }], [I]: e }, { conditions: [o, { [J]: g, [K]: [p, "required"] }, { [J]: h, [K]: [q] }], error: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.", [I]: c }, { conditions: [q, s, u, v, { [J]: h, [K]: [{ [J]: "isValidHostLabel", [K]: [r, a] }] }], error: "Credentials-sourced account ID parameter is invalid", [I]: c }, { conditions: [k, l], rules: [{ conditions: [w, x], rules: [{ conditions: G, endpoint: y, [I]: d }, { endpoint: y, [I]: d }], [I]: e }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: c }], [I]: e }, { conditions: D, rules: [{ conditions: [w], rules: [{ conditions: [{ [J]: g, [K]: [t, "aws-us-gov"] }], rules: [z, A], [I]: e }, { conditions: G, endpoint: B, [I]: d }, { endpoint: B, [I]: d }], [I]: e }, { error: "FIPS is enabled but this partition does not support FIPS", [I]: c }], [I]: e }, { conditions: E, rules: [{ conditions: [x], rules: [{ conditions: G, endpoint: C, [I]: d }, { endpoint: C, [I]: d }], [I]: e }, { error: "DualStack is enabled but this partition does not support DualStack", [I]: c }], [I]: e }, z, { conditions: [q, s, u, v], endpoint: { [M]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [N]: m, [O]: m }, [I]: d }, A], [I]: e }], [I]: e }, { error: "Invalid Configuration: Missing Region", [I]: c }] }; | ||
exports.ruleSet = _data; |
const H = "required", I = "type", J = "fn", K = "argv", L = "ref", M = "url", N = "properties", O = "headers"; | ||
const a = false, b = "isSet", c = "error", d = "endpoint", e = "tree", f = "PartitionResult", g = "stringEquals", h = "not", i = { [H]: false, [I]: "String" }, j = { [H]: true, "default": false, [I]: "Boolean" }, k = { [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, l = { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }, m = {}, n = { [L]: "Region" }, o = { [J]: b, [K]: [{ [L]: "AccountIdEndpointMode" }] }, p = { [L]: "AccountIdEndpointMode" }, q = { [J]: b, [K]: [{ [L]: "AccountId" }] }, r = { [L]: "AccountId" }, s = { [J]: g, [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, "aws"] }, t = { [J]: "getAttr", [K]: [{ [L]: f }, "name"] }, u = { [J]: h, [K]: [k] }, v = { [J]: h, [K]: [l] }, w = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsFIPS"] }, true] }, x = { [J]: "booleanEquals", [K]: [{ [J]: "getAttr", [K]: [{ [L]: f }, "supportsDualStack"] }, true] }, y = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, z = { "conditions": [o, { [J]: g, [K]: [p, "disabled"] }], [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, A = { [d]: { [M]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, [I]: d }, B = { [M]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: {}, [O]: {} }, C = { [M]: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: {}, [O]: {} }, D = [k], E = [l], F = [n], G = [o, { [J]: g, [K]: [p, "disabled"] }]; | ||
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i, AccountId: i, AccountIdEndpointMode: i }, rules: [{ conditions: [{ [J]: b, [K]: [{ [L]: "Endpoint" }] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: c }, { endpoint: { [M]: "{Endpoint}", [N]: m, [O]: m }, [I]: d }], [I]: e }, { conditions: [{ [J]: b, [K]: F }], rules: [{ conditions: [{ [J]: "aws.partition", [K]: F, assign: f }], rules: [{ conditions: [{ [J]: g, [K]: [n, "local"] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [I]: c }, { endpoint: { [M]: "http://localhost:8000", [N]: { authSchemes: [{ name: "sigv4", signingName: "dynamodb", signingRegion: "us-east-1" }] }, [O]: m }, [I]: d }], [I]: e }, { conditions: [o, { [J]: g, [K]: [p, "required"] }, { [J]: h, [K]: [q] }], error: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.", [I]: c }, { conditions: [q, s, u, v, { [J]: h, [K]: [{ [J]: "isValidHostLabel", [K]: [r, a] }] }], error: "Credentials-sourced account ID parameter is invalid", [I]: c }, { conditions: [k, l], rules: [{ conditions: [w, x], rules: [{ conditions: G, endpoint: y, [I]: d }, { endpoint: y, [I]: d }], [I]: e }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: c }], [I]: e }, { conditions: D, rules: [{ conditions: [w], rules: [{ conditions: [{ [J]: g, [K]: [t, "aws-us-gov"] }], rules: [z, A], [I]: e }, { conditions: G, endpoint: B, [I]: d }, { endpoint: B, [I]: d }], [I]: e }, { error: "FIPS is enabled but this partition does not support FIPS", [I]: c }], [I]: e }, { conditions: E, rules: [{ conditions: [x], rules: [{ conditions: G, endpoint: C, [I]: d }, { endpoint: C, [I]: d }], [I]: e }, { error: "DualStack is enabled but this partition does not support DualStack", [I]: c }], [I]: e }, z, { conditions: [q, s, u, v], endpoint: { [M]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [N]: m, [O]: m }, [I]: d }, A], [I]: e }], [I]: e }, { error: "Invalid Configuration: Missing Region", [I]: c }] }; | ||
const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i, AccountId: i, AccountIdEndpointMode: i }, rules: [{ conditions: [{ [J]: b, [K]: [{ [L]: "Endpoint" }] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: c }, { endpoint: { [M]: "{Endpoint}", [N]: m, [O]: m }, [I]: d }], [I]: e }, { conditions: [{ [J]: b, [K]: F }], rules: [{ conditions: [{ [J]: "aws.partition", [K]: F, assign: f }], rules: [{ conditions: [{ [J]: g, [K]: [n, "local"] }], rules: [{ conditions: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [I]: c }, { conditions: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [I]: c }, { endpoint: { [M]: "http://localhost:8000", [N]: { authSchemes: [{ signingRegion: "us-east-1", signingName: "dynamodb", name: "sigv4" }] }, [O]: m }, [I]: d }], [I]: e }, { conditions: [o, { [J]: g, [K]: [p, "required"] }, { [J]: h, [K]: [q] }], error: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.", [I]: c }, { conditions: [q, s, u, v, { [J]: h, [K]: [{ [J]: "isValidHostLabel", [K]: [r, a] }] }], error: "Credentials-sourced account ID parameter is invalid", [I]: c }, { conditions: [k, l], rules: [{ conditions: [w, x], rules: [{ conditions: G, endpoint: y, [I]: d }, { endpoint: y, [I]: d }], [I]: e }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: c }], [I]: e }, { conditions: D, rules: [{ conditions: [w], rules: [{ conditions: [{ [J]: g, [K]: [t, "aws-us-gov"] }], rules: [z, A], [I]: e }, { conditions: G, endpoint: B, [I]: d }, { endpoint: B, [I]: d }], [I]: e }, { error: "FIPS is enabled but this partition does not support FIPS", [I]: c }], [I]: e }, { conditions: E, rules: [{ conditions: [x], rules: [{ conditions: G, endpoint: C, [I]: d }, { endpoint: C, [I]: d }], [I]: e }, { error: "DualStack is enabled but this partition does not support DualStack", [I]: c }], [I]: e }, z, { conditions: [q, s, u, v], endpoint: { [M]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [N]: m, [O]: m }, [I]: d }, A], [I]: e }], [I]: e }, { error: "Invalid Configuration: Missing Region", [I]: c }] }; | ||
export const ruleSet = _data; |
@@ -323,2 +323,6 @@ import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException"; | ||
} | ||
export const MultiRegionConsistency = { | ||
EVENTUAL: "EVENTUAL", | ||
STRONG: "STRONG", | ||
}; | ||
export class ResourceInUseException extends __BaseException { | ||
@@ -343,2 +347,14 @@ constructor(opts) { | ||
}; | ||
export class ReplicatedWriteConflictException extends __BaseException { | ||
constructor(opts) { | ||
super({ | ||
name: "ReplicatedWriteConflictException", | ||
$fault: "client", | ||
...opts, | ||
}); | ||
this.name = "ReplicatedWriteConflictException"; | ||
this.$fault = "client"; | ||
Object.setPrototypeOf(this, ReplicatedWriteConflictException.prototype); | ||
} | ||
} | ||
export class TransactionConflictException extends __BaseException { | ||
@@ -345,0 +361,0 @@ constructor(opts) { |
@@ -312,2 +312,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // }, | ||
* // MultiRegionConsistency: "EVENTUAL" || "STRONG", | ||
* // }, | ||
@@ -314,0 +315,0 @@ * // }; |
@@ -226,2 +226,5 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* | ||
* @throws {@link ReplicatedWriteConflictException} (client fault) | ||
* <p>The request was rejected because one or more items in the request are being modified by a request in another Region. </p> | ||
* | ||
* @throws {@link RequestLimitExceeded} (client fault) | ||
@@ -228,0 +231,0 @@ * <p>Throughput exceeds the current throughput quota for your account. Please contact |
@@ -233,2 +233,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // }, | ||
* // MultiRegionConsistency: "EVENTUAL" || "STRONG", | ||
* // }, | ||
@@ -235,0 +236,0 @@ * // }; |
@@ -224,2 +224,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // }, | ||
* // MultiRegionConsistency: "EVENTUAL" || "STRONG", | ||
* // }, | ||
@@ -226,0 +227,0 @@ * // }; |
@@ -236,2 +236,5 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* | ||
* @throws {@link ReplicatedWriteConflictException} (client fault) | ||
* <p>The request was rejected because one or more items in the request are being modified by a request in another Region. </p> | ||
* | ||
* @throws {@link RequestLimitExceeded} (client fault) | ||
@@ -238,0 +241,0 @@ * <p>Throughput exceeds the current throughput quota for your account. Please contact |
@@ -296,2 +296,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // }, | ||
* // MultiRegionConsistency: "EVENTUAL" || "STRONG", | ||
* // }, | ||
@@ -298,0 +299,0 @@ * // }; |
@@ -324,2 +324,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // }, | ||
* // MultiRegionConsistency: "EVENTUAL" || "STRONG", | ||
* // }, | ||
@@ -326,0 +327,0 @@ * // }; |
@@ -229,2 +229,5 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* | ||
* @throws {@link ReplicatedWriteConflictException} (client fault) | ||
* <p>The request was rejected because one or more items in the request are being modified by a request in another Region. </p> | ||
* | ||
* @throws {@link RequestLimitExceeded} (client fault) | ||
@@ -231,0 +234,0 @@ * <p>Throughput exceeds the current throughput quota for your account. Please contact |
@@ -186,2 +186,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* DeletionProtectionEnabled: true || false, | ||
* MultiRegionConsistency: "EVENTUAL" || "STRONG", | ||
* OnDemandThroughput: { | ||
@@ -367,2 +368,3 @@ * MaxReadRequestUnits: Number("long"), | ||
* // }, | ||
* // MultiRegionConsistency: "EVENTUAL" || "STRONG", | ||
* // }, | ||
@@ -369,0 +371,0 @@ * // }; |
{ | ||
"name": "@aws-sdk/client-dynamodb", | ||
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native", | ||
"version": "3.699.0", | ||
"version": "3.705.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1927560
43503