@aws-sdk/client-pinpoint 3.185.0 → 3.188.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 +19 -0
- package/dist-cjs/endpoints.js +14 -0
- package/dist-es/Pinpoint.js +478 -485
- package/dist-es/PinpointClient.js +22 -28
- package/dist-es/commands/CreateAppCommand.js +21 -28
- package/dist-es/commands/CreateCampaignCommand.js +21 -28
- package/dist-es/commands/CreateEmailTemplateCommand.js +21 -28
- package/dist-es/commands/CreateExportJobCommand.js +21 -28
- package/dist-es/commands/CreateImportJobCommand.js +21 -28
- package/dist-es/commands/CreateInAppTemplateCommand.js +21 -28
- package/dist-es/commands/CreateJourneyCommand.js +21 -28
- package/dist-es/commands/CreatePushTemplateCommand.js +21 -28
- package/dist-es/commands/CreateRecommenderConfigurationCommand.js +21 -28
- package/dist-es/commands/CreateSegmentCommand.js +21 -28
- package/dist-es/commands/CreateSmsTemplateCommand.js +21 -28
- package/dist-es/commands/CreateVoiceTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteAdmChannelCommand.js +21 -28
- package/dist-es/commands/DeleteApnsChannelCommand.js +21 -28
- package/dist-es/commands/DeleteApnsSandboxChannelCommand.js +21 -28
- package/dist-es/commands/DeleteApnsVoipChannelCommand.js +21 -28
- package/dist-es/commands/DeleteApnsVoipSandboxChannelCommand.js +21 -28
- package/dist-es/commands/DeleteAppCommand.js +21 -28
- package/dist-es/commands/DeleteBaiduChannelCommand.js +21 -28
- package/dist-es/commands/DeleteCampaignCommand.js +21 -28
- package/dist-es/commands/DeleteEmailChannelCommand.js +21 -28
- package/dist-es/commands/DeleteEmailTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteEndpointCommand.js +21 -28
- package/dist-es/commands/DeleteEventStreamCommand.js +21 -28
- package/dist-es/commands/DeleteGcmChannelCommand.js +21 -28
- package/dist-es/commands/DeleteInAppTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteJourneyCommand.js +21 -28
- package/dist-es/commands/DeletePushTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteRecommenderConfigurationCommand.js +21 -28
- package/dist-es/commands/DeleteSegmentCommand.js +21 -28
- package/dist-es/commands/DeleteSmsChannelCommand.js +21 -28
- package/dist-es/commands/DeleteSmsTemplateCommand.js +21 -28
- package/dist-es/commands/DeleteUserEndpointsCommand.js +21 -28
- package/dist-es/commands/DeleteVoiceChannelCommand.js +21 -28
- package/dist-es/commands/DeleteVoiceTemplateCommand.js +21 -28
- package/dist-es/commands/GetAdmChannelCommand.js +21 -28
- package/dist-es/commands/GetApnsChannelCommand.js +21 -28
- package/dist-es/commands/GetApnsSandboxChannelCommand.js +21 -28
- package/dist-es/commands/GetApnsVoipChannelCommand.js +21 -28
- package/dist-es/commands/GetApnsVoipSandboxChannelCommand.js +21 -28
- package/dist-es/commands/GetAppCommand.js +21 -28
- package/dist-es/commands/GetApplicationDateRangeKpiCommand.js +21 -28
- package/dist-es/commands/GetApplicationSettingsCommand.js +21 -28
- package/dist-es/commands/GetAppsCommand.js +21 -28
- package/dist-es/commands/GetBaiduChannelCommand.js +21 -28
- package/dist-es/commands/GetCampaignActivitiesCommand.js +21 -28
- package/dist-es/commands/GetCampaignCommand.js +21 -28
- package/dist-es/commands/GetCampaignDateRangeKpiCommand.js +21 -28
- package/dist-es/commands/GetCampaignVersionCommand.js +21 -28
- package/dist-es/commands/GetCampaignVersionsCommand.js +21 -28
- package/dist-es/commands/GetCampaignsCommand.js +21 -28
- package/dist-es/commands/GetChannelsCommand.js +21 -28
- package/dist-es/commands/GetEmailChannelCommand.js +21 -28
- package/dist-es/commands/GetEmailTemplateCommand.js +21 -28
- package/dist-es/commands/GetEndpointCommand.js +21 -28
- package/dist-es/commands/GetEventStreamCommand.js +21 -28
- package/dist-es/commands/GetExportJobCommand.js +21 -28
- package/dist-es/commands/GetExportJobsCommand.js +21 -28
- package/dist-es/commands/GetGcmChannelCommand.js +21 -28
- package/dist-es/commands/GetImportJobCommand.js +21 -28
- package/dist-es/commands/GetImportJobsCommand.js +21 -28
- package/dist-es/commands/GetInAppMessagesCommand.js +21 -28
- package/dist-es/commands/GetInAppTemplateCommand.js +21 -28
- package/dist-es/commands/GetJourneyCommand.js +21 -28
- package/dist-es/commands/GetJourneyDateRangeKpiCommand.js +21 -28
- package/dist-es/commands/GetJourneyExecutionActivityMetricsCommand.js +21 -28
- package/dist-es/commands/GetJourneyExecutionMetricsCommand.js +21 -28
- package/dist-es/commands/GetPushTemplateCommand.js +21 -28
- package/dist-es/commands/GetRecommenderConfigurationCommand.js +21 -28
- package/dist-es/commands/GetRecommenderConfigurationsCommand.js +21 -28
- package/dist-es/commands/GetSegmentCommand.js +21 -28
- package/dist-es/commands/GetSegmentExportJobsCommand.js +21 -28
- package/dist-es/commands/GetSegmentImportJobsCommand.js +21 -28
- package/dist-es/commands/GetSegmentVersionCommand.js +21 -28
- package/dist-es/commands/GetSegmentVersionsCommand.js +21 -28
- package/dist-es/commands/GetSegmentsCommand.js +21 -28
- package/dist-es/commands/GetSmsChannelCommand.js +21 -28
- package/dist-es/commands/GetSmsTemplateCommand.js +21 -28
- package/dist-es/commands/GetUserEndpointsCommand.js +21 -28
- package/dist-es/commands/GetVoiceChannelCommand.js +21 -28
- package/dist-es/commands/GetVoiceTemplateCommand.js +21 -28
- package/dist-es/commands/ListJourneysCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListTemplateVersionsCommand.js +21 -28
- package/dist-es/commands/ListTemplatesCommand.js +21 -28
- package/dist-es/commands/PhoneNumberValidateCommand.js +21 -28
- package/dist-es/commands/PutEventStreamCommand.js +21 -28
- package/dist-es/commands/PutEventsCommand.js +21 -28
- package/dist-es/commands/RemoveAttributesCommand.js +21 -28
- package/dist-es/commands/SendMessagesCommand.js +21 -28
- package/dist-es/commands/SendOTPMessageCommand.js +21 -28
- package/dist-es/commands/SendUsersMessagesCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +22 -29
- package/dist-es/commands/UntagResourceCommand.js +22 -29
- package/dist-es/commands/UpdateAdmChannelCommand.js +21 -28
- package/dist-es/commands/UpdateApnsChannelCommand.js +21 -28
- package/dist-es/commands/UpdateApnsSandboxChannelCommand.js +21 -28
- package/dist-es/commands/UpdateApnsVoipChannelCommand.js +21 -28
- package/dist-es/commands/UpdateApnsVoipSandboxChannelCommand.js +21 -28
- package/dist-es/commands/UpdateApplicationSettingsCommand.js +21 -28
- package/dist-es/commands/UpdateBaiduChannelCommand.js +21 -28
- package/dist-es/commands/UpdateCampaignCommand.js +21 -28
- package/dist-es/commands/UpdateEmailChannelCommand.js +21 -28
- package/dist-es/commands/UpdateEmailTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateEndpointCommand.js +21 -28
- package/dist-es/commands/UpdateEndpointsBatchCommand.js +21 -28
- package/dist-es/commands/UpdateGcmChannelCommand.js +21 -28
- package/dist-es/commands/UpdateInAppTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateJourneyCommand.js +21 -28
- package/dist-es/commands/UpdateJourneyStateCommand.js +21 -28
- package/dist-es/commands/UpdatePushTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateRecommenderConfigurationCommand.js +21 -28
- package/dist-es/commands/UpdateSegmentCommand.js +21 -28
- package/dist-es/commands/UpdateSmsChannelCommand.js +21 -28
- package/dist-es/commands/UpdateSmsTemplateCommand.js +21 -28
- package/dist-es/commands/UpdateTemplateActiveVersionCommand.js +21 -28
- package/dist-es/commands/UpdateVoiceChannelCommand.js +21 -28
- package/dist-es/commands/UpdateVoiceTemplateCommand.js +21 -28
- package/dist-es/commands/VerifyOTPMessageCommand.js +21 -28
- package/dist-es/endpoints.js +22 -8
- package/dist-es/models/PinpointServiceException.js +5 -10
- package/dist-es/models/models_0.js +902 -371
- package/dist-es/models/models_1.js +516 -173
- package/dist-es/protocols/Aws_restJson1.js +10181 -13421
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetApnsVoipSandboxChannelRequestFilterSensitiveLog, GetApnsVoipSandboxChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetApnsVoipSandboxChannelCommand, serializeAws_restJson1GetApnsVoipSandboxChannelCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetApnsVoipSandboxChannelCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetApnsVoipSandboxChannelCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetApnsVoipSandboxChannelRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetApnsVoipSandboxChannelResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetApnsVoipSandboxChannelCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetApnsVoipSandboxChannelCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetApnsVoipSandboxChannelCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetApnsVoipSandboxChannelCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetAppRequestFilterSensitiveLog, GetAppResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetAppCommand, serializeAws_restJson1GetAppCommand } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetAppCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetAppCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetAppRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetAppResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetAppCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetAppCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetAppCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetAppCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetApplicationDateRangeKpiRequestFilterSensitiveLog, GetApplicationDateRangeKpiResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetApplicationDateRangeKpiCommand, serializeAws_restJson1GetApplicationDateRangeKpiCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetApplicationDateRangeKpiCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetApplicationDateRangeKpiCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetApplicationDateRangeKpiRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetApplicationDateRangeKpiResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetApplicationDateRangeKpiCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetApplicationDateRangeKpiCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetApplicationDateRangeKpiCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetApplicationDateRangeKpiCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetApplicationSettingsRequestFilterSensitiveLog, GetApplicationSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetApplicationSettingsCommand, serializeAws_restJson1GetApplicationSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetApplicationSettingsCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetApplicationSettingsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetApplicationSettingsRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetApplicationSettingsResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetApplicationSettingsCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetApplicationSettingsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetApplicationSettingsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetApplicationSettingsCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetAppsRequestFilterSensitiveLog, GetAppsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetAppsCommand, serializeAws_restJson1GetAppsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetAppsCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetAppsCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetAppsRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetAppsResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetAppsCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetAppsCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetAppsCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetAppsCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetBaiduChannelRequestFilterSensitiveLog, GetBaiduChannelResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetBaiduChannelCommand, serializeAws_restJson1GetBaiduChannelCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetBaiduChannelCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetBaiduChannelCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetBaiduChannelRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetBaiduChannelResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetBaiduChannelCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetBaiduChannelCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetBaiduChannelCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetBaiduChannelCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetCampaignActivitiesRequestFilterSensitiveLog, GetCampaignActivitiesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetCampaignActivitiesCommand, serializeAws_restJson1GetCampaignActivitiesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetCampaignActivitiesCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetCampaignActivitiesCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetCampaignActivitiesRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetCampaignActivitiesResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetCampaignActivitiesCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetCampaignActivitiesCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetCampaignActivitiesCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetCampaignActivitiesCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetCampaignRequestFilterSensitiveLog, GetCampaignResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetCampaignCommand, serializeAws_restJson1GetCampaignCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetCampaignCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetCampaignCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetCampaignRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetCampaignResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetCampaignCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetCampaignCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetCampaignCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetCampaignCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetCampaignDateRangeKpiRequestFilterSensitiveLog, GetCampaignDateRangeKpiResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetCampaignDateRangeKpiCommand, serializeAws_restJson1GetCampaignDateRangeKpiCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetCampaignDateRangeKpiCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetCampaignDateRangeKpiCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetCampaignDateRangeKpiRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetCampaignDateRangeKpiResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetCampaignDateRangeKpiCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetCampaignDateRangeKpiCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetCampaignDateRangeKpiCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetCampaignDateRangeKpiCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { GetCampaignVersionRequestFilterSensitiveLog, GetCampaignVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetCampaignVersionCommand, serializeAws_restJson1GetCampaignVersionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class GetCampaignVersionCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "PinpointClient";
|
|
15
|
+
const commandName = "GetCampaignVersionCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: GetCampaignVersionRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: GetCampaignVersionResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
GetCampaignVersionCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1GetCampaignVersionCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1GetCampaignVersionCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { GetCampaignVersionCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|