@aws-sdk/client-pinpoint-sms-voice 3.474.0 → 3.477.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.
@@ -1,137 +1,90 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_UpdateConfigurationSetEventDestinationCommand = exports.de_SendVoiceMessageCommand = exports.de_ListConfigurationSetsCommand = exports.de_GetConfigurationSetEventDestinationsCommand = exports.de_DeleteConfigurationSetEventDestinationCommand = exports.de_DeleteConfigurationSetCommand = exports.de_CreateConfigurationSetEventDestinationCommand = exports.de_CreateConfigurationSetCommand = exports.se_UpdateConfigurationSetEventDestinationCommand = exports.se_SendVoiceMessageCommand = exports.se_ListConfigurationSetsCommand = exports.se_GetConfigurationSetEventDestinationsCommand = exports.se_DeleteConfigurationSetEventDestinationCommand = exports.se_DeleteConfigurationSetCommand = exports.se_CreateConfigurationSetEventDestinationCommand = exports.se_CreateConfigurationSetCommand = void 0;
4
- const protocol_http_1 = require("@smithy/protocol-http");
4
+ const core_1 = require("@smithy/core");
5
5
  const smithy_client_1 = require("@smithy/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const PinpointSMSVoiceServiceException_1 = require("../models/PinpointSMSVoiceServiceException");
8
8
  const se_CreateConfigurationSetCommand = async (input, context) => {
9
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
9
+ const b = (0, core_1.requestBuilder)(input, context);
10
10
  const headers = {
11
11
  "content-type": "application/json",
12
12
  };
13
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/sms-voice/configuration-sets";
13
+ b.bp("/v1/sms-voice/configuration-sets");
14
14
  let body;
15
15
  body = JSON.stringify((0, smithy_client_1.take)(input, {
16
16
  ConfigurationSetName: [],
17
17
  }));
18
- return new protocol_http_1.HttpRequest({
19
- protocol,
20
- hostname,
21
- port,
22
- method: "POST",
23
- headers,
24
- path: resolvedPath,
25
- body,
26
- });
18
+ b.m("POST").h(headers).b(body);
19
+ return b.build();
27
20
  };
28
21
  exports.se_CreateConfigurationSetCommand = se_CreateConfigurationSetCommand;
29
22
  const se_CreateConfigurationSetEventDestinationCommand = async (input, context) => {
30
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
23
+ const b = (0, core_1.requestBuilder)(input, context);
31
24
  const headers = {
32
25
  "content-type": "application/json",
33
26
  };
34
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
35
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations";
36
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
27
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations");
28
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
37
29
  let body;
38
30
  body = JSON.stringify((0, smithy_client_1.take)(input, {
39
31
  EventDestination: (_) => (0, smithy_client_1._json)(_),
40
32
  EventDestinationName: [],
41
33
  }));
42
- return new protocol_http_1.HttpRequest({
43
- protocol,
44
- hostname,
45
- port,
46
- method: "POST",
47
- headers,
48
- path: resolvedPath,
49
- body,
50
- });
34
+ b.m("POST").h(headers).b(body);
35
+ return b.build();
51
36
  };
52
37
  exports.se_CreateConfigurationSetEventDestinationCommand = se_CreateConfigurationSetEventDestinationCommand;
53
38
  const se_DeleteConfigurationSetCommand = async (input, context) => {
54
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
39
+ const b = (0, core_1.requestBuilder)(input, context);
55
40
  const headers = {};
56
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
57
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}";
58
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
41
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}");
42
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
59
43
  let body;
60
- return new protocol_http_1.HttpRequest({
61
- protocol,
62
- hostname,
63
- port,
64
- method: "DELETE",
65
- headers,
66
- path: resolvedPath,
67
- body,
68
- });
44
+ b.m("DELETE").h(headers).b(body);
45
+ return b.build();
69
46
  };
70
47
  exports.se_DeleteConfigurationSetCommand = se_DeleteConfigurationSetCommand;
