@aws-sdk/client-pinpoint 3.335.0 → 3.335.1
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 +4785 -0
- package/dist-types/ts3.4/Pinpoint.d.ts +864 -2091
- package/dist-types/ts3.4/PinpointClient.d.ts +284 -846
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +103 -34
- package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +833 -37
- package/dist-types/ts3.4/commands/CreateEmailTemplateCommand.d.ts +99 -38
- package/dist-types/ts3.4/commands/CreateExportJobCommand.d.ts +117 -37
- package/dist-types/ts3.4/commands/CreateImportJobCommand.d.ts +125 -37
- package/dist-types/ts3.4/commands/CreateInAppTemplateCommand.d.ts +155 -38
- package/dist-types/ts3.4/commands/CreateJourneyCommand.d.ts +840 -37
- package/dist-types/ts3.4/commands/CreatePushTemplateCommand.d.ts +145 -38
- package/dist-types/ts3.4/commands/CreateRecommenderConfigurationCommand.d.ts +117 -41
- package/dist-types/ts3.4/commands/CreateSegmentCommand.d.ts +378 -37
- package/dist-types/ts3.4/commands/CreateSmsTemplateCommand.d.ts +97 -38
- package/dist-types/ts3.4/commands/CreateVoiceTemplateCommand.d.ts +98 -38
- package/dist-types/ts3.4/commands/DeleteAdmChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/DeleteApnsChannelCommand.d.ts +103 -38
- package/dist-types/ts3.4/commands/DeleteApnsSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteApnsVoipChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +98 -34
- package/dist-types/ts3.4/commands/DeleteBaiduChannelCommand.d.ts +102 -38
- package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +470 -37
- package/dist-types/ts3.4/commands/DeleteEmailChannelCommand.d.ts +106 -38
- package/dist-types/ts3.4/commands/DeleteEmailTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteEndpointCommand.d.ts +136 -37
- package/dist-types/ts3.4/commands/DeleteEventStreamCommand.d.ts +97 -38
- package/dist-types/ts3.4/commands/DeleteGcmChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/DeleteInAppTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteJourneyCommand.d.ts +468 -37
- package/dist-types/ts3.4/commands/DeletePushTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteRecommenderConfigurationCommand.d.ts +105 -41
- package/dist-types/ts3.4/commands/DeleteSegmentCommand.d.ts +243 -37
- package/dist-types/ts3.4/commands/DeleteSmsChannelCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/DeleteSmsTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/DeleteUserEndpointsCommand.d.ts +140 -38
- package/dist-types/ts3.4/commands/DeleteVoiceChannelCommand.d.ts +101 -38
- package/dist-types/ts3.4/commands/DeleteVoiceTemplateCommand.d.ts +94 -38
- package/dist-types/ts3.4/commands/GetAdmChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/GetApnsChannelCommand.d.ts +103 -37
- package/dist-types/ts3.4/commands/GetApnsSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetApnsVoipChannelCommand.d.ts +103 -38
- package/dist-types/ts3.4/commands/GetApnsVoipSandboxChannelCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetAppCommand.d.ts +98 -32
- package/dist-types/ts3.4/commands/GetApplicationDateRangeKpiCommand.d.ts +121 -41
- package/dist-types/ts3.4/commands/GetApplicationSettingsCommand.d.ts +109 -41
- package/dist-types/ts3.4/commands/GetAppsCommand.d.ts +104 -34
- package/dist-types/ts3.4/commands/GetBaiduChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/GetCampaignActivitiesCommand.d.ts +115 -41
- package/dist-types/ts3.4/commands/GetCampaignCommand.d.ts +470 -34
- package/dist-types/ts3.4/commands/GetCampaignDateRangeKpiCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetCampaignVersionCommand.d.ts +471 -38
- package/dist-types/ts3.4/commands/GetCampaignVersionsCommand.d.ts +477 -38
- package/dist-types/ts3.4/commands/GetCampaignsCommand.d.ts +476 -34
- package/dist-types/ts3.4/commands/GetChannelsCommand.d.ts +104 -34
- package/dist-types/ts3.4/commands/GetEmailChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/GetEmailTemplateCommand.d.ts +107 -37
- package/dist-types/ts3.4/commands/GetEndpointCommand.d.ts +136 -34
- package/dist-types/ts3.4/commands/GetEventStreamCommand.d.ts +97 -37
- package/dist-types/ts3.4/commands/GetExportJobCommand.d.ts +112 -34
- package/dist-types/ts3.4/commands/GetExportJobsCommand.d.ts +118 -37
- package/dist-types/ts3.4/commands/GetGcmChannelCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +116 -34
- package/dist-types/ts3.4/commands/GetImportJobsCommand.d.ts +122 -37
- package/dist-types/ts3.4/commands/GetInAppMessagesCommand.d.ts +197 -37
- package/dist-types/ts3.4/commands/GetInAppTemplateCommand.d.ts +163 -37
- package/dist-types/ts3.4/commands/GetJourneyCommand.d.ts +468 -34
- package/dist-types/ts3.4/commands/GetJourneyDateRangeKpiCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +103 -41
- package/dist-types/ts3.4/commands/GetJourneyExecutionMetricsCommand.d.ts +100 -41
- package/dist-types/ts3.4/commands/GetJourneyRunExecutionActivityMetricsCommand.d.ts +134 -41
- package/dist-types/ts3.4/commands/GetJourneyRunExecutionMetricsCommand.d.ts +130 -41
- package/dist-types/ts3.4/commands/GetJourneyRunsCommand.d.ts +135 -37
- package/dist-types/ts3.4/commands/GetPushTemplateCommand.d.ts +153 -37
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationCommand.d.ts +105 -41
- package/dist-types/ts3.4/commands/GetRecommenderConfigurationsCommand.d.ts +111 -41
- package/dist-types/ts3.4/commands/GetSegmentCommand.d.ts +243 -34
- package/dist-types/ts3.4/commands/GetSegmentExportJobsCommand.d.ts +119 -41
- package/dist-types/ts3.4/commands/GetSegmentImportJobsCommand.d.ts +123 -41
- package/dist-types/ts3.4/commands/GetSegmentVersionCommand.d.ts +244 -38
- package/dist-types/ts3.4/commands/GetSegmentVersionsCommand.d.ts +250 -38
- package/dist-types/ts3.4/commands/GetSegmentsCommand.d.ts +249 -34
- package/dist-types/ts3.4/commands/GetSmsChannelCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/GetSmsTemplateCommand.d.ts +105 -37
- package/dist-types/ts3.4/commands/GetUserEndpointsCommand.d.ts +140 -37
- package/dist-types/ts3.4/commands/GetVoiceChannelCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/GetVoiceTemplateCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/ListJourneysCommand.d.ts +474 -34
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +73 -38
- package/dist-types/ts3.4/commands/ListTemplateVersionsCommand.d.ts +108 -41
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +104 -37
- package/dist-types/ts3.4/commands/PhoneNumberValidateCommand.d.ts +108 -38
- package/dist-types/ts3.4/commands/PutEventStreamCommand.d.ts +101 -37
- package/dist-types/ts3.4/commands/PutEventsCommand.d.ts +176 -34
- package/dist-types/ts3.4/commands/RemoveAttributesCommand.d.ts +102 -37
- package/dist-types/ts3.4/commands/SendMessagesCommand.d.ts +313 -34
- package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +125 -37
- package/dist-types/ts3.4/commands/SendUsersMessagesCommand.d.ts +296 -38
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +72 -32
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +70 -32
- package/dist-types/ts3.4/commands/UpdateAdmChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/UpdateApnsChannelCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/UpdateApnsSandboxChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApnsVoipChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +113 -41
- package/dist-types/ts3.4/commands/UpdateApplicationSettingsCommand.d.ts +129 -41
- package/dist-types/ts3.4/commands/UpdateBaiduChannelCommand.d.ts +107 -38
- package/dist-types/ts3.4/commands/UpdateCampaignCommand.d.ts +834 -37
- package/dist-types/ts3.4/commands/UpdateEmailChannelCommand.d.ts +113 -38
- package/dist-types/ts3.4/commands/UpdateEmailTemplateCommand.d.ts +106 -38
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +136 -37
- package/dist-types/ts3.4/commands/UpdateEndpointsBatchCommand.d.ts +140 -41
- package/dist-types/ts3.4/commands/UpdateGcmChannelCommand.d.ts +106 -37
- package/dist-types/ts3.4/commands/UpdateInAppTemplateCommand.d.ts +162 -38
- package/dist-types/ts3.4/commands/UpdateJourneyCommand.d.ts +844 -37
- package/dist-types/ts3.4/commands/UpdateJourneyStateCommand.d.ts +471 -38
- package/dist-types/ts3.4/commands/UpdatePushTemplateCommand.d.ts +152 -38
- package/dist-types/ts3.4/commands/UpdateRecommenderConfigurationCommand.d.ts +118 -41
- package/dist-types/ts3.4/commands/UpdateSegmentCommand.d.ts +379 -37
- package/dist-types/ts3.4/commands/UpdateSmsChannelCommand.d.ts +110 -37
- package/dist-types/ts3.4/commands/UpdateSmsTemplateCommand.d.ts +104 -38
- package/dist-types/ts3.4/commands/UpdateTemplateActiveVersionCommand.d.ts +97 -41
- package/dist-types/ts3.4/commands/UpdateVoiceChannelCommand.d.ts +104 -38
- package/dist-types/ts3.4/commands/UpdateVoiceTemplateCommand.d.ts +105 -38
- package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +97 -37
- package/dist-types/ts3.4/commands/index.d.ts +122 -122
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +20 -32
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +5 -8
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/PinpointServiceException.d.ts +12 -7
- package/dist-types/ts3.4/models/index.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +6383 -1896
- package/dist-types/ts3.4/models/models_1.d.ts +2807 -915
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +1100 -1469
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +42 -94
- package/dist-types/ts3.4/runtimeConfig.d.ts +42 -91
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +41 -85
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -18
- package/package.json +2 -2
|
@@ -1,37 +1,101 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export interface
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { PutEventStreamRequest, PutEventStreamResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link PutEventStreamCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface PutEventStreamCommandInput extends PutEventStreamRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link PutEventStreamCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface PutEventStreamCommandOutput extends PutEventStreamResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates a new event stream for an application or updates the settings of an existing event stream for an application.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { PinpointClient, PutEventStreamCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, PutEventStreamCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // PutEventStreamRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* WriteEventStream: { // WriteEventStream
|
|
32
|
+
* DestinationStreamArn: "STRING_VALUE", // required
|
|
33
|
+
* RoleArn: "STRING_VALUE", // required
|
|
34
|
+
* },
|
|
35
|
+
* };
|
|
36
|
+
* const command = new PutEventStreamCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // PutEventStreamResponse
|
|
39
|
+
* // EventStream: { // EventStream
|
|
40
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
41
|
+
* // DestinationStreamArn: "STRING_VALUE", // required
|
|
42
|
+
* // ExternalId: "STRING_VALUE",
|
|
43
|
+
* // LastModifiedDate: "STRING_VALUE",
|
|
44
|
+
* // LastUpdatedBy: "STRING_VALUE",
|
|
45
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param PutEventStreamCommandInput - {@link PutEventStreamCommandInput}
|
|
52
|
+
* @returns {@link PutEventStreamCommandOutput}
|
|
53
|
+
* @see {@link PutEventStreamCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link PutEventStreamCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestException} (client fault)
|
|
58
|
+
* <p>Provides information about an API request or response.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
* <p>Provides information about an API request or response.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
64
|
+
* <p>Provides information about an API request or response.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
67
|
+
* <p>Provides information about an API request or response.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link NotFoundException} (client fault)
|
|
70
|
+
* <p>Provides information about an API request or response.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
73
|
+
* <p>Provides information about an API request or response.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
76
|
+
* <p>Provides information about an API request or response.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link PinpointServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class PutEventStreamCommand extends $Command<PutEventStreamCommandInput, PutEventStreamCommandOutput, PinpointClientResolvedConfig> {
|
|
83
|
+
readonly input: PutEventStreamCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: PutEventStreamCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutEventStreamCommandInput, PutEventStreamCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -1,34 +1,176 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { PutEventsRequest, PutEventsResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link PutEventsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface PutEventsCommandInput extends PutEventsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link PutEventsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface PutEventsCommandOutput extends PutEventsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { PinpointClient, PutEventsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, PutEventsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // PutEventsRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* EventsRequest: { // EventsRequest
|
|
32
|
+
* BatchItem: { // MapOfEventsBatch // required
|
|
33
|
+
* "<keys>": { // EventsBatch
|
|
34
|
+
* Endpoint: { // PublicEndpoint
|
|
35
|
+
* Address: "STRING_VALUE",
|
|
36
|
+
* Attributes: { // MapOfListOf__string
|
|
37
|
+
* "<keys>": [ // ListOf__string
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* },
|
|
41
|
+
* ChannelType: "PUSH" || "GCM" || "APNS" || "APNS_SANDBOX" || "APNS_VOIP" || "APNS_VOIP_SANDBOX" || "ADM" || "SMS" || "VOICE" || "EMAIL" || "BAIDU" || "CUSTOM" || "IN_APP",
|
|
42
|
+
* Demographic: { // EndpointDemographic
|
|
43
|
+
* AppVersion: "STRING_VALUE",
|
|
44
|
+
* Locale: "STRING_VALUE",
|
|
45
|
+
* Make: "STRING_VALUE",
|
|
46
|
+
* Model: "STRING_VALUE",
|
|
47
|
+
* ModelVersion: "STRING_VALUE",
|
|
48
|
+
* Platform: "STRING_VALUE",
|
|
49
|
+
* PlatformVersion: "STRING_VALUE",
|
|
50
|
+
* Timezone: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* EffectiveDate: "STRING_VALUE",
|
|
53
|
+
* EndpointStatus: "STRING_VALUE",
|
|
54
|
+
* Location: { // EndpointLocation
|
|
55
|
+
* City: "STRING_VALUE",
|
|
56
|
+
* Country: "STRING_VALUE",
|
|
57
|
+
* Latitude: Number("double"),
|
|
58
|
+
* Longitude: Number("double"),
|
|
59
|
+
* PostalCode: "STRING_VALUE",
|
|
60
|
+
* Region: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* Metrics: { // MapOf__double
|
|
63
|
+
* "<keys>": Number("double"),
|
|
64
|
+
* },
|
|
65
|
+
* OptOut: "STRING_VALUE",
|
|
66
|
+
* RequestId: "STRING_VALUE",
|
|
67
|
+
* User: { // EndpointUser
|
|
68
|
+
* UserAttributes: {
|
|
69
|
+
* "<keys>": [
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* UserId: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* Events: { // MapOfEvent // required
|
|
77
|
+
* "<keys>": { // Event
|
|
78
|
+
* AppPackageName: "STRING_VALUE",
|
|
79
|
+
* AppTitle: "STRING_VALUE",
|
|
80
|
+
* AppVersionCode: "STRING_VALUE",
|
|
81
|
+
* Attributes: { // MapOf__string
|
|
82
|
+
* "<keys>": "STRING_VALUE",
|
|
83
|
+
* },
|
|
84
|
+
* ClientSdkVersion: "STRING_VALUE",
|
|
85
|
+
* EventType: "STRING_VALUE", // required
|
|
86
|
+
* Metrics: {
|
|
87
|
+
* "<keys>": Number("double"),
|
|
88
|
+
* },
|
|
89
|
+
* SdkName: "STRING_VALUE",
|
|
90
|
+
* Session: { // Session
|
|
91
|
+
* Duration: Number("int"),
|
|
92
|
+
* Id: "STRING_VALUE", // required
|
|
93
|
+
* StartTimestamp: "STRING_VALUE", // required
|
|
94
|
+
* StopTimestamp: "STRING_VALUE",
|
|
95
|
+
* },
|
|
96
|
+
* Timestamp: "STRING_VALUE", // required
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* };
|
|
103
|
+
* const command = new PutEventsCommand(input);
|
|
104
|
+
* const response = await client.send(command);
|
|
105
|
+
* // { // PutEventsResponse
|
|
106
|
+
* // EventsResponse: { // EventsResponse
|
|
107
|
+
* // Results: { // MapOfItemResponse
|
|
108
|
+
* // "<keys>": { // ItemResponse
|
|
109
|
+
* // EndpointItemResponse: { // EndpointItemResponse
|
|
110
|
+
* // Message: "STRING_VALUE",
|
|
111
|
+
* // StatusCode: Number("int"),
|
|
112
|
+
* // },
|
|
113
|
+
* // EventsItemResponse: { // MapOfEventItemResponse
|
|
114
|
+
* // "<keys>": { // EventItemResponse
|
|
115
|
+
* // Message: "STRING_VALUE",
|
|
116
|
+
* // StatusCode: Number("int"),
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // },
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // };
|
|
123
|
+
*
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* @param PutEventsCommandInput - {@link PutEventsCommandInput}
|
|
127
|
+
* @returns {@link PutEventsCommandOutput}
|
|
128
|
+
* @see {@link PutEventsCommandInput} for command's `input` shape.
|
|
129
|
+
* @see {@link PutEventsCommandOutput} for command's `response` shape.
|
|
130
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link BadRequestException} (client fault)
|
|
133
|
+
* <p>Provides information about an API request or response.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
136
|
+
* <p>Provides information about an API request or response.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
139
|
+
* <p>Provides information about an API request or response.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
142
|
+
* <p>Provides information about an API request or response.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link NotFoundException} (client fault)
|
|
145
|
+
* <p>Provides information about an API request or response.</p>
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
148
|
+
* <p>Provides information about an API request or response.</p>
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
151
|
+
* <p>Provides information about an API request or response.</p>
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link PinpointServiceException}
|
|
154
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
export declare class PutEventsCommand extends $Command<PutEventsCommandInput, PutEventsCommandOutput, PinpointClientResolvedConfig> {
|
|
158
|
+
readonly input: PutEventsCommandInput;
|
|
159
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
constructor(input: PutEventsCommandInput);
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutEventsCommandInput, PutEventsCommandOutput>;
|
|
168
|
+
/**
|
|
169
|
+
* @internal
|
|
170
|
+
*/
|
|
171
|
+
private serialize;
|
|
172
|
+
/**
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
private deserialize;
|
|
176
|
+
}
|
|
@@ -1,37 +1,102 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export interface
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { RemoveAttributesRequest, RemoveAttributesResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link RemoveAttributesCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface RemoveAttributesCommandInput extends RemoveAttributesRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link RemoveAttributesCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface RemoveAttributesCommandOutput extends RemoveAttributesResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an application.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { PinpointClient, RemoveAttributesCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, RemoveAttributesCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // RemoveAttributesRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* AttributeType: "STRING_VALUE", // required
|
|
32
|
+
* UpdateAttributesRequest: { // UpdateAttributesRequest
|
|
33
|
+
* Blacklist: [ // ListOf__string
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
38
|
+
* const command = new RemoveAttributesCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // RemoveAttributesResponse
|
|
41
|
+
* // AttributesResource: { // AttributesResource
|
|
42
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
43
|
+
* // AttributeType: "STRING_VALUE", // required
|
|
44
|
+
* // Attributes: [ // ListOf__string
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // },
|
|
48
|
+
* // };
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param RemoveAttributesCommandInput - {@link RemoveAttributesCommandInput}
|
|
53
|
+
* @returns {@link RemoveAttributesCommandOutput}
|
|
54
|
+
* @see {@link RemoveAttributesCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link RemoveAttributesCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BadRequestException} (client fault)
|
|
59
|
+
* <p>Provides information about an API request or response.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
62
|
+
* <p>Provides information about an API request or response.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
65
|
+
* <p>Provides information about an API request or response.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
68
|
+
* <p>Provides information about an API request or response.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NotFoundException} (client fault)
|
|
71
|
+
* <p>Provides information about an API request or response.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
74
|
+
* <p>Provides information about an API request or response.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
77
|
+
* <p>Provides information about an API request or response.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link PinpointServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class RemoveAttributesCommand extends $Command<RemoveAttributesCommandInput, RemoveAttributesCommandOutput, PinpointClientResolvedConfig> {
|
|
84
|
+
readonly input: RemoveAttributesCommandInput;
|
|
85
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
constructor(input: RemoveAttributesCommandInput);
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveAttributesCommandInput, RemoveAttributesCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private deserialize;
|
|
102
|
+
}
|