@aws-sdk/client-pinpoint 3.52.0 → 3.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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?: (body: any) => number | undefined;
150
+ bodyLengthChecker?: __BodyLengthCalculator;
151
151
  /**
152
152
  * A function that converts a stream into an array of bytes.
153
153
  * @internal
@@ -2,3 +2,4 @@ export * from "./Pinpoint";
2
2
  export * from "./PinpointClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { PinpointServiceException } from "./models/PinpointServiceException";
@@ -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 { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
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",
@@ -1949,9 +1950,9 @@ export declare namespace AttributesResource {
1949
1950
  /**
1950
1951
  * <p>Provides information about an API request or response.</p>
1951
1952
  */
1952
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
1953
- name: "BadRequestException";
1954
- $fault: "client";
1953
+ export declare class BadRequestException extends __BaseException {
1954
+ readonly name: "BadRequestException";
1955
+ readonly $fault: "client";
1955
1956
  /**
1956
1957
  * <p>The message that's returned from the API.</p>
1957
1958
  */
@@ -1960,6 +1961,10 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
1960
1961
  * <p>The unique identifier for the request or response.</p>
1961
1962
  */
1962
1963
  RequestID?: string;
1964
+ /**
1965
+ * @internal
1966
+ */
1967
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
1963
1968
  }
1964
1969
  /**
1965
1970
  * <p>Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.</p>
@@ -2945,9 +2950,9 @@ export declare namespace ChannelsResponse {
2945
2950
  /**
2946
2951
  * <p>Provides information about an API request or response.</p>
2947
2952
  */