71
48
  const se_DeleteConfigurationSetEventDestinationCommand = async (input, context) => {
72
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
49
+ const b = (0, core_1.requestBuilder)(input, context);
73
50
  const headers = {};
74
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
75
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}";
76
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
77
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
51
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}");
52
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
53
+ b.p("EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
78
54
  let body;
79
- return new protocol_http_1.HttpRequest({
80
- protocol,
81
- hostname,
82
- port,
83
- method: "DELETE",
84
- headers,
85
- path: resolvedPath,
86
- body,
87
- });
55
+ b.m("DELETE").h(headers).b(body);
56
+ return b.build();
88
57
  };
89
58
  exports.se_DeleteConfigurationSetEventDestinationCommand = se_DeleteConfigurationSetEventDestinationCommand;
90
59
  const se_GetConfigurationSetEventDestinationsCommand = async (input, context) => {
91
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
60
+ const b = (0, core_1.requestBuilder)(input, context);
92
61
  const headers = {};
93
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
94
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations";
95
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
62
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations");
63
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
96
64
  let body;
97
- return new protocol_http_1.HttpRequest({
98
- protocol,
99
- hostname,
100
- port,
101
- method: "GET",
102
- headers,
103
- path: resolvedPath,
104
- body,
105
- });
65
+ b.m("GET").h(headers).b(body);
66
+ return b.build();
106
67
  };
107
68
  exports.se_GetConfigurationSetEventDestinationsCommand = se_GetConfigurationSetEventDestinationsCommand;
108
69
  const se_ListConfigurationSetsCommand = async (input, context) => {
109
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
70
+ const b = (0, core_1.requestBuilder)(input, context);
110
71
  const headers = {};
111
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/sms-voice/configuration-sets";
72
+ b.bp("/v1/sms-voice/configuration-sets");
112
73
  const query = (0, smithy_client_1.map)({
113
- NextToken: [, input.NextToken],
114
- PageSize: [, input.PageSize],
74
+ [_NT]: [, input[_NT]],
75
+ [_PS]: [, input[_PS]],
115
76
  });
116
77
  let body;
117
- return new protocol_http_1.HttpRequest({
118
- protocol,
119
- hostname,
120
- port,
121
- method: "GET",
122
- headers,
123
- path: resolvedPath,
124
- query,
125
- body,
126
- });
78
+ b.m("GET").h(headers).q(query).b(body);
79
+ return b.build();
127
80
  };
128
81
  exports.se_ListConfigurationSetsCommand = se_ListConfigurationSetsCommand;
129
82
  const se_SendVoiceMessageCommand = async (input, context) => {
130
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
83
+ const b = (0, core_1.requestBuilder)(input, context);
131
84
  const headers = {
132
85
  "content-type": "application/json",
133
86
  };
134
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/sms-voice/voice/message";
87
+ b.bp("/v1/sms-voice/voice/message");
135
88
  let body;
136
89
  body = JSON.stringify((0, smithy_client_1.take)(input, {
137
90
  CallerId: [],
@@ -140,39 +93,24 @@ const se_SendVoiceMessageCommand = async (input, context) => {
140
93
  DestinationPhoneNumber: [],
141
94
  OriginationPhoneNumber: [],
142
95
  }));
143
- return new protocol_http_1.HttpRequest({
144
- protocol,
145
- hostname,
146
- port,
147
- method: "POST",
148
- headers,
149
- path: resolvedPath,
150
- body,
151
- });
96
+ b.m("POST").h(headers).b(body);
97
+ return b.build();
152
98
  };
153
99
  exports.se_SendVoiceMessageCommand = se_SendVoiceMessageCommand;
154
100
  const se_UpdateConfigurationSetEventDestinationCommand = async (input, context) => {
155
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
101
+ const b = (0, core_1.requestBuilder)(input, context);
156
102
  const headers = {
157
103
  "content-type": "application/json",
158
104
  };
159
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
160
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}";
161
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
162
- resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
105
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}");
106
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
107
+ b.p("EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
163
108
  let body;
164
109
  body = JSON.stringify((0, smithy_client_1.take)(input, {
165
110
  EventDestination: (_) => (0, smithy_client_1._json)(_),
166
111
  }));
167
- return new protocol_http_1.HttpRequest({
168
- protocol,
169
- hostname,
170
- port,
171
- method: "PUT",
172
- headers,
173
- path: resolvedPath,
174
- body,
175
- });
112
+ b.m("PUT").h(headers).b(body);
113
+ return b.build();
176
114
  };
