@aws-sdk/client-connect 3.645.0 → 3.649.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/endpointResolver.js +6 -2
- package/dist-cjs/index.js +10 -0
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/dist-es/models/models_0.js +10 -0
- package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +1 -1
- package/dist-types/commands/CreateVocabularyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVocabularyCommand.d.ts +1 -1
- package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +2 -2
- package/dist-types/commands/SearchVocabulariesCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +10 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +35 -35
|
@@ -4,11 +4,15 @@ exports.defaultEndpointResolver = void 0;
|
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
5
|
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
6
6
|
const ruleset_1 = require("./ruleset");
|
|
7
|
+
const cache = new util_endpoints_2.EndpointCache({
|
|
8
|
+
size: 50,
|
|
9
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
|
+
});
|
|
7
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
8
|
-
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
12
|
+
return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
9
13
|
endpointParams: endpointParams,
|
|
10
14
|
logger: context.logger,
|
|
11
|
-
});
|
|
15
|
+
}));
|
|
12
16
|
};
|
|
13
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
18
|
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -936,6 +936,8 @@ __name(_LimitExceededException, "LimitExceededException");
|
|
|
936
936
|
var LimitExceededException = _LimitExceededException;
|
|
937
937
|
var VocabularyLanguageCode = {
|
|
938
938
|
AR_AE: "ar-AE",
|
|
939
|
+
CA_ES: "ca-ES",
|
|
940
|
+
DA_DK: "da-DK",
|
|
939
941
|
DE_CH: "de-CH",
|
|
940
942
|
DE_DE: "de-DE",
|
|
941
943
|
EN_AB: "en-AB",
|
|
@@ -949,14 +951,22 @@ var VocabularyLanguageCode = {
|
|
|
949
951
|
EN_ZA: "en-ZA",
|
|
950
952
|
ES_ES: "es-ES",
|
|
951
953
|
ES_US: "es-US",
|
|
954
|
+
FI_FI: "fi-FI",
|
|
952
955
|
FR_CA: "fr-CA",
|
|
953
956
|
FR_FR: "fr-FR",
|
|
954
957
|
HI_IN: "hi-IN",
|
|
958
|
+
ID_ID: "id-ID",
|
|
955
959
|
IT_IT: "it-IT",
|
|
956
960
|
JA_JP: "ja-JP",
|
|
957
961
|
KO_KR: "ko-KR",
|
|
962
|
+
MS_MY: "ms-MY",
|
|
963
|
+
NL_NL: "nl-NL",
|
|
964
|
+
NO_NO: "no-NO",
|
|
965
|
+
PL_PL: "pl-PL",
|
|
958
966
|
PT_BR: "pt-BR",
|
|
959
967
|
PT_PT: "pt-PT",
|
|
968
|
+
SV_SE: "sv-SE",
|
|
969
|
+
TL_PH: "tl-PH",
|
|
960
970
|
ZH_CN: "zh-CN"
|
|
961
971
|
};
|
|
962
972
|
var FlowAssociationResourceType = {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -195,6 +195,8 @@ export class LimitExceededException extends __BaseException {
|
|
|
195
195
|
}
|
|
196
196
|
export const VocabularyLanguageCode = {
|
|
197
197
|
AR_AE: "ar-AE",
|
|
198
|
+
CA_ES: "ca-ES",
|
|
199
|
+
DA_DK: "da-DK",
|
|
198
200
|
DE_CH: "de-CH",
|
|
199
201
|
DE_DE: "de-DE",
|
|
200
202
|
EN_AB: "en-AB",
|
|
@@ -208,14 +210,22 @@ export const VocabularyLanguageCode = {
|
|
|
208
210
|
EN_ZA: "en-ZA",
|
|
209
211
|
ES_ES: "es-ES",
|
|
210
212
|
ES_US: "es-US",
|
|
213
|
+
FI_FI: "fi-FI",
|
|
211
214
|
FR_CA: "fr-CA",
|
|
212
215
|
FR_FR: "fr-FR",
|
|
213
216
|
HI_IN: "hi-IN",
|
|
217
|
+
ID_ID: "id-ID",
|
|
214
218
|
IT_IT: "it-IT",
|
|
215
219
|
JA_JP: "ja-JP",
|
|
216
220
|
KO_KR: "ko-KR",
|
|
221
|
+
MS_MY: "ms-MY",
|
|
222
|
+
NL_NL: "nl-NL",
|
|
223
|
+
NO_NO: "no-NO",
|
|
224
|
+
PL_PL: "pl-PL",
|
|
217
225
|
PT_BR: "pt-BR",
|
|
218
226
|
PT_PT: "pt-PT",
|
|
227
|
+
SV_SE: "sv-SE",
|
|
228
|
+
TL_PH: "tl-PH",
|
|
219
229
|
ZH_CN: "zh-CN",
|
|
220
230
|
};
|
|
221
231
|
export const FlowAssociationResourceType = {
|
|
@@ -37,7 +37,7 @@ declare const AssociateDefaultVocabularyCommand_base: {
|
|
|
37
37
|
* const client = new ConnectClient(config);
|
|
38
38
|
* const input = { // AssociateDefaultVocabularyRequest
|
|
39
39
|
* InstanceId: "STRING_VALUE", // required
|
|
40
|
-
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
|
|
40
|
+
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
|
|
41
41
|
* VocabularyId: "STRING_VALUE",
|
|
42
42
|
* };
|
|
43
43
|
* const command = new AssociateDefaultVocabularyCommand(input);
|
|
@@ -40,7 +40,7 @@ declare const CreateVocabularyCommand_base: {
|
|
|
40
40
|
* ClientToken: "STRING_VALUE",
|
|
41
41
|
* InstanceId: "STRING_VALUE", // required
|
|
42
42
|
* VocabularyName: "STRING_VALUE", // required
|
|
43
|
-
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
|
|
43
|
+
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
|
|
44
44
|
* Content: "STRING_VALUE", // required
|
|
45
45
|
* Tags: { // TagMap
|
|
46
46
|
* "<keys>": "STRING_VALUE",
|
|
@@ -45,7 +45,7 @@ declare const DescribeVocabularyCommand_base: {
|
|
|
45
45
|
* // Name: "STRING_VALUE", // required
|
|
46
46
|
* // Id: "STRING_VALUE", // required
|
|
47
47
|
* // Arn: "STRING_VALUE", // required
|
|
48
|
-
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
|
|
48
|
+
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
|
|
49
49
|
* // State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS", // required
|
|
50
50
|
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
51
51
|
* // FailureReason: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ declare const ListDefaultVocabulariesCommand_base: {
|
|
|
36
36
|
* const client = new ConnectClient(config);
|
|
37
37
|
* const input = { // ListDefaultVocabulariesRequest
|
|
38
38
|
* InstanceId: "STRING_VALUE", // required
|
|
39
|
-
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA",
|
|
39
|
+
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH",
|
|
40
40
|
* MaxResults: Number("int"),
|
|
41
41
|
* NextToken: "STRING_VALUE",
|
|
42
42
|
* };
|
|
@@ -46,7 +46,7 @@ declare const ListDefaultVocabulariesCommand_base: {
|
|
|
46
46
|
* // DefaultVocabularyList: [ // DefaultVocabularyList // required
|
|
47
47
|
* // { // DefaultVocabulary
|
|
48
48
|
* // InstanceId: "STRING_VALUE", // required
|
|
49
|
-
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
|
|
49
|
+
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
|
|
50
50
|
* // VocabularyId: "STRING_VALUE", // required
|
|
51
51
|
* // VocabularyName: "STRING_VALUE", // required
|
|
52
52
|
* // },
|
|
@@ -41,7 +41,7 @@ declare const SearchVocabulariesCommand_base: {
|
|
|
41
41
|
* NextToken: "STRING_VALUE",
|
|
42
42
|
* State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS",
|
|
43
43
|
* NameStartsWith: "STRING_VALUE",
|
|
44
|
-
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA",
|
|
44
|
+
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH",
|
|
45
45
|
* };
|
|
46
46
|
* const command = new SearchVocabulariesCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
@@ -51,7 +51,7 @@ declare const SearchVocabulariesCommand_base: {
|
|
|
51
51
|
* // Name: "STRING_VALUE", // required
|
|
52
52
|
* // Id: "STRING_VALUE", // required
|
|
53
53
|
* // Arn: "STRING_VALUE", // required
|
|
54
|
-
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
|
|
54
|
+
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
|
|
55
55
|
* // State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS", // required
|
|
56
56
|
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
57
57
|
* // FailureReason: "STRING_VALUE",
|
|
@@ -1010,6 +1010,8 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
1010
1010
|
*/
|
|
1011
1011
|
export declare const VocabularyLanguageCode: {
|
|
1012
1012
|
readonly AR_AE: "ar-AE";
|
|
1013
|
+
readonly CA_ES: "ca-ES";
|
|
1014
|
+
readonly DA_DK: "da-DK";
|
|
1013
1015
|
readonly DE_CH: "de-CH";
|
|
1014
1016
|
readonly DE_DE: "de-DE";
|
|
1015
1017
|
readonly EN_AB: "en-AB";
|
|
@@ -1023,14 +1025,22 @@ export declare const VocabularyLanguageCode: {
|
|
|
1023
1025
|
readonly EN_ZA: "en-ZA";
|
|
1024
1026
|
readonly ES_ES: "es-ES";
|
|
1025
1027
|
readonly ES_US: "es-US";
|
|
1028
|
+
readonly FI_FI: "fi-FI";
|
|
1026
1029
|
readonly FR_CA: "fr-CA";
|
|
1027
1030
|
readonly FR_FR: "fr-FR";
|
|
1028
1031
|
readonly HI_IN: "hi-IN";
|
|
1032
|
+
readonly ID_ID: "id-ID";
|
|
1029
1033
|
readonly IT_IT: "it-IT";
|
|
1030
1034
|
readonly JA_JP: "ja-JP";
|
|
1031
1035
|
readonly KO_KR: "ko-KR";
|
|
1036
|
+
readonly MS_MY: "ms-MY";
|
|
1037
|
+
readonly NL_NL: "nl-NL";
|
|
1038
|
+
readonly NO_NO: "no-NO";
|
|
1039
|
+
readonly PL_PL: "pl-PL";
|
|
1032
1040
|
readonly PT_BR: "pt-BR";
|
|
1033
1041
|
readonly PT_PT: "pt-PT";
|
|
1042
|
+
readonly SV_SE: "sv-SE";
|
|
1043
|
+
readonly TL_PH: "tl-PH";
|
|
1034
1044
|
readonly ZH_CN: "zh-CN";
|
|
1035
1045
|
};
|
|
1036
1046
|
/**
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -18,6 +18,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
18
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
apiVersion: string;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
24
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -34,6 +35,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
34
35
|
logger?: import("@smithy/types").Logger | undefined;
|
|
35
36
|
}) => import("@smithy/types").EndpointV2;
|
|
36
37
|
tls?: boolean | undefined;
|
|
38
|
+
serviceConfiguredEndpoint?: undefined;
|
|
37
39
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
40
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
|
|
39
41
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
+
cacheMiddleware?: boolean | undefined;
|
|
10
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -33,6 +34,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
33
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
34
35
|
}) => import("@smithy/types").EndpointV2;
|
|
35
36
|
tls?: boolean | undefined;
|
|
37
|
+
serviceConfiguredEndpoint?: undefined;
|
|
36
38
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
39
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
|
|
38
40
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -336,6 +336,8 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
336
336
|
}
|
|
337
337
|
export declare const VocabularyLanguageCode: {
|
|
338
338
|
readonly AR_AE: "ar-AE";
|
|
339
|
+
readonly CA_ES: "ca-ES";
|
|
340
|
+
readonly DA_DK: "da-DK";
|
|
339
341
|
readonly DE_CH: "de-CH";
|
|
340
342
|
readonly DE_DE: "de-DE";
|
|
341
343
|
readonly EN_AB: "en-AB";
|
|
@@ -349,14 +351,22 @@ export declare const VocabularyLanguageCode: {
|
|
|
349
351
|
readonly EN_ZA: "en-ZA";
|
|
350
352
|
readonly ES_ES: "es-ES";
|
|
351
353
|
readonly ES_US: "es-US";
|
|
354
|
+
readonly FI_FI: "fi-FI";
|
|
352
355
|
readonly FR_CA: "fr-CA";
|
|
353
356
|
readonly FR_FR: "fr-FR";
|
|
354
357
|
readonly HI_IN: "hi-IN";
|
|
358
|
+
readonly ID_ID: "id-ID";
|
|
355
359
|
readonly IT_IT: "it-IT";
|
|
356
360
|
readonly JA_JP: "ja-JP";
|
|
357
361
|
readonly KO_KR: "ko-KR";
|
|
362
|
+
readonly MS_MY: "ms-MY";
|
|
363
|
+
readonly NL_NL: "nl-NL";
|
|
364
|
+
readonly NO_NO: "no-NO";
|
|
365
|
+
readonly PL_PL: "pl-PL";
|
|
358
366
|
readonly PT_BR: "pt-BR";
|
|
359
367
|
readonly PT_PT: "pt-PT";
|
|
368
|
+
readonly SV_SE: "sv-SE";
|
|
369
|
+
readonly TL_PH: "tl-PH";
|
|
360
370
|
readonly ZH_CN: "zh-CN";
|
|
361
371
|
};
|
|
362
372
|
export type VocabularyLanguageCode =
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
25
25
|
apiVersion: string;
|
|
26
|
+
cacheMiddleware?: boolean | undefined;
|
|
26
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
27
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
28
29
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -61,6 +62,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
61
62
|
}
|
|
62
63
|
) => import("@smithy/types").EndpointV2;
|
|
63
64
|
tls?: boolean | undefined;
|
|
65
|
+
serviceConfiguredEndpoint?: undefined;
|
|
64
66
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
65
67
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
|
|
66
68
|
credentials?:
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
27
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
29
|
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
30
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
31
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
32
33
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -65,6 +66,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
65
66
|
}
|
|
66
67
|
) => import("@smithy/types").EndpointV2;
|
|
67
68
|
tls?: boolean | undefined;
|
|
69
|
+
serviceConfiguredEndpoint?: undefined;
|
|
68
70
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
69
71
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
|
|
70
72
|
credentials?:
|
|
@@ -9,6 +9,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
9
9
|
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
10
|
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
12
13
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
14
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
14
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -55,6 +56,7 @@ export declare const getRuntimeConfig: (config: ConnectClientConfig) => {
|
|
|
55
56
|
}
|
|
56
57
|
) => import("@smithy/types").EndpointV2;
|
|
57
58
|
tls?: boolean | undefined;
|
|
59
|
+
serviceConfiguredEndpoint?: undefined;
|
|
58
60
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
59
61
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ConnectHttpAuthSchemeProvider;
|
|
60
62
|
credentials?:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.649.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connect",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.4.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.649.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.649.0",
|
|
25
|
+
"@aws-sdk/core": "3.649.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.649.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.649.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.649.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.649.0",
|
|
32
|
+
"@aws-sdk/types": "3.649.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.649.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.649.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.649.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.6",
|
|
37
|
+
"@smithy/core": "^2.4.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.5",
|
|
39
|
+
"@smithy/hash-node": "^3.0.4",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.4",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.6",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.16",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.4",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.4",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.1",
|
|
49
|
+
"@smithy/smithy-client": "^3.3.0",
|
|
50
|
+
"@smithy/types": "^3.4.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.4",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.16",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.16",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.0",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.4",
|
|
59
|
+
"@smithy/util-retry": "^3.0.4",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|