@aws-sdk/client-pinpoint-sms-voice 3.52.0 → 3.53.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/CHANGELOG.md +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/PinpointSMSVoiceServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +86 -1
- package/dist-cjs/protocols/Aws_restJson1.js +109 -323
- package/dist-es/index.js +1 -0
- package/dist-es/models/PinpointSMSVoiceServiceException.js +12 -0
- package/dist-es/models/models_0.js +80 -1
- package/dist-es/protocols/Aws_restJson1.js +195 -362
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/PinpointSMSVoiceServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +44 -19
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/PinpointSMSVoiceServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -19
- package/package.json +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-pinpoint-sms-voice
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PinpointSMSVoiceServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./PinpointSMSVoice"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./PinpointSMSVoiceClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var PinpointSMSVoiceServiceException_1 = require("./models/PinpointSMSVoiceServiceException");
|
|
10
|
+
Object.defineProperty(exports, "PinpointSMSVoiceServiceException", { enumerable: true, get: function () { return PinpointSMSVoiceServiceException_1.PinpointSMSVoiceServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PinpointSMSVoiceServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class PinpointSMSVoiceServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, PinpointSMSVoiceServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PinpointSMSVoiceServiceException = PinpointSMSVoiceServiceException;
|
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateConfigurationSetEventDestinationResponse = exports.UpdateConfigurationSetEventDestinationRequest = exports.SendVoiceMessageResponse = exports.SendVoiceMessageRequest = exports.VoiceMessageContent = exports.SSMLMessageType = exports.PlainTextMessageType = exports.ListConfigurationSetsResponse = exports.ListConfigurationSetsRequest = exports.GetConfigurationSetEventDestinationsResponse = exports.GetConfigurationSetEventDestinationsRequest = exports.EventDestination = exports.DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationRequest = exports.DeleteConfigurationSetResponse = exports.DeleteConfigurationSetRequest = exports.CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationRequest = exports.EventDestinationDefinition = exports.SnsDestination = exports.EventType = exports.KinesisFirehoseDestination = exports.CreateConfigurationSetResponse = exports.CreateConfigurationSetRequest = exports.CloudWatchLogsDestination = exports.CallInstructionsMessageType = void 0;
|
|
3
|
+
exports.UpdateConfigurationSetEventDestinationResponse = exports.UpdateConfigurationSetEventDestinationRequest = exports.SendVoiceMessageResponse = exports.SendVoiceMessageRequest = exports.VoiceMessageContent = exports.SSMLMessageType = exports.PlainTextMessageType = exports.ListConfigurationSetsResponse = exports.ListConfigurationSetsRequest = exports.GetConfigurationSetEventDestinationsResponse = exports.GetConfigurationSetEventDestinationsRequest = exports.EventDestination = exports.DeleteConfigurationSetEventDestinationResponse = exports.DeleteConfigurationSetEventDestinationRequest = exports.DeleteConfigurationSetResponse = exports.DeleteConfigurationSetRequest = exports.NotFoundException = exports.CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationRequest = exports.EventDestinationDefinition = exports.SnsDestination = exports.EventType = exports.KinesisFirehoseDestination = exports.TooManyRequestsException = exports.LimitExceededException = exports.InternalServiceErrorException = exports.CreateConfigurationSetResponse = exports.CreateConfigurationSetRequest = exports.CloudWatchLogsDestination = exports.CallInstructionsMessageType = exports.BadRequestException = exports.AlreadyExistsException = void 0;
|
|
4
|
+
const PinpointSMSVoiceServiceException_1 = require("./PinpointSMSVoiceServiceException");
|
|
5
|
+
class AlreadyExistsException extends PinpointSMSVoiceServiceException_1.PinpointSMSVoiceServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AlreadyExistsException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "AlreadyExistsException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, AlreadyExistsException.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AlreadyExistsException = AlreadyExistsException;
|
|
19
|
+
class BadRequestException extends PinpointSMSVoiceServiceException_1.PinpointSMSVoiceServiceException {
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "BadRequestException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
this.name = "BadRequestException";
|
|
27
|
+
this.$fault = "client";
|
|
28
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
29
|
+
this.Message = opts.Message;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.BadRequestException = BadRequestException;
|
|
4
33
|
var CallInstructionsMessageType;
|
|
5
34
|
(function (CallInstructionsMessageType) {
|
|
6
35
|
CallInstructionsMessageType.filterSensitiveLog = (obj) => ({
|
|
@@ -25,6 +54,48 @@ var CreateConfigurationSetResponse;
|
|
|
25
54
|
...obj,
|
|
26
55
|
});
|
|
27
56
|
})(CreateConfigurationSetResponse = exports.CreateConfigurationSetResponse || (exports.CreateConfigurationSetResponse = {}));
|
|
57
|
+
class InternalServiceErrorException extends PinpointSMSVoiceServiceException_1.PinpointSMSVoiceServiceException {
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "InternalServiceErrorException",
|
|
61
|
+
$fault: "server",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
this.name = "InternalServiceErrorException";
|
|
65
|
+
this.$fault = "server";
|
|
66
|
+
Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
|
|
67
|
+
this.Message = opts.Message;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.InternalServiceErrorException = InternalServiceErrorException;
|
|
71
|
+
class LimitExceededException extends PinpointSMSVoiceServiceException_1.PinpointSMSVoiceServiceException {
|
|
72
|
+
constructor(opts) {
|
|
73
|
+
super({
|
|
74
|
+
name: "LimitExceededException",
|
|
75
|
+
$fault: "client",
|
|
76
|
+
...opts,
|
|
77
|
+
});
|
|
78
|
+
this.name = "LimitExceededException";
|
|
79
|
+
this.$fault = "client";
|
|
80
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
81
|
+
this.Message = opts.Message;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.LimitExceededException = LimitExceededException;
|
|
85
|
+
class TooManyRequestsException extends PinpointSMSVoiceServiceException_1.PinpointSMSVoiceServiceException {
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "TooManyRequestsException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
this.name = "TooManyRequestsException";
|
|
93
|
+
this.$fault = "client";
|
|
94
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
28
99
|
var KinesisFirehoseDestination;
|
|
29
100
|
(function (KinesisFirehoseDestination) {
|
|
30
101
|
KinesisFirehoseDestination.filterSensitiveLog = (obj) => ({
|
|
@@ -65,6 +136,20 @@ var CreateConfigurationSetEventDestinationResponse;
|
|
|
65
136
|
...obj,
|
|
66
137
|
});
|
|
67
138
|
})(CreateConfigurationSetEventDestinationResponse = exports.CreateConfigurationSetEventDestinationResponse || (exports.CreateConfigurationSetEventDestinationResponse = {}));
|
|
139
|
+
class NotFoundException extends PinpointSMSVoiceServiceException_1.PinpointSMSVoiceServiceException {
|
|
140
|
+
constructor(opts) {
|
|
141
|
+
super({
|
|
142
|
+
name: "NotFoundException",
|
|
143
|
+
$fault: "client",
|
|
144
|
+
...opts,
|
|
145
|
+
});
|
|
146
|
+
this.name = "NotFoundException";
|
|
147
|
+
this.$fault = "client";
|
|
148
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
149
|
+
this.Message = opts.Message;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
exports.NotFoundException = NotFoundException;
|
|
68
153
|
var DeleteConfigurationSetRequest;
|
|
69
154
|
(function (DeleteConfigurationSetRequest) {
|
|
70
155
|
DeleteConfigurationSetRequest.filterSensitiveLog = (obj) => ({
|