@aws-sdk/client-pinpoint-sms-voice-v2 3.183.0 → 3.185.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/protocols/Aws_json1_0.js +2 -2
- package/dist-es/PinpointSMSVoiceV2.js +181 -174
- package/dist-es/PinpointSMSVoiceV2Client.js +28 -22
- package/dist-es/commands/AssociateOriginationIdentityCommand.js +28 -21
- package/dist-es/commands/CreateConfigurationSetCommand.js +28 -21
- package/dist-es/commands/CreateEventDestinationCommand.js +28 -21
- package/dist-es/commands/CreateOptOutListCommand.js +28 -21
- package/dist-es/commands/CreatePoolCommand.js +28 -21
- package/dist-es/commands/DeleteConfigurationSetCommand.js +28 -21
- package/dist-es/commands/DeleteDefaultMessageTypeCommand.js +28 -21
- package/dist-es/commands/DeleteDefaultSenderIdCommand.js +28 -21
- package/dist-es/commands/DeleteEventDestinationCommand.js +28 -21
- package/dist-es/commands/DeleteKeywordCommand.js +28 -21
- package/dist-es/commands/DeleteOptOutListCommand.js +28 -21
- package/dist-es/commands/DeleteOptedOutNumberCommand.js +28 -21
- package/dist-es/commands/DeletePoolCommand.js +28 -21
- package/dist-es/commands/DeleteTextMessageSpendLimitOverrideCommand.js +28 -21
- package/dist-es/commands/DeleteVoiceMessageSpendLimitOverrideCommand.js +28 -21
- package/dist-es/commands/DescribeAccountAttributesCommand.js +28 -21
- package/dist-es/commands/DescribeAccountLimitsCommand.js +28 -21
- package/dist-es/commands/DescribeConfigurationSetsCommand.js +28 -21
- package/dist-es/commands/DescribeKeywordsCommand.js +28 -21
- package/dist-es/commands/DescribeOptOutListsCommand.js +28 -21
- package/dist-es/commands/DescribeOptedOutNumbersCommand.js +28 -21
- package/dist-es/commands/DescribePhoneNumbersCommand.js +28 -21
- package/dist-es/commands/DescribePoolsCommand.js +28 -21
- package/dist-es/commands/DescribeSenderIdsCommand.js +28 -21
- package/dist-es/commands/DescribeSpendLimitsCommand.js +28 -21
- package/dist-es/commands/DisassociateOriginationIdentityCommand.js +28 -21
- package/dist-es/commands/ListPoolOriginationIdentitiesCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutKeywordCommand.js +28 -21
- package/dist-es/commands/PutOptedOutNumberCommand.js +28 -21
- package/dist-es/commands/ReleasePhoneNumberCommand.js +28 -21
- package/dist-es/commands/RequestPhoneNumberCommand.js +28 -21
- package/dist-es/commands/SendTextMessageCommand.js +28 -21
- package/dist-es/commands/SendVoiceMessageCommand.js +28 -21
- package/dist-es/commands/SetDefaultMessageTypeCommand.js +28 -21
- package/dist-es/commands/SetDefaultSenderIdCommand.js +28 -21
- package/dist-es/commands/SetTextMessageSpendLimitOverrideCommand.js +28 -21
- package/dist-es/commands/SetVoiceMessageSpendLimitOverrideCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateEventDestinationCommand.js +28 -21
- package/dist-es/commands/UpdatePhoneNumberCommand.js +28 -21
- package/dist-es/commands/UpdatePoolCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/PinpointSMSVoiceV2ServiceException.js +10 -5
- package/dist-es/models/models_0.js +208 -429
- package/dist-es/pagination/DescribeAccountAttributesPaginator.js +68 -25
- package/dist-es/pagination/DescribeAccountLimitsPaginator.js +68 -25
- package/dist-es/pagination/DescribeConfigurationSetsPaginator.js +68 -25
- package/dist-es/pagination/DescribeKeywordsPaginator.js +68 -25
- package/dist-es/pagination/DescribeOptOutListsPaginator.js +68 -25
- package/dist-es/pagination/DescribeOptedOutNumbersPaginator.js +68 -25
- package/dist-es/pagination/DescribePhoneNumbersPaginator.js +68 -25
- package/dist-es/pagination/DescribePoolsPaginator.js +68 -25
- package/dist-es/pagination/DescribeSenderIdsPaginator.js +68 -25
- package/dist-es/pagination/DescribeSpendLimitsPaginator.js +68 -25
- package/dist-es/pagination/ListPoolOriginationIdentitiesPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_0.js +3901 -3043
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutOptedOutNumberRequestFilterSensitiveLog, PutOptedOutNumberResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0PutOptedOutNumberCommand, serializeAws_json1_0PutOptedOutNumberCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PutOptedOutNumberCommand = (function (_super) {
|
|
7
|
+
__extends(PutOptedOutNumberCommand, _super);
|
|
8
|
+
function PutOptedOutNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutOptedOutNumberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "PutOptedOutNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PutOptedOutNumberRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PutOptedOutNumberResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PutOptedOutNumberCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0PutOptedOutNumberCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutOptedOutNumberCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0PutOptedOutNumberCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutOptedOutNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutOptedOutNumberCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ReleasePhoneNumberRequestFilterSensitiveLog, ReleasePhoneNumberResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0ReleasePhoneNumberCommand, serializeAws_json1_0ReleasePhoneNumberCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ReleasePhoneNumberCommand = (function (_super) {
|
|
7
|
+
__extends(ReleasePhoneNumberCommand, _super);
|
|
8
|
+
function ReleasePhoneNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ReleasePhoneNumberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "ReleasePhoneNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ReleasePhoneNumberRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ReleasePhoneNumberResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ReleasePhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0ReleasePhoneNumberCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ReleasePhoneNumberCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0ReleasePhoneNumberCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ReleasePhoneNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ReleasePhoneNumberCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RequestPhoneNumberRequestFilterSensitiveLog, RequestPhoneNumberResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RequestPhoneNumberCommand, serializeAws_json1_0RequestPhoneNumberCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RequestPhoneNumberCommand = (function (_super) {
|
|
7
|
+
__extends(RequestPhoneNumberCommand, _super);
|
|
8
|
+
function RequestPhoneNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RequestPhoneNumberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "RequestPhoneNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RequestPhoneNumberRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: RequestPhoneNumberResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RequestPhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RequestPhoneNumberCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RequestPhoneNumberCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RequestPhoneNumberCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RequestPhoneNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RequestPhoneNumberCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SendTextMessageRequestFilterSensitiveLog, SendTextMessageResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0SendTextMessageCommand, serializeAws_json1_0SendTextMessageCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SendTextMessageCommand = (function (_super) {
|
|
7
|
+
__extends(SendTextMessageCommand, _super);
|
|
8
|
+
function SendTextMessageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SendTextMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "SendTextMessageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SendTextMessageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SendTextMessageResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SendTextMessageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0SendTextMessageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SendTextMessageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0SendTextMessageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SendTextMessageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SendTextMessageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SendVoiceMessageRequestFilterSensitiveLog, SendVoiceMessageResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0SendVoiceMessageCommand, serializeAws_json1_0SendVoiceMessageCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SendVoiceMessageCommand = (function (_super) {
|
|
7
|
+
__extends(SendVoiceMessageCommand, _super);
|
|
8
|
+
function SendVoiceMessageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SendVoiceMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "SendVoiceMessageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SendVoiceMessageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SendVoiceMessageResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SendVoiceMessageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0SendVoiceMessageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SendVoiceMessageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0SendVoiceMessageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SendVoiceMessageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SendVoiceMessageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SetDefaultMessageTypeRequestFilterSensitiveLog, SetDefaultMessageTypeResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0SetDefaultMessageTypeCommand, serializeAws_json1_0SetDefaultMessageTypeCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SetDefaultMessageTypeCommand = (function (_super) {
|
|
7
|
+
__extends(SetDefaultMessageTypeCommand, _super);
|
|
8
|
+
function SetDefaultMessageTypeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SetDefaultMessageTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "SetDefaultMessageTypeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SetDefaultMessageTypeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SetDefaultMessageTypeResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SetDefaultMessageTypeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0SetDefaultMessageTypeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SetDefaultMessageTypeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0SetDefaultMessageTypeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SetDefaultMessageTypeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SetDefaultMessageTypeCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SetDefaultSenderIdRequestFilterSensitiveLog, SetDefaultSenderIdResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0SetDefaultSenderIdCommand, serializeAws_json1_0SetDefaultSenderIdCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SetDefaultSenderIdCommand = (function (_super) {
|
|
7
|
+
__extends(SetDefaultSenderIdCommand, _super);
|
|
8
|
+
function SetDefaultSenderIdCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SetDefaultSenderIdCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "SetDefaultSenderIdCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SetDefaultSenderIdRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SetDefaultSenderIdResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SetDefaultSenderIdCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0SetDefaultSenderIdCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SetDefaultSenderIdCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0SetDefaultSenderIdCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SetDefaultSenderIdCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SetDefaultSenderIdCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SetTextMessageSpendLimitOverrideRequestFilterSensitiveLog, SetTextMessageSpendLimitOverrideResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0SetTextMessageSpendLimitOverrideCommand, serializeAws_json1_0SetTextMessageSpendLimitOverrideCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SetTextMessageSpendLimitOverrideCommand = (function (_super) {
|
|
7
|
+
__extends(SetTextMessageSpendLimitOverrideCommand, _super);
|
|
8
|
+
function SetTextMessageSpendLimitOverrideCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SetTextMessageSpendLimitOverrideCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "SetTextMessageSpendLimitOverrideCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SetTextMessageSpendLimitOverrideRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SetTextMessageSpendLimitOverrideResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SetTextMessageSpendLimitOverrideCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0SetTextMessageSpendLimitOverrideCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SetTextMessageSpendLimitOverrideCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0SetTextMessageSpendLimitOverrideCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SetTextMessageSpendLimitOverrideCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SetTextMessageSpendLimitOverrideCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SetVoiceMessageSpendLimitOverrideRequestFilterSensitiveLog, SetVoiceMessageSpendLimitOverrideResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0SetVoiceMessageSpendLimitOverrideCommand, serializeAws_json1_0SetVoiceMessageSpendLimitOverrideCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SetVoiceMessageSpendLimitOverrideCommand = (function (_super) {
|
|
7
|
+
__extends(SetVoiceMessageSpendLimitOverrideCommand, _super);
|
|
8
|
+
function SetVoiceMessageSpendLimitOverrideCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SetVoiceMessageSpendLimitOverrideCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "SetVoiceMessageSpendLimitOverrideCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SetVoiceMessageSpendLimitOverrideRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SetVoiceMessageSpendLimitOverrideResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SetVoiceMessageSpendLimitOverrideCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0SetVoiceMessageSpendLimitOverrideCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SetVoiceMessageSpendLimitOverrideCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0SetVoiceMessageSpendLimitOverrideCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SetVoiceMessageSpendLimitOverrideCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SetVoiceMessageSpendLimitOverrideCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
7
|
+
__extends(TagResourceCommand, _super);
|
|
8
|
+
function TagResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "PinpointSMSVoiceV2Client";
|
|
18
|
+
var commandName = "TagResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: TagResourceResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
TagResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0TagResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
TagResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0TagResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return TagResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { TagResourceCommand };
|