@aws-sdk/client-socialmessaging 3.1045.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +58 -59
- package/dist-cjs/models/SocialMessagingServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +12 -10
- package/dist-es/SocialMessaging.js +1 -1
- package/dist-es/SocialMessagingClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -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/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/SocialMessagingServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +12 -10
- package/dist-types/SocialMessagingClient.d.ts +5 -5
- package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +7 -4
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +6 -4
- package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +6 -4
- package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +6 -4
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +7 -4
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +6 -4
- package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +9 -5
- package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +7 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +6 -4
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +6 -4
- package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +6 -4
- package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +9 -5
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/SocialMessagingServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +37 -2
- 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/ts3.4/SocialMessagingClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListWhatsAppMessageTemplatesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListWhatsAppTemplateLibraryCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PostWhatsAppMessageMediaCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SendWhatsAppMessageCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/SocialMessagingServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +13 -34
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DeleteWhatsAppMessageTemplateInput, DeleteWhatsAppMessageTemplateOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface DeleteWhatsAppMessageTemplateCommandInput extends DeleteWhatsAp
|
|
|
22
22
|
export interface DeleteWhatsAppMessageTemplateCommandOutput extends DeleteWhatsAppMessageTemplateOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteWhatsAppMessageTemplateCommand_base: {
|
|
25
|
-
new (input: DeleteWhatsAppMessageTemplateCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteWhatsAppMessageTemplateCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<DeleteWhatsAppMessageTemplateCommandInput, DeleteWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<DeleteWhatsAppMessageTemplateCommandInput, DeleteWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes a WhatsApp message template.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DisassociateWhatsAppBusinessAccountInput, DisassociateWhatsAppBusinessAccountOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface DisassociateWhatsAppBusinessAccountCommandInput extends Disasso
|
|
|
22
22
|
export interface DisassociateWhatsAppBusinessAccountCommandOutput extends DisassociateWhatsAppBusinessAccountOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DisassociateWhatsAppBusinessAccountCommand_base: {
|
|
25
|
-
new (input: DisassociateWhatsAppBusinessAccountCommandInput): import("@smithy/
|
|
26
|
-
new (input: DisassociateWhatsAppBusinessAccountCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DisassociateWhatsAppBusinessAccountCommandInput): import("@smithy/core/client").CommandImpl<DisassociateWhatsAppBusinessAccountCommandInput, DisassociateWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DisassociateWhatsAppBusinessAccountCommandInput): import("@smithy/core/client").CommandImpl<DisassociateWhatsAppBusinessAccountCommandInput, DisassociateWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Disassociate a WhatsApp Business Account (WABA) from your Amazon Web Services account.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GetLinkedWhatsAppBusinessAccountInput, GetLinkedWhatsAppBusinessAccountOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface GetLinkedWhatsAppBusinessAccountCommandInput extends GetLinkedW
|
|
|
22
22
|
export interface GetLinkedWhatsAppBusinessAccountCommandOutput extends GetLinkedWhatsAppBusinessAccountOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetLinkedWhatsAppBusinessAccountCommand_base: {
|
|
25
|
-
new (input: GetLinkedWhatsAppBusinessAccountCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetLinkedWhatsAppBusinessAccountCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetLinkedWhatsAppBusinessAccountCommandInput): import("@smithy/core/client").CommandImpl<GetLinkedWhatsAppBusinessAccountCommandInput, GetLinkedWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetLinkedWhatsAppBusinessAccountCommandInput): import("@smithy/core/client").CommandImpl<GetLinkedWhatsAppBusinessAccountCommandInput, GetLinkedWhatsAppBusinessAccountCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Get the details of your linked WhatsApp Business Account.</p>
|
|
@@ -55,6 +57,7 @@ declare const GetLinkedWhatsAppBusinessAccountCommand_base: {
|
|
|
55
57
|
* // roleArn: "STRING_VALUE",
|
|
56
58
|
* // },
|
|
57
59
|
* // ],
|
|
60
|
+
* // marketingMessagesOnboardingStatus: "STRING_VALUE",
|
|
58
61
|
* // phoneNumbers: [ // WhatsAppPhoneNumberSummaryList // required
|
|
59
62
|
* // { // WhatsAppPhoneNumberSummary
|
|
60
63
|
* // arn: "STRING_VALUE", // required
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GetLinkedWhatsAppBusinessAccountPhoneNumberInput, GetLinkedWhatsAppBusinessAccountPhoneNumberOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput extends
|
|
|
22
22
|
export interface GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput extends GetLinkedWhatsAppBusinessAccountPhoneNumberOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_base: {
|
|
25
|
-
new (input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput): import("@smithy/core/client").CommandImpl<GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput): import("@smithy/core/client").CommandImpl<GetLinkedWhatsAppBusinessAccountPhoneNumberCommandInput, GetLinkedWhatsAppBusinessAccountPhoneNumberCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieve the WABA account id and phone number details of a WhatsApp business account phone number.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GetWhatsAppMessageMediaInput, GetWhatsAppMessageMediaOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface GetWhatsAppMessageMediaCommandInput extends GetWhatsAppMessageM
|
|
|
22
22
|
export interface GetWhatsAppMessageMediaCommandOutput extends GetWhatsAppMessageMediaOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetWhatsAppMessageMediaCommand_base: {
|
|
25
|
-
new (input: GetWhatsAppMessageMediaCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetWhatsAppMessageMediaCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetWhatsAppMessageMediaCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppMessageMediaCommandInput, GetWhatsAppMessageMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetWhatsAppMessageMediaCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppMessageMediaCommandInput, GetWhatsAppMessageMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Get a media file from the WhatsApp service. On successful completion the media file is
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { GetWhatsAppMessageTemplateInput, GetWhatsAppMessageTemplateOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface GetWhatsAppMessageTemplateCommandInput extends GetWhatsAppMessa
|
|
|
22
22
|
export interface GetWhatsAppMessageTemplateCommandOutput extends GetWhatsAppMessageTemplateOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetWhatsAppMessageTemplateCommand_base: {
|
|
25
|
-
new (input: GetWhatsAppMessageTemplateCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetWhatsAppMessageTemplateCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppMessageTemplateCommandInput, GetWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<GetWhatsAppMessageTemplateCommandInput, GetWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Retrieves a specific WhatsApp message template.</p>
|
|
@@ -37,8 +39,10 @@ declare const GetWhatsAppMessageTemplateCommand_base: {
|
|
|
37
39
|
* const config = {}; // type is SocialMessagingClientConfig
|
|
38
40
|
* const client = new SocialMessagingClient(config);
|
|
39
41
|
* const input = { // GetWhatsAppMessageTemplateInput
|
|
40
|
-
* metaTemplateId: "STRING_VALUE",
|
|
42
|
+
* metaTemplateId: "STRING_VALUE",
|
|
41
43
|
* id: "STRING_VALUE", // required
|
|
44
|
+
* templateName: "STRING_VALUE",
|
|
45
|
+
* templateLanguageCode: "STRING_VALUE",
|
|
42
46
|
* };
|
|
43
47
|
* const command = new GetWhatsAppMessageTemplateCommand(input);
|
|
44
48
|
* const response = await client.send(command);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ListLinkedWhatsAppBusinessAccountsInput, ListLinkedWhatsAppBusinessAccountsOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface ListLinkedWhatsAppBusinessAccountsCommandInput extends ListLink
|
|
|
22
22
|
export interface ListLinkedWhatsAppBusinessAccountsCommandOutput extends ListLinkedWhatsAppBusinessAccountsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListLinkedWhatsAppBusinessAccountsCommand_base: {
|
|
25
|
-
new (input: ListLinkedWhatsAppBusinessAccountsCommandInput): import("@smithy/
|
|
26
|
-
new (...[input]: [] | [ListLinkedWhatsAppBusinessAccountsCommandInput]): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListLinkedWhatsAppBusinessAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListLinkedWhatsAppBusinessAccountsCommandInput, ListLinkedWhatsAppBusinessAccountsCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListLinkedWhatsAppBusinessAccountsCommandInput]): import("@smithy/core/client").CommandImpl<ListLinkedWhatsAppBusinessAccountsCommandInput, ListLinkedWhatsAppBusinessAccountsCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>List all WhatsApp Business Accounts linked to your Amazon Web Services account.</p>
|
|
@@ -57,6 +59,7 @@ declare const ListLinkedWhatsAppBusinessAccountsCommand_base: {
|
|
|
57
59
|
* // roleArn: "STRING_VALUE",
|
|
58
60
|
* // },
|
|
59
61
|
* // ],
|
|
62
|
+
* // marketingMessagesOnboardingStatus: "STRING_VALUE",
|
|
60
63
|
* // },
|
|
61
64
|
* // ],
|
|
62
65
|
* // nextToken: "STRING_VALUE",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceInpu
|
|
|
22
22
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListTagsForResourceCommand_base: {
|
|
25
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListTagsForResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/core/client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>List all tags associated with a resource, such as a phone number or WABA.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ListWhatsAppMessageTemplatesInput, ListWhatsAppMessageTemplatesOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface ListWhatsAppMessageTemplatesCommandInput extends ListWhatsAppMe
|
|
|
22
22
|
export interface ListWhatsAppMessageTemplatesCommandOutput extends ListWhatsAppMessageTemplatesOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListWhatsAppMessageTemplatesCommand_base: {
|
|
25
|
-
new (input: ListWhatsAppMessageTemplatesCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListWhatsAppMessageTemplatesCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListWhatsAppMessageTemplatesCommandInput): import("@smithy/core/client").CommandImpl<ListWhatsAppMessageTemplatesCommandInput, ListWhatsAppMessageTemplatesCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListWhatsAppMessageTemplatesCommandInput): import("@smithy/core/client").CommandImpl<ListWhatsAppMessageTemplatesCommandInput, ListWhatsAppMessageTemplatesCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists WhatsApp message templates for a specific WhatsApp Business Account.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { ListWhatsAppTemplateLibraryInput, ListWhatsAppTemplateLibraryOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface ListWhatsAppTemplateLibraryCommandInput extends ListWhatsAppTem
|
|
|
22
22
|
export interface ListWhatsAppTemplateLibraryCommandOutput extends ListWhatsAppTemplateLibraryOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const ListWhatsAppTemplateLibraryCommand_base: {
|
|
25
|
-
new (input: ListWhatsAppTemplateLibraryCommandInput): import("@smithy/
|
|
26
|
-
new (input: ListWhatsAppTemplateLibraryCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: ListWhatsAppTemplateLibraryCommandInput): import("@smithy/core/client").CommandImpl<ListWhatsAppTemplateLibraryCommandInput, ListWhatsAppTemplateLibraryCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListWhatsAppTemplateLibraryCommandInput): import("@smithy/core/client").CommandImpl<ListWhatsAppTemplateLibraryCommandInput, ListWhatsAppTemplateLibraryCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Lists templates available in Meta's template library for WhatsApp messaging.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { PostWhatsAppMessageMediaInput, PostWhatsAppMessageMediaOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface PostWhatsAppMessageMediaCommandInput extends PostWhatsAppMessag
|
|
|
22
22
|
export interface PostWhatsAppMessageMediaCommandOutput extends PostWhatsAppMessageMediaOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PostWhatsAppMessageMediaCommand_base: {
|
|
25
|
-
new (input: PostWhatsAppMessageMediaCommandInput): import("@smithy/
|
|
26
|
-
new (input: PostWhatsAppMessageMediaCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PostWhatsAppMessageMediaCommandInput): import("@smithy/core/client").CommandImpl<PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PostWhatsAppMessageMediaCommandInput): import("@smithy/core/client").CommandImpl<PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Upload a media file to the WhatsApp service. Only the specified
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { PutWhatsAppBusinessAccountEventDestinationsInput, PutWhatsAppBusinessAccountEventDestinationsOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface PutWhatsAppBusinessAccountEventDestinationsCommandInput extends
|
|
|
22
22
|
export interface PutWhatsAppBusinessAccountEventDestinationsCommandOutput extends PutWhatsAppBusinessAccountEventDestinationsOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const PutWhatsAppBusinessAccountEventDestinationsCommand_base: {
|
|
25
|
-
new (input: PutWhatsAppBusinessAccountEventDestinationsCommandInput): import("@smithy/
|
|
26
|
-
new (input: PutWhatsAppBusinessAccountEventDestinationsCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: PutWhatsAppBusinessAccountEventDestinationsCommandInput): import("@smithy/core/client").CommandImpl<PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutWhatsAppBusinessAccountEventDestinationsCommandInput): import("@smithy/core/client").CommandImpl<PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Add an event destination to log event data from WhatsApp for a WhatsApp Business Account (WABA). A WABA can only have one event destination at a time. All resources associated with the WABA use the same event destination.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { SendWhatsAppMessageInput, SendWhatsAppMessageOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface SendWhatsAppMessageCommandInput extends SendWhatsAppMessageInpu
|
|
|
22
22
|
export interface SendWhatsAppMessageCommandOutput extends SendWhatsAppMessageOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const SendWhatsAppMessageCommand_base: {
|
|
25
|
-
new (input: SendWhatsAppMessageCommandInput): import("@smithy/
|
|
26
|
-
new (input: SendWhatsAppMessageCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: SendWhatsAppMessageCommandInput): import("@smithy/core/client").CommandImpl<SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: SendWhatsAppMessageCommandInput): import("@smithy/core/client").CommandImpl<SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Send a WhatsApp message. For examples of sending a message using the Amazon Web Services
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface TagResourceCommandInput extends TagResourceInput {
|
|
|
22
22
|
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const TagResourceCommand_base: {
|
|
25
|
-
new (input: TagResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: TagResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Adds or overwrites only the specified tags for the specified resource. When you specify
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
|
22
22
|
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UntagResourceCommand_base: {
|
|
25
|
-
new (input: UntagResourceCommandInput): import("@smithy/
|
|
26
|
-
new (input: UntagResourceCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Removes the specified tags from a resource. </p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { UpdateWhatsAppMessageTemplateInput, UpdateWhatsAppMessageTemplateOutput } from "../models/models_0";
|
|
4
4
|
import type { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
@@ -22,9 +22,11 @@ export interface UpdateWhatsAppMessageTemplateCommandInput extends UpdateWhatsAp
|
|
|
22
22
|
export interface UpdateWhatsAppMessageTemplateCommandOutput extends UpdateWhatsAppMessageTemplateOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateWhatsAppMessageTemplateCommand_base: {
|
|
25
|
-
new (input: UpdateWhatsAppMessageTemplateCommandInput): import("@smithy/
|
|
26
|
-
new (input: UpdateWhatsAppMessageTemplateCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: UpdateWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<UpdateWhatsAppMessageTemplateCommandInput, UpdateWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateWhatsAppMessageTemplateCommandInput): import("@smithy/core/client").CommandImpl<UpdateWhatsAppMessageTemplateCommandInput, UpdateWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Updates an existing WhatsApp message template.</p>
|
|
@@ -38,7 +40,9 @@ declare const UpdateWhatsAppMessageTemplateCommand_base: {
|
|
|
38
40
|
* const client = new SocialMessagingClient(config);
|
|
39
41
|
* const input = { // UpdateWhatsAppMessageTemplateInput
|
|
40
42
|
* id: "STRING_VALUE", // required
|
|
41
|
-
* metaTemplateId: "STRING_VALUE",
|
|
43
|
+
* metaTemplateId: "STRING_VALUE",
|
|
44
|
+
* templateName: "STRING_VALUE",
|
|
45
|
+
* templateLanguageCode: "STRING_VALUE",
|
|
42
46
|
* parameterFormat: "STRING_VALUE",
|
|
43
47
|
* templateCategory: "STRING_VALUE",
|
|
44
48
|
* templateComponents: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import type { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SocialMessagingServiceException as __BaseException } from "./SocialMessagingServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
@@ -326,6 +326,11 @@ export interface AssociateWhatsAppBusinessAccountOutput {
|
|
|
326
326
|
* @public
|
|
327
327
|
*/
|
|
328
328
|
statusCode?: number | undefined;
|
|
329
|
+
/**
|
|
330
|
+
* <p>The ID of the WhatsApp Business Account that was linked to your Amazon Web Services account.</p>
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
linkedWhatsAppBusinessAccountId?: string | undefined;
|
|
329
334
|
}
|
|
330
335
|
/**
|
|
331
336
|
* @public
|
|
@@ -721,6 +726,11 @@ export interface LinkedWhatsAppBusinessAccount {
|
|
|
721
726
|
* @public
|
|
722
727
|
*/
|
|
723
728
|
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
729
|
+
/**
|
|
730
|
+
* <p>The onboarding status for the Marketing Messages API. This value is fetched from Meta and indicates whether the WhatsApp Business Account is onboarded for Meta's Marketing Messages API.</p>
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
marketingMessagesOnboardingStatus?: string | undefined;
|
|
724
734
|
/**
|
|
725
735
|
* <p>The phone numbers associated with the Linked WhatsApp Business Account.</p>
|
|
726
736
|
* @public
|
|
@@ -842,12 +852,22 @@ export interface GetWhatsAppMessageTemplateInput {
|
|
|
842
852
|
* <p>The numeric ID of the template assigned by Meta.</p>
|
|
843
853
|
* @public
|
|
844
854
|
*/
|
|
845
|
-
metaTemplateId
|
|
855
|
+
metaTemplateId?: string | undefined;
|
|
846
856
|
/**
|
|
847
857
|
* <p>The ID of the WhatsApp Business Account associated with this template.</p>
|
|
848
858
|
* @public
|
|
849
859
|
*/
|
|
850
860
|
id: string | undefined;
|
|
861
|
+
/**
|
|
862
|
+
* <p>The name of the message template. Use together with <code>templateLanguageCode</code> as an alternative to <code>metaTemplateId</code> to identify a template.</p>
|
|
863
|
+
* @public
|
|
864
|
+
*/
|
|
865
|
+
templateName?: string | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* <p>The language code of the message template (for example, <code>en</code> or <code>en_US</code>). Use together with <code>templateName</code> as an alternative to <code>metaTemplateId</code> to identify a template.</p>
|
|
868
|
+
* @public
|
|
869
|
+
*/
|
|
870
|
+
templateLanguageCode?: string | undefined;
|
|
851
871
|
}
|
|
852
872
|
/**
|
|
853
873
|
* @public
|
|
@@ -955,6 +975,11 @@ export interface LinkedWhatsAppBusinessAccountSummary {
|
|
|
955
975
|
* @public
|
|
956
976
|
*/
|
|
957
977
|
eventDestinations: WhatsAppBusinessAccountEventDestination[] | undefined;
|
|
978
|
+
/**
|
|
979
|
+
* <p>The onboarding status for the Marketing Messages API. This value is fetched from Meta and indicates whether the WhatsApp Business Account is onboarded for Meta's Marketing Messages API.</p>
|
|
980
|
+
* @public
|
|
981
|
+
*/
|
|
982
|
+
marketingMessagesOnboardingStatus?: string | undefined;
|
|
958
983
|
}
|
|
959
984
|
/**
|
|
960
985
|
* @public
|
|
@@ -1178,7 +1203,17 @@ export interface UpdateWhatsAppMessageTemplateInput {
|
|
|
1178
1203
|
* <p>The numeric ID of the template assigned by Meta.</p>
|
|
1179
1204
|
* @public
|
|
1180
1205
|
*/
|
|
1181
|
-
metaTemplateId
|
|
1206
|
+
metaTemplateId?: string | undefined;
|
|
1207
|
+
/**
|
|
1208
|
+
* <p>The name of the message template. Use together with <code>templateLanguageCode</code> as an alternative to <code>metaTemplateId</code> to identify a template.</p>
|
|
1209
|
+
* @public
|
|
1210
|
+
*/
|
|
1211
|
+
templateName?: string | undefined;
|
|
1212
|
+
/**
|
|
1213
|
+
* <p>The language code of the message template (for example, <code>en</code> or <code>en_US</code>). Use together with <code>templateName</code> as an alternative to <code>metaTemplateId</code> to identify a template.</p>
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1216
|
+
templateLanguageCode?: string | undefined;
|
|
1182
1217
|
/**
|
|
1183
1218
|
* <p>The format specification for parameters in the template, this can be either 'named' or 'positional'.</p>
|
|
1184
1219
|
* @public
|
|
@@ -5,13 +5,13 @@ import type { SocialMessagingClientConfig } from "./SocialMessagingClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SocialMessagingClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
-
requestHandler: import("@smithy/
|
|
14
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
16
|
sha256: import("@smithy/types").HashConstructor;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,14 +5,14 @@ import type { SocialMessagingClientConfig } from "./SocialMessagingClient";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: SocialMessagingClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
12
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
15
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
17
|
sha256: import("@smithy/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -5,7 +5,7 @@ import type { SocialMessagingClientConfig } from "./SocialMessagingClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: SocialMessagingClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
8
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
10
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
11
11
|
protocolSettings: {
|
|
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: SocialMessagingClientConfig) =>
|
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
34
34
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
-
defaultsMode: import("@smithy/
|
|
35
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
37
37
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -6,25 +6,19 @@ import {
|
|
|
6
6
|
UserAgentInputConfig,
|
|
7
7
|
UserAgentResolvedConfig,
|
|
8
8
|
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
-
import {
|
|
10
|
-
RegionInputConfig,
|
|
11
|
-
RegionResolvedConfig,
|
|
12
|
-
} from "@smithy/config-resolver";
|
|
13
|
-
import {
|
|
14
|
-
EndpointInputConfig,
|
|
15
|
-
EndpointResolvedConfig,
|
|
16
|
-
} from "@smithy/middleware-endpoint";
|
|
17
|
-
import {
|
|
18
|
-
RetryInputConfig,
|
|
19
|
-
RetryResolvedConfig,
|
|
20
|
-
} from "@smithy/middleware-retry";
|
|
21
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
9
|
import {
|
|
23
10
|
DefaultsMode as __DefaultsMode,
|
|
24
11
|
SmithyConfiguration as __SmithyConfiguration,
|
|
25
12
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
13
|
Client as __Client,
|
|
27
|
-
} from "@smithy/
|
|
14
|
+
} from "@smithy/core/client";
|
|
15
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
16
|
+
import {
|
|
17
|
+
EndpointInputConfig,
|
|
18
|
+
EndpointResolvedConfig,
|
|
19
|
+
} from "@smithy/core/endpoints";
|
|
20
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
21
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
28
22
|
import {
|
|
29
23
|
AwsCredentialIdentityProvider,
|
|
30
24
|
BodyLengthCalculator as __BodyLengthCalculator,
|