@aws-sdk/client-pinpoint-sms-voice-v2 3.1075.0 → 3.1077.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/README.md +21 -0
- package/dist-cjs/index.js +3634 -15
- package/dist-es/PinpointSMSVoiceV2.js +6 -0
- package/dist-es/commands/DeleteRcsMessageSpendLimitOverrideCommand.js +16 -0
- package/dist-es/commands/SendRcsMessageCommand.js +16 -0
- package/dist-es/commands/SetRcsMessageSpendLimitOverrideCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +15 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +221 -14
- package/dist-types/PinpointSMSVoiceV2.d.ts +22 -0
- package/dist-types/PinpointSMSVoiceV2Client.d.ts +5 -2
- package/dist-types/commands/CreateRcsAgentCommand.d.ts +6 -0
- package/dist-types/commands/DeleteRcsAgentCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRcsMessageSpendLimitOverrideCommand.d.ts +86 -0
- package/dist-types/commands/DescribeRcsAgentsCommand.d.ts +6 -0
- package/dist-types/commands/SendRcsMessageCommand.d.ts +235 -0
- package/dist-types/commands/SetRcsMessageSpendLimitOverrideCommand.d.ts +88 -0
- package/dist-types/commands/UpdateRcsAgentCommand.d.ts +12 -0
- package/dist-types/commands/VerifyDestinationNumberCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +23 -0
- package/dist-types/models/models_0.d.ts +739 -52
- package/dist-types/models/models_1.d.ts +46 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +28 -1
- package/dist-types/ts3.4/PinpointSMSVoiceV2.d.ts +58 -0
- package/dist-types/ts3.4/PinpointSMSVoiceV2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteRcsMessageSpendLimitOverrideCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/SendRcsMessageCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/SetRcsMessageSpendLimitOverrideCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/VerifyDestinationNumberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +260 -11
- package/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/PinpointSMSVoiceV2ServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -123
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -2956
|
@@ -29,6 +29,7 @@ import { DeletePoolCommand, } from "./commands/DeletePoolCommand";
|
|
|
29
29
|
import { DeleteProtectConfigurationCommand, } from "./commands/DeleteProtectConfigurationCommand";
|
|
30
30
|
import { DeleteProtectConfigurationRuleSetNumberOverrideCommand, } from "./commands/DeleteProtectConfigurationRuleSetNumberOverrideCommand";
|
|
31
31
|
import { DeleteRcsAgentCommand, } from "./commands/DeleteRcsAgentCommand";
|
|
32
|
+
import { DeleteRcsMessageSpendLimitOverrideCommand, } from "./commands/DeleteRcsMessageSpendLimitOverrideCommand";
|
|
32
33
|
import { DeleteRegistrationAttachmentCommand, } from "./commands/DeleteRegistrationAttachmentCommand";
|
|
33
34
|
import { DeleteRegistrationCommand, } from "./commands/DeleteRegistrationCommand";
|
|
34
35
|
import { DeleteRegistrationFieldValueCommand, } from "./commands/DeleteRegistrationFieldValueCommand";
|
|
@@ -83,6 +84,7 @@ import { SendDestinationNumberVerificationCodeCommand, } from "./commands/SendDe
|
|
|
83
84
|
import { SendMediaMessageCommand, } from "./commands/SendMediaMessageCommand";
|
|
84
85
|
import { SendNotifyTextMessageCommand, } from "./commands/SendNotifyTextMessageCommand";
|
|
85
86
|
import { SendNotifyVoiceMessageCommand, } from "./commands/SendNotifyVoiceMessageCommand";
|
|
87
|
+
import { SendRcsMessageCommand, } from "./commands/SendRcsMessageCommand";
|
|
86
88
|
import { SendTextMessageCommand, } from "./commands/SendTextMessageCommand";
|
|
87
89
|
import { SendVoiceMessageCommand, } from "./commands/SendVoiceMessageCommand";
|
|
88
90
|
import { SetAccountDefaultProtectConfigurationCommand, } from "./commands/SetAccountDefaultProtectConfigurationCommand";
|
|
@@ -91,6 +93,7 @@ import { SetDefaultMessageTypeCommand, } from "./commands/SetDefaultMessageTypeC
|
|
|
91
93
|
import { SetDefaultSenderIdCommand, } from "./commands/SetDefaultSenderIdCommand";
|
|
92
94
|
import { SetMediaMessageSpendLimitOverrideCommand, } from "./commands/SetMediaMessageSpendLimitOverrideCommand";
|
|
93
95
|
import { SetNotifyMessageSpendLimitOverrideCommand, } from "./commands/SetNotifyMessageSpendLimitOverrideCommand";
|
|
96
|
+
import { SetRcsMessageSpendLimitOverrideCommand, } from "./commands/SetRcsMessageSpendLimitOverrideCommand";
|
|
94
97
|
import { SetTextMessageSpendLimitOverrideCommand, } from "./commands/SetTextMessageSpendLimitOverrideCommand";
|
|
95
98
|
import { SetVoiceMessageSpendLimitOverrideCommand, } from "./commands/SetVoiceMessageSpendLimitOverrideCommand";
|
|
96
99
|
import { SubmitRegistrationVersionCommand, } from "./commands/SubmitRegistrationVersionCommand";
|
|
@@ -164,6 +167,7 @@ const commands = {
|
|
|
164
167
|
DeleteProtectConfigurationCommand,
|
|
165
168
|
DeleteProtectConfigurationRuleSetNumberOverrideCommand,
|
|
166
169
|
DeleteRcsAgentCommand,
|
|
170
|
+
DeleteRcsMessageSpendLimitOverrideCommand,
|
|
167
171
|
DeleteRegistrationCommand,
|
|
168
172
|
DeleteRegistrationAttachmentCommand,
|
|
169
173
|
DeleteRegistrationFieldValueCommand,
|
|
@@ -218,6 +222,7 @@ const commands = {
|
|
|
218
222
|
SendMediaMessageCommand,
|
|
219
223
|
SendNotifyTextMessageCommand,
|
|
220
224
|
SendNotifyVoiceMessageCommand,
|
|
225
|
+
SendRcsMessageCommand,
|
|
221
226
|
SendTextMessageCommand,
|
|
222
227
|
SendVoiceMessageCommand,
|
|
223
228
|
SetAccountDefaultProtectConfigurationCommand,
|
|
@@ -226,6 +231,7 @@ const commands = {
|
|
|
226
231
|
SetDefaultSenderIdCommand,
|
|
227
232
|
SetMediaMessageSpendLimitOverrideCommand,
|
|
228
233
|
SetNotifyMessageSpendLimitOverrideCommand,
|
|
234
|
+
SetRcsMessageSpendLimitOverrideCommand,
|
|
229
235
|
SetTextMessageSpendLimitOverrideCommand,
|
|
230
236
|
SetVoiceMessageSpendLimitOverrideCommand,
|
|
231
237
|
SubmitRegistrationVersionCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteRcsMessageSpendLimitOverride$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteRcsMessageSpendLimitOverrideCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("PinpointSMSVoiceV2", "DeleteRcsMessageSpendLimitOverride", {})
|
|
13
|
+
.n("PinpointSMSVoiceV2Client", "DeleteRcsMessageSpendLimitOverrideCommand")
|
|
14
|
+
.sc(DeleteRcsMessageSpendLimitOverride$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SendRcsMessage$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SendRcsMessageCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("PinpointSMSVoiceV2", "SendRcsMessage", {})
|
|
13
|
+
.n("PinpointSMSVoiceV2Client", "SendRcsMessageCommand")
|
|
14
|
+
.sc(SendRcsMessage$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { SetRcsMessageSpendLimitOverride$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class SetRcsMessageSpendLimitOverrideCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("PinpointSMSVoiceV2", "SetRcsMessageSpendLimitOverride", {})
|
|
13
|
+
.n("PinpointSMSVoiceV2Client", "SetRcsMessageSpendLimitOverrideCommand")
|
|
14
|
+
.sc(SetRcsMessageSpendLimitOverride$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -28,6 +28,7 @@ export * from "./DeletePoolCommand";
|
|
|
28
28
|
export * from "./DeleteProtectConfigurationCommand";
|
|
29
29
|
export * from "./DeleteProtectConfigurationRuleSetNumberOverrideCommand";
|
|
30
30
|
export * from "./DeleteRcsAgentCommand";
|
|
31
|
+
export * from "./DeleteRcsMessageSpendLimitOverrideCommand";
|
|
31
32
|
export * from "./DeleteRegistrationAttachmentCommand";
|
|
32
33
|
export * from "./DeleteRegistrationCommand";
|
|
33
34
|
export * from "./DeleteRegistrationFieldValueCommand";
|
|
@@ -82,6 +83,7 @@ export * from "./SendDestinationNumberVerificationCodeCommand";
|
|
|
82
83
|
export * from "./SendMediaMessageCommand";
|
|
83
84
|
export * from "./SendNotifyTextMessageCommand";
|
|
84
85
|
export * from "./SendNotifyVoiceMessageCommand";
|
|
86
|
+
export * from "./SendRcsMessageCommand";
|
|
85
87
|
export * from "./SendTextMessageCommand";
|
|
86
88
|
export * from "./SendVoiceMessageCommand";
|
|
87
89
|
export * from "./SetAccountDefaultProtectConfigurationCommand";
|
|
@@ -90,6 +92,7 @@ export * from "./SetDefaultMessageTypeCommand";
|
|
|
90
92
|
export * from "./SetDefaultSenderIdCommand";
|
|
91
93
|
export * from "./SetMediaMessageSpendLimitOverrideCommand";
|
|
92
94
|
export * from "./SetNotifyMessageSpendLimitOverrideCommand";
|
|
95
|
+
export * from "./SetRcsMessageSpendLimitOverrideCommand";
|
|
93
96
|
export * from "./SetTextMessageSpendLimitOverrideCommand";
|
|
94
97
|
export * from "./SetVoiceMessageSpendLimitOverrideCommand";
|
|
95
98
|
export * from "./SubmitRegistrationVersionCommand";
|
package/dist-es/index.js
CHANGED
package/dist-es/models/enums.js
CHANGED
|
@@ -90,6 +90,7 @@ export const ServiceQuotaExceededExceptionReason = {
|
|
|
90
90
|
KEYWORDS_PER_POOL: "KEYWORDS_PER_POOL",
|
|
91
91
|
MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA: "MONTHLY_SPEND_LIMIT_REACHED_FOR_MEDIA",
|
|
92
92
|
MONTHLY_SPEND_LIMIT_REACHED_FOR_NOTIFY: "MONTHLY_SPEND_LIMIT_REACHED_FOR_NOTIFY",
|
|
93
|
+
MONTHLY_SPEND_LIMIT_REACHED_FOR_RCS: "MONTHLY_SPEND_LIMIT_REACHED_FOR_RCS",
|
|
93
94
|
MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT: "MONTHLY_SPEND_LIMIT_REACHED_FOR_TEXT",
|
|
94
95
|
MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE: "MONTHLY_SPEND_LIMIT_REACHED_FOR_VOICE",
|
|
95
96
|
NOTIFY_CONFIGURATIONS_PER_ACCOUNT: "NOTIFY_CONFIGURATIONS_PER_ACCOUNT",
|
|
@@ -205,6 +206,15 @@ export const EventType = {
|
|
|
205
206
|
MEDIA_TTL_EXPIRED: "MEDIA_TTL_EXPIRED",
|
|
206
207
|
MEDIA_UNKNOWN: "MEDIA_UNKNOWN",
|
|
207
208
|
MEDIA_UNREACHABLE: "MEDIA_UNREACHABLE",
|
|
209
|
+
RCS_ALL: "RCS_ALL",
|
|
210
|
+
RCS_DELIVERED: "RCS_DELIVERED",
|
|
211
|
+
RCS_FAILED: "RCS_FAILED",
|
|
212
|
+
RCS_FALLEN_BACK_TO_SMS: "RCS_FALLEN_BACK_TO_SMS",
|
|
213
|
+
RCS_PROTECT_BLOCKED: "RCS_PROTECT_BLOCKED",
|
|
214
|
+
RCS_QUEUED: "RCS_QUEUED",
|
|
215
|
+
RCS_READ: "RCS_READ",
|
|
216
|
+
RCS_SENT: "RCS_SENT",
|
|
217
|
+
RCS_TTL_EXPIRED: "RCS_TTL_EXPIRED",
|
|
208
218
|
TEXT_ALL: "TEXT_ALL",
|
|
209
219
|
TEXT_BLOCKED: "TEXT_BLOCKED",
|
|
210
220
|
TEXT_CARRIER_BLOCKED: "TEXT_CARRIER_BLOCKED",
|
|
@@ -521,6 +531,7 @@ export const SenderIdFilterName = {
|
|
|
521
531
|
export const SpendLimitName = {
|
|
522
532
|
MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT: "MEDIA_MESSAGE_MONTHLY_SPEND_LIMIT",
|
|
523
533
|
NOTIFY_MESSAGE_MONTHLY_SPEND_LIMIT: "NOTIFY_MESSAGE_MONTHLY_SPEND_LIMIT",
|
|
534
|
+
RCS_MESSAGE_MONTHLY_SPEND_LIMIT: "RCS_MESSAGE_MONTHLY_SPEND_LIMIT",
|
|
524
535
|
TEXT_MESSAGE_MONTHLY_SPEND_LIMIT: "TEXT_MESSAGE_MONTHLY_SPEND_LIMIT",
|
|
525
536
|
VOICE_MESSAGE_MONTHLY_SPEND_LIMIT: "VOICE_MESSAGE_MONTHLY_SPEND_LIMIT",
|
|
526
537
|
};
|
|
@@ -584,6 +595,10 @@ export const VerificationChannel = {
|
|
|
584
595
|
TEXT: "TEXT",
|
|
585
596
|
VOICE: "VOICE",
|
|
586
597
|
};
|
|
598
|
+
export const RcsFallbackChannel = {
|
|
599
|
+
MMS: "MMS",
|
|
600
|
+
SMS: "SMS",
|
|
601
|
+
};
|
|
587
602
|
export const VoiceMessageBodyTextType = {
|
|
588
603
|
SSML: "SSML",
|
|
589
604
|
TEXT: "TEXT",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "PinpointSMSVoiceV2",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Pinpoint SMS Voice V2",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|