@aws-sdk/client-socialmessaging 3.948.0 → 3.953.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +317 -217
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +2 -2
- package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +2 -2
- package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +2 -2
- package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +2 -2
- package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +2 -2
- package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +2 -2
- package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +2 -2
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +2 -2
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +2 -2
- package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +2 -2
- package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +2 -2
- package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +2 -2
- package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +2 -2
- package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +2 -2
- package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +2 -2
- package/dist-es/commands/SendWhatsAppMessageCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +190 -183
- package/dist-types/SocialMessagingClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +94 -115
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +93 -117
- package/package.json +34 -34
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.socialmessaging",
|
|
32
|
+
version: "2024-01-01",
|
|
33
|
+
serviceTarget: "SocialMessaging",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "SocialMessaging",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { AssociateWhatsAppBusinessAccount } from "../schemas/schemas_0";
|
|
4
|
+
import { AssociateWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class AssociateWhatsAppBusinessAccountCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class AssociateWhatsAppBusinessAccountCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "AssociateWhatsAppBusinessAccount", {})
|
|
13
13
|
.n("SocialMessagingClient", "AssociateWhatsAppBusinessAccountCommand")
|
|
14
|
-
.sc(AssociateWhatsAppBusinessAccount)
|
|
14
|
+
.sc(AssociateWhatsAppBusinessAccount$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateWhatsAppMessageTemplate } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateWhatsAppMessageTemplateCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateWhatsAppMessageTemplateCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "CreateWhatsAppMessageTemplate", {})
|
|
13
13
|
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateCommand")
|
|
14
|
-
.sc(CreateWhatsAppMessageTemplate)
|
|
14
|
+
.sc(CreateWhatsAppMessageTemplate$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateWhatsAppMessageTemplateFromLibrary } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateWhatsAppMessageTemplateFromLibrary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateWhatsAppMessageTemplateFromLibraryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateWhatsAppMessageTemplateFromLibraryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "CreateWhatsAppMessageTemplateFromLibrary", {})
|
|
13
13
|
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateFromLibraryCommand")
|
|
14
|
-
.sc(CreateWhatsAppMessageTemplateFromLibrary)
|
|
14
|
+
.sc(CreateWhatsAppMessageTemplateFromLibrary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateWhatsAppMessageTemplateMedia } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateWhatsAppMessageTemplateMedia$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateWhatsAppMessageTemplateMediaCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateWhatsAppMessageTemplateMediaCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "CreateWhatsAppMessageTemplateMedia", {})
|
|
13
13
|
.n("SocialMessagingClient", "CreateWhatsAppMessageTemplateMediaCommand")
|
|
14
|
-
.sc(CreateWhatsAppMessageTemplateMedia)
|
|
14
|
+
.sc(CreateWhatsAppMessageTemplateMedia$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteWhatsAppMessageMedia } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteWhatsAppMessageMediaCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteWhatsAppMessageMediaCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "DeleteWhatsAppMessageMedia", {})
|
|
13
13
|
.n("SocialMessagingClient", "DeleteWhatsAppMessageMediaCommand")
|
|
14
|
-
.sc(DeleteWhatsAppMessageMedia)
|
|
14
|
+
.sc(DeleteWhatsAppMessageMedia$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteWhatsAppMessageTemplate } from "../schemas/schemas_0";
|
|
4
|
+
import { DeleteWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeleteWhatsAppMessageTemplateCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeleteWhatsAppMessageTemplateCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "DeleteWhatsAppMessageTemplate", {})
|
|
13
13
|
.n("SocialMessagingClient", "DeleteWhatsAppMessageTemplateCommand")
|
|
14
|
-
.sc(DeleteWhatsAppMessageTemplate)
|
|
14
|
+
.sc(DeleteWhatsAppMessageTemplate$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DisassociateWhatsAppBusinessAccount } from "../schemas/schemas_0";
|
|
4
|
+
import { DisassociateWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DisassociateWhatsAppBusinessAccountCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DisassociateWhatsAppBusinessAccountCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "DisassociateWhatsAppBusinessAccount", {})
|
|
13
13
|
.n("SocialMessagingClient", "DisassociateWhatsAppBusinessAccountCommand")
|
|
14
|
-
.sc(DisassociateWhatsAppBusinessAccount)
|
|
14
|
+
.sc(DisassociateWhatsAppBusinessAccount$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetLinkedWhatsAppBusinessAccount } from "../schemas/schemas_0";
|
|
4
|
+
import { GetLinkedWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetLinkedWhatsAppBusinessAccountCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetLinkedWhatsAppBusinessAccountCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "GetLinkedWhatsAppBusinessAccount", {})
|
|
13
13
|
.n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountCommand")
|
|
14
|
-
.sc(GetLinkedWhatsAppBusinessAccount)
|
|
14
|
+
.sc(GetLinkedWhatsAppBusinessAccount$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetLinkedWhatsAppBusinessAccountPhoneNumber } from "../schemas/schemas_0";
|
|
4
|
+
import { GetLinkedWhatsAppBusinessAccountPhoneNumber$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "GetLinkedWhatsAppBusinessAccountPhoneNumber", {})
|
|
13
13
|
.n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountPhoneNumberCommand")
|
|
14
|
-
.sc(GetLinkedWhatsAppBusinessAccountPhoneNumber)
|
|
14
|
+
.sc(GetLinkedWhatsAppBusinessAccountPhoneNumber$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetWhatsAppMessageMedia } from "../schemas/schemas_0";
|
|
4
|
+
import { GetWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetWhatsAppMessageMediaCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetWhatsAppMessageMediaCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "GetWhatsAppMessageMedia", {})
|
|
13
13
|
.n("SocialMessagingClient", "GetWhatsAppMessageMediaCommand")
|
|
14
|
-
.sc(GetWhatsAppMessageMedia)
|
|
14
|
+
.sc(GetWhatsAppMessageMedia$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetWhatsAppMessageTemplate } from "../schemas/schemas_0";
|
|
4
|
+
import { GetWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetWhatsAppMessageTemplateCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetWhatsAppMessageTemplateCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "GetWhatsAppMessageTemplate", {})
|
|
13
13
|
.n("SocialMessagingClient", "GetWhatsAppMessageTemplateCommand")
|
|
14
|
-
.sc(GetWhatsAppMessageTemplate)
|
|
14
|
+
.sc(GetWhatsAppMessageTemplate$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListLinkedWhatsAppBusinessAccounts } from "../schemas/schemas_0";
|
|
4
|
+
import { ListLinkedWhatsAppBusinessAccounts$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListLinkedWhatsAppBusinessAccountsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListLinkedWhatsAppBusinessAccountsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "ListLinkedWhatsAppBusinessAccounts", {})
|
|
13
13
|
.n("SocialMessagingClient", "ListLinkedWhatsAppBusinessAccountsCommand")
|
|
14
|
-
.sc(ListLinkedWhatsAppBusinessAccounts)
|
|
14
|
+
.sc(ListLinkedWhatsAppBusinessAccounts$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "ListTagsForResource", {})
|
|
13
13
|
.n("SocialMessagingClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListWhatsAppMessageTemplates } from "../schemas/schemas_0";
|
|
4
|
+
import { ListWhatsAppMessageTemplates$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListWhatsAppMessageTemplatesCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListWhatsAppMessageTemplatesCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "ListWhatsAppMessageTemplates", {})
|
|
13
13
|
.n("SocialMessagingClient", "ListWhatsAppMessageTemplatesCommand")
|
|
14
|
-
.sc(ListWhatsAppMessageTemplates)
|
|
14
|
+
.sc(ListWhatsAppMessageTemplates$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListWhatsAppTemplateLibrary } from "../schemas/schemas_0";
|
|
4
|
+
import { ListWhatsAppTemplateLibrary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListWhatsAppTemplateLibraryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListWhatsAppTemplateLibraryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "ListWhatsAppTemplateLibrary", {})
|
|
13
13
|
.n("SocialMessagingClient", "ListWhatsAppTemplateLibraryCommand")
|
|
14
|
-
.sc(ListWhatsAppTemplateLibrary)
|
|
14
|
+
.sc(ListWhatsAppTemplateLibrary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PostWhatsAppMessageMedia } from "../schemas/schemas_0";
|
|
4
|
+
import { PostWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PostWhatsAppMessageMediaCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PostWhatsAppMessageMediaCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "PostWhatsAppMessageMedia", {})
|
|
13
13
|
.n("SocialMessagingClient", "PostWhatsAppMessageMediaCommand")
|
|
14
|
-
.sc(PostWhatsAppMessageMedia)
|
|
14
|
+
.sc(PostWhatsAppMessageMedia$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { PutWhatsAppBusinessAccountEventDestinations } from "../schemas/schemas_0";
|
|
4
|
+
import { PutWhatsAppBusinessAccountEventDestinations$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class PutWhatsAppBusinessAccountEventDestinationsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class PutWhatsAppBusinessAccountEventDestinationsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "PutWhatsAppBusinessAccountEventDestinations", {})
|
|
13
13
|
.n("SocialMessagingClient", "PutWhatsAppBusinessAccountEventDestinationsCommand")
|
|
14
|
-
.sc(PutWhatsAppBusinessAccountEventDestinations)
|
|
14
|
+
.sc(PutWhatsAppBusinessAccountEventDestinations$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { SendWhatsAppMessage } from "../schemas/schemas_0";
|
|
4
|
+
import { SendWhatsAppMessage$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class SendWhatsAppMessageCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class SendWhatsAppMessageCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "SendWhatsAppMessage", {})
|
|
13
13
|
.n("SocialMessagingClient", "SendWhatsAppMessageCommand")
|
|
14
|
-
.sc(SendWhatsAppMessage)
|
|
14
|
+
.sc(SendWhatsAppMessage$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "TagResource", {})
|
|
13
13
|
.n("SocialMessagingClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "UntagResource", {})
|
|
13
13
|
.n("SocialMessagingClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateWhatsAppMessageTemplate } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateWhatsAppMessageTemplateCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateWhatsAppMessageTemplateCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("SocialMessaging", "UpdateWhatsAppMessageTemplate", {})
|
|
13
13
|
.n("SocialMessagingClient", "UpdateWhatsAppMessageTemplateCommand")
|
|
14
|
-
.sc(UpdateWhatsAppMessageTemplate)
|
|
14
|
+
.sc(UpdateWhatsAppMessageTemplate$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.socialmessaging",
|
|
29
|
+
version: "2024-01-01",
|
|
30
|
+
serviceTarget: "SocialMessaging",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "SocialMessaging",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|