@mavogel/awscdk-rootmail 0.0.110 → 0.0.112
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/.jsii +9 -9
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogsClient.js +12 -18
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +10 -10
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-route-53/dist-es/Route53Client.js +12 -18
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +2 -4
- package/node_modules/@aws-sdk/client-route-53/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +6 -8
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-route-53/package.json +10 -10
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +38 -35
- package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +10 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +4 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +15 -15
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +9 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -10
- package/node_modules/@aws-sdk/client-s3/package.json +13 -13
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-ses/dist-es/SESClient.js +12 -18
- package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ses/package.json +10 -10
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js +12 -18
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +12 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +12 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js +12 -18
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +9 -9
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +12 -18
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +12 -18
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/node_modules/@aws-sdk/client-sts/package.json +9 -9
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +27 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +3 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +25 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -1
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@smithy/core/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/command.js +1 -0
- package/node_modules/@smithy/smithy-client/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/axios/CHANGELOG.md +15 -0
- package/node_modules/axios/dist/axios.js +169 -79
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +154 -78
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +153 -77
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +275 -237
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +31 -29
- package/node_modules/axios/lib/adapters/http.js +25 -15
- package/node_modules/axios/lib/adapters/xhr.js +22 -15
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +3 -52
- package/node_modules/axios/lib/helpers/progressEventReducer.js +16 -4
- package/node_modules/axios/lib/helpers/throttle.js +29 -20
- package/node_modules/axios/lib/helpers/trackStream.js +25 -13
- package/node_modules/axios/lib/utils.js +33 -1
- package/node_modules/axios/package.json +1 -1
- package/node_modules/cdk-nag/.jsii +2 -2
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/package.json +1 -1
- package/package.json +12 -12
|
@@ -194,19 +194,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
194
194
|
* The AWS region to which this client will send requests
|
|
195
195
|
*/
|
|
196
196
|
region?: string | __Provider<string>;
|
|
197
|
-
/**
|
|
198
|
-
* Default credentials provider; Not available in browser runtime.
|
|
199
|
-
* @internal
|
|
200
|
-
*/
|
|
201
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
202
|
-
/**
|
|
203
|
-
* Whether to escape request path when signing the request.
|
|
204
|
-
*/
|
|
205
|
-
signingEscapePath?: boolean;
|
|
206
|
-
/**
|
|
207
|
-
* Whether to override the request region with the region inferred from requested resource's ARN. Defaults to false.
|
|
208
|
-
*/
|
|
209
|
-
useArnRegion?: boolean | Provider<boolean>;
|
|
210
197
|
/**
|
|
211
198
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
212
199
|
* @internal
|
|
@@ -235,6 +222,19 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
235
222
|
* @internal
|
|
236
223
|
*/
|
|
237
224
|
getAwsChunkedEncodingStream?: GetAwsChunkedEncodingStream;
|
|
225
|
+
/**
|
|
226
|
+
* Default credentials provider; Not available in browser runtime.
|
|
227
|
+
* @internal
|
|
228
|
+
*/
|
|
229
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
230
|
+
/**
|
|
231
|
+
* Whether to escape request path when signing the request.
|
|
232
|
+
*/
|
|
233
|
+
signingEscapePath?: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Whether to override the request region with the region inferred from requested resource's ARN. Defaults to false.
|
|
236
|
+
*/
|
|
237
|
+
useArnRegion?: boolean | Provider<boolean>;
|
|
238
238
|
/**
|
|
239
239
|
* Value for how many times a request will be made at most in case of retry.
|
|
240
240
|
*/
|
|
@@ -270,7 +270,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
270
270
|
/**
|
|
271
271
|
* @public
|
|
272
272
|
*/
|
|
273
|
-
export type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
273
|
+
export type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & AwsAuthInputConfig & S3InputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
|
|
274
274
|
/**
|
|
275
275
|
* @public
|
|
276
276
|
*
|
|
@@ -281,7 +281,7 @@ export interface S3ClientConfig extends S3ClientConfigType {
|
|
|
281
281
|
/**
|
|
282
282
|
* @public
|
|
283
283
|
*/
|
|
284
|
-
export type S3ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
284
|
+
export type S3ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & AwsAuthResolvedConfig & S3ResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
|
|
285
285
|
/**
|
|
286
286
|
* @public
|
|
287
287
|
*
|
|
@@ -30,12 +30,14 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
30
30
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
31
31
|
disableHostPrefix: boolean;
|
|
32
32
|
serviceId: string;
|
|
33
|
+
getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream<any> | import("@smithy/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
|
|
33
34
|
signingEscapePath: boolean;
|
|
34
35
|
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
35
|
-
getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream<any> | import("@smithy/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
|
|
36
36
|
logger: import("@smithy/types").Logger;
|
|
37
37
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
38
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
39
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
40
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
41
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
40
42
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
43
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -52,8 +54,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
52
54
|
followRegionRedirects?: boolean | undefined;
|
|
53
55
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider | undefined;
|
|
54
56
|
bucketEndpoint?: boolean | undefined;
|
|
55
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
56
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
57
57
|
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
58
58
|
disableS3ExpressSessionAuth?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
59
59
|
};
|
|
@@ -33,11 +33,13 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
33
33
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
34
34
|
disableHostPrefix: boolean;
|
|
35
35
|
serviceId: string;
|
|
36
|
-
signingEscapePath: boolean;
|
|
37
36
|
getAwsChunkedEncodingStream: import("@aws-sdk/types").GetAwsChunkedEncodingStream<any> | import("@aws-sdk/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
|
|
37
|
+
signingEscapePath: boolean;
|
|
38
38
|
logger: import("@aws-sdk/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
40
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
41
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
42
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
41
43
|
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
42
44
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
43
45
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -54,7 +56,5 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
54
56
|
followRegionRedirects?: boolean | undefined;
|
|
55
57
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider | undefined;
|
|
56
58
|
bucketEndpoint?: boolean | undefined;
|
|
57
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
58
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
59
59
|
useGlobalEndpoint?: boolean | import("@aws-sdk/types").Provider<boolean> | undefined;
|
|
60
60
|
};
|
|
@@ -20,14 +20,14 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
-
signingEscapePath: boolean;
|
|
25
|
-
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
23
|
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
27
24
|
streamHasher: import("@smithy/types").StreamHasher<import("stream").Readable> | import("@smithy/types").StreamHasher<Blob>;
|
|
28
25
|
md5: import("@smithy/types").HashConstructor;
|
|
29
26
|
sha1: import("@smithy/types").HashConstructor;
|
|
30
27
|
getAwsChunkedEncodingStream: import("@smithy/types").GetAwsChunkedEncodingStream<any> | import("@smithy/types").GetAwsChunkedEncodingStream<import("stream").Readable>;
|
|
28
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
29
|
+
signingEscapePath: boolean;
|
|
30
|
+
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
33
33
|
logger: import("@smithy/types").Logger;
|
|
@@ -35,6 +35,8 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
35
35
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
36
36
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
37
37
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
38
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
40
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
39
41
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
40
42
|
logger?: import("@smithy/types").Logger | undefined;
|
|
@@ -51,8 +53,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
51
53
|
followRegionRedirects?: boolean | undefined;
|
|
52
54
|
s3ExpressIdentityProvider?: import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider | undefined;
|
|
53
55
|
bucketEndpoint?: boolean | undefined;
|
|
54
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
55
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
56
56
|
useGlobalEndpoint?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
57
57
|
disableS3ExpressSessionAuth?: boolean | import("@smithy/types").Provider<boolean> | undefined;
|
|
58
58
|
};
|
|
@@ -653,14 +653,14 @@ export interface ClientDefaults
|
|
|
653
653
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
654
654
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
655
655
|
region?: string | __Provider<string>;
|
|
656
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
657
|
-
signingEscapePath?: boolean;
|
|
658
|
-
useArnRegion?: boolean | Provider<boolean>;
|
|
659
656
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
660
657
|
streamHasher?: __StreamHasher<Readable> | __StreamHasher<Blob>;
|
|
661
658
|
md5?: __ChecksumConstructor | __HashConstructor;
|
|
662
659
|
sha1?: __ChecksumConstructor | __HashConstructor;
|
|
663
660
|
getAwsChunkedEncodingStream?: GetAwsChunkedEncodingStream;
|
|
661
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
662
|
+
signingEscapePath?: boolean;
|
|
663
|
+
useArnRegion?: boolean | Provider<boolean>;
|
|
664
664
|
maxAttempts?: number | __Provider<number>;
|
|
665
665
|
retryMode?: string | __Provider<string>;
|
|
666
666
|
logger?: __Logger;
|
|
@@ -673,13 +673,13 @@ export type S3ClientConfigType = Partial<
|
|
|
673
673
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
674
674
|
> &
|
|
675
675
|
ClientDefaults &
|
|
676
|
+
UserAgentInputConfig &
|
|
677
|
+
RetryInputConfig &
|
|
676
678
|
RegionInputConfig &
|
|
677
|
-
EndpointInputConfig<EndpointParameters> &
|
|
678
679
|
HostHeaderInputConfig &
|
|
680
|
+
EndpointInputConfig<EndpointParameters> &
|
|
679
681
|
AwsAuthInputConfig &
|
|
680
682
|
S3InputConfig &
|
|
681
|
-
UserAgentInputConfig &
|
|
682
|
-
RetryInputConfig &
|
|
683
683
|
EventStreamSerdeInputConfig &
|
|
684
684
|
ClientInputEndpointParameters;
|
|
685
685
|
export interface S3ClientConfig extends S3ClientConfigType {}
|
|
@@ -687,13 +687,13 @@ export type S3ClientResolvedConfigType =
|
|
|
687
687
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
688
688
|
Required<ClientDefaults> &
|
|
689
689
|
RuntimeExtensionsConfig &
|
|
690
|
+
UserAgentResolvedConfig &
|
|
691
|
+
RetryResolvedConfig &
|
|
690
692
|
RegionResolvedConfig &
|
|
691
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
692
693
|
HostHeaderResolvedConfig &
|
|
694
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
693
695
|
AwsAuthResolvedConfig &
|
|
694
696
|
S3ResolvedConfig &
|
|
695
|
-
UserAgentResolvedConfig &
|
|
696
|
-
RetryResolvedConfig &
|
|
697
697
|
EventStreamSerdeResolvedConfig &
|
|
698
698
|
ClientResolvedEndpointParameters;
|
|
699
699
|
export interface S3ClientResolvedConfig extends S3ClientResolvedConfigType {}
|
|
@@ -36,16 +36,21 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
36
36
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
37
37
|
disableHostPrefix: boolean;
|
|
38
38
|
serviceId: string;
|
|
39
|
-
signingEscapePath: boolean;
|
|
40
|
-
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
41
39
|
getAwsChunkedEncodingStream:
|
|
42
40
|
| import("@smithy/types").GetAwsChunkedEncodingStream<any>
|
|
43
41
|
| import("@smithy/types").GetAwsChunkedEncodingStream<
|
|
44
42
|
import("stream").Readable
|
|
45
43
|
>;
|
|
44
|
+
signingEscapePath: boolean;
|
|
45
|
+
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
46
46
|
logger: import("@smithy/types").Logger;
|
|
47
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
48
48
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
49
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
50
|
+
retryStrategy?:
|
|
51
|
+
| import("@smithy/types").RetryStrategy
|
|
52
|
+
| import("@smithy/types").RetryStrategyV2
|
|
53
|
+
| undefined;
|
|
49
54
|
endpoint?:
|
|
50
55
|
| ((
|
|
51
56
|
| string
|
|
@@ -104,11 +109,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
104
109
|
| import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
|
|
105
110
|
| undefined;
|
|
106
111
|
bucketEndpoint?: boolean | undefined;
|
|
107
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
108
|
-
retryStrategy?:
|
|
109
|
-
| import("@smithy/types").RetryStrategy
|
|
110
|
-
| import("@smithy/types").RetryStrategyV2
|
|
111
|
-
| undefined;
|
|
112
112
|
useGlobalEndpoint?:
|
|
113
113
|
| boolean
|
|
114
114
|
| import("@smithy/types").Provider<boolean>
|
|
@@ -45,15 +45,20 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
45
45
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
46
46
|
disableHostPrefix: boolean;
|
|
47
47
|
serviceId: string;
|
|
48
|
-
signingEscapePath: boolean;
|
|
49
48
|
getAwsChunkedEncodingStream:
|
|
50
49
|
| import("@aws-sdk/types").GetAwsChunkedEncodingStream<any>
|
|
51
50
|
| import("@aws-sdk/types").GetAwsChunkedEncodingStream<
|
|
52
51
|
import("stream").Readable
|
|
53
52
|
>;
|
|
53
|
+
signingEscapePath: boolean;
|
|
54
54
|
logger: import("@aws-sdk/types").Logger;
|
|
55
55
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
56
|
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
57
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
58
|
+
retryStrategy?:
|
|
59
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
60
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
61
|
+
| undefined;
|
|
57
62
|
endpoint?:
|
|
58
63
|
| ((
|
|
59
64
|
| string
|
|
@@ -114,11 +119,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
114
119
|
| import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
|
|
115
120
|
| undefined;
|
|
116
121
|
bucketEndpoint?: boolean | undefined;
|
|
117
|
-
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
118
|
-
retryStrategy?:
|
|
119
|
-
| import("@aws-sdk/types").RetryStrategy
|
|
120
|
-
| import("@aws-sdk/types").RetryStrategyV2
|
|
121
|
-
| undefined;
|
|
122
122
|
useGlobalEndpoint?:
|
|
123
123
|
| boolean
|
|
124
124
|
| import("@aws-sdk/types").Provider<boolean>
|
|
@@ -21,11 +21,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
region: string | import("@smithy/types").Provider<any>;
|
|
24
|
-
credentialDefaultProvider: (
|
|
25
|
-
input: any
|
|
26
|
-
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
27
|
-
signingEscapePath: boolean;
|
|
28
|
-
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
24
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
30
25
|
import("@smithy/types").UserAgent
|
|
31
26
|
>;
|
|
@@ -39,6 +34,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
39
34
|
| import("@smithy/types").GetAwsChunkedEncodingStream<
|
|
40
35
|
import("stream").Readable
|
|
41
36
|
>;
|
|
37
|
+
credentialDefaultProvider: (
|
|
38
|
+
input: any
|
|
39
|
+
) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
40
|
+
signingEscapePath: boolean;
|
|
41
|
+
useArnRegion: boolean | import("@smithy/types").Provider<boolean>;
|
|
42
42
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
43
43
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
44
44
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,6 +50,11 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
50
50
|
import("@smithy/smithy-client").DefaultsMode
|
|
51
51
|
>;
|
|
52
52
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
53
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
54
|
+
retryStrategy?:
|
|
55
|
+
| import("@smithy/types").RetryStrategy
|
|
56
|
+
| import("@smithy/types").RetryStrategyV2
|
|
57
|
+
| undefined;
|
|
53
58
|
endpoint?:
|
|
54
59
|
| string
|
|
55
60
|
| import("@smithy/types").Endpoint
|
|
@@ -92,11 +97,6 @@ export declare const getRuntimeConfig: (config: S3ClientConfig) => {
|
|
|
92
97
|
| import("@aws-sdk/middleware-sdk-s3").S3ExpressIdentityProvider
|
|
93
98
|
| undefined;
|
|
94
99
|
bucketEndpoint?: boolean | undefined;
|
|
95
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
96
|
-
retryStrategy?:
|
|
97
|
-
| import("@smithy/types").RetryStrategy
|
|
98
|
-
| import("@smithy/types").RetryStrategyV2
|
|
99
|
-
| undefined;
|
|
100
100
|
useGlobalEndpoint?:
|
|
101
101
|
| boolean
|
|
102
102
|
| import("@smithy/types").Provider<boolean>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.623.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"@aws-crypto/sha1-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
28
28
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
29
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
29
|
+
"@aws-sdk/client-sso-oidc": "3.623.0",
|
|
30
|
+
"@aws-sdk/client-sts": "3.623.0",
|
|
31
|
+
"@aws-sdk/core": "3.623.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.623.0",
|
|
33
33
|
"@aws-sdk/middleware-bucket-endpoint": "3.620.0",
|
|
34
34
|
"@aws-sdk/middleware-expect-continue": "3.620.0",
|
|
35
35
|
"@aws-sdk/middleware-flexible-checksums": "3.620.0",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"@aws-sdk/middleware-location-constraint": "3.609.0",
|
|
38
38
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
39
39
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
40
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
40
|
+
"@aws-sdk/middleware-sdk-s3": "3.622.0",
|
|
41
41
|
"@aws-sdk/middleware-signing": "3.620.0",
|
|
42
42
|
"@aws-sdk/middleware-ssec": "3.609.0",
|
|
43
43
|
"@aws-sdk/middleware-user-agent": "3.620.0",
|
|
44
44
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
45
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
45
|
+
"@aws-sdk/signature-v4-multi-region": "3.622.0",
|
|
46
46
|
"@aws-sdk/types": "3.609.0",
|
|
47
47
|
"@aws-sdk/util-endpoints": "3.614.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
50
50
|
"@aws-sdk/xml-builder": "3.609.0",
|
|
51
51
|
"@smithy/config-resolver": "^3.0.5",
|
|
52
|
-
"@smithy/core": "^2.3.
|
|
52
|
+
"@smithy/core": "^2.3.2",
|
|
53
53
|
"@smithy/eventstream-serde-browser": "^3.0.5",
|
|
54
54
|
"@smithy/eventstream-serde-config-resolver": "^3.0.3",
|
|
55
55
|
"@smithy/eventstream-serde-node": "^3.0.4",
|
|
@@ -61,20 +61,20 @@
|
|
|
61
61
|
"@smithy/md5-js": "^3.0.3",
|
|
62
62
|
"@smithy/middleware-content-length": "^3.0.5",
|
|
63
63
|
"@smithy/middleware-endpoint": "^3.1.0",
|
|
64
|
-
"@smithy/middleware-retry": "^3.0.
|
|
64
|
+
"@smithy/middleware-retry": "^3.0.14",
|
|
65
65
|
"@smithy/middleware-serde": "^3.0.3",
|
|
66
66
|
"@smithy/middleware-stack": "^3.0.3",
|
|
67
67
|
"@smithy/node-config-provider": "^3.1.4",
|
|
68
68
|
"@smithy/node-http-handler": "^3.1.4",
|
|
69
69
|
"@smithy/protocol-http": "^4.1.0",
|
|
70
|
-
"@smithy/smithy-client": "^3.1.
|
|
70
|
+
"@smithy/smithy-client": "^3.1.12",
|
|
71
71
|
"@smithy/types": "^3.3.0",
|
|
72
72
|
"@smithy/url-parser": "^3.0.3",
|
|
73
73
|
"@smithy/util-base64": "^3.0.0",
|
|
74
74
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
75
75
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
76
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
77
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
76
|
+
"@smithy/util-defaults-mode-browser": "^3.0.14",
|
|
77
|
+
"@smithy/util-defaults-mode-node": "^3.0.14",
|
|
78
78
|
"@smithy/util-endpoints": "^2.0.5",
|
|
79
79
|
"@smithy/util-retry": "^3.0.3",
|
|
80
80
|
"@smithy/util-stream": "^3.1.3",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"tslib": "^2.6.2"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
86
|
+
"@aws-sdk/signature-v4-crt": "3.622.0",
|
|
87
87
|
"@tsconfig/node16": "16.1.3",
|
|
88
88
|
"@types/chai": "^4.2.11",
|
|
89
89
|
"@types/mocha": "^8.0.4",
|
|
@@ -253,25 +253,27 @@ var _SESClient = class _SESClient extends import_smithy_client.Client {
|
|
|
253
253
|
constructor(...[configuration]) {
|
|
254
254
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
255
255
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
256
|
-
const _config_2 = (0,
|
|
257
|
-
const _config_3 = (0,
|
|
258
|
-
const _config_4 = (0,
|
|
259
|
-
const _config_5 = (0,
|
|
260
|
-
const _config_6 = (0,
|
|
256
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
257
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
258
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
259
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
260
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
261
261
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
262
262
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
263
263
|
super(_config_8);
|
|
264
264
|
this.config = _config_8;
|
|
265
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
266
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
267
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
268
265
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
269
266
|
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
270
267
|
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
268
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
269
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
270
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
271
271
|
this.middlewareStack.use(
|
|
272
272
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
273
|
-
httpAuthSchemeParametersProvider:
|
|
274
|
-
identityProviderConfigProvider:
|
|
273
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSESHttpAuthSchemeParametersProvider,
|
|
274
|
+
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
275
|
+
"aws.auth#sigv4": config.credentials
|
|
276
|
+
})
|
|
275
277
|
})
|
|
276
278
|
);
|
|
277
279
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -284,14 +286,6 @@ var _SESClient = class _SESClient extends import_smithy_client.Client {
|
|
|
284
286
|
destroy() {
|
|
285
287
|
super.destroy();
|
|
286
288
|
}
|
|
287
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
288
|
-
return import_httpAuthSchemeProvider.defaultSESHttpAuthSchemeParametersProvider;
|
|
289
|
-
}
|
|
290
|
-
getIdentityProviderConfigProvider() {
|
|
291
|
-
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
292
|
-
"aws.auth#sigv4": config.credentials
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
289
|
};
|
|
296
290
|
__name(_SESClient, "SESClient");
|
|
297
291
|
var SESClient = _SESClient;
|
|
@@ -17,36 +17,30 @@ export class SESClient extends __Client {
|
|
|
17
17
|
constructor(...[configuration]) {
|
|
18
18
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
|
-
const _config_2 =
|
|
21
|
-
const _config_3 =
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
20
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
21
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
30
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
31
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
-
httpAuthSchemeParametersProvider:
|
|
37
|
-
identityProviderConfigProvider:
|
|
36
|
+
httpAuthSchemeParametersProvider: defaultSESHttpAuthSchemeParametersProvider,
|
|
37
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
38
|
+
"aws.auth#sigv4": config.credentials,
|
|
39
|
+
}),
|
|
38
40
|
}));
|
|
39
41
|
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
40
42
|
}
|
|
41
43
|
destroy() {
|
|
42
44
|
super.destroy();
|
|
43
45
|
}
|
|
44
|
-
getDefaultHttpAuthSchemeParametersProvider() {
|
|
45
|
-
return defaultSESHttpAuthSchemeParametersProvider;
|
|
46
|
-
}
|
|
47
|
-
getIdentityProviderConfigProvider() {
|
|
48
|
-
return async (config) => new DefaultIdentityProviderConfig({
|
|
49
|
-
"aws.auth#sigv4": config.credentials,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
46
|
}
|
|
@@ -202,7 +202,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
202
202
|
/**
|
|
203
203
|
* @public
|
|
204
204
|
*/
|
|
205
|
-
export type SESClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults &
|
|
205
|
+
export type SESClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
206
206
|
/**
|
|
207
207
|
* @public
|
|
208
208
|
*
|
|
@@ -213,7 +213,7 @@ export interface SESClientConfig extends SESClientConfigType {
|
|
|
213
213
|
/**
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
216
|
-
export type SESClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig &
|
|
216
|
+
export type SESClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
217
217
|
/**
|
|
218
218
|
* @public
|
|
219
219
|
*
|
|
@@ -270,6 +270,4 @@ export declare class SESClient extends __Client<__HttpHandlerOptions, ServiceInp
|
|
|
270
270
|
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
271
271
|
*/
|
|
272
272
|
destroy(): void;
|
|
273
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
274
|
-
private getIdentityProviderConfigProvider;
|
|
275
273
|
}
|
|
@@ -30,12 +30,12 @@ export declare const defaultSESHttpAuthSchemeProvider: SESHttpAuthSchemeProvider
|
|
|
30
30
|
*/
|
|
31
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
36
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
httpAuthSchemeProvider?: SESHttpAuthSchemeProvider;
|
|
@@ -45,12 +45,12 @@ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
|
45
45
|
*/
|
|
46
46
|
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
54
|
* @internal
|
|
55
55
|
*/
|
|
56
56
|
readonly httpAuthSchemeProvider: SESHttpAuthSchemeProvider;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SESHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SESHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -26,13 +26,13 @@ export declare const getRuntimeConfig: (config: SESClientConfig) => {
|
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
29
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
30
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
29
31
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
30
32
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
33
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
34
|
}) => import("@smithy/types").EndpointV2;
|
|
33
35
|
tls?: boolean | undefined;
|
|
34
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
36
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
37
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SESHttpAuthSchemeProvider;
|
|
38
38
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|