@aws-sdk/client-pinpoint 3.183.0 → 3.186.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 +22 -0
- package/dist-cjs/endpoints.js +14 -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 +22 -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 +33 -33
|
@@ -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 { GetCampaignVersionsRequestFilterSensitiveLog, GetCampaignVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetCampaignVersionsCommand, serializeAws_restJson1GetCampaignVersionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetCampaignVersionsCommand = (function (_super) {
|
|
7
|
+
__extends(GetCampaignVersionsCommand, _super);
|
|
8
|
+
function GetCampaignVersionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetCampaignVersionsCommand.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 = "GetCampaignVersionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetCampaignVersionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetCampaignVersionsResponseFilterSensitiveLog,
|
|
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
|
+
GetCampaignVersionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetCampaignVersionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetCampaignVersionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetCampaignVersionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetCampaignVersionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetCampaignVersionsCommand };
|
|
@@ -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 { GetCampaignsRequestFilterSensitiveLog, GetCampaignsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetCampaignsCommand, serializeAws_restJson1GetCampaignsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetCampaignsCommand = (function (_super) {
|
|
7
|
+
__extends(GetCampaignsCommand, _super);
|
|
8
|
+
function GetCampaignsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetCampaignsCommand.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 = "GetCampaignsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetCampaignsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetCampaignsResponseFilterSensitiveLog,
|
|
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
|
+
GetCampaignsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetCampaignsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetCampaignsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetCampaignsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetCampaignsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetCampaignsCommand };
|
|
@@ -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 { GetChannelsRequestFilterSensitiveLog, GetChannelsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1GetChannelsCommand, serializeAws_restJson1GetChannelsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetChannelsCommand = (function (_super) {
|
|
7
|
+
__extends(GetChannelsCommand, _super);
|
|
8
|
+
function GetChannelsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetChannelsCommand.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 = "GetChannelsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetChannelsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetChannelsResponseFilterSensitiveLog,
|
|
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
|
+
GetChannelsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetChannelsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetChannelsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetChannelsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetChannelsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetChannelsCommand };
|
|
@@ -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 { GetEmailChannelRequestFilterSensitiveLog, GetEmailChannelResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1GetEmailChannelCommand, serializeAws_restJson1GetEmailChannelCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetEmailChannelCommand = (function (_super) {
|
|
7
|
+
__extends(GetEmailChannelCommand, _super);
|
|
8
|
+
function GetEmailChannelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetEmailChannelCommand.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 = "GetEmailChannelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetEmailChannelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetEmailChannelResponseFilterSensitiveLog,
|
|
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
|
+
GetEmailChannelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetEmailChannelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetEmailChannelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetEmailChannelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetEmailChannelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetEmailChannelCommand };
|
|
@@ -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 { GetEmailTemplateRequestFilterSensitiveLog, GetEmailTemplateResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1GetEmailTemplateCommand, serializeAws_restJson1GetEmailTemplateCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetEmailTemplateCommand = (function (_super) {
|
|
7
|
+
__extends(GetEmailTemplateCommand, _super);
|
|
8
|
+
function GetEmailTemplateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetEmailTemplateCommand.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 = "GetEmailTemplateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetEmailTemplateRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetEmailTemplateResponseFilterSensitiveLog,
|
|
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
|
+
GetEmailTemplateCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetEmailTemplateCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetEmailTemplateCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetEmailTemplateCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetEmailTemplateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetEmailTemplateCommand };
|
|
@@ -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 { GetEndpointRequestFilterSensitiveLog, GetEndpointResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1GetEndpointCommand, serializeAws_restJson1GetEndpointCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetEndpointCommand = (function (_super) {
|
|
7
|
+
__extends(GetEndpointCommand, _super);
|
|
8
|
+
function GetEndpointCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetEndpointCommand.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 = "GetEndpointCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetEndpointRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetEndpointResponseFilterSensitiveLog,
|
|
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
|
+
GetEndpointCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetEndpointCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetEndpointCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetEndpointCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetEndpointCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetEndpointCommand };
|
|
@@ -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 { GetEventStreamRequestFilterSensitiveLog, GetEventStreamResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1GetEventStreamCommand, serializeAws_restJson1GetEventStreamCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetEventStreamCommand = (function (_super) {
|
|
7
|
+
__extends(GetEventStreamCommand, _super);
|
|
8
|
+
function GetEventStreamCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetEventStreamCommand.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 = "GetEventStreamCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetEventStreamRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetEventStreamResponseFilterSensitiveLog,
|
|
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
|
+
GetEventStreamCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetEventStreamCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetEventStreamCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetEventStreamCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetEventStreamCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetEventStreamCommand };
|
|
@@ -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 { GetExportJobRequestFilterSensitiveLog, GetExportJobResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1GetExportJobCommand, serializeAws_restJson1GetExportJobCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetExportJobCommand = (function (_super) {
|
|
7
|
+
__extends(GetExportJobCommand, _super);
|
|
8
|
+
function GetExportJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetExportJobCommand.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 = "GetExportJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetExportJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetExportJobResponseFilterSensitiveLog,
|
|
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
|
+
GetExportJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetExportJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetExportJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetExportJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetExportJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetExportJobCommand };
|
|
@@ -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 { GetExportJobsRequestFilterSensitiveLog, GetExportJobsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1GetExportJobsCommand, serializeAws_restJson1GetExportJobsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetExportJobsCommand = (function (_super) {
|
|
7
|
+
__extends(GetExportJobsCommand, _super);
|
|
8
|
+
function GetExportJobsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetExportJobsCommand.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 = "GetExportJobsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetExportJobsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetExportJobsResponseFilterSensitiveLog,
|
|
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
|
+
GetExportJobsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetExportJobsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetExportJobsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetExportJobsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetExportJobsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetExportJobsCommand };
|
|
@@ -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 { GetGcmChannelRequestFilterSensitiveLog, GetGcmChannelResponseFilterSensitiveLog, } from "../models/models_1";
|
|
4
5
|
import { deserializeAws_restJson1GetGcmChannelCommand, serializeAws_restJson1GetGcmChannelCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetGcmChannelCommand = (function (_super) {
|
|
7
|
+
__extends(GetGcmChannelCommand, _super);
|
|
8
|
+
function GetGcmChannelCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetGcmChannelCommand.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 = "GetGcmChannelCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetGcmChannelRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetGcmChannelResponseFilterSensitiveLog,
|
|
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
|
+
GetGcmChannelCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetGcmChannelCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetGcmChannelCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetGcmChannelCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetGcmChannelCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetGcmChannelCommand };
|