177
115
  exports.se_UpdateConfigurationSetEventDestinationCommand = se_UpdateConfigurationSetEventDestinationCommand;
178
116
  const de_CreateConfigurationSetCommand = async (output, context) => {
@@ -594,6 +532,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
594
532
  value !== "" &&
595
533
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
596
534
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
535
+ const _NT = "NextToken";
536
+ const _PS = "PageSize";
597
537
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
598
538
  if (encoded.length) {
599
539
  return JSON.parse(encoded);
@@ -1,128 +1,81 @@
1
- import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
1
+ import { requestBuilder as rb } from "@smithy/core";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { AlreadyExistsException, BadRequestException, InternalServiceErrorException, LimitExceededException, NotFoundException, TooManyRequestsException, } from "../models/models_0";
4
4
  import { PinpointSMSVoiceServiceException as __BaseException } from "../models/PinpointSMSVoiceServiceException";
5
5
  export const se_CreateConfigurationSetCommand = async (input, context) => {
6
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
6
+ const b = rb(input, context);
7
7
  const headers = {
8
8
  "content-type": "application/json",
9
9
  };
10
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/sms-voice/configuration-sets";
10
+ b.bp("/v1/sms-voice/configuration-sets");
11
11
  let body;
12
12
  body = JSON.stringify(take(input, {
13
13
  ConfigurationSetName: [],
14
14
  }));
15
- return new __HttpRequest({
16
- protocol,
17
- hostname,
18
- port,
19
- method: "POST",
20
- headers,
21
- path: resolvedPath,
22
- body,
23
- });
15
+ b.m("POST").h(headers).b(body);
16
+ return b.build();
24
17
  };
25
18
  export const se_CreateConfigurationSetEventDestinationCommand = async (input, context) => {
26
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
19
+ const b = rb(input, context);
27
20
  const headers = {
28
21
  "content-type": "application/json",
29
22
  };
30
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
31
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations";
32
- resolvedPath = __resolvedPath(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
23
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations");
24
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
33
25
  let body;
34
26
  body = JSON.stringify(take(input, {
35
27
  EventDestination: (_) => _json(_),
36
28
  EventDestinationName: [],
37
29
  }));
38
- return new __HttpRequest({
39
- protocol,
40
- hostname,
41
- port,
42
- method: "POST",
43
- headers,
44
- path: resolvedPath,
45
- body,
46
- });
30
+ b.m("POST").h(headers).b(body);
31
+ return b.build();
47
32
  };
48
33
  export const se_DeleteConfigurationSetCommand = async (input, context) => {
49
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
34
+ const b = rb(input, context);
50
35
  const headers = {};
51
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
52
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}";
53
- resolvedPath = __resolvedPath(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
36
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}");
37
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
54
38
  let body;
55
- return new __HttpRequest({
56
- protocol,
57
- hostname,
58
- port,
59
- method: "DELETE",
60
- headers,
61
- path: resolvedPath,
62
- body,
63
- });
39
+ b.m("DELETE").h(headers).b(body);
40
+ return b.build();
64
41
  };
65
42
  export const se_DeleteConfigurationSetEventDestinationCommand = async (input, context) => {
66
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
43
+ const b = rb(input, context);
67
44
  const headers = {};
68
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
69
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}";
70
- resolvedPath = __resolvedPath(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
71
- resolvedPath = __resolvedPath(resolvedPath, input, "EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
45
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}");
46
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
47
+ b.p("EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
72
48
  let body;
73
- return new __HttpRequest({
74
- protocol,
75
- hostname,
76
- port,
77
- method: "DELETE",
78
- headers,
79
- path: resolvedPath,
80
- body,
81
- });
49
+ b.m("DELETE").h(headers).b(body);
50
+ return b.build();
82
51
  };
83
52
  export const se_GetConfigurationSetEventDestinationsCommand = async (input, context) => {
84
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
53
+ const b = rb(input, context);
85
54
  const headers = {};
86
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
87
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations";
88
- resolvedPath = __resolvedPath(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
55
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations");
56
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
89
57
  let body;
90
- return new __HttpRequest({
91
- protocol,
92
- hostname,
93
- port,
94
- method: "GET",
95
- headers,
96
- path: resolvedPath,
97
- body,
98
- });
58
+ b.m("GET").h(headers).b(body);
59
+ return b.build();
99
60
  };
100
61
  export const se_ListConfigurationSetsCommand = async (input, context) => {
101
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
62
+ const b = rb(input, context);
102
63
  const headers = {};
103
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/sms-voice/configuration-sets";
64
+ b.bp("/v1/sms-voice/configuration-sets");
104
65
  const query = map({
105
- NextToken: [, input.NextToken],
106
- PageSize: [, input.PageSize],
66
+ [_NT]: [, input[_NT]],
67
+ [_PS]: [, input[_PS]],
107
68
  });
108
69
  let body;
109
- return new __HttpRequest({
110
- protocol,
111
- hostname,
112
- port,
113
- method: "GET",
114
- headers,
115
- path: resolvedPath,
116
- query,
117
- body,
118
- });
70
+ b.m("GET").h(headers).q(query).b(body);
71
+ return b.build();
119
72
  };
120
73
  export const se_SendVoiceMessageCommand = async (input, context) => {
121
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
74
+ const b = rb(input, context);
122
75
  const headers = {
123
76
  "content-type": "application/json",
124
77
  };
125
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/sms-voice/voice/message";
78
+ b.bp("/v1/sms-voice/voice/message");
126
79
  let body;
127
80
  body = JSON.stringify(take(input, {
128
81
  CallerId: [],
@@ -131,38 +84,23 @@ export const se_SendVoiceMessageCommand = async (input, context) => {
131
84
  DestinationPhoneNumber: [],
132
85
  OriginationPhoneNumber: [],
133
86
  }));
134
- return new __HttpRequest({
135
- protocol,
136
- hostname,
137
- port,
138
- method: "POST",
139
- headers,
140
- path: resolvedPath,
141
- body,
142
- });
87
+ b.m("POST").h(headers).b(body);
88
+ return b.build();
143
89
  };
144
90
  export const se_UpdateConfigurationSetEventDestinationCommand = async (input, context) => {
145
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
91
+ const b = rb(input, context);
146
92
  const headers = {
147
93
  "content-type": "application/json",
148
94
  };
149
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
150
- "/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}";
151
- resolvedPath = __resolvedPath(resolvedPath, input, "ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
152
- resolvedPath = __resolvedPath(resolvedPath, input, "EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
95
+ b.bp("/v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}");
96
+ b.p("ConfigurationSetName", () => input.ConfigurationSetName, "{ConfigurationSetName}", false);
97
+ b.p("EventDestinationName", () => input.EventDestinationName, "{EventDestinationName}", false);
153
98
  let body;
154
99
  body = JSON.stringify(take(input, {
155
100
  EventDestination: (_) => _json(_),
156
101
  }));
157
- return new __HttpRequest({
158
- protocol,
159
- hostname,
160
- port,
161
- method: "PUT",
162
- headers,
163
- path: resolvedPath,
164
- body,
165
- });
102
+ b.m("PUT").h(headers).b(body);
103
+ return b.build();
166
104
  };
167
105
  export const de_CreateConfigurationSetCommand = async (output, context) => {
168
106
  if (output.statusCode !== 200 && output.statusCode >= 300) {
@@ -575,6 +513,8 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
575
513
  value !== "" &&
576
514
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
577
515
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
516
+ const _NT = "NextToken";
517
+ const _PS = "PageSize";
578
518
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
579
519
  if (encoded.length) {
580
520
  return JSON.parse(encoded);
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.474.0",
4
+ "version": "3.477.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,9 +20,9 @@
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.474.0",
24
- "@aws-sdk/core": "3.474.0",
25
- "@aws-sdk/credential-provider-node": "3.474.0",
23
+ "@aws-sdk/client-sts": "3.477.0",
24
+ "@aws-sdk/core": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.477.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
@@ -34,6 +34,7 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.0",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",