@aws-sdk/client-socialmessaging 3.669.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/LICENSE +201 -0
- package/README.md +334 -0
- package/dist-cjs/SocialMessaging.js +37 -0
- package/dist-cjs/SocialMessagingClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AssociateWhatsAppBusinessAccountCommand.js +27 -0
- package/dist-cjs/commands/DeleteWhatsAppMessageMediaCommand.js +26 -0
- package/dist-cjs/commands/DisassociateWhatsAppBusinessAccountCommand.js +26 -0
- package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountCommand.js +26 -0
- package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +26 -0
- package/dist-cjs/commands/GetWhatsAppMessageMediaCommand.js +27 -0
- package/dist-cjs/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/PostWhatsAppMessageMediaCommand.js +27 -0
- package/dist-cjs/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +26 -0
- package/dist-cjs/commands/SendWhatsAppMessageCommand.js +27 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SocialMessagingServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +173 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +573 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/SocialMessaging.js +33 -0
- package/dist-es/SocialMessagingClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +23 -0
- package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +22 -0
- package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +22 -0
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +22 -0
- package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +22 -0
- package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +23 -0
- package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +23 -0
- package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +22 -0
- package/dist-es/commands/SendWhatsAppMessageCommand.js +23 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SocialMessagingServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +152 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +544 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/SocialMessaging.d.ts +128 -0
- package/dist-types/SocialMessagingClient.d.ts +207 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +139 -0
- package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +97 -0
- package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +87 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +116 -0
- package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +103 -0
- package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +113 -0
- package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +106 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
- package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +110 -0
- package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +90 -0
- package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +99 -0
- package/dist-types/commands/TagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +39 -0
- package/dist-types/models/SocialMessagingServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +969 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +119 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/SocialMessaging.d.ts +254 -0
- package/dist-types/ts3.4/SocialMessagingClient.d.ts +197 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWhatsAppMessageMediaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetWhatsAppMessageMediaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PostWhatsAppMessageMediaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendWhatsAppMessageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/SocialMessagingServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +272 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.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 +161 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceInput, ListTagsForResourceOutput } 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 ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>List all tags associated with a resource, such as a phone number or WABA.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, ListTagsForResourceCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, ListTagsForResourceCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // ListTagsForResourceInput
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListTagsForResourceOutput
|
|
43
|
+
* // statusCode: Number("int"),
|
|
44
|
+
* // tags: [ // TagList
|
|
45
|
+
* // { // Tag
|
|
46
|
+
* // key: "STRING_VALUE", // required
|
|
47
|
+
* // value: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
55
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
56
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
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 ThrottledRequestException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link SocialMessagingServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: ListTagsForResourceInput;
|
|
86
|
+
output: ListTagsForResourceOutput;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: ListTagsForResourceCommandInput;
|
|
90
|
+
output: ListTagsForResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PostWhatsAppMessageMediaInput, PostWhatsAppMessageMediaOutput } 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 PostWhatsAppMessageMediaCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PostWhatsAppMessageMediaCommandInput extends PostWhatsAppMessageMediaInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PostWhatsAppMessageMediaCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PostWhatsAppMessageMediaCommandOutput extends PostWhatsAppMessageMediaOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PostWhatsAppMessageMediaCommand_base: {
|
|
25
|
+
new (input: PostWhatsAppMessageMediaCommandInput): import("@smithy/smithy-client").CommandImpl<PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PostWhatsAppMessageMediaCommandInput): import("@smithy/smithy-client").CommandImpl<PostWhatsAppMessageMediaCommandInput, PostWhatsAppMessageMediaCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Upload a media file to the WhatsApp service. Only the specified
|
|
31
|
+
* <code>originationPhoneNumberId</code> has the permissions to send the media file when
|
|
32
|
+
* using <a href="https://docs.aws.amazon.com/social-messaging/latest/APIReference/API_SendWhatsAppMessage.html">SendWhatsAppMessage</a>. You must use either <code>sourceS3File</code>
|
|
33
|
+
* or <code>sourceS3PresignedUrl</code> for the source. If both or neither are specified then an
|
|
34
|
+
* <code>InvalidParameterException</code> is returned.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { SocialMessagingClient, PostWhatsAppMessageMediaCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
39
|
+
* // const { SocialMessagingClient, PostWhatsAppMessageMediaCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
40
|
+
* const client = new SocialMessagingClient(config);
|
|
41
|
+
* const input = { // PostWhatsAppMessageMediaInput
|
|
42
|
+
* originationPhoneNumberId: "STRING_VALUE", // required
|
|
43
|
+
* sourceS3PresignedUrl: { // S3PresignedUrl
|
|
44
|
+
* url: "STRING_VALUE", // required
|
|
45
|
+
* headers: { // Headers // required
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* sourceS3File: { // S3File
|
|
50
|
+
* bucketName: "STRING_VALUE", // required
|
|
51
|
+
* key: "STRING_VALUE", // required
|
|
52
|
+
* },
|
|
53
|
+
* };
|
|
54
|
+
* const command = new PostWhatsAppMessageMediaCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // PostWhatsAppMessageMediaOutput
|
|
57
|
+
* // mediaId: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param PostWhatsAppMessageMediaCommandInput - {@link PostWhatsAppMessageMediaCommandInput}
|
|
63
|
+
* @returns {@link PostWhatsAppMessageMediaCommandOutput}
|
|
64
|
+
* @see {@link PostWhatsAppMessageMediaCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link PostWhatsAppMessageMediaCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedByMetaException} (client fault)
|
|
69
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link DependencyException} (server fault)
|
|
72
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
75
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
76
|
+
* failure.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
79
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The resource was not found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
85
|
+
* <p>The request was denied due to request throttling.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ValidationException} (client fault)
|
|
91
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link SocialMessagingServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class PostWhatsAppMessageMediaCommand extends PostWhatsAppMessageMediaCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: PostWhatsAppMessageMediaInput;
|
|
103
|
+
output: PostWhatsAppMessageMediaOutput;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: PostWhatsAppMessageMediaCommandInput;
|
|
107
|
+
output: PostWhatsAppMessageMediaCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PutWhatsAppBusinessAccountEventDestinationsInput, PutWhatsAppBusinessAccountEventDestinationsOutput } 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 PutWhatsAppBusinessAccountEventDestinationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutWhatsAppBusinessAccountEventDestinationsCommandInput extends PutWhatsAppBusinessAccountEventDestinationsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutWhatsAppBusinessAccountEventDestinationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutWhatsAppBusinessAccountEventDestinationsCommandOutput extends PutWhatsAppBusinessAccountEventDestinationsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutWhatsAppBusinessAccountEventDestinationsCommand_base: {
|
|
25
|
+
new (input: PutWhatsAppBusinessAccountEventDestinationsCommandInput): import("@smithy/smithy-client").CommandImpl<PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutWhatsAppBusinessAccountEventDestinationsCommandInput): import("@smithy/smithy-client").CommandImpl<PutWhatsAppBusinessAccountEventDestinationsCommandInput, PutWhatsAppBusinessAccountEventDestinationsCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <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>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, PutWhatsAppBusinessAccountEventDestinationsCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, PutWhatsAppBusinessAccountEventDestinationsCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // PutWhatsAppBusinessAccountEventDestinationsInput
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* eventDestinations: [ // WhatsAppBusinessAccountEventDestinations // required
|
|
40
|
+
* { // WhatsAppBusinessAccountEventDestination
|
|
41
|
+
* eventDestinationArn: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new PutWhatsAppBusinessAccountEventDestinationsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param PutWhatsAppBusinessAccountEventDestinationsCommandInput - {@link PutWhatsAppBusinessAccountEventDestinationsCommandInput}
|
|
52
|
+
* @returns {@link PutWhatsAppBusinessAccountEventDestinationsCommandOutput}
|
|
53
|
+
* @see {@link PutWhatsAppBusinessAccountEventDestinationsCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link PutWhatsAppBusinessAccountEventDestinationsCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
58
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
59
|
+
* failure.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
62
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link SocialMessagingServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class PutWhatsAppBusinessAccountEventDestinationsCommand extends PutWhatsAppBusinessAccountEventDestinationsCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: PutWhatsAppBusinessAccountEventDestinationsInput;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: PutWhatsAppBusinessAccountEventDestinationsCommandInput;
|
|
87
|
+
output: PutWhatsAppBusinessAccountEventDestinationsCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { SendWhatsAppMessageInput, SendWhatsAppMessageOutput } 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 SendWhatsAppMessageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SendWhatsAppMessageCommandInput extends SendWhatsAppMessageInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SendWhatsAppMessageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SendWhatsAppMessageCommandOutput extends SendWhatsAppMessageOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SendWhatsAppMessageCommand_base: {
|
|
25
|
+
new (input: SendWhatsAppMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SendWhatsAppMessageCommandInput): import("@smithy/smithy-client").CommandImpl<SendWhatsAppMessageCommandInput, SendWhatsAppMessageCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Send a WhatsApp message. For examples of sending a message using the Amazon Web Services
|
|
31
|
+
* CLI, see <a href="https://docs.aws.amazon.com/social-messaging/latest/userguide/send-message.html">Sending messages</a> in the
|
|
32
|
+
* <i>
|
|
33
|
+
* <i>Amazon Web Services End User Messaging Social User Guide</i>
|
|
34
|
+
* </i>.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { SocialMessagingClient, SendWhatsAppMessageCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
39
|
+
* // const { SocialMessagingClient, SendWhatsAppMessageCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
40
|
+
* const client = new SocialMessagingClient(config);
|
|
41
|
+
* const input = { // SendWhatsAppMessageInput
|
|
42
|
+
* originationPhoneNumberId: "STRING_VALUE", // required
|
|
43
|
+
* message: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
|
|
44
|
+
* metaApiVersion: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new SendWhatsAppMessageCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // SendWhatsAppMessageOutput
|
|
49
|
+
* // messageId: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param SendWhatsAppMessageCommandInput - {@link SendWhatsAppMessageCommandInput}
|
|
55
|
+
* @returns {@link SendWhatsAppMessageCommandOutput}
|
|
56
|
+
* @see {@link SendWhatsAppMessageCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link SendWhatsAppMessageCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link DependencyException} (server fault)
|
|
61
|
+
* <p>Thrown when performing an action because a dependency would be broken.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
64
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
65
|
+
* failure.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
68
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>The resource was not found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
74
|
+
* <p>The request was denied due to request throttling.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link SocialMessagingServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class SendWhatsAppMessageCommand extends SendWhatsAppMessageCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: SendWhatsAppMessageInput;
|
|
92
|
+
output: SendWhatsAppMessageOutput;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: SendWhatsAppMessageCommandInput;
|
|
96
|
+
output: SendWhatsAppMessageCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceInput, TagResourceOutput } 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 TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds or overwrites only the specified tags for the specified resource. When you specify
|
|
31
|
+
* an existing tag key, the value is overwritten with the new value.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { SocialMessagingClient, TagResourceCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
36
|
+
* // const { SocialMessagingClient, TagResourceCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
37
|
+
* const client = new SocialMessagingClient(config);
|
|
38
|
+
* const input = { // TagResourceInput
|
|
39
|
+
* resourceArn: "STRING_VALUE", // required
|
|
40
|
+
* tags: [ // TagList // required
|
|
41
|
+
* { // Tag
|
|
42
|
+
* key: "STRING_VALUE", // required
|
|
43
|
+
* value: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
47
|
+
* const command = new TagResourceCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // TagResourceOutput
|
|
50
|
+
* // statusCode: Number("int"),
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
56
|
+
* @returns {@link TagResourceCommandOutput}
|
|
57
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
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 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
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: TagResourceInput;
|
|
87
|
+
output: TagResourceOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: TagResourceCommandInput;
|
|
91
|
+
output: TagResourceCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UntagResourceInput, UntagResourceOutput } 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 UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SocialMessagingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes the specified tags from a resource. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SocialMessagingClient, UntagResourceCommand } from "@aws-sdk/client-socialmessaging"; // ES Modules import
|
|
35
|
+
* // const { SocialMessagingClient, UntagResourceCommand } = require("@aws-sdk/client-socialmessaging"); // CommonJS import
|
|
36
|
+
* const client = new SocialMessagingClient(config);
|
|
37
|
+
* const input = { // UntagResourceInput
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* tagKeys: [ // StringList // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UntagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UntagResourceOutput
|
|
46
|
+
* // statusCode: Number("int"),
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
52
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
53
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SocialMessagingClientResolvedConfig | config} for SocialMessagingClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServiceException} (server fault)
|
|
58
|
+
* <p>The request processing has failed because of an unknown error, exception, or
|
|
59
|
+
* failure.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
62
|
+
* <p>One or more parameters provided to the action are not valid.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottledRequestException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The request contains an invalid parameter value. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link SocialMessagingServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from SocialMessaging service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: UntagResourceInput;
|
|
83
|
+
output: UntagResourceOutput;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: UntagResourceCommandInput;
|
|
87
|
+
output: UntagResourceCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./AssociateWhatsAppBusinessAccountCommand";
|
|
2
|
+
export * from "./DeleteWhatsAppMessageMediaCommand";
|
|
3
|
+
export * from "./DisassociateWhatsAppBusinessAccountCommand";
|
|
4
|
+
export * from "./GetLinkedWhatsAppBusinessAccountCommand";
|
|
5
|
+
export * from "./GetLinkedWhatsAppBusinessAccountPhoneNumberCommand";
|
|
6
|
+
export * from "./GetWhatsAppMessageMediaCommand";
|
|
7
|
+
export * from "./ListLinkedWhatsAppBusinessAccountsCommand";
|
|
8
|
+
export * from "./ListTagsForResourceCommand";
|
|
9
|
+
export * from "./PostWhatsAppMessageMediaCommand";
|
|
10
|
+
export * from "./PutWhatsAppBusinessAccountEventDestinationsCommand";
|
|
11
|
+
export * from "./SendWhatsAppMessageCommand";
|
|
12
|
+
export * from "./TagResourceCommand";
|
|
13
|
+
export * from "./UntagResourceCommand";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
36
|
+
Region?: string;
|
|
37
|
+
UseDualStack?: boolean;
|
|
38
|
+
UseFIPS?: boolean;
|
|
39
|
+
Endpoint?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface SocialMessagingExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|