@aws-sdk/client-pinpoint 3.51.0 → 3.54.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 +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/PinpointServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +126 -5
- package/dist-cjs/protocols/Aws_restJson1.js +1376 -6084
- package/dist-es/index.js +1 -0
- package/dist-es/models/PinpointServiceException.js +12 -0
- package/dist-es/models/models_0.js +114 -1
- package/dist-es/protocols/Aws_restJson1.js +3102 -6548
- package/dist-types/PinpointClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/PinpointServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +62 -25
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/PinpointClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/PinpointServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +44 -25
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
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";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, 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";
|
|
11
11
|
import { CreateEmailTemplateCommandInput, CreateEmailTemplateCommandOutput } from "./commands/CreateEmailTemplateCommand";
|
|
@@ -147,7 +147,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
147
147
|
* A function that can calculate the length of a request body.
|
|
148
148
|
* @internal
|
|
149
149
|
*/
|
|
150
|
-
bodyLengthChecker?:
|
|
150
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
151
151
|
/**
|
|
152
152
|
* A function that converts a stream into an array of bytes.
|
|
153
153
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Pinpoint service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PinpointServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { PinpointServiceException as __BaseException } from "./PinpointServiceException";
|
|
2
3
|
export declare enum __EndpointTypesElement {
|
|
3
4
|
ADM = "ADM",
|
|
4
5
|
APNS = "APNS",
|
|
@@ -1785,6 +1786,10 @@ export interface ApplicationResponse {
|
|
|
1785
1786
|
tags?: {
|
|
1786
1787
|
[key: string]: string;
|
|
1787
1788
|
};
|
|
1789
|
+
/**
|
|
1790
|
+
* <p>The date and time when the Application was created.</p>
|
|
1791
|
+
*/
|
|
1792
|
+
CreationDate?: string;
|
|
1788
1793
|
}
|
|
1789
1794
|
export declare namespace ApplicationResponse {
|
|
1790
1795
|
/**
|
|
@@ -1945,9 +1950,9 @@ export declare namespace AttributesResource {
|
|
|
1945
1950
|
/**
|
|
1946
1951
|
* <p>Provides information about an API request or response.</p>
|
|
1947
1952
|
*/
|
|
1948
|
-
export
|
|
1949
|
-
name: "BadRequestException";
|
|
1950
|
-
$fault: "client";
|
|
1953
|
+
export declare class BadRequestException extends __BaseException {
|
|
1954
|
+
readonly name: "BadRequestException";
|
|
1955
|
+
readonly $fault: "client";
|
|
1951
1956
|
/**
|
|
1952
1957
|
* <p>The message that's returned from the API.</p>
|
|
1953
1958
|
*/
|
|
@@ -1956,6 +1961,10 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
1956
1961
|
* <p>The unique identifier for the request or response.</p>
|
|
1957
1962
|
*/
|
|
1958
1963
|
RequestID?: string;
|
|
1964
|
+
/**
|
|
1965
|
+
* @internal
|
|
1966
|
+
*/
|
|
1967
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
1959
1968
|
}
|
|
1960
1969
|
/**
|
|
1961
1970
|
* <p>Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.</p>
|
|
@@ -2941,9 +2950,9 @@ export declare namespace ChannelsResponse {
|
|
|
2941
2950
|
/**
|
|
2942
2951
|
* <p>Provides information about an API request or response.</p>
|
|
2943
2952
|
*/
|
|
2944
|
-
export
|
|
2945
|
-
name: "ConflictException";
|
|
2946
|
-
$fault: "client";
|
|
2953
|
+
export declare class ConflictException extends __BaseException {
|
|
2954
|
+
readonly name: "ConflictException";
|
|
2955
|
+
readonly $fault: "client";
|
|
2947
2956
|
/**
|
|
2948
2957
|
* <p>The message that's returned from the API.</p>
|
|
2949
2958
|
*/
|
|
@@ -2952,6 +2961,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
2952
2961
|
* <p>The unique identifier for the request or response.</p>
|
|
2953
2962
|
*/
|
|
2954
2963
|
RequestID?: string;
|
|
2964
|
+
/**
|
|
2965
|
+
* @internal
|
|
2966
|
+
*/
|
|
2967
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
2955
2968
|
}
|
|
2956
2969
|
/**
|
|
2957
2970
|
* <p>Specifies the display name of an application and the tags to associate with the application.</p>
|
|
@@ -3001,9 +3014,9 @@ export declare namespace CreateAppResponse {
|
|
|
3001
3014
|
/**
|
|
3002
3015
|
* <p>Provides information about an API request or response.</p>
|
|
3003
3016
|
*/
|
|
3004
|
-
export
|
|
3005
|
-
name: "ForbiddenException";
|
|
3006
|
-
$fault: "client";
|
|
3017
|
+
export declare class ForbiddenException extends __BaseException {
|
|
3018
|
+
readonly name: "ForbiddenException";
|
|
3019
|
+
readonly $fault: "client";
|
|
3007
3020
|
/**
|
|
3008
3021
|
* <p>The message that's returned from the API.</p>
|
|
3009
3022
|
*/
|
|
@@ -3012,13 +3025,17 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
|
|
|
3012
3025
|
* <p>The unique identifier for the request or response.</p>
|
|
3013
3026
|
*/
|
|
3014
3027
|
RequestID?: string;
|
|
3028
|
+
/**
|
|
3029
|
+
* @internal
|
|
3030
|
+
*/
|
|
3031
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
3015
3032
|
}
|
|
3016
3033
|
/**
|
|
3017
3034
|
* <p>Provides information about an API request or response.</p>
|
|
3018
3035
|
*/
|
|
3019
|
-
export
|
|
3020
|
-
name: "InternalServerErrorException";
|
|
3021
|
-
$fault: "server";
|
|
3036
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
3037
|
+
readonly name: "InternalServerErrorException";
|
|
3038
|
+
readonly $fault: "server";
|
|
3022
3039
|
/**
|
|
3023
3040
|
* <p>The message that's returned from the API.</p>
|
|
3024
3041
|
*/
|
|
@@ -3027,13 +3044,17 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
|
|
|
3027
3044
|
* <p>The unique identifier for the request or response.</p>
|
|
3028
3045
|
*/
|
|
3029
3046
|
RequestID?: string;
|
|
3047
|
+
/**
|
|
3048
|
+
* @internal
|
|
3049
|
+
*/
|
|
3050
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
3030
3051
|
}
|
|
3031
3052
|
/**
|
|
3032
3053
|
* <p>Provides information about an API request or response.</p>
|
|
3033
3054
|
*/
|
|
3034
|
-
export
|
|
3035
|
-
name: "MethodNotAllowedException";
|
|
3036
|
-
$fault: "client";
|
|
3055
|
+
export declare class MethodNotAllowedException extends __BaseException {
|
|
3056
|
+
readonly name: "MethodNotAllowedException";
|
|
3057
|
+
readonly $fault: "client";
|
|
3037
3058
|
/**
|
|
3038
3059
|
* <p>The message that's returned from the API.</p>
|
|
3039
3060
|
*/
|
|
@@ -3042,13 +3063,17 @@ export interface MethodNotAllowedException extends __SmithyException, $MetadataB
|
|
|
3042
3063
|
* <p>The unique identifier for the request or response.</p>
|
|
3043
3064
|
*/
|
|
3044
3065
|
RequestID?: string;
|
|
3066
|
+
/**
|
|
3067
|
+
* @internal
|
|
3068
|
+
*/
|
|
3069
|
+
constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
|
|
3045
3070
|
}
|
|
3046
3071
|
/**
|
|
3047
3072
|
* <p>Provides information about an API request or response.</p>
|
|
3048
3073
|
*/
|
|
3049
|
-
export
|
|
3050
|
-
name: "NotFoundException";
|
|
3051
|
-
$fault: "client";
|
|
3074
|
+
export declare class NotFoundException extends __BaseException {
|
|
3075
|
+
readonly name: "NotFoundException";
|
|
3076
|
+
readonly $fault: "client";
|
|
3052
3077
|
/**
|
|
3053
3078
|
* <p>The message that's returned from the API.</p>
|
|
3054
3079
|
*/
|
|
@@ -3057,13 +3082,17 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
3057
3082
|
* <p>The unique identifier for the request or response.</p>
|
|
3058
3083
|
*/
|
|
3059
3084
|
RequestID?: string;
|
|
3085
|
+
/**
|
|
3086
|
+
* @internal
|
|
3087
|
+
*/
|
|
3088
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
3060
3089
|
}
|
|
3061
3090
|
/**
|
|
3062
3091
|
* <p>Provides information about an API request or response.</p>
|
|
3063
3092
|
*/
|
|
3064
|
-
export
|
|
3065
|
-
name: "PayloadTooLargeException";
|
|
3066
|
-
$fault: "client";
|
|
3093
|
+
export declare class PayloadTooLargeException extends __BaseException {
|
|
3094
|
+
readonly name: "PayloadTooLargeException";
|
|
3095
|
+
readonly $fault: "client";
|
|
3067
3096
|
/**
|
|
3068
3097
|
* <p>The message that's returned from the API.</p>
|
|
3069
3098
|
*/
|
|
@@ -3072,13 +3101,17 @@ export interface PayloadTooLargeException extends __SmithyException, $MetadataBe
|
|
|
3072
3101
|
* <p>The unique identifier for the request or response.</p>
|
|
3073
3102
|
*/
|
|
3074
3103
|
RequestID?: string;
|
|
3104
|
+
/**
|
|
3105
|
+
* @internal
|
|
3106
|
+
*/
|
|
3107
|
+
constructor(opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>);
|
|
3075
3108
|
}
|
|
3076
3109
|
/**
|
|
3077
3110
|
* <p>Provides information about an API request or response.</p>
|
|
3078
3111
|
*/
|
|
3079
|
-
export
|
|
3080
|
-
name: "TooManyRequestsException";
|
|
3081
|
-
$fault: "client";
|
|
3112
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
3113
|
+
readonly name: "TooManyRequestsException";
|
|
3114
|
+
readonly $fault: "client";
|
|
3082
3115
|
/**
|
|
3083
3116
|
* <p>The message that's returned from the API.</p>
|
|
3084
3117
|
*/
|
|
@@ -3087,6 +3120,10 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
3087
3120
|
* <p>The unique identifier for the request or response.</p>
|
|
3088
3121
|
*/
|
|
3089
3122
|
RequestID?: string;
|
|
3123
|
+
/**
|
|
3124
|
+
* @internal
|
|
3125
|
+
*/
|
|
3126
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
3090
3127
|
}
|
|
3091
3128
|
/**
|
|
3092
3129
|
* <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>
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
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";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, 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";
|
|
11
11
|
import { CreateEmailTemplateCommandInput, CreateEmailTemplateCommandOutput } from "./commands/CreateEmailTemplateCommand";
|
|
@@ -135,7 +135,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
135
135
|
|
|
136
136
|
urlParser?: __UrlParser;
|
|
137
137
|
|
|
138
|
-
bodyLengthChecker?:
|
|
138
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
139
139
|
|
|
140
140
|
streamCollector?: __StreamCollector;
|
|
141
141
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class PinpointServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { PinpointServiceException as __BaseException } from "./PinpointServiceException";
|
|
2
3
|
export declare enum __EndpointTypesElement {
|
|
3
4
|
ADM = "ADM",
|
|
4
5
|
APNS = "APNS",
|
|
@@ -1021,6 +1022,8 @@ export interface ApplicationResponse {
|
|
|
1021
1022
|
tags?: {
|
|
1022
1023
|
[key: string]: string;
|
|
1023
1024
|
};
|
|
1025
|
+
|
|
1026
|
+
CreationDate?: string;
|
|
1024
1027
|
}
|
|
1025
1028
|
export declare namespace ApplicationResponse {
|
|
1026
1029
|
|
|
@@ -1113,13 +1116,15 @@ export declare namespace AttributesResource {
|
|
|
1113
1116
|
const filterSensitiveLog: (obj: AttributesResource) => any;
|
|
1114
1117
|
}
|
|
1115
1118
|
|
|
1116
|
-
export
|
|
1117
|
-
name: "BadRequestException";
|
|
1118
|
-
$fault: "client";
|
|
1119
|
+
export declare class BadRequestException extends __BaseException {
|
|
1120
|
+
readonly name: "BadRequestException";
|
|
1121
|
+
readonly $fault: "client";
|
|
1119
1122
|
|
|
1120
1123
|
Message?: string;
|
|
1121
1124
|
|
|
1122
1125
|
RequestID?: string;
|
|
1126
|
+
|
|
1127
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
1123
1128
|
}
|
|
1124
1129
|
|
|
1125
1130
|
export interface BaiduChannelRequest {
|
|
@@ -1674,13 +1679,15 @@ export declare namespace ChannelsResponse {
|
|
|
1674
1679
|
const filterSensitiveLog: (obj: ChannelsResponse) => any;
|
|
1675
1680
|
}
|
|
1676
1681
|
|
|
1677
|
-
export
|
|
1678
|
-
name: "ConflictException";
|
|
1679
|
-
$fault: "client";
|
|
1682
|
+
export declare class ConflictException extends __BaseException {
|
|
1683
|
+
readonly name: "ConflictException";
|
|
1684
|
+
readonly $fault: "client";
|
|
1680
1685
|
|
|
1681
1686
|
Message?: string;
|
|
1682
1687
|
|
|
1683
1688
|
RequestID?: string;
|
|
1689
|
+
|
|
1690
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1684
1691
|
}
|
|
1685
1692
|
|
|
1686
1693
|
export interface CreateApplicationRequest {
|
|
@@ -1712,58 +1719,70 @@ export declare namespace CreateAppResponse {
|
|
|
1712
1719
|
const filterSensitiveLog: (obj: CreateAppResponse) => any;
|
|
1713
1720
|
}
|
|
1714
1721
|
|
|
1715
|
-
export
|
|
1716
|
-
name: "ForbiddenException";
|
|
1717
|
-
$fault: "client";
|
|
1722
|
+
export declare class ForbiddenException extends __BaseException {
|
|
1723
|
+
readonly name: "ForbiddenException";
|
|
1724
|
+
readonly $fault: "client";
|
|
1718
1725
|
|
|
1719
1726
|
Message?: string;
|
|
1720
1727
|
|
|
1721
1728
|
RequestID?: string;
|
|
1729
|
+
|
|
1730
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
1722
1731
|
}
|
|
1723
1732
|
|
|
1724
|
-
export
|
|
1725
|
-
name: "InternalServerErrorException";
|
|
1726
|
-
$fault: "server";
|
|
1733
|
+
export declare class InternalServerErrorException extends __BaseException {
|
|
1734
|
+
readonly name: "InternalServerErrorException";
|
|
1735
|
+
readonly $fault: "server";
|
|
1727
1736
|
|
|
1728
1737
|
Message?: string;
|
|
1729
1738
|
|
|
1730
1739
|
RequestID?: string;
|
|
1740
|
+
|
|
1741
|
+
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
1731
1742
|
}
|
|
1732
1743
|
|
|
1733
|
-
export
|
|
1734
|
-
name: "MethodNotAllowedException";
|
|
1735
|
-
$fault: "client";
|
|
1744
|
+
export declare class MethodNotAllowedException extends __BaseException {
|
|
1745
|
+
readonly name: "MethodNotAllowedException";
|
|
1746
|
+
readonly $fault: "client";
|
|
1736
1747
|
|
|
1737
1748
|
Message?: string;
|
|
1738
1749
|
|
|
1739
1750
|
RequestID?: string;
|
|
1751
|
+
|
|
1752
|
+
constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
|
|
1740
1753
|
}
|
|
1741
1754
|
|
|
1742
|
-
export
|
|
1743
|
-
name: "NotFoundException";
|
|
1744
|
-
$fault: "client";
|
|
1755
|
+
export declare class NotFoundException extends __BaseException {
|
|
1756
|
+
readonly name: "NotFoundException";
|
|
1757
|
+
readonly $fault: "client";
|
|
1745
1758
|
|
|
1746
1759
|
Message?: string;
|
|
1747
1760
|
|
|
1748
1761
|
RequestID?: string;
|
|
1762
|
+
|
|
1763
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
1749
1764
|
}
|
|
1750
1765
|
|
|
1751
|
-
export
|
|
1752
|
-
name: "PayloadTooLargeException";
|
|
1753
|
-
$fault: "client";
|
|
1766
|
+
export declare class PayloadTooLargeException extends __BaseException {
|
|
1767
|
+
readonly name: "PayloadTooLargeException";
|
|
1768
|
+
readonly $fault: "client";
|
|
1754
1769
|
|
|
1755
1770
|
Message?: string;
|
|
1756
1771
|
|
|
1757
1772
|
RequestID?: string;
|
|
1773
|
+
|
|
1774
|
+
constructor(opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>);
|
|
1758
1775
|
}
|
|
1759
1776
|
|
|
1760
|
-
export
|
|
1761
|
-
name: "TooManyRequestsException";
|
|
1762
|
-
$fault: "client";
|
|
1777
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
1778
|
+
readonly name: "TooManyRequestsException";
|
|
1779
|
+
readonly $fault: "client";
|
|
1763
1780
|
|
|
1764
1781
|
Message?: string;
|
|
1765
1782
|
|
|
1766
1783
|
RequestID?: string;
|
|
1784
|
+
|
|
1785
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
1767
1786
|
}
|
|
1768
1787
|
|
|
1769
1788
|
export interface WriteTreatmentResource {
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: PinpointClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pinpoint",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pinpoint Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
39
|
+
"@aws-sdk/types": "3.54.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|