@aws-sdk/client-pinpoint 3.39.0 → 3.43.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 +41 -0
- package/dist-cjs/Pinpoint.js +30 -0
- package/dist-cjs/commands/SendOTPMessageCommand.js +36 -0
- package/dist-cjs/commands/VerifyOTPMessageCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +104 -20
- package/dist-cjs/models/models_1.js +44 -2
- package/dist-cjs/protocols/Aws_restJson1.js +294 -4
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Pinpoint.js +30 -0
- package/dist-es/commands/SendOTPMessageCommand.js +39 -0
- package/dist-es/commands/VerifyOTPMessageCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +104 -20
- package/dist-es/models/models_1.js +28 -0
- package/dist-es/protocols/Aws_restJson1.js +310 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Pinpoint.d.ts +14 -0
- package/dist-types/PinpointClient.d.ts +12 -2
- package/dist-types/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/commands/CreateCampaignCommand.d.ts +1 -1
- package/dist-types/commands/CreateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateExportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateImportJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateJourneyCommand.d.ts +1 -1
- package/dist-types/commands/CreatePushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSegmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreateVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCampaignCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJourneyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSegmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetAppCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetApplicationSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetAppsCommand.d.ts +1 -1
- package/dist-types/commands/GetBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCampaignsCommand.d.ts +1 -1
- package/dist-types/commands/GetChannelsCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobCommand.d.ts +1 -1
- package/dist-types/commands/GetImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppMessagesCommand.d.ts +1 -1
- package/dist-types/commands/GetInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyDateRangeKpiCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyExecutionActivityMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetJourneyExecutionMetricsCommand.d.ts +1 -1
- package/dist-types/commands/GetPushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetRecommenderConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentImportJobsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentsCommand.d.ts +1 -1
- package/dist-types/commands/GetSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetUserEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/GetVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/GetVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListJourneysCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/PhoneNumberValidateCommand.d.ts +1 -1
- package/dist-types/commands/PutEventStreamCommand.d.ts +1 -1
- package/dist-types/commands/PutEventsCommand.d.ts +1 -1
- package/dist-types/commands/RemoveAttributesCommand.d.ts +1 -1
- package/dist-types/commands/SendMessagesCommand.d.ts +1 -1
- package/dist-types/commands/SendOTPMessageCommand.d.ts +35 -0
- package/dist-types/commands/SendUsersMessagesCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAdmChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApnsChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApnsSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApnsVoipChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApnsVoipSandboxChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApplicationSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBaiduChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCampaignCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEmailTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointsBatchCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGcmChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInAppTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJourneyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateJourneyStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePushTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRecommenderConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSegmentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSmsChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSmsTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTemplateActiveVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVoiceChannelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVoiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/VerifyOTPMessageCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_1.d.ts +149 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Pinpoint.d.ts +10 -0
- package/dist-types/ts3.4/PinpointClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/SendOTPMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/VerifyOTPMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +87 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -20,7 +20,7 @@ export interface UpdateEndpointsBatchCommandOutput extends UpdateEndpointsBatchR
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateEndpointsBatchCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateEndpointsBatchCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateEndpointsBatchCommand extends $Command<UpdateEndpointsBatchCommandInput, UpdateEndpointsBatchCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateGcmChannelCommandOutput extends UpdateGcmChannelResponse,
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateGcmChannelCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateGcmChannelCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateGcmChannelCommand extends $Command<UpdateGcmChannelCommandInput, UpdateGcmChannelCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateInAppTemplateCommandOutput extends UpdateInAppTemplateRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateInAppTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateInAppTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateInAppTemplateCommand extends $Command<UpdateInAppTemplateCommandInput, UpdateInAppTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateJourneyCommandOutput extends UpdateJourneyResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateJourneyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateJourneyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateJourneyCommand extends $Command<UpdateJourneyCommandInput, UpdateJourneyCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateJourneyStateCommandOutput extends UpdateJourneyStateRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateJourneyStateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateJourneyStateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateJourneyStateCommand extends $Command<UpdateJourneyStateCommandInput, UpdateJourneyStateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdatePushTemplateCommandOutput extends UpdatePushTemplateRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdatePushTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdatePushTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdatePushTemplateCommand extends $Command<UpdatePushTemplateCommandInput, UpdatePushTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateRecommenderConfigurationCommandOutput extends UpdateRecom
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateRecommenderConfigurationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateRecommenderConfigurationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateRecommenderConfigurationCommand extends $Command<UpdateRecommenderConfigurationCommandInput, UpdateRecommenderConfigurationCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateSegmentCommandOutput extends UpdateSegmentResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateSegmentCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateSegmentCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateSegmentCommand extends $Command<UpdateSegmentCommandInput, UpdateSegmentCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateSmsChannelCommandOutput extends UpdateSmsChannelResponse,
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateSmsChannelCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateSmsChannelCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateSmsChannelCommand extends $Command<UpdateSmsChannelCommandInput, UpdateSmsChannelCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateSmsTemplateCommandOutput extends UpdateSmsTemplateRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateSmsTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateSmsTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateSmsTemplateCommand extends $Command<UpdateSmsTemplateCommandInput, UpdateSmsTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateTemplateActiveVersionCommandOutput extends UpdateTemplate
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateTemplateActiveVersionCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateTemplateActiveVersionCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateTemplateActiveVersionCommand extends $Command<UpdateTemplateActiveVersionCommandInput, UpdateTemplateActiveVersionCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateVoiceChannelCommandOutput extends UpdateVoiceChannelRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateVoiceChannelCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateVoiceChannelCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateVoiceChannelCommand extends $Command<UpdateVoiceChannelCommandInput, UpdateVoiceChannelCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UpdateVoiceTemplateCommandOutput extends UpdateVoiceTemplateRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UpdateVoiceTemplateCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UpdateVoiceTemplateCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link PinpointClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UpdateVoiceTemplateCommand extends $Command<UpdateVoiceTemplateCommandInput, UpdateVoiceTemplateCommandOutput, PinpointClientResolvedConfig> {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { VerifyOTPMessageRequest, VerifyOTPMessageResponse } from "../models/models_1";
|
|
4
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
|
+
export interface VerifyOTPMessageCommandInput extends VerifyOTPMessageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface VerifyOTPMessageCommandOutput extends VerifyOTPMessageResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Verify an OTP</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { PinpointClient, VerifyOTPMessageCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
15
|
+
* // const { PinpointClient, VerifyOTPMessageCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
16
|
+
* const client = new PinpointClient(config);
|
|
17
|
+
* const command = new VerifyOTPMessageCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link VerifyOTPMessageCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link VerifyOTPMessageCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class VerifyOTPMessageCommand extends $Command<VerifyOTPMessageCommandInput, VerifyOTPMessageCommandOutput, PinpointClientResolvedConfig> {
|
|
27
|
+
readonly input: VerifyOTPMessageCommandInput;
|
|
28
|
+
constructor(input: VerifyOTPMessageCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<VerifyOTPMessageCommandInput, VerifyOTPMessageCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -88,6 +88,7 @@ export * from "./PutEventStreamCommand";
|
|
|
88
88
|
export * from "./PutEventsCommand";
|
|
89
89
|
export * from "./RemoveAttributesCommand";
|
|
90
90
|
export * from "./SendMessagesCommand";
|
|
91
|
+
export * from "./SendOTPMessageCommand";
|
|
91
92
|
export * from "./SendUsersMessagesCommand";
|
|
92
93
|
export * from "./TagResourceCommand";
|
|
93
94
|
export * from "./UntagResourceCommand";
|
|
@@ -115,3 +116,4 @@ export * from "./UpdateSmsTemplateCommand";
|
|
|
115
116
|
export * from "./UpdateTemplateActiveVersionCommand";
|
|
116
117
|
export * from "./UpdateVoiceChannelCommand";
|
|
117
118
|
export * from "./UpdateVoiceTemplateCommand";
|
|
119
|
+
export * from "./VerifyOTPMessageCommand";
|
|
@@ -2024,6 +2024,89 @@ export declare namespace SendMessagesResponse {
|
|
|
2024
2024
|
*/
|
|
2025
2025
|
const filterSensitiveLog: (obj: SendMessagesResponse) => any;
|
|
2026
2026
|
}
|
|
2027
|
+
/**
|
|
2028
|
+
* <p>Send OTP message request parameters.</p>
|
|
2029
|
+
*/
|
|
2030
|
+
export interface SendOTPMessageRequestParameters {
|
|
2031
|
+
/**
|
|
2032
|
+
* <p>The attempts allowed to validate an OTP.</p>
|
|
2033
|
+
*/
|
|
2034
|
+
AllowedAttempts?: number;
|
|
2035
|
+
/**
|
|
2036
|
+
* <p>The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.</p>
|
|
2037
|
+
*/
|
|
2038
|
+
BrandName: string | undefined;
|
|
2039
|
+
/**
|
|
2040
|
+
* <p>Channel type for the OTP message. Supported values: [SMS].</p>
|
|
2041
|
+
*/
|
|
2042
|
+
Channel: string | undefined;
|
|
2043
|
+
/**
|
|
2044
|
+
* <p>The number of characters in the generated OTP.</p>
|
|
2045
|
+
*/
|
|
2046
|
+
CodeLength?: number;
|
|
2047
|
+
/**
|
|
2048
|
+
* <p>The destination identity to send OTP to.</p>
|
|
2049
|
+
*/
|
|
2050
|
+
DestinationIdentity: string | undefined;
|
|
2051
|
+
/**
|
|
2052
|
+
* <p>A unique Entity ID received from DLT after entity registration is approved.</p>
|
|
2053
|
+
*/
|
|
2054
|
+
EntityId?: string;
|
|
2055
|
+
/**
|
|
2056
|
+
* <p>The language to be used for the outgoing message body containing the OTP.</p>
|
|
2057
|
+
*/
|
|
2058
|
+
Language?: string;
|
|
2059
|
+
/**
|
|
2060
|
+
* <p>The origination identity used to send OTP from.</p>
|
|
2061
|
+
*/
|
|
2062
|
+
OriginationIdentity: string | undefined;
|
|
2063
|
+
/**
|
|
2064
|
+
* <p>Developer-specified reference identifier. Required to match during OTP verification.</p>
|
|
2065
|
+
*/
|
|
2066
|
+
ReferenceId: string | undefined;
|
|
2067
|
+
/**
|
|
2068
|
+
* <p>A unique Template ID received from DLT after entity registration is approved.</p>
|
|
2069
|
+
*/
|
|
2070
|
+
TemplateId?: string;
|
|
2071
|
+
/**
|
|
2072
|
+
* <p>The time in minutes before the OTP is no longer valid.</p>
|
|
2073
|
+
*/
|
|
2074
|
+
ValidityPeriod?: number;
|
|
2075
|
+
}
|
|
2076
|
+
export declare namespace SendOTPMessageRequestParameters {
|
|
2077
|
+
/**
|
|
2078
|
+
* @internal
|
|
2079
|
+
*/
|
|
2080
|
+
const filterSensitiveLog: (obj: SendOTPMessageRequestParameters) => any;
|
|
2081
|
+
}
|
|
2082
|
+
export interface SendOTPMessageRequest {
|
|
2083
|
+
/**
|
|
2084
|
+
* <p>The unique ID of your Amazon Pinpoint application.</p>
|
|
2085
|
+
*/
|
|
2086
|
+
ApplicationId: string | undefined;
|
|
2087
|
+
/**
|
|
2088
|
+
* <p>Send OTP message request parameters.</p>
|
|
2089
|
+
*/
|
|
2090
|
+
SendOTPMessageRequestParameters: SendOTPMessageRequestParameters | undefined;
|
|
2091
|
+
}
|
|
2092
|
+
export declare namespace SendOTPMessageRequest {
|
|
2093
|
+
/**
|
|
2094
|
+
* @internal
|
|
2095
|
+
*/
|
|
2096
|
+
const filterSensitiveLog: (obj: SendOTPMessageRequest) => any;
|
|
2097
|
+
}
|
|
2098
|
+
export interface SendOTPMessageResponse {
|
|
2099
|
+
/**
|
|
2100
|
+
* <p>Provides information about the results of a request to send a message to an endpoint address.</p>
|
|
2101
|
+
*/
|
|
2102
|
+
MessageResponse: MessageResponse | undefined;
|
|
2103
|
+
}
|
|
2104
|
+
export declare namespace SendOTPMessageResponse {
|
|
2105
|
+
/**
|
|
2106
|
+
* @internal
|
|
2107
|
+
*/
|
|
2108
|
+
const filterSensitiveLog: (obj: SendOTPMessageResponse) => any;
|
|
2109
|
+
}
|
|
2027
2110
|
/**
|
|
2028
2111
|
* <p>Specifies the configuration and other settings for a message to send to all the endpoints that are associated with a list of users.</p>
|
|
2029
2112
|
*/
|
|
@@ -3012,3 +3095,69 @@ export declare namespace UpdateVoiceTemplateResponse {
|
|
|
3012
3095
|
*/
|
|
3013
3096
|
const filterSensitiveLog: (obj: UpdateVoiceTemplateResponse) => any;
|
|
3014
3097
|
}
|
|
3098
|
+
/**
|
|
3099
|
+
* <p>Verify OTP message request.</p>
|
|
3100
|
+
*/
|
|
3101
|
+
export interface VerifyOTPMessageRequestParameters {
|
|
3102
|
+
/**
|
|
3103
|
+
* <p>The destination identity to send OTP to.</p>
|
|
3104
|
+
*/
|
|
3105
|
+
DestinationIdentity: string | undefined;
|
|
3106
|
+
/**
|
|
3107
|
+
* <p>The OTP the end user provided for verification.</p>
|
|
3108
|
+
*/
|
|
3109
|
+
Otp: string | undefined;
|
|
3110
|
+
/**
|
|
3111
|
+
* <p>The reference identifier provided when the OTP was previously sent.</p>
|
|
3112
|
+
*/
|
|
3113
|
+
ReferenceId: string | undefined;
|
|
3114
|
+
}
|
|
3115
|
+
export declare namespace VerifyOTPMessageRequestParameters {
|
|
3116
|
+
/**
|
|
3117
|
+
* @internal
|
|
3118
|
+
*/
|
|
3119
|
+
const filterSensitiveLog: (obj: VerifyOTPMessageRequestParameters) => any;
|
|
3120
|
+
}
|
|
3121
|
+
export interface VerifyOTPMessageRequest {
|
|
3122
|
+
/**
|
|
3123
|
+
* <p>The unique ID of your Amazon Pinpoint application.</p>
|
|
3124
|
+
*/
|
|
3125
|
+
ApplicationId: string | undefined;
|
|
3126
|
+
/**
|
|
3127
|
+
* <p>Verify OTP message request.</p>
|
|
3128
|
+
*/
|
|
3129
|
+
VerifyOTPMessageRequestParameters: VerifyOTPMessageRequestParameters | undefined;
|
|
3130
|
+
}
|
|
3131
|
+
export declare namespace VerifyOTPMessageRequest {
|
|
3132
|
+
/**
|
|
3133
|
+
* @internal
|
|
3134
|
+
*/
|
|
3135
|
+
const filterSensitiveLog: (obj: VerifyOTPMessageRequest) => any;
|
|
3136
|
+
}
|
|
3137
|
+
/**
|
|
3138
|
+
* <p>Verify OTP Message Response.</p>
|
|
3139
|
+
*/
|
|
3140
|
+
export interface VerificationResponse {
|
|
3141
|
+
/**
|
|
3142
|
+
* <p>Specifies whether the OTP is valid or not.</p>
|
|
3143
|
+
*/
|
|
3144
|
+
Valid?: boolean;
|
|
3145
|
+
}
|
|
3146
|
+
export declare namespace VerificationResponse {
|
|
3147
|
+
/**
|
|
3148
|
+
* @internal
|
|
3149
|
+
*/
|
|
3150
|
+
const filterSensitiveLog: (obj: VerificationResponse) => any;
|
|
3151
|
+
}
|
|
3152
|
+
export interface VerifyOTPMessageResponse {
|
|
3153
|
+
/**
|
|
3154
|
+
* <p>Verify OTP Message Response.</p>
|
|
3155
|
+
*/
|
|
3156
|
+
VerificationResponse: VerificationResponse | undefined;
|
|
3157
|
+
}
|
|
3158
|
+
export declare namespace VerifyOTPMessageResponse {
|
|
3159
|
+
/**
|
|
3160
|
+
* @internal
|
|
3161
|
+
*/
|
|
3162
|
+
const filterSensitiveLog: (obj: VerifyOTPMessageResponse) => any;
|
|
3163
|
+
}
|
|
@@ -90,6 +90,7 @@ import { PutEventsCommandInput, PutEventsCommandOutput } from "../commands/PutEv
|
|
|
90
90
|
import { PutEventStreamCommandInput, PutEventStreamCommandOutput } from "../commands/PutEventStreamCommand";
|
|
91
91
|
import { RemoveAttributesCommandInput, RemoveAttributesCommandOutput } from "../commands/RemoveAttributesCommand";
|
|
92
92
|
import { SendMessagesCommandInput, SendMessagesCommandOutput } from "../commands/SendMessagesCommand";
|
|
93
|
+
import { SendOTPMessageCommandInput, SendOTPMessageCommandOutput } from "../commands/SendOTPMessageCommand";
|
|
93
94
|
import { SendUsersMessagesCommandInput, SendUsersMessagesCommandOutput } from "../commands/SendUsersMessagesCommand";
|
|
94
95
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
95
96
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
@@ -117,6 +118,7 @@ import { UpdateSmsTemplateCommandInput, UpdateSmsTemplateCommandOutput } from ".
|
|
|
117
118
|
import { UpdateTemplateActiveVersionCommandInput, UpdateTemplateActiveVersionCommandOutput } from "../commands/UpdateTemplateActiveVersionCommand";
|
|
118
119
|
import { UpdateVoiceChannelCommandInput, UpdateVoiceChannelCommandOutput } from "../commands/UpdateVoiceChannelCommand";
|
|
119
120
|
import { UpdateVoiceTemplateCommandInput, UpdateVoiceTemplateCommandOutput } from "../commands/UpdateVoiceTemplateCommand";
|
|
121
|
+
import { VerifyOTPMessageCommandInput, VerifyOTPMessageCommandOutput } from "../commands/VerifyOTPMessageCommand";
|
|
120
122
|
export declare const serializeAws_restJson1CreateAppCommand: (input: CreateAppCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
121
123
|
export declare const serializeAws_restJson1CreateCampaignCommand: (input: CreateCampaignCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
122
124
|
export declare const serializeAws_restJson1CreateEmailTemplateCommand: (input: CreateEmailTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -207,6 +209,7 @@ export declare const serializeAws_restJson1PutEventsCommand: (input: PutEventsCo
|
|
|
207
209
|
export declare const serializeAws_restJson1PutEventStreamCommand: (input: PutEventStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
208
210
|
export declare const serializeAws_restJson1RemoveAttributesCommand: (input: RemoveAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
209
211
|
export declare const serializeAws_restJson1SendMessagesCommand: (input: SendMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
212
|
+
export declare const serializeAws_restJson1SendOTPMessageCommand: (input: SendOTPMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
210
213
|
export declare const serializeAws_restJson1SendUsersMessagesCommand: (input: SendUsersMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
211
214
|
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
212
215
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -234,6 +237,7 @@ export declare const serializeAws_restJson1UpdateSmsTemplateCommand: (input: Upd
|
|
|
234
237
|
export declare const serializeAws_restJson1UpdateTemplateActiveVersionCommand: (input: UpdateTemplateActiveVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
235
238
|
export declare const serializeAws_restJson1UpdateVoiceChannelCommand: (input: UpdateVoiceChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
236
239
|
export declare const serializeAws_restJson1UpdateVoiceTemplateCommand: (input: UpdateVoiceTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
240
|
+
export declare const serializeAws_restJson1VerifyOTPMessageCommand: (input: VerifyOTPMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
237
241
|
export declare const deserializeAws_restJson1CreateAppCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAppCommandOutput>;
|
|
238
242
|
export declare const deserializeAws_restJson1CreateCampaignCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCampaignCommandOutput>;
|
|
239
243
|
export declare const deserializeAws_restJson1CreateEmailTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEmailTemplateCommandOutput>;
|
|
@@ -324,6 +328,7 @@ export declare const deserializeAws_restJson1PutEventsCommand: (output: __HttpRe
|
|
|
324
328
|
export declare const deserializeAws_restJson1PutEventStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutEventStreamCommandOutput>;
|
|
325
329
|
export declare const deserializeAws_restJson1RemoveAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveAttributesCommandOutput>;
|
|
326
330
|
export declare const deserializeAws_restJson1SendMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendMessagesCommandOutput>;
|
|
331
|
+
export declare const deserializeAws_restJson1SendOTPMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendOTPMessageCommandOutput>;
|
|
327
332
|
export declare const deserializeAws_restJson1SendUsersMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendUsersMessagesCommandOutput>;
|
|
328
333
|
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
329
334
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
@@ -351,3 +356,4 @@ export declare const deserializeAws_restJson1UpdateSmsTemplateCommand: (output:
|
|
|
351
356
|
export declare const deserializeAws_restJson1UpdateTemplateActiveVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTemplateActiveVersionCommandOutput>;
|
|
352
357
|
export declare const deserializeAws_restJson1UpdateVoiceChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateVoiceChannelCommandOutput>;
|
|
353
358
|
export declare const deserializeAws_restJson1UpdateVoiceTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateVoiceTemplateCommandOutput>;
|
|
359
|
+
export declare const deserializeAws_restJson1VerifyOTPMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<VerifyOTPMessageCommandOutput>;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -16,6 +16,8 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
16
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
21
|
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
22
|
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
23
|
apiVersion: string;
|
|
@@ -18,6 +18,8 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
18
18
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
20
|
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
23
|
serviceId: string;
|
|
22
24
|
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
@@ -89,6 +89,7 @@ import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEve
|
|
|
89
89
|
import { PutEventStreamCommandInput, PutEventStreamCommandOutput } from "./commands/PutEventStreamCommand";
|
|
90
90
|
import { RemoveAttributesCommandInput, RemoveAttributesCommandOutput } from "./commands/RemoveAttributesCommand";
|
|
91
91
|
import { SendMessagesCommandInput, SendMessagesCommandOutput } from "./commands/SendMessagesCommand";
|
|
92
|
+
import { SendOTPMessageCommandInput, SendOTPMessageCommandOutput } from "./commands/SendOTPMessageCommand";
|
|
92
93
|
import { SendUsersMessagesCommandInput, SendUsersMessagesCommandOutput } from "./commands/SendUsersMessagesCommand";
|
|
93
94
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
94
95
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -116,6 +117,7 @@ import { UpdateSmsTemplateCommandInput, UpdateSmsTemplateCommandOutput } from ".
|
|
|
116
117
|
import { UpdateTemplateActiveVersionCommandInput, UpdateTemplateActiveVersionCommandOutput } from "./commands/UpdateTemplateActiveVersionCommand";
|
|
117
118
|
import { UpdateVoiceChannelCommandInput, UpdateVoiceChannelCommandOutput } from "./commands/UpdateVoiceChannelCommand";
|
|
118
119
|
import { UpdateVoiceTemplateCommandInput, UpdateVoiceTemplateCommandOutput } from "./commands/UpdateVoiceTemplateCommand";
|
|
120
|
+
import { VerifyOTPMessageCommandInput, VerifyOTPMessageCommandOutput } from "./commands/VerifyOTPMessageCommand";
|
|
119
121
|
import { PinpointClient } from "./PinpointClient";
|
|
120
122
|
|
|
121
123
|
export declare class Pinpoint extends PinpointClient {
|
|
@@ -480,6 +482,10 @@ export declare class Pinpoint extends PinpointClient {
|
|
|
480
482
|
sendMessages(args: SendMessagesCommandInput, cb: (err: any, data?: SendMessagesCommandOutput) => void): void;
|
|
481
483
|
sendMessages(args: SendMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendMessagesCommandOutput) => void): void;
|
|
482
484
|
|
|
485
|
+
sendOTPMessage(args: SendOTPMessageCommandInput, options?: __HttpHandlerOptions): Promise<SendOTPMessageCommandOutput>;
|
|
486
|
+
sendOTPMessage(args: SendOTPMessageCommandInput, cb: (err: any, data?: SendOTPMessageCommandOutput) => void): void;
|
|
487
|
+
sendOTPMessage(args: SendOTPMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendOTPMessageCommandOutput) => void): void;
|
|
488
|
+
|
|
483
489
|
sendUsersMessages(args: SendUsersMessagesCommandInput, options?: __HttpHandlerOptions): Promise<SendUsersMessagesCommandOutput>;
|
|
484
490
|
sendUsersMessages(args: SendUsersMessagesCommandInput, cb: (err: any, data?: SendUsersMessagesCommandOutput) => void): void;
|
|
485
491
|
sendUsersMessages(args: SendUsersMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendUsersMessagesCommandOutput) => void): void;
|
|
@@ -587,4 +593,8 @@ export declare class Pinpoint extends PinpointClient {
|
|
|
587
593
|
updateVoiceTemplate(args: UpdateVoiceTemplateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVoiceTemplateCommandOutput>;
|
|
588
594
|
updateVoiceTemplate(args: UpdateVoiceTemplateCommandInput, cb: (err: any, data?: UpdateVoiceTemplateCommandOutput) => void): void;
|
|
589
595
|
updateVoiceTemplate(args: UpdateVoiceTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVoiceTemplateCommandOutput) => void): void;
|
|
596
|
+
|
|
597
|
+
verifyOTPMessage(args: VerifyOTPMessageCommandInput, options?: __HttpHandlerOptions): Promise<VerifyOTPMessageCommandOutput>;
|
|
598
|
+
verifyOTPMessage(args: VerifyOTPMessageCommandInput, cb: (err: any, data?: VerifyOTPMessageCommandOutput) => void): void;
|
|
599
|
+
verifyOTPMessage(args: VerifyOTPMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: VerifyOTPMessageCommandOutput) => void): void;
|
|
590
600
|
}
|
|
@@ -96,6 +96,7 @@ import { PutEventsCommandInput, PutEventsCommandOutput } from "./commands/PutEve
|
|
|
96
96
|
import { PutEventStreamCommandInput, PutEventStreamCommandOutput } from "./commands/PutEventStreamCommand";
|
|
97
97
|
import { RemoveAttributesCommandInput, RemoveAttributesCommandOutput } from "./commands/RemoveAttributesCommand";
|
|
98
98
|
import { SendMessagesCommandInput, SendMessagesCommandOutput } from "./commands/SendMessagesCommand";
|
|
99
|
+
import { SendOTPMessageCommandInput, SendOTPMessageCommandOutput } from "./commands/SendOTPMessageCommand";
|
|
99
100
|
import { SendUsersMessagesCommandInput, SendUsersMessagesCommandOutput } from "./commands/SendUsersMessagesCommand";
|
|
100
101
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
101
102
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -123,8 +124,9 @@ import { UpdateSmsTemplateCommandInput, UpdateSmsTemplateCommandOutput } from ".
|
|
|
123
124
|
import { UpdateTemplateActiveVersionCommandInput, UpdateTemplateActiveVersionCommandOutput } from "./commands/UpdateTemplateActiveVersionCommand";
|
|
124
125
|
import { UpdateVoiceChannelCommandInput, UpdateVoiceChannelCommandOutput } from "./commands/UpdateVoiceChannelCommand";
|
|
125
126
|
import { UpdateVoiceTemplateCommandInput, UpdateVoiceTemplateCommandOutput } from "./commands/UpdateVoiceTemplateCommand";
|
|
126
|
-
|
|
127
|
-
export declare type
|
|
127
|
+
import { VerifyOTPMessageCommandInput, VerifyOTPMessageCommandOutput } from "./commands/VerifyOTPMessageCommand";
|
|
128
|
+
export declare type ServiceInputTypes = CreateAppCommandInput | CreateCampaignCommandInput | CreateEmailTemplateCommandInput | CreateExportJobCommandInput | CreateImportJobCommandInput | CreateInAppTemplateCommandInput | CreateJourneyCommandInput | CreatePushTemplateCommandInput | CreateRecommenderConfigurationCommandInput | CreateSegmentCommandInput | CreateSmsTemplateCommandInput | CreateVoiceTemplateCommandInput | DeleteAdmChannelCommandInput | DeleteApnsChannelCommandInput | DeleteApnsSandboxChannelCommandInput | DeleteApnsVoipChannelCommandInput | DeleteApnsVoipSandboxChannelCommandInput | DeleteAppCommandInput | DeleteBaiduChannelCommandInput | DeleteCampaignCommandInput | DeleteEmailChannelCommandInput | DeleteEmailTemplateCommandInput | DeleteEndpointCommandInput | DeleteEventStreamCommandInput | DeleteGcmChannelCommandInput | DeleteInAppTemplateCommandInput | DeleteJourneyCommandInput | DeletePushTemplateCommandInput | DeleteRecommenderConfigurationCommandInput | DeleteSegmentCommandInput | DeleteSmsChannelCommandInput | DeleteSmsTemplateCommandInput | DeleteUserEndpointsCommandInput | DeleteVoiceChannelCommandInput | DeleteVoiceTemplateCommandInput | GetAdmChannelCommandInput | GetApnsChannelCommandInput | GetApnsSandboxChannelCommandInput | GetApnsVoipChannelCommandInput | GetApnsVoipSandboxChannelCommandInput | GetAppCommandInput | GetApplicationDateRangeKpiCommandInput | GetApplicationSettingsCommandInput | GetAppsCommandInput | GetBaiduChannelCommandInput | GetCampaignActivitiesCommandInput | GetCampaignCommandInput | GetCampaignDateRangeKpiCommandInput | GetCampaignVersionCommandInput | GetCampaignVersionsCommandInput | GetCampaignsCommandInput | GetChannelsCommandInput | GetEmailChannelCommandInput | GetEmailTemplateCommandInput | GetEndpointCommandInput | GetEventStreamCommandInput | GetExportJobCommandInput | GetExportJobsCommandInput | GetGcmChannelCommandInput | GetImportJobCommandInput | GetImportJobsCommandInput | GetInAppMessagesCommandInput | GetInAppTemplateCommandInput | GetJourneyCommandInput | GetJourneyDateRangeKpiCommandInput | GetJourneyExecutionActivityMetricsCommandInput | GetJourneyExecutionMetricsCommandInput | GetPushTemplateCommandInput | GetRecommenderConfigurationCommandInput | GetRecommenderConfigurationsCommandInput | GetSegmentCommandInput | GetSegmentExportJobsCommandInput | GetSegmentImportJobsCommandInput | GetSegmentVersionCommandInput | GetSegmentVersionsCommandInput | GetSegmentsCommandInput | GetSmsChannelCommandInput | GetSmsTemplateCommandInput | GetUserEndpointsCommandInput | GetVoiceChannelCommandInput | GetVoiceTemplateCommandInput | ListJourneysCommandInput | ListTagsForResourceCommandInput | ListTemplateVersionsCommandInput | ListTemplatesCommandInput | PhoneNumberValidateCommandInput | PutEventStreamCommandInput | PutEventsCommandInput | RemoveAttributesCommandInput | SendMessagesCommandInput | SendOTPMessageCommandInput | SendUsersMessagesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAdmChannelCommandInput | UpdateApnsChannelCommandInput | UpdateApnsSandboxChannelCommandInput | UpdateApnsVoipChannelCommandInput | UpdateApnsVoipSandboxChannelCommandInput | UpdateApplicationSettingsCommandInput | UpdateBaiduChannelCommandInput | UpdateCampaignCommandInput | UpdateEmailChannelCommandInput | UpdateEmailTemplateCommandInput | UpdateEndpointCommandInput | UpdateEndpointsBatchCommandInput | UpdateGcmChannelCommandInput | UpdateInAppTemplateCommandInput | UpdateJourneyCommandInput | UpdateJourneyStateCommandInput | UpdatePushTemplateCommandInput | UpdateRecommenderConfigurationCommandInput | UpdateSegmentCommandInput | UpdateSmsChannelCommandInput | UpdateSmsTemplateCommandInput | UpdateTemplateActiveVersionCommandInput | UpdateVoiceChannelCommandInput | UpdateVoiceTemplateCommandInput | VerifyOTPMessageCommandInput;
|
|
129
|
+
export declare type ServiceOutputTypes = CreateAppCommandOutput | CreateCampaignCommandOutput | CreateEmailTemplateCommandOutput | CreateExportJobCommandOutput | CreateImportJobCommandOutput | CreateInAppTemplateCommandOutput | CreateJourneyCommandOutput | CreatePushTemplateCommandOutput | CreateRecommenderConfigurationCommandOutput | CreateSegmentCommandOutput | CreateSmsTemplateCommandOutput | CreateVoiceTemplateCommandOutput | DeleteAdmChannelCommandOutput | DeleteApnsChannelCommandOutput | DeleteApnsSandboxChannelCommandOutput | DeleteApnsVoipChannelCommandOutput | DeleteApnsVoipSandboxChannelCommandOutput | DeleteAppCommandOutput | DeleteBaiduChannelCommandOutput | DeleteCampaignCommandOutput | DeleteEmailChannelCommandOutput | DeleteEmailTemplateCommandOutput | DeleteEndpointCommandOutput | DeleteEventStreamCommandOutput | DeleteGcmChannelCommandOutput | DeleteInAppTemplateCommandOutput | DeleteJourneyCommandOutput | DeletePushTemplateCommandOutput | DeleteRecommenderConfigurationCommandOutput | DeleteSegmentCommandOutput | DeleteSmsChannelCommandOutput | DeleteSmsTemplateCommandOutput | DeleteUserEndpointsCommandOutput | DeleteVoiceChannelCommandOutput | DeleteVoiceTemplateCommandOutput | GetAdmChannelCommandOutput | GetApnsChannelCommandOutput | GetApnsSandboxChannelCommandOutput | GetApnsVoipChannelCommandOutput | GetApnsVoipSandboxChannelCommandOutput | GetAppCommandOutput | GetApplicationDateRangeKpiCommandOutput | GetApplicationSettingsCommandOutput | GetAppsCommandOutput | GetBaiduChannelCommandOutput | GetCampaignActivitiesCommandOutput | GetCampaignCommandOutput | GetCampaignDateRangeKpiCommandOutput | GetCampaignVersionCommandOutput | GetCampaignVersionsCommandOutput | GetCampaignsCommandOutput | GetChannelsCommandOutput | GetEmailChannelCommandOutput | GetEmailTemplateCommandOutput | GetEndpointCommandOutput | GetEventStreamCommandOutput | GetExportJobCommandOutput | GetExportJobsCommandOutput | GetGcmChannelCommandOutput | GetImportJobCommandOutput | GetImportJobsCommandOutput | GetInAppMessagesCommandOutput | GetInAppTemplateCommandOutput | GetJourneyCommandOutput | GetJourneyDateRangeKpiCommandOutput | GetJourneyExecutionActivityMetricsCommandOutput | GetJourneyExecutionMetricsCommandOutput | GetPushTemplateCommandOutput | GetRecommenderConfigurationCommandOutput | GetRecommenderConfigurationsCommandOutput | GetSegmentCommandOutput | GetSegmentExportJobsCommandOutput | GetSegmentImportJobsCommandOutput | GetSegmentVersionCommandOutput | GetSegmentVersionsCommandOutput | GetSegmentsCommandOutput | GetSmsChannelCommandOutput | GetSmsTemplateCommandOutput | GetUserEndpointsCommandOutput | GetVoiceChannelCommandOutput | GetVoiceTemplateCommandOutput | ListJourneysCommandOutput | ListTagsForResourceCommandOutput | ListTemplateVersionsCommandOutput | ListTemplatesCommandOutput | PhoneNumberValidateCommandOutput | PutEventStreamCommandOutput | PutEventsCommandOutput | RemoveAttributesCommandOutput | SendMessagesCommandOutput | SendOTPMessageCommandOutput | SendUsersMessagesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAdmChannelCommandOutput | UpdateApnsChannelCommandOutput | UpdateApnsSandboxChannelCommandOutput | UpdateApnsVoipChannelCommandOutput | UpdateApnsVoipSandboxChannelCommandOutput | UpdateApplicationSettingsCommandOutput | UpdateBaiduChannelCommandOutput | UpdateCampaignCommandOutput | UpdateEmailChannelCommandOutput | UpdateEmailTemplateCommandOutput | UpdateEndpointCommandOutput | UpdateEndpointsBatchCommandOutput | UpdateGcmChannelCommandOutput | UpdateInAppTemplateCommandOutput | UpdateJourneyCommandOutput | UpdateJourneyStateCommandOutput | UpdatePushTemplateCommandOutput | UpdateRecommenderConfigurationCommandOutput | UpdateSegmentCommandOutput | UpdateSmsChannelCommandOutput | UpdateSmsTemplateCommandOutput | UpdateTemplateActiveVersionCommandOutput | UpdateVoiceChannelCommandOutput | UpdateVoiceTemplateCommandOutput | VerifyOTPMessageCommandOutput;
|
|
128
130
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
129
131
|
|
|
130
132
|
requestHandler?: __HttpHandler;
|
|
@@ -155,6 +157,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
155
157
|
|
|
156
158
|
logger?: __Logger;
|
|
157
159
|
|
|
160
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
161
|
+
|
|
162
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
163
|
+
|
|
158
164
|
serviceId?: string;
|
|
159
165
|
|
|
160
166
|
region?: string | __Provider<string>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { SendOTPMessageRequest, SendOTPMessageResponse } from "../models/models_1";
|
|
4
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
|
+
export interface SendOTPMessageCommandInput extends SendOTPMessageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface SendOTPMessageCommandOutput extends SendOTPMessageResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class SendOTPMessageCommand extends $Command<SendOTPMessageCommandInput, SendOTPMessageCommandOutput, PinpointClientResolvedConfig> {
|
|
11
|
+
readonly input: SendOTPMessageCommandInput;
|
|
12
|
+
constructor(input: SendOTPMessageCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendOTPMessageCommandInput, SendOTPMessageCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { VerifyOTPMessageRequest, VerifyOTPMessageResponse } from "../models/models_1";
|
|
4
|
+
import { PinpointClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PinpointClient";
|
|
5
|
+
export interface VerifyOTPMessageCommandInput extends VerifyOTPMessageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface VerifyOTPMessageCommandOutput extends VerifyOTPMessageResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class VerifyOTPMessageCommand extends $Command<VerifyOTPMessageCommandInput, VerifyOTPMessageCommandOutput, PinpointClientResolvedConfig> {
|
|
11
|
+
readonly input: VerifyOTPMessageCommandInput;
|
|
12
|
+
constructor(input: VerifyOTPMessageCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<VerifyOTPMessageCommandInput, VerifyOTPMessageCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -88,6 +88,7 @@ export * from "./PutEventStreamCommand";
|
|
|
88
88
|
export * from "./PutEventsCommand";
|
|
89
89
|
export * from "./RemoveAttributesCommand";
|
|
90
90
|
export * from "./SendMessagesCommand";
|
|
91
|
+
export * from "./SendOTPMessageCommand";
|
|
91
92
|
export * from "./SendUsersMessagesCommand";
|
|
92
93
|
export * from "./TagResourceCommand";
|
|
93
94
|
export * from "./UntagResourceCommand";
|
|
@@ -115,3 +116,4 @@ export * from "./UpdateSmsTemplateCommand";
|
|
|
115
116
|
export * from "./UpdateTemplateActiveVersionCommand";
|
|
116
117
|
export * from "./UpdateVoiceChannelCommand";
|
|
117
118
|
export * from "./UpdateVoiceTemplateCommand";
|
|
119
|
+
export * from "./VerifyOTPMessageCommand";
|