@aws-sdk/client-socialmessaging 3.846.0 → 3.854.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -0
- package/dist-cjs/SocialMessaging.js +16 -0
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateCommand.js +26 -0
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +26 -0
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateMediaCommand.js +27 -0
- package/dist-cjs/commands/DeleteWhatsAppMessageTemplateCommand.js +26 -0
- package/dist-cjs/commands/GetWhatsAppMessageTemplateCommand.js +26 -0
- package/dist-cjs/commands/ListWhatsAppMessageTemplatesCommand.js +26 -0
- package/dist-cjs/commands/ListWhatsAppTemplateLibraryCommand.js +26 -0
- package/dist-cjs/commands/UpdateWhatsAppMessageTemplateCommand.js +26 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +19 -1
- package/dist-cjs/pagination/ListWhatsAppMessageTemplatesPaginator.js +7 -0
- package/dist-cjs/pagination/ListWhatsAppTemplateLibraryPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +265 -4
- package/dist-es/SocialMessaging.js +16 -0
- package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +22 -0
- package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +22 -0
- package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +23 -0
- package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +22 -0
- package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +22 -0
- package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +22 -0
- package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +22 -0
- package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/pagination/ListWhatsAppMessageTemplatesPaginator.js +4 -0
- package/dist-es/pagination/ListWhatsAppTemplateLibraryPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +249 -4
- package/dist-types/SocialMessaging.d.ts +56 -0
- package/dist-types/SocialMessagingClient.d.ts +10 -2
- package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +5 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +97 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +125 -0
- package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +98 -0
- package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +95 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +1 -0
- package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +95 -0
- package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +106 -0
- package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +129 -0
- package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +550 -28
- package/dist-types/pagination/ListWhatsAppMessageTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWhatsAppTemplateLibraryPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/SocialMessaging.d.ts +148 -0
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWhatsAppMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWhatsAppMessageTemplatesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWhatsAppTemplateLibraryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +139 -9
- package/dist-types/ts3.4/pagination/ListWhatsAppMessageTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWhatsAppTemplateLibraryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +5 -5
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateWhatsAppMessageTemplateInput, CreateWhatsAppMessageTemplateOutput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateWhatsAppMessageTemplateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateWhatsAppMessageTemplateCommandInput extends CreateWhatsAppMessageTemplateInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateWhatsAppMessageTemplateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWhatsAppMessageTemplateCommandOutput extends CreateWhatsAppMessageTemplateOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateWhatsAppMessageTemplateCommand_base: {
|
|
25
|
+
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWhatsAppMessageTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWhatsAppMessageTemplateCommandInput, CreateWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new WhatsApp message template from a custom definition.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, CreateWhatsAppMessageTemplateCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, CreateWhatsAppMessageTemplateCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // CreateWhatsAppMessageTemplateInput
|
|
38
|
+
* templateDefinition: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
39
|
+
* id: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new CreateWhatsAppMessageTemplateCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // CreateWhatsAppMessageTemplateOutput
|
|
44
|
+
* // metaTemplateId: "STRING_VALUE",
|
|
45
|
+
* // templateStatus: "STRING_VALUE",
|
|
46
|
+
* // category: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param CreateWhatsAppMessageTemplateCommandInput - {@link CreateWhatsAppMessageTemplateCommandInput}
|
|
52
|
+
* @returns {@link CreateWhatsAppMessageTemplateCommandOutput}
|
|
53
|
+
* @see {@link CreateWhatsAppMessageTemplateCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link CreateWhatsAppMessageTemplateCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link DependencyException} (server fault)
|
|
58
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
61
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
62
|
+
* failure.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
65
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The resource was not found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
71
|
+
* <p>The request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link SocialMessagingServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class CreateWhatsAppMessageTemplateCommand extends CreateWhatsAppMessageTemplateCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: CreateWhatsAppMessageTemplateInput;
|
|
90
|
+
output: CreateWhatsAppMessageTemplateOutput;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: CreateWhatsAppMessageTemplateCommandInput;
|
|
94
|
+
output: CreateWhatsAppMessageTemplateCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateWhatsAppMessageTemplateFromLibraryInput, CreateWhatsAppMessageTemplateFromLibraryOutput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateWhatsAppMessageTemplateFromLibraryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateWhatsAppMessageTemplateFromLibraryCommandInput extends CreateWhatsAppMessageTemplateFromLibraryInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateWhatsAppMessageTemplateFromLibraryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWhatsAppMessageTemplateFromLibraryCommandOutput extends CreateWhatsAppMessageTemplateFromLibraryOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateWhatsAppMessageTemplateFromLibraryCommand_base: {
|
|
25
|
+
new (input: CreateWhatsAppMessageTemplateFromLibraryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWhatsAppMessageTemplateFromLibraryCommandInput, CreateWhatsAppMessageTemplateFromLibraryCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWhatsAppMessageTemplateFromLibraryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWhatsAppMessageTemplateFromLibraryCommandInput, CreateWhatsAppMessageTemplateFromLibraryCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new WhatsApp message template using a template from Meta's template library.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, CreateWhatsAppMessageTemplateFromLibraryCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, CreateWhatsAppMessageTemplateFromLibraryCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // CreateWhatsAppMessageTemplateFromLibraryInput
|
|
38
|
+
* metaLibraryTemplate: { // MetaLibraryTemplate
|
|
39
|
+
* templateName: "STRING_VALUE", // required
|
|
40
|
+
* libraryTemplateName: "STRING_VALUE", // required
|
|
41
|
+
* templateCategory: "STRING_VALUE", // required
|
|
42
|
+
* templateLanguage: "STRING_VALUE", // required
|
|
43
|
+
* libraryTemplateButtonInputs: [ // MetaLibraryTemplateButtonInputs
|
|
44
|
+
* { // LibraryTemplateButtonInput
|
|
45
|
+
* type: "STRING_VALUE",
|
|
46
|
+
* phoneNumber: "STRING_VALUE",
|
|
47
|
+
* url: { // MetaUrlWithSuffixExample
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* otpType: "STRING_VALUE",
|
|
51
|
+
* zeroTapTermsAccepted: true || false,
|
|
52
|
+
* supportedApps: [ // SupportedApps
|
|
53
|
+
* { // SupportedApp
|
|
54
|
+
* "<keys>": "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* libraryTemplateBodyInputs: { // LibraryTemplateBodyInputs
|
|
60
|
+
* addContactNumber: true || false,
|
|
61
|
+
* addLearnMoreLink: true || false,
|
|
62
|
+
* addSecurityRecommendation: true || false,
|
|
63
|
+
* addTrackPackageLink: true || false,
|
|
64
|
+
* codeExpirationMinutes: Number("int"),
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* id: "STRING_VALUE", // required
|
|
68
|
+
* };
|
|
69
|
+
* const command = new CreateWhatsAppMessageTemplateFromLibraryCommand(input);
|
|
70
|
+
* const response = await client.send(command);
|
|
71
|
+
* // { // CreateWhatsAppMessageTemplateFromLibraryOutput
|
|
72
|
+
* // metaTemplateId: "STRING_VALUE",
|
|
73
|
+
* // templateStatus: "STRING_VALUE",
|
|
74
|
+
* // category: "STRING_VALUE",
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param CreateWhatsAppMessageTemplateFromLibraryCommandInput - {@link CreateWhatsAppMessageTemplateFromLibraryCommandInput}
|
|
80
|
+
* @returns {@link CreateWhatsAppMessageTemplateFromLibraryCommandOutput}
|
|
81
|
+
* @see {@link CreateWhatsAppMessageTemplateFromLibraryCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link CreateWhatsAppMessageTemplateFromLibraryCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link DependencyException} (server fault)
|
|
86
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
89
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
90
|
+
* failure.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
93
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
96
|
+
* <p>The resource was not found.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
99
|
+
* <p>The request was denied due to request throttling.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
102
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ValidationException} (client fault)
|
|
105
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link SocialMessagingServiceException}
|
|
108
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class CreateWhatsAppMessageTemplateFromLibraryCommand extends CreateWhatsAppMessageTemplateFromLibraryCommand_base {
|
|
114
|
+
/** @internal type navigation helper, not in runtime. */
|
|
115
|
+
protected static __types: {
|
|
116
|
+
api: {
|
|
117
|
+
input: CreateWhatsAppMessageTemplateFromLibraryInput;
|
|
118
|
+
output: CreateWhatsAppMessageTemplateFromLibraryOutput;
|
|
119
|
+
};
|
|
120
|
+
sdk: {
|
|
121
|
+
input: CreateWhatsAppMessageTemplateFromLibraryCommandInput;
|
|
122
|
+
output: CreateWhatsAppMessageTemplateFromLibraryCommandOutput;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateWhatsAppMessageTemplateMediaInput, CreateWhatsAppMessageTemplateMediaOutput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateWhatsAppMessageTemplateMediaCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateWhatsAppMessageTemplateMediaCommandInput extends CreateWhatsAppMessageTemplateMediaInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateWhatsAppMessageTemplateMediaCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWhatsAppMessageTemplateMediaCommandOutput extends CreateWhatsAppMessageTemplateMediaOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateWhatsAppMessageTemplateMediaCommand_base: {
|
|
25
|
+
new (input: CreateWhatsAppMessageTemplateMediaCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWhatsAppMessageTemplateMediaCommandInput, CreateWhatsAppMessageTemplateMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateWhatsAppMessageTemplateMediaCommandInput): import("@smithy/smithy-client").CommandImpl<CreateWhatsAppMessageTemplateMediaCommandInput, CreateWhatsAppMessageTemplateMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Uploads media for use in a WhatsApp message template.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, CreateWhatsAppMessageTemplateMediaCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, CreateWhatsAppMessageTemplateMediaCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // CreateWhatsAppMessageTemplateMediaInput
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* sourceS3File: { // S3File
|
|
40
|
+
* bucketName: "STRING_VALUE", // required
|
|
41
|
+
* key: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
44
|
+
* const command = new CreateWhatsAppMessageTemplateMediaCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // CreateWhatsAppMessageTemplateMediaOutput
|
|
47
|
+
* // metaHeaderHandle: "STRING_VALUE",
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param CreateWhatsAppMessageTemplateMediaCommandInput - {@link CreateWhatsAppMessageTemplateMediaCommandInput}
|
|
53
|
+
* @returns {@link CreateWhatsAppMessageTemplateMediaCommandOutput}
|
|
54
|
+
* @see {@link CreateWhatsAppMessageTemplateMediaCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link CreateWhatsAppMessageTemplateMediaCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link DependencyException} (server fault)
|
|
59
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
62
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
63
|
+
* failure.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
66
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The resource was not found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
72
|
+
* <p>The request was denied due to request throttling.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link SocialMessagingServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class CreateWhatsAppMessageTemplateMediaCommand extends CreateWhatsAppMessageTemplateMediaCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: CreateWhatsAppMessageTemplateMediaInput;
|
|
91
|
+
output: CreateWhatsAppMessageTemplateMediaOutput;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: CreateWhatsAppMessageTemplateMediaCommandInput;
|
|
95
|
+
output: CreateWhatsAppMessageTemplateMediaCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteWhatsAppMessageTemplateInput, DeleteWhatsAppMessageTemplateOutput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteWhatsAppMessageTemplateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteWhatsAppMessageTemplateCommandInput extends DeleteWhatsAppMessageTemplateInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteWhatsAppMessageTemplateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteWhatsAppMessageTemplateCommandOutput extends DeleteWhatsAppMessageTemplateOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteWhatsAppMessageTemplateCommand_base: {
|
|
25
|
+
new (input: DeleteWhatsAppMessageTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWhatsAppMessageTemplateCommandInput, DeleteWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteWhatsAppMessageTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteWhatsAppMessageTemplateCommandInput, DeleteWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a WhatsApp message template.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, DeleteWhatsAppMessageTemplateCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, DeleteWhatsAppMessageTemplateCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // DeleteWhatsAppMessageTemplateInput
|
|
38
|
+
* metaTemplateId: "STRING_VALUE",
|
|
39
|
+
* deleteAllLanguages: true || false,
|
|
40
|
+
* id: "STRING_VALUE", // required
|
|
41
|
+
* templateName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteWhatsAppMessageTemplateCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteWhatsAppMessageTemplateCommandInput - {@link DeleteWhatsAppMessageTemplateCommandInput}
|
|
50
|
+
* @returns {@link DeleteWhatsAppMessageTemplateCommandOutput}
|
|
51
|
+
* @see {@link DeleteWhatsAppMessageTemplateCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteWhatsAppMessageTemplateCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link DependencyException} (server fault)
|
|
56
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
59
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
60
|
+
* failure.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
63
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The resource was not found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link SocialMessagingServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class DeleteWhatsAppMessageTemplateCommand extends DeleteWhatsAppMessageTemplateCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: DeleteWhatsAppMessageTemplateInput;
|
|
88
|
+
output: {};
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: DeleteWhatsAppMessageTemplateCommandInput;
|
|
92
|
+
output: DeleteWhatsAppMessageTemplateCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -62,6 +62,7 @@ declare const GetLinkedWhatsAppBusinessAccountCommand_base: {
|
|
|
62
62
|
* // displayPhoneNumberName: "STRING_VALUE", // required
|
|
63
63
|
* // displayPhoneNumber: "STRING_VALUE", // required
|
|
64
64
|
* // qualityRating: "STRING_VALUE", // required
|
|
65
|
+
* // dataLocalizationRegion: "STRING_VALUE",
|
|
65
66
|
* // },
|
|
66
67
|
* // ],
|
|
67
68
|
* // },
|
|
@@ -49,6 +49,7 @@ declare const GetLinkedWhatsAppBusinessAccountPhoneNumberCommand_base: {
|
|
|
49
49
|
* // displayPhoneNumberName: "STRING_VALUE", // required
|
|
50
50
|
* // displayPhoneNumber: "STRING_VALUE", // required
|
|
51
51
|
* // qualityRating: "STRING_VALUE", // required
|
|
52
|
+
* // dataLocalizationRegion: "STRING_VALUE",
|
|
52
53
|
* // },
|
|
53
54
|
* // linkedWhatsAppBusinessAccountId: "STRING_VALUE",
|
|
54
55
|
* // };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetWhatsAppMessageTemplateInput, GetWhatsAppMessageTemplateOutput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetWhatsAppMessageTemplateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetWhatsAppMessageTemplateCommandInput extends GetWhatsAppMessageTemplateInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetWhatsAppMessageTemplateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetWhatsAppMessageTemplateCommandOutput extends GetWhatsAppMessageTemplateOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetWhatsAppMessageTemplateCommand_base: {
|
|
25
|
+
new (input: GetWhatsAppMessageTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppMessageTemplateCommandInput, GetWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetWhatsAppMessageTemplateCommandInput): import("@smithy/smithy-client").CommandImpl<GetWhatsAppMessageTemplateCommandInput, GetWhatsAppMessageTemplateCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves a specific WhatsApp message template.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, GetWhatsAppMessageTemplateCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, GetWhatsAppMessageTemplateCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // GetWhatsAppMessageTemplateInput
|
|
38
|
+
* metaTemplateId: "STRING_VALUE", // required
|
|
39
|
+
* id: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetWhatsAppMessageTemplateCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetWhatsAppMessageTemplateOutput
|
|
44
|
+
* // template: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetWhatsAppMessageTemplateCommandInput - {@link GetWhatsAppMessageTemplateCommandInput}
|
|
50
|
+
* @returns {@link GetWhatsAppMessageTemplateCommandOutput}
|
|
51
|
+
* @see {@link GetWhatsAppMessageTemplateCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetWhatsAppMessageTemplateCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link DependencyException} (server fault)
|
|
56
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
59
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
60
|
+
* failure.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
63
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The resource was not found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link SocialMessagingServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetWhatsAppMessageTemplateCommand extends GetWhatsAppMessageTemplateCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: GetWhatsAppMessageTemplateInput;
|
|
88
|
+
output: GetWhatsAppMessageTemplateOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: GetWhatsAppMessageTemplateCommandInput;
|
|
92
|
+
output: GetWhatsAppMessageTemplateCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListWhatsAppMessageTemplatesInput, ListWhatsAppMessageTemplatesOutput } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, SocialMessagingClientResolvedConfig } from "../SocialMessagingClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListWhatsAppMessageTemplatesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListWhatsAppMessageTemplatesCommandInput extends ListWhatsAppMessageTemplatesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListWhatsAppMessageTemplatesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListWhatsAppMessageTemplatesCommandOutput extends ListWhatsAppMessageTemplatesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListWhatsAppMessageTemplatesCommand_base: {
|
|
25
|
+
new (input: ListWhatsAppMessageTemplatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListWhatsAppMessageTemplatesCommandInput, ListWhatsAppMessageTemplatesCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListWhatsAppMessageTemplatesCommandInput): import("@smithy/smithy-client").CommandImpl<ListWhatsAppMessageTemplatesCommandInput, ListWhatsAppMessageTemplatesCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists WhatsApp message templates for a specific WhatsApp Business Account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, ListWhatsAppMessageTemplatesCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, ListWhatsAppMessageTemplatesCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // ListWhatsAppMessageTemplatesInput
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListWhatsAppMessageTemplatesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListWhatsAppMessageTemplatesOutput
|
|
45
|
+
* // templates: [ // TemplateSummaryList
|
|
46
|
+
* // { // TemplateSummary
|
|
47
|
+
* // templateName: "STRING_VALUE",
|
|
48
|
+
* // metaTemplateId: "STRING_VALUE",
|
|
49
|
+
* // templateStatus: "STRING_VALUE",
|
|
50
|
+
* // templateQualityScore: "STRING_VALUE",
|
|
51
|
+
* // templateLanguage: "STRING_VALUE",
|
|
52
|
+
* // templateCategory: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListWhatsAppMessageTemplatesCommandInput - {@link ListWhatsAppMessageTemplatesCommandInput}
|
|
61
|
+
* @returns {@link ListWhatsAppMessageTemplatesCommandOutput}
|
|
62
|
+
* @see {@link ListWhatsAppMessageTemplatesCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListWhatsAppMessageTemplatesCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link DependencyException} (server fault)
|
|
67
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
70
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
71
|
+
* failure.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
74
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>The resource was not found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
80
|
+
* <p>The request was denied due to request throttling.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link SocialMessagingServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListWhatsAppMessageTemplatesCommand extends ListWhatsAppMessageTemplatesCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: ListWhatsAppMessageTemplatesInput;
|
|
99
|
+
output: ListWhatsAppMessageTemplatesOutput;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: ListWhatsAppMessageTemplatesCommandInput;
|
|
103
|
+
output: ListWhatsAppMessageTemplatesCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|