@aws-sdk/client-pinpoint 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_restJson1.js +2 -2
- package/dist-es/Pinpoint.js +485 -478
- package/dist-es/PinpointClient.js +28 -22
- package/dist-es/commands/CreateAppCommand.js +28 -21
- package/dist-es/commands/CreateCampaignCommand.js +28 -21
- package/dist-es/commands/CreateEmailTemplateCommand.js +28 -21
- package/dist-es/commands/CreateExportJobCommand.js +28 -21
- package/dist-es/commands/CreateImportJobCommand.js +28 -21
- package/dist-es/commands/CreateInAppTemplateCommand.js +28 -21
- package/dist-es/commands/CreateJourneyCommand.js +28 -21
- package/dist-es/commands/CreatePushTemplateCommand.js +28 -21
- package/dist-es/commands/CreateRecommenderConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateSegmentCommand.js +28 -21
- package/dist-es/commands/CreateSmsTemplateCommand.js +28 -21
- package/dist-es/commands/CreateVoiceTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteAdmChannelCommand.js +28 -21
- package/dist-es/commands/DeleteApnsChannelCommand.js +28 -21
- package/dist-es/commands/DeleteApnsSandboxChannelCommand.js +28 -21
- package/dist-es/commands/DeleteApnsVoipChannelCommand.js +28 -21
- package/dist-es/commands/DeleteApnsVoipSandboxChannelCommand.js +28 -21
- package/dist-es/commands/DeleteAppCommand.js +28 -21
- package/dist-es/commands/DeleteBaiduChannelCommand.js +28 -21
- package/dist-es/commands/DeleteCampaignCommand.js +28 -21
- package/dist-es/commands/DeleteEmailChannelCommand.js +28 -21
- package/dist-es/commands/DeleteEmailTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteEndpointCommand.js +28 -21
- package/dist-es/commands/DeleteEventStreamCommand.js +28 -21
- package/dist-es/commands/DeleteGcmChannelCommand.js +28 -21
- package/dist-es/commands/DeleteInAppTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteJourneyCommand.js +28 -21
- package/dist-es/commands/DeletePushTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteRecommenderConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteSegmentCommand.js +28 -21
- package/dist-es/commands/DeleteSmsChannelCommand.js +28 -21
- package/dist-es/commands/DeleteSmsTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteUserEndpointsCommand.js +28 -21
- package/dist-es/commands/DeleteVoiceChannelCommand.js +28 -21
- package/dist-es/commands/DeleteVoiceTemplateCommand.js +28 -21
- package/dist-es/commands/GetAdmChannelCommand.js +28 -21
- package/dist-es/commands/GetApnsChannelCommand.js +28 -21
- package/dist-es/commands/GetApnsSandboxChannelCommand.js +28 -21
- package/dist-es/commands/GetApnsVoipChannelCommand.js +28 -21
- package/dist-es/commands/GetApnsVoipSandboxChannelCommand.js +28 -21
- package/dist-es/commands/GetAppCommand.js +28 -21
- package/dist-es/commands/GetApplicationDateRangeKpiCommand.js +28 -21
- package/dist-es/commands/GetApplicationSettingsCommand.js +28 -21
- package/dist-es/commands/GetAppsCommand.js +28 -21
- package/dist-es/commands/GetBaiduChannelCommand.js +28 -21
- package/dist-es/commands/GetCampaignActivitiesCommand.js +28 -21
- package/dist-es/commands/GetCampaignCommand.js +28 -21
- package/dist-es/commands/GetCampaignDateRangeKpiCommand.js +28 -21
- package/dist-es/commands/GetCampaignVersionCommand.js +28 -21
- package/dist-es/commands/GetCampaignVersionsCommand.js +28 -21
- package/dist-es/commands/GetCampaignsCommand.js +28 -21
- package/dist-es/commands/GetChannelsCommand.js +28 -21
- package/dist-es/commands/GetEmailChannelCommand.js +28 -21
- package/dist-es/commands/GetEmailTemplateCommand.js +28 -21
- package/dist-es/commands/GetEndpointCommand.js +28 -21
- package/dist-es/commands/GetEventStreamCommand.js +28 -21
- package/dist-es/commands/GetExportJobCommand.js +28 -21
- package/dist-es/commands/GetExportJobsCommand.js +28 -21
- package/dist-es/commands/GetGcmChannelCommand.js +28 -21
- package/dist-es/commands/GetImportJobCommand.js +28 -21
- package/dist-es/commands/GetImportJobsCommand.js +28 -21
- package/dist-es/commands/GetInAppMessagesCommand.js +28 -21
- package/dist-es/commands/GetInAppTemplateCommand.js +28 -21
- package/dist-es/commands/GetJourneyCommand.js +28 -21
- package/dist-es/commands/GetJourneyDateRangeKpiCommand.js +28 -21
- package/dist-es/commands/GetJourneyExecutionActivityMetricsCommand.js +28 -21
- package/dist-es/commands/GetJourneyExecutionMetricsCommand.js +28 -21
- package/dist-es/commands/GetPushTemplateCommand.js +28 -21
- package/dist-es/commands/GetRecommenderConfigurationCommand.js +28 -21
- package/dist-es/commands/GetRecommenderConfigurationsCommand.js +28 -21
- package/dist-es/commands/GetSegmentCommand.js +28 -21
- package/dist-es/commands/GetSegmentExportJobsCommand.js +28 -21
- package/dist-es/commands/GetSegmentImportJobsCommand.js +28 -21
- package/dist-es/commands/GetSegmentVersionCommand.js +28 -21
- package/dist-es/commands/GetSegmentVersionsCommand.js +28 -21
- package/dist-es/commands/GetSegmentsCommand.js +28 -21
- package/dist-es/commands/GetSmsChannelCommand.js +28 -21
- package/dist-es/commands/GetSmsTemplateCommand.js +28 -21
- package/dist-es/commands/GetUserEndpointsCommand.js +28 -21
- package/dist-es/commands/GetVoiceChannelCommand.js +28 -21
- package/dist-es/commands/GetVoiceTemplateCommand.js +28 -21
- package/dist-es/commands/ListJourneysCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTemplateVersionsCommand.js +28 -21
- package/dist-es/commands/ListTemplatesCommand.js +28 -21
- package/dist-es/commands/PhoneNumberValidateCommand.js +28 -21
- package/dist-es/commands/PutEventStreamCommand.js +28 -21
- package/dist-es/commands/PutEventsCommand.js +28 -21
- package/dist-es/commands/RemoveAttributesCommand.js +28 -21
- package/dist-es/commands/SendMessagesCommand.js +28 -21
- package/dist-es/commands/SendOTPMessageCommand.js +28 -21
- package/dist-es/commands/SendUsersMessagesCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateAdmChannelCommand.js +28 -21
- package/dist-es/commands/UpdateApnsChannelCommand.js +28 -21
- package/dist-es/commands/UpdateApnsSandboxChannelCommand.js +28 -21
- package/dist-es/commands/UpdateApnsVoipChannelCommand.js +28 -21
- package/dist-es/commands/UpdateApnsVoipSandboxChannelCommand.js +28 -21
- package/dist-es/commands/UpdateApplicationSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateBaiduChannelCommand.js +28 -21
- package/dist-es/commands/UpdateCampaignCommand.js +28 -21
- package/dist-es/commands/UpdateEmailChannelCommand.js +28 -21
- package/dist-es/commands/UpdateEmailTemplateCommand.js +28 -21
- package/dist-es/commands/UpdateEndpointCommand.js +28 -21
- package/dist-es/commands/UpdateEndpointsBatchCommand.js +28 -21
- package/dist-es/commands/UpdateGcmChannelCommand.js +28 -21
- package/dist-es/commands/UpdateInAppTemplateCommand.js +28 -21
- package/dist-es/commands/UpdateJourneyCommand.js +28 -21
- package/dist-es/commands/UpdateJourneyStateCommand.js +28 -21
- package/dist-es/commands/UpdatePushTemplateCommand.js +28 -21
- package/dist-es/commands/UpdateRecommenderConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateSegmentCommand.js +28 -21
- package/dist-es/commands/UpdateSmsChannelCommand.js +28 -21
- package/dist-es/commands/UpdateSmsTemplateCommand.js +28 -21
- package/dist-es/commands/UpdateTemplateActiveVersionCommand.js +28 -21
- package/dist-es/commands/UpdateVoiceChannelCommand.js +28 -21
- package/dist-es/commands/UpdateVoiceTemplateCommand.js +28 -21
- package/dist-es/commands/VerifyOTPMessageCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/PinpointServiceException.js +10 -5
- package/dist-es/models/models_0.js +371 -902
- package/dist-es/models/models_1.js +173 -516
- package/dist-es/protocols/Aws_restJson1.js +13421 -10181
- 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 { UpdateJourneyStateRequestFilterSensitiveLog, UpdateJourneyStateResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdateJourneyStateCommand, serializeAws_restJson1UpdateJourneyStateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateJourneyStateCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateJourneyStateCommand, _super);
|
|
8
|
+
function UpdateJourneyStateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateJourneyStateCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdateJourneyStateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateJourneyStateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateJourneyStateResponseFilterSensitiveLog,
|
|
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
|
+
UpdateJourneyStateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateJourneyStateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateJourneyStateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateJourneyStateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateJourneyStateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateJourneyStateCommand };
|
|
@@ -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 { UpdatePushTemplateRequestFilterSensitiveLog, UpdatePushTemplateResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdatePushTemplateCommand, serializeAws_restJson1UpdatePushTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdatePushTemplateCommand = (function (_super) {
|
|
7
|
+
__extends(UpdatePushTemplateCommand, _super);
|
|
8
|
+
function UpdatePushTemplateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdatePushTemplateCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdatePushTemplateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdatePushTemplateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdatePushTemplateResponseFilterSensitiveLog,
|
|
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
|
+
UpdatePushTemplateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdatePushTemplateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdatePushTemplateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdatePushTemplateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdatePushTemplateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdatePushTemplateCommand };
|
|
@@ -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 { UpdateRecommenderConfigurationRequestFilterSensitiveLog, UpdateRecommenderConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdateRecommenderConfigurationCommand, serializeAws_restJson1UpdateRecommenderConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateRecommenderConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateRecommenderConfigurationCommand, _super);
|
|
8
|
+
function UpdateRecommenderConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateRecommenderConfigurationCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdateRecommenderConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateRecommenderConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateRecommenderConfigurationResponseFilterSensitiveLog,
|
|
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
|
+
UpdateRecommenderConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateRecommenderConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateRecommenderConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateRecommenderConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateRecommenderConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateRecommenderConfigurationCommand };
|
|
@@ -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 { UpdateSegmentRequestFilterSensitiveLog, UpdateSegmentResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdateSegmentCommand, serializeAws_restJson1UpdateSegmentCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateSegmentCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSegmentCommand, _super);
|
|
8
|
+
function UpdateSegmentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateSegmentCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdateSegmentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateSegmentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateSegmentResponseFilterSensitiveLog,
|
|
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
|
+
UpdateSegmentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateSegmentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateSegmentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateSegmentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateSegmentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSegmentCommand };
|
|
@@ -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 { UpdateSmsChannelRequestFilterSensitiveLog, UpdateSmsChannelResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdateSmsChannelCommand, serializeAws_restJson1UpdateSmsChannelCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateSmsChannelCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSmsChannelCommand, _super);
|
|
8
|
+
function UpdateSmsChannelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateSmsChannelCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdateSmsChannelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateSmsChannelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateSmsChannelResponseFilterSensitiveLog,
|
|
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
|
+
UpdateSmsChannelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateSmsChannelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateSmsChannelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateSmsChannelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateSmsChannelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSmsChannelCommand };
|
|
@@ -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 { UpdateSmsTemplateRequestFilterSensitiveLog, UpdateSmsTemplateResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdateSmsTemplateCommand, serializeAws_restJson1UpdateSmsTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateSmsTemplateCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSmsTemplateCommand, _super);
|
|
8
|
+
function UpdateSmsTemplateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateSmsTemplateCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdateSmsTemplateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateSmsTemplateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateSmsTemplateResponseFilterSensitiveLog,
|
|
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
|
+
UpdateSmsTemplateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateSmsTemplateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateSmsTemplateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateSmsTemplateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateSmsTemplateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSmsTemplateCommand };
|
|
@@ -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 { UpdateTemplateActiveVersionRequestFilterSensitiveLog, UpdateTemplateActiveVersionResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdateTemplateActiveVersionCommand, serializeAws_restJson1UpdateTemplateActiveVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateTemplateActiveVersionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateTemplateActiveVersionCommand, _super);
|
|
8
|
+
function UpdateTemplateActiveVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateTemplateActiveVersionCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdateTemplateActiveVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateTemplateActiveVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateTemplateActiveVersionResponseFilterSensitiveLog,
|
|
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
|
+
UpdateTemplateActiveVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateTemplateActiveVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateTemplateActiveVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateTemplateActiveVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateTemplateActiveVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateTemplateActiveVersionCommand };
|
|
@@ -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 { UpdateVoiceChannelRequestFilterSensitiveLog, UpdateVoiceChannelResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdateVoiceChannelCommand, serializeAws_restJson1UpdateVoiceChannelCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateVoiceChannelCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateVoiceChannelCommand, _super);
|
|
8
|
+
function UpdateVoiceChannelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateVoiceChannelCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdateVoiceChannelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateVoiceChannelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateVoiceChannelResponseFilterSensitiveLog,
|
|
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
|
+
UpdateVoiceChannelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateVoiceChannelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateVoiceChannelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateVoiceChannelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateVoiceChannelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateVoiceChannelCommand };
|
|
@@ -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 { UpdateVoiceTemplateRequestFilterSensitiveLog, UpdateVoiceTemplateResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1UpdateVoiceTemplateCommand, serializeAws_restJson1UpdateVoiceTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateVoiceTemplateCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateVoiceTemplateCommand, _super);
|
|
8
|
+
function UpdateVoiceTemplateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateVoiceTemplateCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "UpdateVoiceTemplateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateVoiceTemplateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateVoiceTemplateResponseFilterSensitiveLog,
|
|
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
|
+
UpdateVoiceTemplateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateVoiceTemplateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateVoiceTemplateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateVoiceTemplateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateVoiceTemplateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateVoiceTemplateCommand };
|
|
@@ -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 { VerifyOTPMessageRequestFilterSensitiveLog, VerifyOTPMessageResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1VerifyOTPMessageCommand, serializeAws_restJson1VerifyOTPMessageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var VerifyOTPMessageCommand = (function (_super) {
|
|
7
|
+
__extends(VerifyOTPMessageCommand, _super);
|
|
8
|
+
function VerifyOTPMessageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
VerifyOTPMessageCommand.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 = "PinpointClient";
|
|
18
|
+
var commandName = "VerifyOTPMessageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: VerifyOTPMessageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: VerifyOTPMessageResponseFilterSensitiveLog,
|
|
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
|
+
VerifyOTPMessageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1VerifyOTPMessageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
VerifyOTPMessageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1VerifyOTPMessageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return VerifyOTPMessageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { VerifyOTPMessageCommand };
|