@aws-sdk/client-pinpoint 3.42.0 → 3.47.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 +50 -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 +1 -0
- package/dist-cjs/models/models_0.js +5 -53
- package/dist-cjs/models/models_1.js +44 -2
- package/dist-cjs/protocols/Aws_restJson1.js +294 -4
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -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 +1 -0
- package/dist-es/models/models_0.js +0 -32
- package/dist-es/models/models_1.js +28 -0
- package/dist-es/protocols/Aws_restJson1.js +310 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Pinpoint.d.ts +14 -0
- package/dist-types/PinpointClient.d.ts +9 -3
- package/dist-types/commands/SendOTPMessageCommand.d.ts +35 -0
- package/dist-types/commands/VerifyOTPMessageCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +0 -48
- 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 +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Pinpoint.d.ts +10 -0
- package/dist-types/ts3.4/PinpointClient.d.ts +7 -3
- 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_0.d.ts +0 -32
- 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 +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
10
10
|
import { CreateCampaignCommandInput, CreateCampaignCommandOutput } from "./commands/CreateCampaignCommand";
|
|
@@ -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
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -225,6 +227,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
225
227
|
* @internal
|
|
226
228
|
*/
|
|
227
229
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
230
|
+
/**
|
|
231
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
232
|
+
*/
|
|
233
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
228
234
|
}
|
|
229
235
|
declare type PinpointClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
230
236
|
/**
|
|
@@ -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 { 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
|
+
* <p>Send an OTP message</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { PinpointClient, SendOTPMessageCommand } from "@aws-sdk/client-pinpoint"; // ES Modules import
|
|
15
|
+
* // const { PinpointClient, SendOTPMessageCommand } = require("@aws-sdk/client-pinpoint"); // CommonJS import
|
|
16
|
+
* const client = new PinpointClient(config);
|
|
17
|
+
* const command = new SendOTPMessageCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link SendOTPMessageCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link SendOTPMessageCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link PinpointClientResolvedConfig | config} for PinpointClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class SendOTPMessageCommand extends $Command<SendOTPMessageCommandInput, SendOTPMessageCommandOutput, PinpointClientResolvedConfig> {
|
|
27
|
+
readonly input: SendOTPMessageCommandInput;
|
|
28
|
+
constructor(input: SendOTPMessageCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PinpointClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendOTPMessageCommandInput, SendOTPMessageCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -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";
|
|
@@ -1957,12 +1957,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
1957
1957
|
*/
|
|
1958
1958
|
RequestID?: string;
|
|
1959
1959
|
}
|
|
1960
|
-
export declare namespace BadRequestException {
|
|
1961
|
-
/**
|
|
1962
|
-
* @internal
|
|
1963
|
-
*/
|
|
1964
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
1965
|
-
}
|
|
1966
1960
|
/**
|
|
1967
1961
|
* <p>Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.</p>
|
|
1968
1962
|
*/
|
|
@@ -2959,12 +2953,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
2959
2953
|
*/
|
|
2960
2954
|
RequestID?: string;
|
|
2961
2955
|
}
|
|
2962
|
-
export declare namespace ConflictException {
|
|
2963
|
-
/**
|
|
2964
|
-
* @internal
|
|
2965
|
-
*/
|
|
2966
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
2967
|
-
}
|
|
2968
2956
|
/**
|
|
2969
2957
|
* <p>Specifies the display name of an application and the tags to associate with the application.</p>
|
|
2970
2958
|
*/
|
|
@@ -3025,12 +3013,6 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
|
|
|
3025
3013
|
*/
|
|
3026
3014
|
RequestID?: string;
|
|
3027
3015
|
}
|
|
3028
|
-
export declare namespace ForbiddenException {
|
|
3029
|
-
/**
|
|
3030
|
-
* @internal
|
|
3031
|
-
*/
|
|
3032
|
-
const filterSensitiveLog: (obj: ForbiddenException) => any;
|
|
3033
|
-
}
|
|
3034
3016
|
/**
|
|
3035
3017
|
* <p>Provides information about an API request or response.</p>
|
|
3036
3018
|
*/
|
|
@@ -3046,12 +3028,6 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
|
|
|
3046
3028
|
*/
|
|
3047
3029
|
RequestID?: string;
|
|
3048
3030
|
}
|
|
3049
|
-
export declare namespace InternalServerErrorException {
|
|
3050
|
-
/**
|
|
3051
|
-
* @internal
|
|
3052
|
-
*/
|
|
3053
|
-
const filterSensitiveLog: (obj: InternalServerErrorException) => any;
|
|
3054
|
-
}
|
|
3055
3031
|
/**
|
|
3056
3032
|
* <p>Provides information about an API request or response.</p>
|
|
3057
3033
|
*/
|
|
@@ -3067,12 +3043,6 @@ export interface MethodNotAllowedException extends __SmithyException, $MetadataB
|
|
|
3067
3043
|
*/
|
|
3068
3044
|
RequestID?: string;
|
|
3069
3045
|
}
|
|
3070
|
-
export declare namespace MethodNotAllowedException {
|
|
3071
|
-
/**
|
|
3072
|
-
* @internal
|
|
3073
|
-
*/
|
|
3074
|
-
const filterSensitiveLog: (obj: MethodNotAllowedException) => any;
|
|
3075
|
-
}
|
|
3076
3046
|
/**
|
|
3077
3047
|
* <p>Provides information about an API request or response.</p>
|
|
3078
3048
|
*/
|
|
@@ -3088,12 +3058,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
3088
3058
|
*/
|
|
3089
3059
|
RequestID?: string;
|
|
3090
3060
|
}
|
|
3091
|
-
export declare namespace NotFoundException {
|
|
3092
|
-
/**
|
|
3093
|
-
* @internal
|
|
3094
|
-
*/
|
|
3095
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
3096
|
-
}
|
|
3097
3061
|
/**
|
|
3098
3062
|
* <p>Provides information about an API request or response.</p>
|
|
3099
3063
|
*/
|
|
@@ -3109,12 +3073,6 @@ export interface PayloadTooLargeException extends __SmithyException, $MetadataBe
|
|
|
3109
3073
|
*/
|
|
3110
3074
|
RequestID?: string;
|
|
3111
3075
|
}
|
|
3112
|
-
export declare namespace PayloadTooLargeException {
|
|
3113
|
-
/**
|
|
3114
|
-
* @internal
|
|
3115
|
-
*/
|
|
3116
|
-
const filterSensitiveLog: (obj: PayloadTooLargeException) => any;
|
|
3117
|
-
}
|
|
3118
3076
|
/**
|
|
3119
3077
|
* <p>Provides information about an API request or response.</p>
|
|
3120
3078
|
*/
|
|
@@ -3130,12 +3088,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
3130
3088
|
*/
|
|
3131
3089
|
RequestID?: string;
|
|
3132
3090
|
}
|
|
3133
|
-
export declare namespace TooManyRequestsException {
|
|
3134
|
-
/**
|
|
3135
|
-
* @internal
|
|
3136
|
-
*/
|
|
3137
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
3138
|
-
}
|
|
3139
3091
|
/**
|
|
3140
3092
|
* <p>Specifies the settings for a campaign treatment. A <i>treatment</i> is a variation of a campaign that's used for A/B testing of a campaign.</p>
|
|
3141
3093
|
*/
|
|
@@ -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>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { PinpointClientConfig } from "./PinpointClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { PinpointClientConfig } from "./PinpointClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -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
|
}
|