2948
- export interface ConflictException extends __SmithyException, $MetadataBearer {
2949
- name: "ConflictException";
2950
- $fault: "client";
2953
+ export declare class ConflictException extends __BaseException {
2954
+ readonly name: "ConflictException";
2955
+ readonly $fault: "client";
2951
2956
  /**
2952
2957
  * <p>The message that's returned from the API.</p>
2953
2958
  */
@@ -2956,6 +2961,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
2956
2961
  * <p>The unique identifier for the request or response.</p>
2957
2962
  */
2958
2963
  RequestID?: string;
2964
+ /**
2965
+ * @internal
2966
+ */
2967
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
2959
2968
  }
2960
2969
  /**
2961
2970
  * <p>Specifies the display name of an application and the tags to associate with the application.</p>
@@ -3005,9 +3014,9 @@ export declare namespace CreateAppResponse {
3005
3014
  /**
3006
3015
  * <p>Provides information about an API request or response.</p>
3007
3016
  */
3008
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
3009
- name: "ForbiddenException";
3010
- $fault: "client";
3017
+ export declare class ForbiddenException extends __BaseException {
3018
+ readonly name: "ForbiddenException";
3019
+ readonly $fault: "client";
3011
3020
  /**
3012
3021
  * <p>The message that's returned from the API.</p>
3013
3022
  */
@@ -3016,13 +3025,17 @@ export interface ForbiddenException extends __SmithyException, $MetadataBearer {
3016
3025
  * <p>The unique identifier for the request or response.</p>
3017
3026
  */
3018
3027
  RequestID?: string;
3028
+ /**
3029
+ * @internal
3030
+ */
3031
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
3019
3032
  }
3020
3033
  /**
3021
3034
  * <p>Provides information about an API request or response.</p>
3022
3035
  */
3023
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
3024
- name: "InternalServerErrorException";
3025
- $fault: "server";
3036
+ export declare class InternalServerErrorException extends __BaseException {
3037
+ readonly name: "InternalServerErrorException";
3038
+ readonly $fault: "server";
3026
3039
  /**
3027
3040
  * <p>The message that's returned from the API.</p>
3028
3041
  */
@@ -3031,13 +3044,17 @@ export interface InternalServerErrorException extends __SmithyException, $Metada
3031
3044
  * <p>The unique identifier for the request or response.</p>
3032
3045
  */
3033
3046
  RequestID?: string;
3047
+ /**
3048
+ * @internal
3049
+ */
3050
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
3034
3051
  }
3035
3052
  /**
3036
3053
  * <p>Provides information about an API request or response.</p>
3037
3054
  */
3038
- export interface MethodNotAllowedException extends __SmithyException, $MetadataBearer {
3039
- name: "MethodNotAllowedException";
3040
- $fault: "client";
3055
+ export declare class MethodNotAllowedException extends __BaseException {
3056
+ readonly name: "MethodNotAllowedException";
3057
+ readonly $fault: "client";
3041
3058
  /**
3042
3059
  * <p>The message that's returned from the API.</p>
3043
3060
  */
@@ -3046,13 +3063,17 @@ export interface MethodNotAllowedException extends __SmithyException, $MetadataB
3046
3063
  * <p>The unique identifier for the request or response.</p>
3047
3064
  */
3048
3065
  RequestID?: string;
3066
+ /**
3067
+ * @internal
3068
+ */
3069
+ constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
3049
3070
  }
3050
3071
  /**
3051
3072
  * <p>Provides information about an API request or response.</p>
3052
3073
  */
3053
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
3054
- name: "NotFoundException";
3055
- $fault: "client";
3074
+ export declare class NotFoundException extends __BaseException {
3075
+ readonly name: "NotFoundException";
3076
+ readonly $fault: "client";
3056
3077
  /**
3057
3078
  * <p>The message that's returned from the API.</p>
3058
3079
  */
@@ -3061,13 +3082,17 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
3061
3082
  * <p>The unique identifier for the request or response.</p>
3062
3083
  */
3063
3084
  RequestID?: string;
3085
+ /**
3086
+ * @internal
3087
+ */
3088
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
3064
3089
  }
3065
3090
  /**
3066
3091
  * <p>Provides information about an API request or response.</p>
3067
3092
  */
3068
- export interface PayloadTooLargeException extends __SmithyException, $MetadataBearer {
3069
- name: "PayloadTooLargeException";
3070
- $fault: "client";
3093
+ export declare class PayloadTooLargeException extends __BaseException {
3094
+ readonly name: "PayloadTooLargeException";
3095
+ readonly $fault: "client";
3071
3096
  /**
3072
3097
  * <p>The message that's returned from the API.</p>
3073
3098
  */
@@ -3076,13 +3101,17 @@ export interface PayloadTooLargeException extends __SmithyException, $MetadataBe
3076
3101
  * <p>The unique identifier for the request or response.</p>
3077
3102
  */
3078
3103
  RequestID?: string;
3104
+ /**
3105
+ * @internal
3106
+ */
3107
+ constructor(opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>);
3079
3108
  }
3080
3109
  /**
3081
3110
  * <p>Provides information about an API request or response.</p>
3082
3111
  */
3083
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
3084
- name: "TooManyRequestsException";
3085
- $fault: "client";
3112
+ export declare class TooManyRequestsException extends __BaseException {
3113
+ readonly name: "TooManyRequestsException";
3114
+ readonly $fault: "client";
3086
3115
  /**
3087
3116
  * <p>The message that's returned from the API.</p>
3088
3117
  */
@@ -3091,6 +3120,10 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
3091
3120
  * <p>The unique identifier for the request or response.</p>
3092
3121
  */
3093
3122
  RequestID?: string;
3123
+ /**
3124
+ * @internal
3125
+ */
3126
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
3094
3127
  }
3095
3128
  /**
3096
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: (body: any) => number | undefined;
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: (body: any) => number | undefined;
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: (body: any) => number | undefined;
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?: (body: any) => number | undefined;
138
+ bodyLengthChecker?: __BodyLengthCalculator;
139
139
 
140
140
  streamCollector?: __StreamCollector;
141
141
 
@@ -2,3 +2,4 @@ export * from "./Pinpoint";
2
2
  export * from "./PinpointClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { PinpointServiceException } from "./models/PinpointServiceException";
@@ -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 { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
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",
@@ -1115,13 +1116,15 @@ export declare namespace AttributesResource {
1115
1116
  const filterSensitiveLog: (obj: AttributesResource) => any;
1116
1117
  }
1117
1118
 
1118
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
1119
- name: "BadRequestException";
1120
- $fault: "client";
1119
+ export declare class BadRequestException extends __BaseException {
1120
+ readonly name: "BadRequestException";
1121
+ readonly $fault: "client";
1121
1122
 
1122
1123
  Message?: string;
1123
1124
 
1124
1125
  RequestID?: string;
1126
+
1127
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
1125
1128
  }
1126
1129
 
1127
1130
  export interface BaiduChannelRequest {
@@ -1676,13 +1679,15 @@ export declare namespace ChannelsResponse {
1676
1679
  const filterSensitiveLog: (obj: ChannelsResponse) => any;
1677
1680
  }
1678
1681
 
1679
- export interface ConflictException extends __SmithyException, $MetadataBearer {
1680
- name: "ConflictException";
1681
- $fault: "client";
1682
+ export declare class ConflictException extends __BaseException {
1683
+ readonly name: "ConflictException";
1684
+ readonly $fault: "client";
1682
1685
 
1683
1686
  Message?: string;
1684
1687
 
1685
1688
  RequestID?: string;
1689
+
1690
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1686
1691
  }
1687
1692
 
1688
1693
  export interface CreateApplicationRequest {
@@ -1714,58 +1719,70 @@ export declare namespace CreateAppResponse {
1714
1719
  const filterSensitiveLog: (obj: CreateAppResponse) => any;
1715
1720
  }
1716
1721
 
1717
- export interface ForbiddenException extends __SmithyException, $MetadataBearer {
1718
- name: "ForbiddenException";
1719
- $fault: "client";
1722
+ export declare class ForbiddenException extends __BaseException {
1723
+ readonly name: "ForbiddenException";
1724
+ readonly $fault: "client";
1720
1725
 
1721
1726
  Message?: string;
1722
1727
 
1723
1728
  RequestID?: string;
1729
+
1730
+ constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
1724
1731
  }
1725
1732
 
1726
- export interface InternalServerErrorException extends __SmithyException, $MetadataBearer {
1727
- name: "InternalServerErrorException";
1728
- $fault: "server";
1733
+ export declare class InternalServerErrorException extends __BaseException {
1734
+ readonly name: "InternalServerErrorException";
1735
+ readonly $fault: "server";
1729
1736
 
1730
1737
  Message?: string;
1731
1738
 
1732
1739
  RequestID?: string;
1740
+
1741
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
1733
1742
  }
1734
1743
 
1735
- export interface MethodNotAllowedException extends __SmithyException, $MetadataBearer {
1736
- name: "MethodNotAllowedException";
1737
- $fault: "client";
1744
+ export declare class MethodNotAllowedException extends __BaseException {
1745
+ readonly name: "MethodNotAllowedException";
1746
+ readonly $fault: "client";
1738
1747
 
1739
1748
  Message?: string;
1740
1749
 
1741
1750
  RequestID?: string;
1751
+
1752
+ constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
1742
1753
  }
1743
1754
 
1744
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
1745
- name: "NotFoundException";
1746
- $fault: "client";
1755
+ export declare class NotFoundException extends __BaseException {
1756
+ readonly name: "NotFoundException";
1757
+ readonly $fault: "client";
1747
1758
 
1748
1759
  Message?: string;
1749
1760
 
1750
1761
  RequestID?: string;
1762
+
1763
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1751
1764
  }
1752
1765
 
1753
- export interface PayloadTooLargeException extends __SmithyException, $MetadataBearer {
1754
- name: "PayloadTooLargeException";
1755
- $fault: "client";
1766
+ export declare class PayloadTooLargeException extends __BaseException {
1767
+ readonly name: "PayloadTooLargeException";
1768
+ readonly $fault: "client";
1756
1769
 
1757
1770
  Message?: string;
1758
1771
 
1759
1772
  RequestID?: string;
1773
+
1774
+ constructor(opts: __ExceptionOptionType<PayloadTooLargeException, __BaseException>);
1760
1775
  }
1761
1776
 
1762
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
1763
- name: "TooManyRequestsException";
1764
- $fault: "client";
1777
+ export declare class TooManyRequestsException extends __BaseException {
1778
+ readonly name: "TooManyRequestsException";
1779
+ readonly $fault: "client";
1765
1780
 
1766
1781
  Message?: string;
1767
1782
 
1768
1783
  RequestID?: string;
1784
+
1785
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
1769
1786
  }
1770
1787
 
1771
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: (body: any) => number | undefined;
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: (body: any) => number | undefined;
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: (body: any) => number | undefined;
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.52.0",
4
+ "version": "3.54.1",
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",
@@ -18,34 +18,34 @@
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.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.54.1",
22
+ "@aws-sdk/config-resolver": "3.54.1",
23
+ "@aws-sdk/credential-provider-node": "3.54.1",
24
+ "@aws-sdk/fetch-http-handler": "3.54.1",
25
+ "@aws-sdk/hash-node": "3.54.1",
26
+ "@aws-sdk/invalid-dependency": "3.54.1",
27
+ "@aws-sdk/middleware-content-length": "3.54.1",
28
+ "@aws-sdk/middleware-host-header": "3.54.1",
29
+ "@aws-sdk/middleware-logger": "3.54.1",
30
+ "@aws-sdk/middleware-retry": "3.54.1",
31
+ "@aws-sdk/middleware-serde": "3.54.1",
32
+ "@aws-sdk/middleware-signing": "3.54.1",
33
+ "@aws-sdk/middleware-stack": "3.54.1",
34
+ "@aws-sdk/middleware-user-agent": "3.54.1",
35
+ "@aws-sdk/node-config-provider": "3.54.1",
36
+ "@aws-sdk/node-http-handler": "3.54.1",
37
+ "@aws-sdk/protocol-http": "3.54.1",
38
+ "@aws-sdk/smithy-client": "3.54.1",
39
+ "@aws-sdk/types": "3.54.1",
40
+ "@aws-sdk/url-parser": "3.54.1",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-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.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.1",
48
+ "@aws-sdk/util-user-agent-node": "3.54.1",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"