@aws-sdk/client-support 3.281.0 → 3.287.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 +3 -3
- package/dist-cjs/pagination/DescribeCasesPaginator.js +1 -8
- package/dist-cjs/pagination/DescribeCommunicationsPaginator.js +1 -8
- package/dist-cjs/protocols/Aws_json1_1.js +5 -6
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/pagination/DescribeCasesPaginator.js +1 -8
- package/dist-es/pagination/DescribeCommunicationsPaginator.js +1 -8
- package/dist-es/protocols/Aws_json1_1.js +5 -6
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +19 -19
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const E = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const E = "required", F = "type", G = "rules", H = "conditions", I = "fn", J = "argv", K = "ref", L = "url", M = "properties", N = "headers", O = "authSchemes", P = "name", Q = "signingName", R = "signingRegion";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [E]: false, [F]: "String" }, h = { [E]: true, "default": false, [F]: "Boolean" }, i = { [K]: "Endpoint" }, j = {}, k = { [K]: "Region" }, l = { [I]: "getAttr", [J]: [{ [K]: e }, "name"] }, m = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }, { [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }, { [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://support-fips.{Region}.api.aws", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [F]: c }] }, n = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [F]: c }, o = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://support-fips.{Region}.amazonaws.com", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "FIPS is enabled but this partition does not support FIPS", [F]: c }] }, p = { [c]: "FIPS is enabled but this partition does not support FIPS", [F]: c }, q = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://support.{Region}.api.aws", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "DualStack is enabled but this partition does not support DualStack", [F]: c }] }, r = { [c]: "DualStack is enabled but this partition does not support DualStack", [F]: c }, s = { [L]: "https://support.us-east-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "us-east-1" }] }, [N]: {} }, t = { [L]: "https://support.cn-north-1.amazonaws.com.cn", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "cn-north-1" }] }, [N]: {} }, u = { [L]: "https://support.us-gov-west-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "us-gov-west-1" }] }, [N]: {} }, v = { [L]: "https://support.us-iso-east-1.c2s.ic.gov", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "us-iso-east-1" }] }, [N]: {} }, w = { [L]: "https://support.us-isob-east-1.sc2s.sgov.gov", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "us-isob-east-1" }] }, [N]: {} }, x = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }], y = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], z = [k], A = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }, { [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], B = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }, { [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], C = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }], D = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, [G]: [{ [H]: [{ [I]: a, [J]: [i] }], [F]: b, [G]: [{ [H]: x, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [F]: c }, { [F]: b, [G]: [{ [H]: y, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [F]: c }, { endpoint: { [L]: i, [M]: j, [N]: j }, [F]: d }] }] }, { [F]: b, [G]: [{ [H]: [{ [I]: a, [J]: z }], [F]: b, [G]: [{ [H]: [{ [I]: "aws.partition", [J]: z, assign: e }], [F]: b, [G]: [{ [H]: [{ [I]: f, [J]: [l, "aws"] }], [F]: b, [G]: [m, o, q, { endpoint: s, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-cn"] }], [F]: b, [G]: [{ [H]: A, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.api.amazonwebservices.com.cn", [M]: j, [N]: j }, [F]: d }] }, n] }, { [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.amazonaws.com.cn", [M]: j, [N]: j }, [F]: d }] }, p] }, { [H]: y, [F]: b, [G]: [{ [H]: D, [F]: b, [G]: [{ endpoint: { [L]: "https://support.{Region}.api.amazonwebservices.com.cn", [M]: j, [N]: j }, [F]: d }] }, r] }, { endpoint: t, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-us-gov"] }], [F]: b, [G]: [m, o, q, { endpoint: u, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-iso"] }], [F]: b, [G]: [{ [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.c2s.ic.gov", [M]: j, [N]: j }, [F]: d }] }, p] }, { endpoint: v, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-iso-b"] }], [F]: b, [G]: [{ [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.sc2s.sgov.gov", [M]: j, [N]: j }, [F]: d }] }, p] }, { endpoint: w, [F]: d }] }, { [H]: A, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, n] }, { [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.{PartitionResult#dnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, p] }, { [H]: y, [F]: b, [G]: [{ [H]: D, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://support.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, r] }, { [F]: b, [G]: [{ [H]: [{ [I]: f, [J]: [k, "aws-global"] }], endpoint: s, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-cn-global"] }], endpoint: t, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-us-gov-global"] }], endpoint: u, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-iso-global"] }], endpoint: v, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-iso-b-global"] }], endpoint: w, [F]: d }, { endpoint: { [L]: "https://support.{Region}.{PartitionResult#dnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }] }, { error: "Invalid Configuration: Missing Region", [F]: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCases = void 0;
|
|
4
4
|
const DescribeCasesCommand_1 = require("../commands/DescribeCasesCommand");
|
|
5
|
-
const Support_1 = require("../Support");
|
|
6
5
|
const SupportClient_1 = require("../SupportClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeCasesCommand_1.DescribeCasesCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeCases(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeCases(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeCases(config, input, ...additionalArguments) {
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SupportClient_1.SupportClient) {
|
|
16
|
+
if (config.client instanceof SupportClient_1.SupportClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeCommunications = void 0;
|
|
4
4
|
const DescribeCommunicationsCommand_1 = require("../commands/DescribeCommunicationsCommand");
|
|
5
|
-
const Support_1 = require("../Support");
|
|
6
5
|
const SupportClient_1 = require("../SupportClient");
|
|
7
6
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
7
|
return await client.send(new DescribeCommunicationsCommand_1.DescribeCommunicationsCommand(input), ...args);
|
|
9
8
|
};
|
|
10
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
-
return await client.describeCommunications(input, ...args);
|
|
12
|
-
};
|
|
13
9
|
async function* paginateDescribeCommunications(config, input, ...additionalArguments) {
|
|
14
10
|
let token = config.startingToken || undefined;
|
|
15
11
|
let hasNext = true;
|
|
@@ -17,10 +13,7 @@ async function* paginateDescribeCommunications(config, input, ...additionalArgum
|
|
|
17
13
|
while (hasNext) {
|
|
18
14
|
input.nextToken = token;
|
|
19
15
|
input["maxResults"] = config.pageSize;
|
|
20
|
-
if (config.client instanceof
|
|
21
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else if (config.client instanceof SupportClient_1.SupportClient) {
|
|
16
|
+
if (config.client instanceof SupportClient_1.SupportClient) {
|
|
24
17
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
18
|
}
|
|
26
19
|
else {
|
|
@@ -884,9 +884,10 @@ const serializeAws_json1_1ServiceCodeList = (input, context) => {
|
|
|
884
884
|
});
|
|
885
885
|
};
|
|
886
886
|
const serializeAws_json1_1StringList = (input, context) => {
|
|
887
|
-
return input
|
|
888
|
-
|
|
889
|
-
|
|
887
|
+
return input.map((entry) => {
|
|
888
|
+
if (entry === null) {
|
|
889
|
+
return null;
|
|
890
|
+
}
|
|
890
891
|
return entry;
|
|
891
892
|
});
|
|
892
893
|
};
|
|
@@ -1165,9 +1166,7 @@ const deserializeAws_json1_1SeverityLevelsList = (output, context) => {
|
|
|
1165
1166
|
return retVal;
|
|
1166
1167
|
};
|
|
1167
1168
|
const deserializeAws_json1_1StringList = (output, context) => {
|
|
1168
|
-
const retVal = (output || [])
|
|
1169
|
-
.filter((e) => e != null)
|
|
1170
|
-
.map((entry) => {
|
|
1169
|
+
const retVal = (output || []).map((entry) => {
|
|
1171
1170
|
if (entry === null) {
|
|
1172
1171
|
return null;
|
|
1173
1172
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const E = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const E = "required", F = "type", G = "rules", H = "conditions", I = "fn", J = "argv", K = "ref", L = "url", M = "properties", N = "headers", O = "authSchemes", P = "name", Q = "signingName", R = "signingRegion";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [E]: false, [F]: "String" }, h = { [E]: true, "default": false, [F]: "Boolean" }, i = { [K]: "Endpoint" }, j = {}, k = { [K]: "Region" }, l = { [I]: "getAttr", [J]: [{ [K]: e }, "name"] }, m = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }, { [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }, { [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://support-fips.{Region}.api.aws", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [F]: c }] }, n = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [F]: c }, o = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://support-fips.{Region}.amazonaws.com", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "FIPS is enabled but this partition does not support FIPS", [F]: c }] }, p = { [c]: "FIPS is enabled but this partition does not support FIPS", [F]: c }, q = { [H]: [{ [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], [F]: b, [G]: [{ [H]: [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], [F]: b, [G]: [{ [d]: { [L]: "https://support.{Region}.api.aws", [M]: {}, [N]: {} }, [F]: d }] }, { [c]: "DualStack is enabled but this partition does not support DualStack", [F]: c }] }, r = { [c]: "DualStack is enabled but this partition does not support DualStack", [F]: c }, s = { [L]: "https://support.us-east-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "us-east-1" }] }, [N]: {} }, t = { [L]: "https://support.cn-north-1.amazonaws.com.cn", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "cn-north-1" }] }, [N]: {} }, u = { [L]: "https://support.us-gov-west-1.amazonaws.com", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "us-gov-west-1" }] }, [N]: {} }, v = { [L]: "https://support.us-iso-east-1.c2s.ic.gov", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "us-iso-east-1" }] }, [N]: {} }, w = { [L]: "https://support.us-isob-east-1.sc2s.sgov.gov", [M]: { [O]: [{ [P]: "sigv4", [Q]: "support", [R]: "us-isob-east-1" }] }, [N]: {} }, x = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }], y = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], z = [k], A = [{ [I]: "booleanEquals", [J]: [{ [K]: "UseFIPS" }, true] }, { [I]: "booleanEquals", [J]: [{ [K]: "UseDualStack" }, true] }], B = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }, { [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }], C = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsFIPS"] }] }], D = [{ [I]: "booleanEquals", [J]: [true, { [I]: "getAttr", [J]: [{ [K]: e }, "supportsDualStack"] }] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, [G]: [{ [H]: [{ [I]: a, [J]: [i] }], [F]: b, [G]: [{ [H]: x, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [F]: c }, { [F]: b, [G]: [{ [H]: y, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [F]: c }, { endpoint: { [L]: i, [M]: j, [N]: j }, [F]: d }] }] }, { [F]: b, [G]: [{ [H]: [{ [I]: a, [J]: z }], [F]: b, [G]: [{ [H]: [{ [I]: "aws.partition", [J]: z, assign: e }], [F]: b, [G]: [{ [H]: [{ [I]: f, [J]: [l, "aws"] }], [F]: b, [G]: [m, o, q, { endpoint: s, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-cn"] }], [F]: b, [G]: [{ [H]: A, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.api.amazonwebservices.com.cn", [M]: j, [N]: j }, [F]: d }] }, n] }, { [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.amazonaws.com.cn", [M]: j, [N]: j }, [F]: d }] }, p] }, { [H]: y, [F]: b, [G]: [{ [H]: D, [F]: b, [G]: [{ endpoint: { [L]: "https://support.{Region}.api.amazonwebservices.com.cn", [M]: j, [N]: j }, [F]: d }] }, r] }, { endpoint: t, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-us-gov"] }], [F]: b, [G]: [m, o, q, { endpoint: u, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-iso"] }], [F]: b, [G]: [{ [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.c2s.ic.gov", [M]: j, [N]: j }, [F]: d }] }, p] }, { endpoint: v, [F]: d }] }, { [H]: [{ [I]: f, [J]: [l, "aws-iso-b"] }], [F]: b, [G]: [{ [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.sc2s.sgov.gov", [M]: j, [N]: j }, [F]: d }] }, p] }, { endpoint: w, [F]: d }] }, { [H]: A, [F]: b, [G]: [{ [H]: B, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, n] }, { [H]: x, [F]: b, [G]: [{ [H]: C, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://support-fips.{Region}.{PartitionResult#dnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, p] }, { [H]: y, [F]: b, [G]: [{ [H]: D, [F]: b, [G]: [{ [F]: b, [G]: [{ endpoint: { [L]: "https://support.{Region}.{PartitionResult#dualStackDnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }, r] }, { [F]: b, [G]: [{ [H]: [{ [I]: f, [J]: [k, "aws-global"] }], endpoint: s, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-cn-global"] }], endpoint: t, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-us-gov-global"] }], endpoint: u, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-iso-global"] }], endpoint: v, [F]: d }, { [H]: [{ [I]: f, [J]: [k, "aws-iso-b-global"] }], endpoint: w, [F]: d }, { endpoint: { [L]: "https://support.{Region}.{PartitionResult#dnsSuffix}", [M]: j, [N]: j }, [F]: d }] }] }] }, { error: "Invalid Configuration: Missing Region", [F]: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeCasesCommand, } from "../commands/DescribeCasesCommand";
|
|
2
|
-
import { Support } from "../Support";
|
|
3
2
|
import { SupportClient } from "../SupportClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeCasesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeCases(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeCases(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeCases(config, input, ...additionalArgumen
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SupportClient) {
|
|
13
|
+
if (config.client instanceof SupportClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeCommunicationsCommand, } from "../commands/DescribeCommunicationsCommand";
|
|
2
|
-
import { Support } from "../Support";
|
|
3
2
|
import { SupportClient } from "../SupportClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeCommunicationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeCommunications(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeCommunications(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeCommunications(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.nextToken = token;
|
|
16
12
|
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SupportClient) {
|
|
13
|
+
if (config.client instanceof SupportClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -853,9 +853,10 @@ const serializeAws_json1_1ServiceCodeList = (input, context) => {
|
|
|
853
853
|
});
|
|
854
854
|
};
|
|
855
855
|
const serializeAws_json1_1StringList = (input, context) => {
|
|
856
|
-
return input
|
|
857
|
-
|
|
858
|
-
|
|
856
|
+
return input.map((entry) => {
|
|
857
|
+
if (entry === null) {
|
|
858
|
+
return null;
|
|
859
|
+
}
|
|
859
860
|
return entry;
|
|
860
861
|
});
|
|
861
862
|
};
|
|
@@ -1134,9 +1135,7 @@ const deserializeAws_json1_1SeverityLevelsList = (output, context) => {
|
|
|
1134
1135
|
return retVal;
|
|
1135
1136
|
};
|
|
1136
1137
|
const deserializeAws_json1_1StringList = (output, context) => {
|
|
1137
|
-
const retVal = (output || [])
|
|
1138
|
-
.filter((e) => e != null)
|
|
1139
|
-
.map((entry) => {
|
|
1138
|
+
const retVal = (output || []).map((entry) => {
|
|
1140
1139
|
if (entry === null) {
|
|
1141
1140
|
return null;
|
|
1142
1141
|
}
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { Support } from "../Support";
|
|
3
2
|
import { SupportClient } from "../SupportClient";
|
|
4
3
|
export interface SupportPaginationConfiguration extends PaginationConfiguration {
|
|
5
|
-
client:
|
|
4
|
+
client: SupportClient;
|
|
6
5
|
}
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { Support } from "../Support";
|
|
3
2
|
import { SupportClient } from "../SupportClient";
|
|
4
3
|
export interface SupportPaginationConfiguration
|
|
5
4
|
extends PaginationConfiguration {
|
|
6
|
-
client:
|
|
5
|
+
client: SupportClient;
|
|
7
6
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-support",
|
|
3
3
|
"description": "AWS SDK for JavaScript Support Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.287.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,25 +20,25 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.287.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.287.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.287.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.287.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.287.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.287.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
43
43
|
"@aws-sdk/types": "3.272.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.272.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.287.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.287.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|