@aws-sdk/client-socialmessaging 3.891.0 → 3.894.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1682 -10
- package/package.json +19 -19
- package/dist-cjs/SocialMessaging.js +0 -53
- package/dist-cjs/SocialMessagingClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/AssociateWhatsAppBusinessAccountCommand.js +0 -27
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateCommand.js +0 -26
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +0 -26
- package/dist-cjs/commands/CreateWhatsAppMessageTemplateMediaCommand.js +0 -27
- package/dist-cjs/commands/DeleteWhatsAppMessageMediaCommand.js +0 -26
- package/dist-cjs/commands/DeleteWhatsAppMessageTemplateCommand.js +0 -26
- package/dist-cjs/commands/DisassociateWhatsAppBusinessAccountCommand.js +0 -26
- package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountCommand.js +0 -26
- package/dist-cjs/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +0 -26
- package/dist-cjs/commands/GetWhatsAppMessageMediaCommand.js +0 -27
- package/dist-cjs/commands/GetWhatsAppMessageTemplateCommand.js +0 -26
- package/dist-cjs/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/ListWhatsAppMessageTemplatesCommand.js +0 -26
- package/dist-cjs/commands/ListWhatsAppTemplateLibraryCommand.js +0 -26
- package/dist-cjs/commands/PostWhatsAppMessageMediaCommand.js +0 -27
- package/dist-cjs/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +0 -26
- package/dist-cjs/commands/SendWhatsAppMessageCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateWhatsAppMessageTemplateCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -24
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/SocialMessagingServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -191
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListLinkedWhatsAppBusinessAccountsPaginator.js +0 -7
- package/dist-cjs/pagination/ListWhatsAppMessageTemplatesPaginator.js +0 -7
- package/dist-cjs/pagination/ListWhatsAppTemplateLibraryPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -7
- package/dist-cjs/protocols/Aws_restJson1.js +0 -834
- package/dist-cjs/runtimeExtensions.js +0 -13
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PostWhatsAppMessageMediaCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class PostWhatsAppMessageMediaCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("SocialMessaging", "PostWhatsAppMessageMedia", {})
|
|
21
|
-
.n("SocialMessagingClient", "PostWhatsAppMessageMediaCommand")
|
|
22
|
-
.f(models_0_1.PostWhatsAppMessageMediaInputFilterSensitiveLog, void 0)
|
|
23
|
-
.ser(Aws_restJson1_1.se_PostWhatsAppMessageMediaCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_PostWhatsAppMessageMediaCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.PostWhatsAppMessageMediaCommand = PostWhatsAppMessageMediaCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutWhatsAppBusinessAccountEventDestinationsCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class PutWhatsAppBusinessAccountEventDestinationsCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("SocialMessaging", "PutWhatsAppBusinessAccountEventDestinations", {})
|
|
20
|
-
.n("SocialMessagingClient", "PutWhatsAppBusinessAccountEventDestinationsCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_PutWhatsAppBusinessAccountEventDestinationsCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_PutWhatsAppBusinessAccountEventDestinationsCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.PutWhatsAppBusinessAccountEventDestinationsCommand = PutWhatsAppBusinessAccountEventDestinationsCommand;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SendWhatsAppMessageCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class SendWhatsAppMessageCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("SocialMessaging", "SendWhatsAppMessage", {})
|
|
21
|
-
.n("SocialMessagingClient", "SendWhatsAppMessageCommand")
|
|
22
|
-
.f(models_0_1.SendWhatsAppMessageInputFilterSensitiveLog, void 0)
|
|
23
|
-
.ser(Aws_restJson1_1.se_SendWhatsAppMessageCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_SendWhatsAppMessageCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.SendWhatsAppMessageCommand = SendWhatsAppMessageCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("SocialMessaging", "TagResource", {})
|
|
20
|
-
.n("SocialMessagingClient", "TagResourceCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_TagResourceCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_TagResourceCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("SocialMessaging", "UntagResource", {})
|
|
20
|
-
.n("SocialMessagingClient", "UntagResourceCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_UntagResourceCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_UntagResourceCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateWhatsAppMessageTemplateCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateWhatsAppMessageTemplateCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("SocialMessaging", "UpdateWhatsAppMessageTemplate", {})
|
|
20
|
-
.n("SocialMessagingClient", "UpdateWhatsAppMessageTemplateCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_UpdateWhatsAppMessageTemplateCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_UpdateWhatsAppMessageTemplateCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.UpdateWhatsAppMessageTemplateCommand = UpdateWhatsAppMessageTemplateCommand;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./AssociateWhatsAppBusinessAccountCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./CreateWhatsAppMessageTemplateCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./CreateWhatsAppMessageTemplateFromLibraryCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./CreateWhatsAppMessageTemplateMediaCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./DeleteWhatsAppMessageMediaCommand"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./DeleteWhatsAppMessageTemplateCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./DisassociateWhatsAppBusinessAccountCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./GetLinkedWhatsAppBusinessAccountCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./GetLinkedWhatsAppBusinessAccountPhoneNumberCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./GetWhatsAppMessageMediaCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./GetWhatsAppMessageTemplateCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./ListLinkedWhatsAppBusinessAccountsCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./ListWhatsAppMessageTemplatesCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./ListWhatsAppTemplateLibraryCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./PostWhatsAppMessageMediaCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./PutWhatsAppBusinessAccountEventDestinationsCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./SendWhatsAppMessageCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./UpdateWhatsAppMessageTemplateCommand"), exports);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return Object.assign(options, {
|
|
6
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
7
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
8
|
-
defaultSigningName: "social-messaging",
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
12
|
-
exports.commonParams = {
|
|
13
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
-
Region: { type: "builtInParams", name: "region" },
|
|
16
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SocialMessagingServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class SocialMessagingServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, SocialMessagingServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.SocialMessagingServiceException = SocialMessagingServiceException;
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SendWhatsAppMessageInputFilterSensitiveLog = exports.PostWhatsAppMessageMediaInputFilterSensitiveLog = exports.GetWhatsAppMessageMediaInputFilterSensitiveLog = exports.S3PresignedUrlFilterSensitiveLog = exports.CreateWhatsAppMessageTemplateMediaInputFilterSensitiveLog = exports.S3FileFilterSensitiveLog = exports.AssociateWhatsAppBusinessAccountOutputFilterSensitiveLog = exports.WhatsAppSignupCallbackResultFilterSensitiveLog = exports.AssociateWhatsAppBusinessAccountInputFilterSensitiveLog = exports.WhatsAppSetupFinalizationFilterSensitiveLog = exports.WabaPhoneNumberSetupFinalizationFilterSensitiveLog = exports.ResourceNotFoundException = exports.InternalServiceException = exports.ValidationException = exports.ThrottledRequestException = exports.LimitExceededException = exports.InvalidParametersException = exports.DependencyException = exports.RegistrationStatus = exports.AccessDeniedException = exports.AccessDeniedByMetaException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const SocialMessagingServiceException_1 = require("./SocialMessagingServiceException");
|
|
6
|
-
class AccessDeniedByMetaException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
7
|
-
name = "AccessDeniedByMetaException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
constructor(opts) {
|
|
10
|
-
super({
|
|
11
|
-
name: "AccessDeniedByMetaException",
|
|
12
|
-
$fault: "client",
|
|
13
|
-
...opts,
|
|
14
|
-
});
|
|
15
|
-
Object.setPrototypeOf(this, AccessDeniedByMetaException.prototype);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.AccessDeniedByMetaException = AccessDeniedByMetaException;
|
|
19
|
-
class AccessDeniedException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
20
|
-
name = "AccessDeniedException";
|
|
21
|
-
$fault = "client";
|
|
22
|
-
constructor(opts) {
|
|
23
|
-
super({
|
|
24
|
-
name: "AccessDeniedException",
|
|
25
|
-
$fault: "client",
|
|
26
|
-
...opts,
|
|
27
|
-
});
|
|
28
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
32
|
-
exports.RegistrationStatus = {
|
|
33
|
-
COMPLETE: "COMPLETE",
|
|
34
|
-
INCOMPLETE: "INCOMPLETE",
|
|
35
|
-
};
|
|
36
|
-
class DependencyException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
37
|
-
name = "DependencyException";
|
|
38
|
-
$fault = "server";
|
|
39
|
-
$retryable = {};
|
|
40
|
-
constructor(opts) {
|
|
41
|
-
super({
|
|
42
|
-
name: "DependencyException",
|
|
43
|
-
$fault: "server",
|
|
44
|
-
...opts,
|
|
45
|
-
});
|
|
46
|
-
Object.setPrototypeOf(this, DependencyException.prototype);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.DependencyException = DependencyException;
|
|
50
|
-
class InvalidParametersException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
51
|
-
name = "InvalidParametersException";
|
|
52
|
-
$fault = "client";
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "InvalidParametersException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
Object.setPrototypeOf(this, InvalidParametersException.prototype);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
exports.InvalidParametersException = InvalidParametersException;
|
|
63
|
-
class LimitExceededException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
64
|
-
name = "LimitExceededException";
|
|
65
|
-
$fault = "client";
|
|
66
|
-
constructor(opts) {
|
|
67
|
-
super({
|
|
68
|
-
name: "LimitExceededException",
|
|
69
|
-
$fault: "client",
|
|
70
|
-
...opts,
|
|
71
|
-
});
|
|
72
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
exports.LimitExceededException = LimitExceededException;
|
|
76
|
-
class ThrottledRequestException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
77
|
-
name = "ThrottledRequestException";
|
|
78
|
-
$fault = "client";
|
|
79
|
-
$retryable = {};
|
|
80
|
-
constructor(opts) {
|
|
81
|
-
super({
|
|
82
|
-
name: "ThrottledRequestException",
|
|
83
|
-
$fault: "client",
|
|
84
|
-
...opts,
|
|
85
|
-
});
|
|
86
|
-
Object.setPrototypeOf(this, ThrottledRequestException.prototype);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
exports.ThrottledRequestException = ThrottledRequestException;
|
|
90
|
-
class ValidationException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
91
|
-
name = "ValidationException";
|
|
92
|
-
$fault = "client";
|
|
93
|
-
constructor(opts) {
|
|
94
|
-
super({
|
|
95
|
-
name: "ValidationException",
|
|
96
|
-
$fault: "client",
|
|
97
|
-
...opts,
|
|
98
|
-
});
|
|
99
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
exports.ValidationException = ValidationException;
|
|
103
|
-
class InternalServiceException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
104
|
-
name = "InternalServiceException";
|
|
105
|
-
$fault = "server";
|
|
106
|
-
$retryable = {};
|
|
107
|
-
constructor(opts) {
|
|
108
|
-
super({
|
|
109
|
-
name: "InternalServiceException",
|
|
110
|
-
$fault: "server",
|
|
111
|
-
...opts,
|
|
112
|
-
});
|
|
113
|
-
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
exports.InternalServiceException = InternalServiceException;
|
|
117
|
-
class ResourceNotFoundException extends SocialMessagingServiceException_1.SocialMessagingServiceException {
|
|
118
|
-
name = "ResourceNotFoundException";
|
|
119
|
-
$fault = "client";
|
|
120
|
-
constructor(opts) {
|
|
121
|
-
super({
|
|
122
|
-
name: "ResourceNotFoundException",
|
|
123
|
-
$fault: "client",
|
|
124
|
-
...opts,
|
|
125
|
-
});
|
|
126
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
130
|
-
const WabaPhoneNumberSetupFinalizationFilterSensitiveLog = (obj) => ({
|
|
131
|
-
...obj,
|
|
132
|
-
...(obj.twoFactorPin && { twoFactorPin: smithy_client_1.SENSITIVE_STRING }),
|
|
133
|
-
});
|
|
134
|
-
exports.WabaPhoneNumberSetupFinalizationFilterSensitiveLog = WabaPhoneNumberSetupFinalizationFilterSensitiveLog;
|
|
135
|
-
const WhatsAppSetupFinalizationFilterSensitiveLog = (obj) => ({
|
|
136
|
-
...obj,
|
|
137
|
-
...(obj.associateInProgressToken && { associateInProgressToken: smithy_client_1.SENSITIVE_STRING }),
|
|
138
|
-
...(obj.phoneNumbers && {
|
|
139
|
-
phoneNumbers: obj.phoneNumbers.map((item) => (0, exports.WabaPhoneNumberSetupFinalizationFilterSensitiveLog)(item)),
|
|
140
|
-
}),
|
|
141
|
-
});
|
|
142
|
-
exports.WhatsAppSetupFinalizationFilterSensitiveLog = WhatsAppSetupFinalizationFilterSensitiveLog;
|
|
143
|
-
const AssociateWhatsAppBusinessAccountInputFilterSensitiveLog = (obj) => ({
|
|
144
|
-
...obj,
|
|
145
|
-
...(obj.setupFinalization && {
|
|
146
|
-
setupFinalization: (0, exports.WhatsAppSetupFinalizationFilterSensitiveLog)(obj.setupFinalization),
|
|
147
|
-
}),
|
|
148
|
-
});
|
|
149
|
-
exports.AssociateWhatsAppBusinessAccountInputFilterSensitiveLog = AssociateWhatsAppBusinessAccountInputFilterSensitiveLog;
|
|
150
|
-
const WhatsAppSignupCallbackResultFilterSensitiveLog = (obj) => ({
|
|
151
|
-
...obj,
|
|
152
|
-
...(obj.associateInProgressToken && { associateInProgressToken: smithy_client_1.SENSITIVE_STRING }),
|
|
153
|
-
});
|
|
154
|
-
exports.WhatsAppSignupCallbackResultFilterSensitiveLog = WhatsAppSignupCallbackResultFilterSensitiveLog;
|
|
155
|
-
const AssociateWhatsAppBusinessAccountOutputFilterSensitiveLog = (obj) => ({
|
|
156
|
-
...obj,
|
|
157
|
-
...(obj.signupCallbackResult && {
|
|
158
|
-
signupCallbackResult: (0, exports.WhatsAppSignupCallbackResultFilterSensitiveLog)(obj.signupCallbackResult),
|
|
159
|
-
}),
|
|
160
|
-
});
|
|
161
|
-
exports.AssociateWhatsAppBusinessAccountOutputFilterSensitiveLog = AssociateWhatsAppBusinessAccountOutputFilterSensitiveLog;
|
|
162
|
-
const S3FileFilterSensitiveLog = (obj) => ({
|
|
163
|
-
...obj,
|
|
164
|
-
});
|
|
165
|
-
exports.S3FileFilterSensitiveLog = S3FileFilterSensitiveLog;
|
|
166
|
-
const CreateWhatsAppMessageTemplateMediaInputFilterSensitiveLog = (obj) => ({
|
|
167
|
-
...obj,
|
|
168
|
-
...(obj.sourceS3File && { sourceS3File: smithy_client_1.SENSITIVE_STRING }),
|
|
169
|
-
});
|
|
170
|
-
exports.CreateWhatsAppMessageTemplateMediaInputFilterSensitiveLog = CreateWhatsAppMessageTemplateMediaInputFilterSensitiveLog;
|
|
171
|
-
const S3PresignedUrlFilterSensitiveLog = (obj) => ({
|
|
172
|
-
...obj,
|
|
173
|
-
});
|
|
174
|
-
exports.S3PresignedUrlFilterSensitiveLog = S3PresignedUrlFilterSensitiveLog;
|
|
175
|
-
const GetWhatsAppMessageMediaInputFilterSensitiveLog = (obj) => ({
|
|
176
|
-
...obj,
|
|
177
|
-
...(obj.destinationS3PresignedUrl && { destinationS3PresignedUrl: smithy_client_1.SENSITIVE_STRING }),
|
|
178
|
-
...(obj.destinationS3File && { destinationS3File: smithy_client_1.SENSITIVE_STRING }),
|
|
179
|
-
});
|
|
180
|
-
exports.GetWhatsAppMessageMediaInputFilterSensitiveLog = GetWhatsAppMessageMediaInputFilterSensitiveLog;
|
|
181
|
-
const PostWhatsAppMessageMediaInputFilterSensitiveLog = (obj) => ({
|
|
182
|
-
...obj,
|
|
183
|
-
...(obj.sourceS3PresignedUrl && { sourceS3PresignedUrl: smithy_client_1.SENSITIVE_STRING }),
|
|
184
|
-
...(obj.sourceS3File && { sourceS3File: smithy_client_1.SENSITIVE_STRING }),
|
|
185
|
-
});
|
|
186
|
-
exports.PostWhatsAppMessageMediaInputFilterSensitiveLog = PostWhatsAppMessageMediaInputFilterSensitiveLog;
|
|
187
|
-
const SendWhatsAppMessageInputFilterSensitiveLog = (obj) => ({
|
|
188
|
-
...obj,
|
|
189
|
-
...(obj.message && { message: smithy_client_1.SENSITIVE_STRING }),
|
|
190
|
-
});
|
|
191
|
-
exports.SendWhatsAppMessageInputFilterSensitiveLog = SendWhatsAppMessageInputFilterSensitiveLog;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListLinkedWhatsAppBusinessAccounts = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListLinkedWhatsAppBusinessAccountsCommand_1 = require("../commands/ListLinkedWhatsAppBusinessAccountsCommand");
|
|
6
|
-
const SocialMessagingClient_1 = require("../SocialMessagingClient");
|
|
7
|
-
exports.paginateListLinkedWhatsAppBusinessAccounts = (0, core_1.createPaginator)(SocialMessagingClient_1.SocialMessagingClient, ListLinkedWhatsAppBusinessAccountsCommand_1.ListLinkedWhatsAppBusinessAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListWhatsAppMessageTemplates = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListWhatsAppMessageTemplatesCommand_1 = require("../commands/ListWhatsAppMessageTemplatesCommand");
|
|
6
|
-
const SocialMessagingClient_1 = require("../SocialMessagingClient");
|
|
7
|
-
exports.paginateListWhatsAppMessageTemplates = (0, core_1.createPaginator)(SocialMessagingClient_1.SocialMessagingClient, ListWhatsAppMessageTemplatesCommand_1.ListWhatsAppMessageTemplatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListWhatsAppTemplateLibrary = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListWhatsAppTemplateLibraryCommand_1 = require("../commands/ListWhatsAppTemplateLibraryCommand");
|
|
6
|
-
const SocialMessagingClient_1 = require("../SocialMessagingClient");
|
|
7
|
-
exports.paginateListWhatsAppTemplateLibrary = (0, core_1.createPaginator)(SocialMessagingClient_1.SocialMessagingClient, ListWhatsAppTemplateLibraryCommand_1.ListWhatsAppTemplateLibraryCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListLinkedWhatsAppBusinessAccountsPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListWhatsAppMessageTemplatesPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListWhatsAppTemplateLibraryPaginator"), exports);
|