@aws-sdk/client-socialmessaging 3.1076.0 → 3.1078.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 +42 -315
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +2 -14
- package/dist-es/commands/CreateWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +2 -14
- package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +2 -14
- package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +2 -14
- package/dist-es/commands/DeleteWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +2 -14
- package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +2 -14
- package/dist-es/commands/DeprecateWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +2 -14
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +2 -14
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +2 -14
- package/dist-es/commands/GetWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/GetWhatsAppFlowPreviewCommand.js +2 -14
- package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +2 -14
- package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +2 -14
- package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListWhatsAppFlowAssetsCommand.js +2 -14
- package/dist-es/commands/ListWhatsAppFlowsCommand.js +2 -14
- package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +2 -14
- package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +2 -14
- package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +2 -14
- package/dist-es/commands/PublishWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +2 -14
- package/dist-es/commands/SendWhatsAppMessageCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateWhatsAppFlowAssetsCommand.js +2 -14
- package/dist-es/commands/UpdateWhatsAppFlowCommand.js +2 -14
- package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +2 -14
- package/dist-es/index.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-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +3 -8
- package/dist-types/commands/CreateWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +3 -8
- package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +3 -8
- package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +3 -8
- package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeprecateWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +3 -8
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +3 -8
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +3 -8
- package/dist-types/commands/GetWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/GetWhatsAppFlowPreviewCommand.d.ts +3 -8
- package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +3 -8
- package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +3 -8
- package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListWhatsAppFlowAssetsCommand.d.ts +3 -8
- package/dist-types/commands/ListWhatsAppFlowsCommand.d.ts +3 -8
- package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +3 -8
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +3 -8
- package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +3 -8
- package/dist-types/commands/PublishWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +3 -8
- package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWhatsAppFlowCommand.d.ts +3 -8
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageMediaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeprecateWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWhatsAppFlowPreviewCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWhatsAppMessageMediaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetWhatsAppMessageTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWhatsAppFlowAssetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWhatsAppFlowsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWhatsAppMessageTemplatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListWhatsAppTemplateLibraryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PostWhatsAppMessageMediaCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PublishWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SendWhatsAppMessageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWhatsAppFlowCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DisassociateWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DisassociateWhatsAppBusinessAccountCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "DisassociateWhatsAppBusinessAccount", {})
|
|
13
|
-
.n("SocialMessagingClient", "DisassociateWhatsAppBusinessAccountCommand")
|
|
14
|
-
.sc(DisassociateWhatsAppBusinessAccount$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DisassociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "DisassociateWhatsAppBusinessAccount", DisassociateWhatsAppBusinessAccount$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetLinkedWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetLinkedWhatsAppBusinessAccountCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "GetLinkedWhatsAppBusinessAccount", {})
|
|
13
|
-
.n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountCommand")
|
|
14
|
-
.sc(GetLinkedWhatsAppBusinessAccount$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetLinkedWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "GetLinkedWhatsAppBusinessAccount", GetLinkedWhatsAppBusinessAccount$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetLinkedWhatsAppBusinessAccountPhoneNumber$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "GetLinkedWhatsAppBusinessAccountPhoneNumber", {})
|
|
13
|
-
.n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountPhoneNumberCommand")
|
|
14
|
-
.sc(GetLinkedWhatsAppBusinessAccountPhoneNumber$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends command(_ep0, _mw0, "GetLinkedWhatsAppBusinessAccountPhoneNumber", GetLinkedWhatsAppBusinessAccountPhoneNumber$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetWhatsAppFlow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetWhatsAppFlowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "GetWhatsAppFlow", {})
|
|
13
|
-
.n("SocialMessagingClient", "GetWhatsAppFlowCommand")
|
|
14
|
-
.sc(GetWhatsAppFlow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetWhatsAppFlowCommand extends command(_ep0, _mw0, "GetWhatsAppFlow", GetWhatsAppFlow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetWhatsAppFlowPreview$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetWhatsAppFlowPreviewCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "GetWhatsAppFlowPreview", {})
|
|
13
|
-
.n("SocialMessagingClient", "GetWhatsAppFlowPreviewCommand")
|
|
14
|
-
.sc(GetWhatsAppFlowPreview$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetWhatsAppFlowPreviewCommand extends command(_ep0, _mw0, "GetWhatsAppFlowPreview", GetWhatsAppFlowPreview$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetWhatsAppMessageMediaCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "GetWhatsAppMessageMedia", {})
|
|
13
|
-
.n("SocialMessagingClient", "GetWhatsAppMessageMediaCommand")
|
|
14
|
-
.sc(GetWhatsAppMessageMedia$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "GetWhatsAppMessageMedia", GetWhatsAppMessageMedia$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetWhatsAppMessageTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "GetWhatsAppMessageTemplate", {})
|
|
13
|
-
.n("SocialMessagingClient", "GetWhatsAppMessageTemplateCommand")
|
|
14
|
-
.sc(GetWhatsAppMessageTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "GetWhatsAppMessageTemplate", GetWhatsAppMessageTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListLinkedWhatsAppBusinessAccounts$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListLinkedWhatsAppBusinessAccountsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "ListLinkedWhatsAppBusinessAccounts", {})
|
|
13
|
-
.n("SocialMessagingClient", "ListLinkedWhatsAppBusinessAccountsCommand")
|
|
14
|
-
.sc(ListLinkedWhatsAppBusinessAccounts$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListLinkedWhatsAppBusinessAccountsCommand extends command(_ep0, _mw0, "ListLinkedWhatsAppBusinessAccounts", ListLinkedWhatsAppBusinessAccounts$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "ListTagsForResource", {})
|
|
13
|
-
.n("SocialMessagingClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListWhatsAppFlowAssets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListWhatsAppFlowAssetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "ListWhatsAppFlowAssets", {})
|
|
13
|
-
.n("SocialMessagingClient", "ListWhatsAppFlowAssetsCommand")
|
|
14
|
-
.sc(ListWhatsAppFlowAssets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListWhatsAppFlowAssetsCommand extends command(_ep0, _mw0, "ListWhatsAppFlowAssets", ListWhatsAppFlowAssets$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListWhatsAppFlows$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListWhatsAppFlowsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "ListWhatsAppFlows", {})
|
|
13
|
-
.n("SocialMessagingClient", "ListWhatsAppFlowsCommand")
|
|
14
|
-
.sc(ListWhatsAppFlows$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListWhatsAppFlowsCommand extends command(_ep0, _mw0, "ListWhatsAppFlows", ListWhatsAppFlows$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListWhatsAppMessageTemplates$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListWhatsAppMessageTemplatesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "ListWhatsAppMessageTemplates", {})
|
|
13
|
-
.n("SocialMessagingClient", "ListWhatsAppMessageTemplatesCommand")
|
|
14
|
-
.sc(ListWhatsAppMessageTemplates$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListWhatsAppMessageTemplatesCommand extends command(_ep0, _mw0, "ListWhatsAppMessageTemplates", ListWhatsAppMessageTemplates$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListWhatsAppTemplateLibrary$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListWhatsAppTemplateLibraryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "ListWhatsAppTemplateLibrary", {})
|
|
13
|
-
.n("SocialMessagingClient", "ListWhatsAppTemplateLibraryCommand")
|
|
14
|
-
.sc(ListWhatsAppTemplateLibrary$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListWhatsAppTemplateLibraryCommand extends command(_ep0, _mw0, "ListWhatsAppTemplateLibrary", ListWhatsAppTemplateLibrary$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PostWhatsAppMessageMedia$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PostWhatsAppMessageMediaCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "PostWhatsAppMessageMedia", {})
|
|
13
|
-
.n("SocialMessagingClient", "PostWhatsAppMessageMediaCommand")
|
|
14
|
-
.sc(PostWhatsAppMessageMedia$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PostWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "PostWhatsAppMessageMedia", PostWhatsAppMessageMedia$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PublishWhatsAppFlow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PublishWhatsAppFlowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "PublishWhatsAppFlow", {})
|
|
13
|
-
.n("SocialMessagingClient", "PublishWhatsAppFlowCommand")
|
|
14
|
-
.sc(PublishWhatsAppFlow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PublishWhatsAppFlowCommand extends command(_ep0, _mw0, "PublishWhatsAppFlow", PublishWhatsAppFlow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutWhatsAppBusinessAccountEventDestinations$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutWhatsAppBusinessAccountEventDestinationsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "PutWhatsAppBusinessAccountEventDestinations", {})
|
|
13
|
-
.n("SocialMessagingClient", "PutWhatsAppBusinessAccountEventDestinationsCommand")
|
|
14
|
-
.sc(PutWhatsAppBusinessAccountEventDestinations$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutWhatsAppBusinessAccountEventDestinationsCommand extends command(_ep0, _mw0, "PutWhatsAppBusinessAccountEventDestinations", PutWhatsAppBusinessAccountEventDestinations$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SendWhatsAppMessage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SendWhatsAppMessageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "SendWhatsAppMessage", {})
|
|
13
|
-
.n("SocialMessagingClient", "SendWhatsAppMessageCommand")
|
|
14
|
-
.sc(SendWhatsAppMessage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SendWhatsAppMessageCommand extends command(_ep0, _mw0, "SendWhatsAppMessage", SendWhatsAppMessage$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "TagResource", {})
|
|
13
|
-
.n("SocialMessagingClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "UntagResource", {})
|
|
13
|
-
.n("SocialMessagingClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateWhatsAppFlowAssets$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateWhatsAppFlowAssetsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "UpdateWhatsAppFlowAssets", {})
|
|
13
|
-
.n("SocialMessagingClient", "UpdateWhatsAppFlowAssetsCommand")
|
|
14
|
-
.sc(UpdateWhatsAppFlowAssets$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateWhatsAppFlowAssetsCommand extends command(_ep0, _mw0, "UpdateWhatsAppFlowAssets", UpdateWhatsAppFlowAssets$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateWhatsAppFlow$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateWhatsAppFlowCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "UpdateWhatsAppFlow", {})
|
|
13
|
-
.n("SocialMessagingClient", "UpdateWhatsAppFlowCommand")
|
|
14
|
-
.sc(UpdateWhatsAppFlow$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateWhatsAppFlowCommand extends command(_ep0, _mw0, "UpdateWhatsAppFlow", UpdateWhatsAppFlow$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateWhatsAppMessageTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SocialMessaging", "UpdateWhatsAppMessageTemplate", {})
|
|
13
|
-
.n("SocialMessagingClient", "UpdateWhatsAppMessageTemplateCommand")
|
|
14
|
-
.sc(UpdateWhatsAppMessageTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "UpdateWhatsAppMessageTemplate", UpdateWhatsAppMessageTemplate$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./SocialMessagingClient";
|
|
2
2
|
export * from "./SocialMessaging";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -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 { AwsRestJsonProtocol } 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: "SocialMessaging",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "SocialMessaging",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "./SocialMessagingClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AssociateWhatsAppBusinessAccountInput, AssociateWhatsAppBusinessAccountOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AssociateWhatsAppBusinessAccountCommandInput extends AssociateW
|
|
|
22
19
|
export interface AssociateWhatsAppBusinessAccountCommandOutput extends AssociateWhatsAppBusinessAccountOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociateWhatsAppBusinessAccountCommand_base: {
|
|
25
|
-
new (input: AssociateWhatsAppBusinessAccountCommandInput): import("@smithy/core/client").CommandImpl<AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [AssociateWhatsAppBusinessAccountCommandInput]): import("@smithy/core/client").CommandImpl<AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociateWhatsAppBusinessAccountCommandInput): import("@smithy/core/client").CommandImpl<AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [AssociateWhatsAppBusinessAccountCommandInput]): import("@smithy/core/client").CommandImpl<AssociateWhatsAppBusinessAccountCommandInput, AssociateWhatsAppBusinessAccountCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>This is only used through the Amazon Web Services console during sign-up to associate your WhatsApp Business Account to your Amazon Web Services account.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateWhatsAppFlowInput, CreateWhatsAppFlowOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateWhatsAppFlowCommandInput extends CreateWhatsAppFlowInput
|
|
|
22
19
|
export interface CreateWhatsAppFlowCommandOutput extends CreateWhatsAppFlowOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateWhatsAppFlowCommand_base: {
|
|
25
|
-
new (input: CreateWhatsAppFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppFlowCommandInput, CreateWhatsAppFlowCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateWhatsAppFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppFlowCommandInput, CreateWhatsAppFlowCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateWhatsAppFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppFlowCommandInput, CreateWhatsAppFlowCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateWhatsAppFlowCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppFlowCommandInput, CreateWhatsAppFlowCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new WhatsApp Flow. Flows enable businesses to create rich, interactive forms and experiences
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateWhatsAppMessageTemplateInput, CreateWhatsAppMessageTemplateOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateWhatsAppMessageTemplateCommandInput extends CreateWhatsAp
|
|
|
22
19
|
export interface CreateWhatsAppMessageTemplateCommandOutput extends CreateWhatsAppMessageTemplateOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateWhatsAppMessageTemplateCommand_base: {
|
|
25
|
-
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput, import("..").SocialMessagingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new WhatsApp message template from a custom definition.</p>
|