@aws-sdk/client-pinpoint-sms-voice 3.54.0 → 3.56.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/CHANGELOG.md +24 -0
- package/dist-cjs/PinpointSMSVoiceClient.js +13 -13
- package/dist-cjs/commands/CreateConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/CreateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/commands/GetConfigurationSetEventDestinationsCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationSetsCommand.js +3 -3
- package/dist-cjs/commands/SendVoiceMessageCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationSetEventDestinationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +41 -41
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/PinpointSMSVoice.js +8 -8
- package/dist-es/protocols/Aws_restJson1.js +8 -8
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-pinpoint-sms-voice
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-pinpoint-sms-voice
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-pinpoint-sms-voice
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-pinpoint-sms-voice
|
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class PinpointSMSVoiceClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
30
|
}
|
|
31
31
|
destroy() {
|
|
32
32
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class CreateConfigurationSetCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "PinpointSMSVoiceClient";
|
|
@@ -27,10 +27,10 @@ class CreateConfigurationSetCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CreateConfigurationSetCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateConfigurationSetCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateConfigurationSetCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateConfigurationSetCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateConfigurationSetCommand = CreateConfigurationSetCommand;
|
|
@@ -11,7 +11,7 @@ class CreateConfigurationSetEventDestinationCommand extends smithy_client_1.Comm
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "PinpointSMSVoiceClient";
|
|
@@ -27,10 +27,10 @@ class CreateConfigurationSetEventDestinationCommand extends smithy_client_1.Comm
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1CreateConfigurationSetEventDestinationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateConfigurationSetEventDestinationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1CreateConfigurationSetEventDestinationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateConfigurationSetEventDestinationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.CreateConfigurationSetEventDestinationCommand = CreateConfigurationSetEventDestinationCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteConfigurationSetCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "PinpointSMSVoiceClient";
|
|
@@ -27,10 +27,10 @@ class DeleteConfigurationSetCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DeleteConfigurationSetCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteConfigurationSetCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DeleteConfigurationSetCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteConfigurationSetCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteConfigurationSetCommand = DeleteConfigurationSetCommand;
|
|
@@ -11,7 +11,7 @@ class DeleteConfigurationSetEventDestinationCommand extends smithy_client_1.Comm
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "PinpointSMSVoiceClient";
|
|
@@ -27,10 +27,10 @@ class DeleteConfigurationSetEventDestinationCommand extends smithy_client_1.Comm
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DeleteConfigurationSetEventDestinationCommand = DeleteConfigurationSetEventDestinationCommand;
|
|
@@ -11,7 +11,7 @@ class GetConfigurationSetEventDestinationsCommand extends smithy_client_1.Comman
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "PinpointSMSVoiceClient";
|
|
@@ -27,10 +27,10 @@ class GetConfigurationSetEventDestinationsCommand extends smithy_client_1.Comman
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetConfigurationSetEventDestinationsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetConfigurationSetEventDestinationsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetConfigurationSetEventDestinationsCommand = GetConfigurationSetEventDestinationsCommand;
|
|
@@ -11,7 +11,7 @@ class ListConfigurationSetsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "PinpointSMSVoiceClient";
|
|
@@ -27,10 +27,10 @@ class ListConfigurationSetsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListConfigurationSetsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListConfigurationSetsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListConfigurationSetsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListConfigurationSetsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListConfigurationSetsCommand = ListConfigurationSetsCommand;
|
|
@@ -11,7 +11,7 @@ class SendVoiceMessageCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "PinpointSMSVoiceClient";
|
|
@@ -27,10 +27,10 @@ class SendVoiceMessageCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1SendVoiceMessageCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1SendVoiceMessageCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1SendVoiceMessageCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1SendVoiceMessageCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.SendVoiceMessageCommand = SendVoiceMessageCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateConfigurationSetEventDestinationCommand extends smithy_client_1.Comm
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "PinpointSMSVoiceClient";
|
|
@@ -27,10 +27,10 @@ class UpdateConfigurationSetEventDestinationCommand extends smithy_client_1.Comm
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateConfigurationSetEventDestinationCommand = UpdateConfigurationSetEventDestinationCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "sms-voice",
|
|
128
128
|
regionHash,
|
|
@@ -39,7 +39,7 @@ const serializeAws_restJson1CreateConfigurationSetEventDestinationCommand = asyn
|
|
|
39
39
|
if (labelValue.length <= 0) {
|
|
40
40
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
41
41
|
}
|
|
42
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
42
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
45
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -74,7 +74,7 @@ const serializeAws_restJson1DeleteConfigurationSetCommand = async (input, contex
|
|
|
74
74
|
if (labelValue.length <= 0) {
|
|
75
75
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
76
76
|
}
|
|
77
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
77
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
78
78
|
}
|
|
79
79
|
else {
|
|
80
80
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -101,7 +101,7 @@ const serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = asyn
|
|
|
101
101
|
if (labelValue.length <= 0) {
|
|
102
102
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
103
103
|
}
|
|
104
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
104
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
105
105
|
}
|
|
106
106
|
else {
|
|
107
107
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -111,7 +111,7 @@ const serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = asyn
|
|
|
111
111
|
if (labelValue.length <= 0) {
|
|
112
112
|
throw new Error("Empty value provided for input HTTP label: EventDestinationName.");
|
|
113
113
|
}
|
|
114
|
-
resolvedPath = resolvedPath.replace("{EventDestinationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
114
|
+
resolvedPath = resolvedPath.replace("{EventDestinationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
115
115
|
}
|
|
116
116
|
else {
|
|
117
117
|
throw new Error("No value provided for input HTTP label: EventDestinationName.");
|
|
@@ -138,7 +138,7 @@ const serializeAws_restJson1GetConfigurationSetEventDestinationsCommand = async
|
|
|
138
138
|
if (labelValue.length <= 0) {
|
|
139
139
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
140
140
|
}
|
|
141
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
141
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
144
144
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -217,7 +217,7 @@ const serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = asyn
|
|
|
217
217
|
if (labelValue.length <= 0) {
|
|
218
218
|
throw new Error("Empty value provided for input HTTP label: ConfigurationSetName.");
|
|
219
219
|
}
|
|
220
|
-
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
220
|
+
resolvedPath = resolvedPath.replace("{ConfigurationSetName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
221
221
|
}
|
|
222
222
|
else {
|
|
223
223
|
throw new Error("No value provided for input HTTP label: ConfigurationSetName.");
|
|
@@ -227,7 +227,7 @@ const serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = asyn
|
|
|
227
227
|
if (labelValue.length <= 0) {
|
|
228
228
|
throw new Error("Empty value provided for input HTTP label: EventDestinationName.");
|
|
229
229
|
}
|
|
230
|
-
resolvedPath = resolvedPath.replace("{EventDestinationName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
230
|
+
resolvedPath = resolvedPath.replace("{EventDestinationName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
231
231
|
}
|
|
232
232
|
else {
|
|
233
233
|
throw new Error("No value provided for input HTTP label: EventDestinationName.");
|
|
@@ -292,7 +292,7 @@ const deserializeAws_restJson1CreateConfigurationSetCommandError = async (output
|
|
|
292
292
|
$fault: "client",
|
|
293
293
|
$metadata: deserializeMetadata(output),
|
|
294
294
|
});
|
|
295
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
295
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
298
|
const deserializeAws_restJson1CreateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -340,7 +340,7 @@ const deserializeAws_restJson1CreateConfigurationSetEventDestinationCommandError
|
|
|
340
340
|
$fault: "client",
|
|
341
341
|
$metadata: deserializeMetadata(output),
|
|
342
342
|
});
|
|
343
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
343
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
346
|
const deserializeAws_restJson1DeleteConfigurationSetCommand = async (output, context) => {
|
|
@@ -382,7 +382,7 @@ const deserializeAws_restJson1DeleteConfigurationSetCommandError = async (output
|
|
|
382
382
|
$fault: "client",
|
|
383
383
|
$metadata: deserializeMetadata(output),
|
|
384
384
|
});
|
|
385
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
385
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
const deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -424,7 +424,7 @@ const deserializeAws_restJson1DeleteConfigurationSetEventDestinationCommandError
|
|
|
424
424
|
$fault: "client",
|
|
425
425
|
$metadata: deserializeMetadata(output),
|
|
426
426
|
});
|
|
427
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
427
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand = async (output, context) => {
|
|
@@ -435,7 +435,7 @@ const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommand = asyn
|
|
|
435
435
|
$metadata: deserializeMetadata(output),
|
|
436
436
|
EventDestinations: undefined,
|
|
437
437
|
};
|
|
438
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
438
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
439
439
|
if (data.EventDestinations !== undefined && data.EventDestinations !== null) {
|
|
440
440
|
contents.EventDestinations = deserializeAws_restJson1EventDestinations(data.EventDestinations, context);
|
|
441
441
|
}
|
|
@@ -470,7 +470,7 @@ const deserializeAws_restJson1GetConfigurationSetEventDestinationsCommandError =
|
|
|
470
470
|
$fault: "client",
|
|
471
471
|
$metadata: deserializeMetadata(output),
|
|
472
472
|
});
|
|
473
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
473
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
476
|
const deserializeAws_restJson1ListConfigurationSetsCommand = async (output, context) => {
|
|
@@ -482,12 +482,12 @@ const deserializeAws_restJson1ListConfigurationSetsCommand = async (output, cont
|
|
|
482
482
|
ConfigurationSets: undefined,
|
|
483
483
|
NextToken: undefined,
|
|
484
484
|
};
|
|
485
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
485
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
486
486
|
if (data.ConfigurationSets !== undefined && data.ConfigurationSets !== null) {
|
|
487
487
|
contents.ConfigurationSets = deserializeAws_restJson1ConfigurationSets(data.ConfigurationSets, context);
|
|
488
488
|
}
|
|
489
489
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
490
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
490
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
491
491
|
}
|
|
492
492
|
return Promise.resolve(contents);
|
|
493
493
|
};
|
|
@@ -517,7 +517,7 @@ const deserializeAws_restJson1ListConfigurationSetsCommandError = async (output,
|
|
|
517
517
|
$fault: "client",
|
|
518
518
|
$metadata: deserializeMetadata(output),
|
|
519
519
|
});
|
|
520
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
520
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
521
521
|
}
|
|
522
522
|
};
|
|
523
523
|
const deserializeAws_restJson1SendVoiceMessageCommand = async (output, context) => {
|
|
@@ -528,9 +528,9 @@ const deserializeAws_restJson1SendVoiceMessageCommand = async (output, context)
|
|
|
528
528
|
$metadata: deserializeMetadata(output),
|
|
529
529
|
MessageId: undefined,
|
|
530
530
|
};
|
|
531
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
531
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
532
532
|
if (data.MessageId !== undefined && data.MessageId !== null) {
|
|
533
|
-
contents.MessageId = smithy_client_1.expectString(data.MessageId);
|
|
533
|
+
contents.MessageId = (0, smithy_client_1.expectString)(data.MessageId);
|
|
534
534
|
}
|
|
535
535
|
return Promise.resolve(contents);
|
|
536
536
|
};
|
|
@@ -560,7 +560,7 @@ const deserializeAws_restJson1SendVoiceMessageCommandError = async (output, cont
|
|
|
560
560
|
$fault: "client",
|
|
561
561
|
$metadata: deserializeMetadata(output),
|
|
562
562
|
});
|
|
563
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
563
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
566
|
const deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommand = async (output, context) => {
|
|
@@ -602,80 +602,80 @@ const deserializeAws_restJson1UpdateConfigurationSetEventDestinationCommandError
|
|
|
602
602
|
$fault: "client",
|
|
603
603
|
$metadata: deserializeMetadata(output),
|
|
604
604
|
});
|
|
605
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
605
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
608
|
const deserializeAws_restJson1AlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
609
609
|
const contents = {};
|
|
610
610
|
const data = parsedOutput.body;
|
|
611
611
|
if (data.Message !== undefined && data.Message !== null) {
|
|
612
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
612
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
613
613
|
}
|
|
614
614
|
const exception = new models_0_1.AlreadyExistsException({
|
|
615
615
|
$metadata: deserializeMetadata(parsedOutput),
|
|
616
616
|
...contents,
|
|
617
617
|
});
|
|
618
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
618
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
619
619
|
};
|
|
620
620
|
const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
|
|
621
621
|
const contents = {};
|
|
622
622
|
const data = parsedOutput.body;
|
|
623
623
|
if (data.Message !== undefined && data.Message !== null) {
|
|
624
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
624
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
625
625
|
}
|
|
626
626
|
const exception = new models_0_1.BadRequestException({
|
|
627
627
|
$metadata: deserializeMetadata(parsedOutput),
|
|
628
628
|
...contents,
|
|
629
629
|
});
|
|
630
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
630
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
631
631
|
};
|
|
632
632
|
const deserializeAws_restJson1InternalServiceErrorExceptionResponse = async (parsedOutput, context) => {
|
|
633
633
|
const contents = {};
|
|
634
634
|
const data = parsedOutput.body;
|
|
635
635
|
if (data.Message !== undefined && data.Message !== null) {
|
|
636
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
636
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
637
637
|
}
|
|
638
638
|
const exception = new models_0_1.InternalServiceErrorException({
|
|
639
639
|
$metadata: deserializeMetadata(parsedOutput),
|
|
640
640
|
...contents,
|
|
641
641
|
});
|
|
642
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
642
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
643
643
|
};
|
|
644
644
|
const deserializeAws_restJson1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
645
645
|
const contents = {};
|
|
646
646
|
const data = parsedOutput.body;
|
|
647
647
|
if (data.Message !== undefined && data.Message !== null) {
|
|
648
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
648
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
649
649
|
}
|
|
650
650
|
const exception = new models_0_1.LimitExceededException({
|
|
651
651
|
$metadata: deserializeMetadata(parsedOutput),
|
|
652
652
|
...contents,
|
|
653
653
|
});
|
|
654
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
654
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
655
655
|
};
|
|
656
656
|
const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
657
657
|
const contents = {};
|
|
658
658
|
const data = parsedOutput.body;
|
|
659
659
|
if (data.Message !== undefined && data.Message !== null) {
|
|
660
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
660
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
661
661
|
}
|
|
662
662
|
const exception = new models_0_1.NotFoundException({
|
|
663
663
|
$metadata: deserializeMetadata(parsedOutput),
|
|
664
664
|
...contents,
|
|
665
665
|
});
|
|
666
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
666
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
667
667
|
};
|
|
668
668
|
const deserializeAws_restJson1TooManyRequestsExceptionResponse = async (parsedOutput, context) => {
|
|
669
669
|
const contents = {};
|
|
670
670
|
const data = parsedOutput.body;
|
|
671
671
|
if (data.Message !== undefined && data.Message !== null) {
|
|
672
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
672
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
673
673
|
}
|
|
674
674
|
const exception = new models_0_1.TooManyRequestsException({
|
|
675
675
|
$metadata: deserializeMetadata(parsedOutput),
|
|
676
676
|
...contents,
|
|
677
677
|
});
|
|
678
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
678
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
679
679
|
};
|
|
680
680
|
const serializeAws_restJson1CallInstructionsMessageType = (input, context) => {
|
|
681
681
|
return {
|
|
@@ -761,8 +761,8 @@ const serializeAws_restJson1VoiceMessageContent = (input, context) => {
|
|
|
761
761
|
};
|
|
762
762
|
const deserializeAws_restJson1CloudWatchLogsDestination = (output, context) => {
|
|
763
763
|
return {
|
|
764
|
-
IamRoleArn: smithy_client_1.expectString(output.IamRoleArn),
|
|
765
|
-
LogGroupArn: smithy_client_1.expectString(output.LogGroupArn),
|
|
764
|
+
IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
|
|
765
|
+
LogGroupArn: (0, smithy_client_1.expectString)(output.LogGroupArn),
|
|
766
766
|
};
|
|
767
767
|
};
|
|
768
768
|
const deserializeAws_restJson1ConfigurationSets = (output, context) => {
|
|
@@ -772,7 +772,7 @@ const deserializeAws_restJson1ConfigurationSets = (output, context) => {
|
|
|
772
772
|
if (entry === null) {
|
|
773
773
|
return null;
|
|
774
774
|
}
|
|
775
|
-
return smithy_client_1.expectString(entry);
|
|
775
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
776
776
|
});
|
|
777
777
|
return retVal;
|
|
778
778
|
};
|
|
@@ -781,14 +781,14 @@ const deserializeAws_restJson1EventDestination = (output, context) => {
|
|
|
781
781
|
CloudWatchLogsDestination: output.CloudWatchLogsDestination !== undefined && output.CloudWatchLogsDestination !== null
|
|
782
782
|
? deserializeAws_restJson1CloudWatchLogsDestination(output.CloudWatchLogsDestination, context)
|
|
783
783
|
: undefined,
|
|
784
|
-
Enabled: smithy_client_1.expectBoolean(output.Enabled),
|
|
784
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
785
785
|
KinesisFirehoseDestination: output.KinesisFirehoseDestination !== undefined && output.KinesisFirehoseDestination !== null
|
|
786
786
|
? deserializeAws_restJson1KinesisFirehoseDestination(output.KinesisFirehoseDestination, context)
|
|
787
787
|
: undefined,
|
|
788
788
|
MatchingEventTypes: output.MatchingEventTypes !== undefined && output.MatchingEventTypes !== null
|
|
789
789
|
? deserializeAws_restJson1EventTypes(output.MatchingEventTypes, context)
|
|
790
790
|
: undefined,
|
|
791
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
791
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
792
792
|
SnsDestination: output.SnsDestination !== undefined && output.SnsDestination !== null
|
|
793
793
|
? deserializeAws_restJson1SnsDestination(output.SnsDestination, context)
|
|
794
794
|
: undefined,
|
|
@@ -812,19 +812,19 @@ const deserializeAws_restJson1EventTypes = (output, context) => {
|
|
|
812
812
|
if (entry === null) {
|
|
813
813
|
return null;
|
|
814
814
|
}
|
|
815
|
-
return smithy_client_1.expectString(entry);
|
|
815
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
816
816
|
});
|
|
817
817
|
return retVal;
|
|
818
818
|
};
|
|
819
819
|
const deserializeAws_restJson1KinesisFirehoseDestination = (output, context) => {
|
|
820
820
|
return {
|
|
821
|
-
DeliveryStreamArn: smithy_client_1.expectString(output.DeliveryStreamArn),
|
|
822
|
-
IamRoleArn: smithy_client_1.expectString(output.IamRoleArn),
|
|
821
|
+
DeliveryStreamArn: (0, smithy_client_1.expectString)(output.DeliveryStreamArn),
|
|
822
|
+
IamRoleArn: (0, smithy_client_1.expectString)(output.IamRoleArn),
|
|
823
823
|
};
|
|
824
824
|
};
|
|
825
825
|
const deserializeAws_restJson1SnsDestination = (output, context) => {
|
|
826
826
|
return {
|
|
827
|
-
TopicArn: smithy_client_1.expectString(output.TopicArn),
|
|
827
|
+
TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
|
|
828
828
|
};
|
|
829
829
|
};
|
|
830
830
|
const deserializeMetadata = (output) => {
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -20,7 +20,7 @@ var PinpointSMSVoice = (function (_super) {
|
|
|
20
20
|
}
|
|
21
21
|
else if (typeof cb === "function") {
|
|
22
22
|
if (typeof optionsOrCb !== "object")
|
|
23
|
-
throw new Error("Expect http options but get "
|
|
23
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
24
24
|
this.send(command, optionsOrCb || {}, cb);
|
|
25
25
|
}
|
|
26
26
|
else {
|
|
@@ -34,7 +34,7 @@ var PinpointSMSVoice = (function (_super) {
|
|
|
34
34
|
}
|
|
35
35
|
else if (typeof cb === "function") {
|
|
36
36
|
if (typeof optionsOrCb !== "object")
|
|
37
|
-
throw new Error("Expect http options but get "
|
|
37
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
38
38
|
this.send(command, optionsOrCb || {}, cb);
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
@@ -48,7 +48,7 @@ var PinpointSMSVoice = (function (_super) {
|
|
|
48
48
|
}
|
|
49
49
|
else if (typeof cb === "function") {
|
|
50
50
|
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error("Expect http options but get "
|
|
51
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
52
52
|
this.send(command, optionsOrCb || {}, cb);
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
@@ -62,7 +62,7 @@ var PinpointSMSVoice = (function (_super) {
|
|
|
62
62
|
}
|
|
63
63
|
else if (typeof cb === "function") {
|
|
64
64
|
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error("Expect http options but get "
|
|
65
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
66
66
|
this.send(command, optionsOrCb || {}, cb);
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
@@ -76,7 +76,7 @@ var PinpointSMSVoice = (function (_super) {
|
|
|
76
76
|
}
|
|
77
77
|
else if (typeof cb === "function") {
|
|
78
78
|
if (typeof optionsOrCb !== "object")
|
|
79
|
-
throw new Error("Expect http options but get "
|
|
79
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
80
80
|
this.send(command, optionsOrCb || {}, cb);
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
@@ -90,7 +90,7 @@ var PinpointSMSVoice = (function (_super) {
|
|
|
90
90
|
}
|
|
91
91
|
else if (typeof cb === "function") {
|
|
92
92
|
if (typeof optionsOrCb !== "object")
|
|
93
|
-
throw new Error("Expect http options but get "
|
|
93
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
94
94
|
this.send(command, optionsOrCb || {}, cb);
|
|
95
95
|
}
|
|
96
96
|
else {
|
|
@@ -104,7 +104,7 @@ var PinpointSMSVoice = (function (_super) {
|
|
|
104
104
|
}
|
|
105
105
|
else if (typeof cb === "function") {
|
|
106
106
|
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error("Expect http options but get "
|
|
107
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
108
108
|
this.send(command, optionsOrCb || {}, cb);
|
|
109
109
|
}
|
|
110
110
|
else {
|
|
@@ -118,7 +118,7 @@ var PinpointSMSVoice = (function (_super) {
|
|
|
118
118
|
}
|
|
119
119
|
else if (typeof cb === "function") {
|
|
120
120
|
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error("Expect http options but get "
|
|
121
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
122
122
|
this.send(command, optionsOrCb || {}, cb);
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1CreateConfigurationSetCommand = function (input
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/sms-voice/configuration-sets";
|
|
17
17
|
body = JSON.stringify(__assign({}, (input.ConfigurationSetName !== undefined &&
|
|
18
18
|
input.ConfigurationSetName !== null && { ConfigurationSetName: input.ConfigurationSetName })));
|
|
19
19
|
return [2, new __HttpRequest({
|
|
@@ -38,7 +38,7 @@ export var serializeAws_restJson1CreateConfigurationSetEventDestinationCommand =
|
|
|
38
38
|
headers = {
|
|
39
39
|
"content-type": "application/json",
|
|
40
40
|
};
|
|
41
|
-
resolvedPath = ""
|
|
41
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
42
42
|
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations";
|
|
43
43
|
if (input.ConfigurationSetName !== undefined) {
|
|
44
44
|
labelValue = input.ConfigurationSetName;
|
|
@@ -75,7 +75,7 @@ export var serializeAws_restJson1DeleteConfigurationSetCommand = function (input
|
|
|
75
75
|
case 1:
|
|
76
76
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
77
77
|
headers = {};
|
|
78
|
-
resolvedPath = ""
|
|
78
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
79
79
|
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}";
|
|
80
80
|
if (input.ConfigurationSetName !== undefined) {
|
|
81
81
|
labelValue = input.ConfigurationSetName;
|
|
@@ -107,7 +107,7 @@ export var serializeAws_restJson1DeleteConfigurationSetEventDestinationCommand =
|
|
|
107
107
|
case 1:
|
|
108
108
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
109
109
|
headers = {};
|
|
110
|
-
resolvedPath = ""
|
|
110
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
111
111
|
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}";
|
|
112
112
|
if (input.ConfigurationSetName !== undefined) {
|
|
113
113
|
labelValue = input.ConfigurationSetName;
|
|
@@ -149,7 +149,7 @@ export var serializeAws_restJson1GetConfigurationSetEventDestinationsCommand = f
|
|
|
149
149
|
case 1:
|
|
150
150
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
151
151
|
headers = {};
|
|
152
|
-
resolvedPath = ""
|
|
152
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
153
153
|
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations";
|
|
154
154
|
if (input.ConfigurationSetName !== undefined) {
|
|
155
155
|
labelValue = input.ConfigurationSetName;
|
|
@@ -181,7 +181,7 @@ export var serializeAws_restJson1ListConfigurationSetsCommand = function (input,
|
|
|
181
181
|
case 1:
|
|
182
182
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
183
183
|
headers = {};
|
|
184
|
-
resolvedPath = ""
|
|
184
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/sms-voice/configuration-sets";
|
|
185
185
|
query = __assign(__assign({}, (input.NextToken !== undefined && { NextToken: input.NextToken })), (input.PageSize !== undefined && { PageSize: input.PageSize }));
|
|
186
186
|
return [2, new __HttpRequest({
|
|
187
187
|
protocol: protocol,
|
|
@@ -206,7 +206,7 @@ export var serializeAws_restJson1SendVoiceMessageCommand = function (input, cont
|
|
|
206
206
|
headers = {
|
|
207
207
|
"content-type": "application/json",
|
|
208
208
|
};
|
|
209
|
-
resolvedPath = ""
|
|
209
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/sms-voice/voice/message";
|
|
210
210
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.CallerId !== undefined && input.CallerId !== null && { CallerId: input.CallerId })), (input.ConfigurationSetName !== undefined &&
|
|
211
211
|
input.ConfigurationSetName !== null && { ConfigurationSetName: input.ConfigurationSetName })), (input.Content !== undefined &&
|
|
212
212
|
input.Content !== null && { Content: serializeAws_restJson1VoiceMessageContent(input.Content, context) })), (input.DestinationPhoneNumber !== undefined &&
|
|
@@ -234,7 +234,7 @@ export var serializeAws_restJson1UpdateConfigurationSetEventDestinationCommand =
|
|
|
234
234
|
headers = {
|
|
235
235
|
"content-type": "application/json",
|
|
236
236
|
};
|
|
237
|
-
resolvedPath = ""
|
|
237
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
238
238
|
"/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}";
|
|
239
239
|
if (input.ConfigurationSetName !== undefined) {
|
|
240
240
|
labelValue = input.ConfigurationSetName;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: PinpointSMSVoiceClientConfig) =>
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: PinpointSMSVoiceClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint-sms-voice",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Sms Voice Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.56.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",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.56.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.56.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.56.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.56.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.56.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.56.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.56.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.56.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|