@aws-sdk/client-pinpoint 3.332.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-cjs/protocols/Aws_restJson1.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +1 -1
- package/dist-types/PinpointClient.d.ts +3 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +12 -12
- package/dist-types/runtimeConfig.d.ts +9 -9
- package/dist-types/runtimeConfig.native.d.ts +13 -13
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/Pinpoint.d.ts +864 -2091
- package/dist-types/ts3.4/PinpointClient.d.ts +284 -844
- 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 -33
- 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 -91
- package/dist-types/ts3.4/runtimeConfig.d.ts +42 -91
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +41 -80
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -18
- package/package.json +5 -4
|
@@ -1,41 +1,123 @@
|
|
|
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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 { GetSegmentImportJobsRequest, GetSegmentImportJobsResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetSegmentImportJobsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetSegmentImportJobsCommandInput extends GetSegmentImportJobsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetSegmentImportJobsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSegmentImportJobsCommandOutput extends GetSegmentImportJobsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves information about the status and settings of the import jobs for a segment.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { PinpointClient, GetSegmentImportJobsCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, GetSegmentImportJobsCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // GetSegmentImportJobsRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* PageSize: "STRING_VALUE",
|
|
32
|
+
* SegmentId: "STRING_VALUE", // required
|
|
33
|
+
* Token: "STRING_VALUE",
|
|
34
|
+
* };
|
|
35
|
+
* const command = new GetSegmentImportJobsCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* // { // GetSegmentImportJobsResponse
|
|
38
|
+
* // ImportJobsResponse: { // ImportJobsResponse
|
|
39
|
+
* // Item: [ // ListOfImportJobResponse // required
|
|
40
|
+
* // { // ImportJobResponse
|
|
41
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
42
|
+
* // CompletedPieces: Number("int"),
|
|
43
|
+
* // CompletionDate: "STRING_VALUE",
|
|
44
|
+
* // CreationDate: "STRING_VALUE", // required
|
|
45
|
+
* // Definition: { // ImportJobResource
|
|
46
|
+
* // DefineSegment: true || false,
|
|
47
|
+
* // ExternalId: "STRING_VALUE",
|
|
48
|
+
* // Format: "CSV" || "JSON", // required
|
|
49
|
+
* // RegisterEndpoints: true || false,
|
|
50
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
51
|
+
* // S3Url: "STRING_VALUE", // required
|
|
52
|
+
* // SegmentId: "STRING_VALUE",
|
|
53
|
+
* // SegmentName: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // FailedPieces: Number("int"),
|
|
56
|
+
* // Failures: [ // ListOf__string
|
|
57
|
+
* // "STRING_VALUE",
|
|
58
|
+
* // ],
|
|
59
|
+
* // Id: "STRING_VALUE", // required
|
|
60
|
+
* // JobStatus: "CREATED" || "PREPARING_FOR_INITIALIZATION" || "INITIALIZING" || "PROCESSING" || "PENDING_JOB" || "COMPLETING" || "COMPLETED" || "FAILING" || "FAILED", // required
|
|
61
|
+
* // TotalFailures: Number("int"),
|
|
62
|
+
* // TotalPieces: Number("int"),
|
|
63
|
+
* // TotalProcessed: Number("int"),
|
|
64
|
+
* // Type: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // NextToken: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param GetSegmentImportJobsCommandInput - {@link GetSegmentImportJobsCommandInput}
|
|
74
|
+
* @returns {@link GetSegmentImportJobsCommandOutput}
|
|
75
|
+
* @see {@link GetSegmentImportJobsCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link GetSegmentImportJobsCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link BadRequestException} (client fault)
|
|
80
|
+
* <p>Provides information about an API request or response.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
83
|
+
* <p>Provides information about an API request or response.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
86
|
+
* <p>Provides information about an API request or response.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
89
|
+
* <p>Provides information about an API request or response.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link NotFoundException} (client fault)
|
|
92
|
+
* <p>Provides information about an API request or response.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
95
|
+
* <p>Provides information about an API request or response.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
98
|
+
* <p>Provides information about an API request or response.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link PinpointServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
export declare class GetSegmentImportJobsCommand extends $Command<GetSegmentImportJobsCommandInput, GetSegmentImportJobsCommandOutput, PinpointClientResolvedConfig> {
|
|
105
|
+
readonly input: GetSegmentImportJobsCommandInput;
|
|
106
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
constructor(input: GetSegmentImportJobsCommandInput);
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSegmentImportJobsCommandInput, GetSegmentImportJobsCommandOutput>;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
private serialize;
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
private deserialize;
|
|
123
|
+
}
|
|
@@ -1,38 +1,244 @@
|
|
|
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
|
-
|
|
38
|
-
|
|
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 { GetSegmentVersionRequest, GetSegmentVersionResponse } from "../models/models_1";
|
|
5
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetSegmentVersionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetSegmentVersionCommandInput extends GetSegmentVersionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetSegmentVersionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSegmentVersionCommandOutput extends GetSegmentVersionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's 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, GetSegmentVersionCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
27
|
+
* // const { PinpointClient, GetSegmentVersionCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
28
|
+
* const client = new PinpointClient(config);
|
|
29
|
+
* const input = { // GetSegmentVersionRequest
|
|
30
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
31
|
+
* SegmentId: "STRING_VALUE", // required
|
|
32
|
+
* Version: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
34
|
+
* const command = new GetSegmentVersionCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // { // GetSegmentVersionResponse
|
|
37
|
+
* // SegmentResponse: { // SegmentResponse
|
|
38
|
+
* // ApplicationId: "STRING_VALUE", // required
|
|
39
|
+
* // Arn: "STRING_VALUE", // required
|
|
40
|
+
* // CreationDate: "STRING_VALUE", // required
|
|
41
|
+
* // Dimensions: { // SegmentDimensions
|
|
42
|
+
* // Attributes: { // MapOfAttributeDimension
|
|
43
|
+
* // "<keys>": { // AttributeDimension
|
|
44
|
+
* // AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
|
|
45
|
+
* // Values: [ // ListOf__string // required
|
|
46
|
+
* // "STRING_VALUE",
|
|
47
|
+
* // ],
|
|
48
|
+
* // },
|
|
49
|
+
* // },
|
|
50
|
+
* // Behavior: { // SegmentBehaviors
|
|
51
|
+
* // Recency: { // RecencyDimension
|
|
52
|
+
* // Duration: "HR_24" || "DAY_7" || "DAY_14" || "DAY_30", // required
|
|
53
|
+
* // RecencyType: "ACTIVE" || "INACTIVE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // Demographic: { // SegmentDemographics
|
|
57
|
+
* // AppVersion: { // SetDimension
|
|
58
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE",
|
|
59
|
+
* // Values: [ // required
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // Channel: {
|
|
64
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE",
|
|
65
|
+
* // Values: [ // required
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // DeviceType: {
|
|
70
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE",
|
|
71
|
+
* // Values: [ // required
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // Make: {
|
|
76
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE",
|
|
77
|
+
* // Values: [ // required
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // Model: {
|
|
82
|
+
* // DimensionType: "INCLUSIVE" || "EXCLUSIVE",
|
|
83
|
+
* // Values: "<ListOf__string>", // required
|
|
84
|
+
* // },
|
|
85
|
+
* // Platform: "<SetDimension>",
|
|
86
|
+
* // },
|
|
87
|
+
* // Location: { // SegmentLocation
|
|
88
|
+
* // Country: "<SetDimension>",
|
|
89
|
+
* // GPSPoint: { // GPSPointDimension
|
|
90
|
+
* // Coordinates: { // GPSCoordinates
|
|
91
|
+
* // Latitude: Number("double"), // required
|
|
92
|
+
* // Longitude: Number("double"), // required
|
|
93
|
+
* // },
|
|
94
|
+
* // RangeInKilometers: Number("double"),
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // Metrics: { // MapOfMetricDimension
|
|
98
|
+
* // "<keys>": { // MetricDimension
|
|
99
|
+
* // ComparisonOperator: "STRING_VALUE", // required
|
|
100
|
+
* // Value: Number("double"), // required
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
103
|
+
* // UserAttributes: {
|
|
104
|
+
* // "<keys>": {
|
|
105
|
+
* // AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
|
|
106
|
+
* // Values: "<ListOf__string>", // required
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // Id: "STRING_VALUE", // required
|
|
111
|
+
* // ImportDefinition: { // SegmentImportResource
|
|
112
|
+
* // ChannelCounts: { // MapOf__integer
|
|
113
|
+
* // "<keys>": Number("int"),
|
|
114
|
+
* // },
|
|
115
|
+
* // ExternalId: "STRING_VALUE", // required
|
|
116
|
+
* // Format: "CSV" || "JSON", // required
|
|
117
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
118
|
+
* // S3Url: "STRING_VALUE", // required
|
|
119
|
+
* // Size: Number("int"), // required
|
|
120
|
+
* // },
|
|
121
|
+
* // LastModifiedDate: "STRING_VALUE",
|
|
122
|
+
* // Name: "STRING_VALUE",
|
|
123
|
+
* // SegmentGroups: { // SegmentGroupList
|
|
124
|
+
* // Groups: [ // ListOfSegmentGroup
|
|
125
|
+
* // { // SegmentGroup
|
|
126
|
+
* // Dimensions: [ // ListOfSegmentDimensions
|
|
127
|
+
* // {
|
|
128
|
+
* // Attributes: {
|
|
129
|
+
* // "<keys>": {
|
|
130
|
+
* // AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
|
|
131
|
+
* // Values: "<ListOf__string>", // required
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // Behavior: {
|
|
135
|
+
* // Recency: {
|
|
136
|
+
* // Duration: "HR_24" || "DAY_7" || "DAY_14" || "DAY_30", // required
|
|
137
|
+
* // RecencyType: "ACTIVE" || "INACTIVE", // required
|
|
138
|
+
* // },
|
|
139
|
+
* // },
|
|
140
|
+
* // Demographic: {
|
|
141
|
+
* // AppVersion: "<SetDimension>",
|
|
142
|
+
* // Channel: "<SetDimension>",
|
|
143
|
+
* // DeviceType: "<SetDimension>",
|
|
144
|
+
* // Make: "<SetDimension>",
|
|
145
|
+
* // Model: "<SetDimension>",
|
|
146
|
+
* // Platform: "<SetDimension>",
|
|
147
|
+
* // },
|
|
148
|
+
* // Location: {
|
|
149
|
+
* // Country: "<SetDimension>",
|
|
150
|
+
* // GPSPoint: {
|
|
151
|
+
* // Coordinates: {
|
|
152
|
+
* // Latitude: Number("double"), // required
|
|
153
|
+
* // Longitude: Number("double"), // required
|
|
154
|
+
* // },
|
|
155
|
+
* // RangeInKilometers: Number("double"),
|
|
156
|
+
* // },
|
|
157
|
+
* // },
|
|
158
|
+
* // Metrics: {
|
|
159
|
+
* // "<keys>": {
|
|
160
|
+
* // ComparisonOperator: "STRING_VALUE", // required
|
|
161
|
+
* // Value: Number("double"), // required
|
|
162
|
+
* // },
|
|
163
|
+
* // },
|
|
164
|
+
* // UserAttributes: {
|
|
165
|
+
* // "<keys>": {
|
|
166
|
+
* // AttributeType: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "BEFORE" || "AFTER" || "ON" || "BETWEEN",
|
|
167
|
+
* // Values: "<ListOf__string>", // required
|
|
168
|
+
* // },
|
|
169
|
+
* // },
|
|
170
|
+
* // },
|
|
171
|
+
* // ],
|
|
172
|
+
* // SourceSegments: [ // ListOfSegmentReference
|
|
173
|
+
* // { // SegmentReference
|
|
174
|
+
* // Id: "STRING_VALUE", // required
|
|
175
|
+
* // Version: Number("int"),
|
|
176
|
+
* // },
|
|
177
|
+
* // ],
|
|
178
|
+
* // SourceType: "ALL" || "ANY" || "NONE",
|
|
179
|
+
* // Type: "ALL" || "ANY" || "NONE",
|
|
180
|
+
* // },
|
|
181
|
+
* // ],
|
|
182
|
+
* // Include: "ALL" || "ANY" || "NONE",
|
|
183
|
+
* // },
|
|
184
|
+
* // SegmentType: "DIMENSIONAL" || "IMPORT", // required
|
|
185
|
+
* // tags: { // MapOf__string
|
|
186
|
+
* // "<keys>": "STRING_VALUE",
|
|
187
|
+
* // },
|
|
188
|
+
* // Version: Number("int"),
|
|
189
|
+
* // },
|
|
190
|
+
* // };
|
|
191
|
+
*
|
|
192
|
+
* ```
|
|
193
|
+
*
|
|
194
|
+
* @param GetSegmentVersionCommandInput - {@link GetSegmentVersionCommandInput}
|
|
195
|
+
* @returns {@link GetSegmentVersionCommandOutput}
|
|
196
|
+
* @see {@link GetSegmentVersionCommandInput} for command's `input` shape.
|
|
197
|
+
* @see {@link GetSegmentVersionCommandOutput} for command's `response` shape.
|
|
198
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
199
|
+
*
|
|
200
|
+
* @throws {@link BadRequestException} (client fault)
|
|
201
|
+
* <p>Provides information about an API request or response.</p>
|
|
202
|
+
*
|
|
203
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
204
|
+
* <p>Provides information about an API request or response.</p>
|
|
205
|
+
*
|
|
206
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
207
|
+
* <p>Provides information about an API request or response.</p>
|
|
208
|
+
*
|
|
209
|
+
* @throws {@link MethodNotAllowedException} (client fault)
|
|
210
|
+
* <p>Provides information about an API request or response.</p>
|
|
211
|
+
*
|
|
212
|
+
* @throws {@link NotFoundException} (client fault)
|
|
213
|
+
* <p>Provides information about an API request or response.</p>
|
|
214
|
+
*
|
|
215
|
+
* @throws {@link PayloadTooLargeException} (client fault)
|
|
216
|
+
* <p>Provides information about an API request or response.</p>
|
|
217
|
+
*
|
|
218
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
219
|
+
* <p>Provides information about an API request or response.</p>
|
|
220
|
+
*
|
|
221
|
+
* @throws {@link PinpointServiceException}
|
|
222
|
+
* <p>Base exception class for all service exceptions from Pinpoint service.</p>
|
|
223
|
+
*
|
|
224
|
+
*/
|
|
225
|
+
export declare class GetSegmentVersionCommand extends $Command<GetSegmentVersionCommandInput, GetSegmentVersionCommandOutput, PinpointClientResolvedConfig> {
|
|
226
|
+
readonly input: GetSegmentVersionCommandInput;
|
|
227
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
constructor(input: GetSegmentVersionCommandInput);
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSegmentVersionCommandInput, GetSegmentVersionCommandOutput>;
|
|
236
|
+
/**
|
|
237
|
+
* @internal
|
|
238
|
+
*/
|
|
239
|
+
private serialize;
|
|
240
|
+
/**
|
|
241
|
+
* @internal
|
|
242
|
+
*/
|
|
243
|
+
private deserialize;
|
|
244
|
+
}
|