@aws-sdk/client-s3-control 3.42.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +10 -77
- package/dist-cjs/protocols/Aws_restXml.js +25 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +4 -48
- package/dist-es/protocols/Aws_restXml.js +25 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/S3ControlClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +35 -87
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/S3ControlClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +16 -53
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +44 -50
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { fileStreamHasher as streamHasher } from "@aws-sdk/hash-stream-node";
|
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
9
9
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
10
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
11
11
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
12
12
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
13
13
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
14
14
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
15
15
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import {
|
|
16
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
17
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
18
|
export var getRuntimeConfig = function (config) {
|
|
18
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
19
|
-
|
|
20
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
21
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
20
22
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Hash.bind(null, "md5"), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
23
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), md5: (_g = config === null || config === void 0 ? void 0 : config.md5) !== null && _g !== void 0 ? _g : Hash.bind(null, "md5"), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
24
|
+
switch (_a.label) {
|
|
25
|
+
case 0: return [4, defaultConfigProvider()];
|
|
26
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
27
|
+
}
|
|
28
|
+
}); }); } })), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, streamHasher: (_o = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _o !== void 0 ? _o : streamHasher, useDualstackEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_q = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _q !== void 0 ? _q : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _r !== void 0 ? _r : fromUtf8, utf8Encoder: (_s = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _s !== void 0 ? _s : toUtf8 });
|
|
22
29
|
};
|
|
@@ -6,7 +6,7 @@ import { S3ControlInputConfig, S3ControlResolvedConfig } from "@aws-sdk/middlewa
|
|
|
6
6
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
7
7
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
10
|
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, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
11
11
|
import { Readable } from "stream";
|
|
12
12
|
import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
@@ -180,6 +180,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
180
180
|
* @internal
|
|
181
181
|
*/
|
|
182
182
|
md5?: __HashConstructor;
|
|
183
|
+
/**
|
|
184
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
185
|
+
*/
|
|
186
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
183
187
|
}
|
|
184
188
|
declare type S3ControlClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & S3ControlInputConfig & UserAgentInputConfig;
|
|
185
189
|
/**
|
|
@@ -677,12 +677,6 @@ export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer
|
|
|
677
677
|
name: "BucketAlreadyExists";
|
|
678
678
|
$fault: "client";
|
|
679
679
|
}
|
|
680
|
-
export declare namespace BucketAlreadyExists {
|
|
681
|
-
/**
|
|
682
|
-
* @internal
|
|
683
|
-
*/
|
|
684
|
-
const filterSensitiveLog: (obj: BucketAlreadyExists) => any;
|
|
685
|
-
}
|
|
686
680
|
/**
|
|
687
681
|
* <p>The Outposts bucket you tried to create already exists, and you own it. </p>
|
|
688
682
|
*/
|
|
@@ -690,12 +684,6 @@ export interface BucketAlreadyOwnedByYou extends __SmithyException, $MetadataBea
|
|
|
690
684
|
name: "BucketAlreadyOwnedByYou";
|
|
691
685
|
$fault: "client";
|
|
692
686
|
}
|
|
693
|
-
export declare namespace BucketAlreadyOwnedByYou {
|
|
694
|
-
/**
|
|
695
|
-
* @internal
|
|
696
|
-
*/
|
|
697
|
-
const filterSensitiveLog: (obj: BucketAlreadyOwnedByYou) => any;
|
|
698
|
-
}
|
|
699
687
|
export declare type BucketCannedACL = "authenticated-read" | "private" | "public-read" | "public-read-write";
|
|
700
688
|
export declare type BucketLocationConstraint = "EU" | "ap-northeast-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "cn-north-1" | "eu-central-1" | "eu-west-1" | "sa-east-1" | "us-west-1" | "us-west-2";
|
|
701
689
|
/**
|
|
@@ -734,6 +722,13 @@ export interface CreateBucketRequest {
|
|
|
734
722
|
* <p>The name of the bucket.</p>
|
|
735
723
|
*/
|
|
736
724
|
Bucket: string | undefined;
|
|
725
|
+
/**
|
|
726
|
+
* <p>The configuration information for the bucket.</p>
|
|
727
|
+
* <note>
|
|
728
|
+
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
729
|
+
* </note>
|
|
730
|
+
*/
|
|
731
|
+
CreateBucketConfiguration?: CreateBucketConfiguration;
|
|
737
732
|
/**
|
|
738
733
|
* <p>Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.</p>
|
|
739
734
|
* <note>
|
|
@@ -783,13 +778,6 @@ export interface CreateBucketRequest {
|
|
|
783
778
|
* </note>
|
|
784
779
|
*/
|
|
785
780
|
OutpostId?: string;
|
|
786
|
-
/**
|
|
787
|
-
* <p>The configuration information for the bucket.</p>
|
|
788
|
-
* <note>
|
|
789
|
-
* <p>This is not supported by Amazon S3 on Outposts buckets.</p>
|
|
790
|
-
* </note>
|
|
791
|
-
*/
|
|
792
|
-
CreateBucketConfiguration?: CreateBucketConfiguration;
|
|
793
781
|
}
|
|
794
782
|
export declare namespace CreateBucketRequest {
|
|
795
783
|
/**
|
|
@@ -823,12 +811,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
823
811
|
$fault: "client";
|
|
824
812
|
Message?: string;
|
|
825
813
|
}
|
|
826
|
-
export declare namespace BadRequestException {
|
|
827
|
-
/**
|
|
828
|
-
* @internal
|
|
829
|
-
*/
|
|
830
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
831
|
-
}
|
|
832
814
|
/**
|
|
833
815
|
* <p>Contains the information required to locate a manifest object.</p>
|
|
834
816
|
*/
|
|
@@ -942,16 +924,16 @@ export declare enum S3GlacierJobTier {
|
|
|
942
924
|
*/
|
|
943
925
|
export interface S3InitiateRestoreObjectOperation {
|
|
944
926
|
/**
|
|
945
|
-
* <p>This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.
|
|
927
|
+
* <p>This argument specifies how long the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive object remains available in Amazon S3.
|
|
946
928
|
* S3 Initiate Restore Object jobs that
|
|
947
|
-
* target S3 Glacier and S3 Glacier Deep Archive objects require <code>ExpirationInDays</code> set to 1
|
|
929
|
+
* target S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive objects require <code>ExpirationInDays</code> set to 1
|
|
948
930
|
* or greater.</p>
|
|
949
931
|
* <p>Conversely, do <i>not</i> set <code>ExpirationInDays</code> when
|
|
950
932
|
* creating S3 Initiate Restore Object jobs that target
|
|
951
933
|
* S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in
|
|
952
934
|
* S3 Intelligent-Tiering archive access tiers are not subject to restore expiry, so
|
|
953
935
|
* specifying <code>ExpirationInDays</code> results in restore request failure.</p>
|
|
954
|
-
* <p>S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class
|
|
936
|
+
* <p>S3 Batch Operations jobs can operate either on S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage class
|
|
955
937
|
* objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier
|
|
956
938
|
* objects, but not both types in the same job. If you need to restore objects of both types
|
|
957
939
|
* you <i>must</i> create separate Batch Operations jobs. </p>
|
|
@@ -1566,12 +1548,6 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
|
|
|
1566
1548
|
$fault: "client";
|
|
1567
1549
|
Message?: string;
|
|
1568
1550
|
}
|
|
1569
|
-
export declare namespace IdempotencyException {
|
|
1570
|
-
/**
|
|
1571
|
-
* @internal
|
|
1572
|
-
*/
|
|
1573
|
-
const filterSensitiveLog: (obj: IdempotencyException) => any;
|
|
1574
|
-
}
|
|
1575
1551
|
/**
|
|
1576
1552
|
* <p></p>
|
|
1577
1553
|
*/
|
|
@@ -1580,12 +1556,6 @@ export interface InternalServiceException extends __SmithyException, $MetadataBe
|
|
|
1580
1556
|
$fault: "server";
|
|
1581
1557
|
Message?: string;
|
|
1582
1558
|
}
|
|
1583
|
-
export declare namespace InternalServiceException {
|
|
1584
|
-
/**
|
|
1585
|
-
* @internal
|
|
1586
|
-
*/
|
|
1587
|
-
const filterSensitiveLog: (obj: InternalServiceException) => any;
|
|
1588
|
-
}
|
|
1589
1559
|
/**
|
|
1590
1560
|
* <p></p>
|
|
1591
1561
|
*/
|
|
@@ -1594,12 +1564,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
1594
1564
|
$fault: "client";
|
|
1595
1565
|
Message?: string;
|
|
1596
1566
|
}
|
|
1597
|
-
export declare namespace TooManyRequestsException {
|
|
1598
|
-
/**
|
|
1599
|
-
* @internal
|
|
1600
|
-
*/
|
|
1601
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
1602
|
-
}
|
|
1603
1567
|
export interface CreateMultiRegionAccessPointRequest {
|
|
1604
1568
|
/**
|
|
1605
1569
|
* <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point. The owner of the Multi-Region Access Point also must own
|
|
@@ -1807,12 +1771,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
1807
1771
|
$fault: "client";
|
|
1808
1772
|
Message?: string;
|
|
1809
1773
|
}
|
|
1810
|
-
export declare namespace NotFoundException {
|
|
1811
|
-
/**
|
|
1812
|
-
* @internal
|
|
1813
|
-
*/
|
|
1814
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
1815
|
-
}
|
|
1816
1774
|
export interface DeleteMultiRegionAccessPointRequest {
|
|
1817
1775
|
/**
|
|
1818
1776
|
* <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point.</p>
|
|
@@ -2994,12 +2952,6 @@ export interface NoSuchPublicAccessBlockConfiguration extends __SmithyException,
|
|
|
2994
2952
|
$fault: "client";
|
|
2995
2953
|
Message?: string;
|
|
2996
2954
|
}
|
|
2997
|
-
export declare namespace NoSuchPublicAccessBlockConfiguration {
|
|
2998
|
-
/**
|
|
2999
|
-
* @internal
|
|
3000
|
-
*/
|
|
3001
|
-
const filterSensitiveLog: (obj: NoSuchPublicAccessBlockConfiguration) => any;
|
|
3002
|
-
}
|
|
3003
2955
|
export interface GetStorageLensConfigurationRequest {
|
|
3004
2956
|
/**
|
|
3005
2957
|
* <p>The ID of the Amazon S3 Storage Lens configuration.</p>
|
|
@@ -3035,6 +2987,22 @@ export declare namespace StorageLensAwsOrg {
|
|
|
3035
2987
|
*/
|
|
3036
2988
|
const filterSensitiveLog: (obj: StorageLensAwsOrg) => any;
|
|
3037
2989
|
}
|
|
2990
|
+
/**
|
|
2991
|
+
* <p>A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.</p>
|
|
2992
|
+
* <p>For more information about publishing S3 Storage Lens metrics to CloudWatch, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage_lens_view_metrics_cloudwatch.html">Monitor S3 Storage Lens metrics in CloudWatch</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
2993
|
+
*/
|
|
2994
|
+
export interface CloudWatchMetrics {
|
|
2995
|
+
/**
|
|
2996
|
+
* <p>A container that indicates whether CloudWatch publishing for S3 Storage Lens metrics is enabled. A value of <code>true</code> indicates that CloudWatch publishing for S3 Storage Lens metrics is enabled.</p>
|
|
2997
|
+
*/
|
|
2998
|
+
IsEnabled: boolean | undefined;
|
|
2999
|
+
}
|
|
3000
|
+
export declare namespace CloudWatchMetrics {
|
|
3001
|
+
/**
|
|
3002
|
+
* @internal
|
|
3003
|
+
*/
|
|
3004
|
+
const filterSensitiveLog: (obj: CloudWatchMetrics) => any;
|
|
3005
|
+
}
|
|
3038
3006
|
/**
|
|
3039
3007
|
* <p></p>
|
|
3040
3008
|
*/
|
|
@@ -3136,7 +3104,11 @@ export interface StorageLensDataExport {
|
|
|
3136
3104
|
* <p>This bucket must be located in the same Region as the storage lens configuration. </p>
|
|
3137
3105
|
* </note>
|
|
3138
3106
|
*/
|
|
3139
|
-
S3BucketDestination
|
|
3107
|
+
S3BucketDestination?: S3BucketDestination;
|
|
3108
|
+
/**
|
|
3109
|
+
* <p>A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.</p>
|
|
3110
|
+
*/
|
|
3111
|
+
CloudWatchMetrics?: CloudWatchMetrics;
|
|
3140
3112
|
}
|
|
3141
3113
|
export declare namespace StorageLensDataExport {
|
|
3142
3114
|
/**
|
|
@@ -3407,12 +3379,6 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
3407
3379
|
$fault: "client";
|
|
3408
3380
|
Message?: string;
|
|
3409
3381
|
}
|
|
3410
|
-
export declare namespace InvalidNextTokenException {
|
|
3411
|
-
/**
|
|
3412
|
-
* @internal
|
|
3413
|
-
*/
|
|
3414
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
3415
|
-
}
|
|
3416
3382
|
/**
|
|
3417
3383
|
* <p></p>
|
|
3418
3384
|
*/
|
|
@@ -3421,12 +3387,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
|
|
|
3421
3387
|
$fault: "client";
|
|
3422
3388
|
Message?: string;
|
|
3423
3389
|
}
|
|
3424
|
-
export declare namespace InvalidRequestException {
|
|
3425
|
-
/**
|
|
3426
|
-
* @internal
|
|
3427
|
-
*/
|
|
3428
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
3429
|
-
}
|
|
3430
3390
|
export interface ListJobsRequest {
|
|
3431
3391
|
/**
|
|
3432
3392
|
* <p>The Amazon Web Services account ID associated with the S3 Batch Operations job.</p>
|
|
@@ -3901,12 +3861,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
|
|
|
3901
3861
|
$fault: "client";
|
|
3902
3862
|
Message?: string;
|
|
3903
3863
|
}
|
|
3904
|
-
export declare namespace TooManyTagsException {
|
|
3905
|
-
/**
|
|
3906
|
-
* @internal
|
|
3907
|
-
*/
|
|
3908
|
-
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
3909
|
-
}
|
|
3910
3864
|
export interface PutMultiRegionAccessPointPolicyRequest {
|
|
3911
3865
|
/**
|
|
3912
3866
|
* <p>The Amazon Web Services account ID for the owner of the Multi-Region Access Point.</p>
|
|
@@ -3942,15 +3896,15 @@ export declare namespace PutMultiRegionAccessPointPolicyResult {
|
|
|
3942
3896
|
const filterSensitiveLog: (obj: PutMultiRegionAccessPointPolicyResult) => any;
|
|
3943
3897
|
}
|
|
3944
3898
|
export interface PutPublicAccessBlockRequest {
|
|
3899
|
+
/**
|
|
3900
|
+
* <p>The <code>PublicAccessBlock</code> configuration that you want to apply to the specified Amazon Web Services account.</p>
|
|
3901
|
+
*/
|
|
3902
|
+
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
3945
3903
|
/**
|
|
3946
3904
|
* <p>The account ID for the Amazon Web Services account whose <code>PublicAccessBlock</code> configuration you want
|
|
3947
3905
|
* to set.</p>
|
|
3948
3906
|
*/
|
|
3949
3907
|
AccountId?: string;
|
|
3950
|
-
/**
|
|
3951
|
-
* <p>The <code>PublicAccessBlock</code> configuration that you want to apply to the specified Amazon Web Services account.</p>
|
|
3952
|
-
*/
|
|
3953
|
-
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
3954
3908
|
}
|
|
3955
3909
|
export declare namespace PutPublicAccessBlockRequest {
|
|
3956
3910
|
/**
|
|
@@ -4060,12 +4014,6 @@ export interface JobStatusException extends __SmithyException, $MetadataBearer {
|
|
|
4060
4014
|
$fault: "client";
|
|
4061
4015
|
Message?: string;
|
|
4062
4016
|
}
|
|
4063
|
-
export declare namespace JobStatusException {
|
|
4064
|
-
/**
|
|
4065
|
-
* @internal
|
|
4066
|
-
*/
|
|
4067
|
-
const filterSensitiveLog: (obj: JobStatusException) => any;
|
|
4068
|
-
}
|
|
4069
4017
|
export declare enum RequestedJobStatus {
|
|
4070
4018
|
Cancelled = "Cancelled",
|
|
4071
4019
|
Ready = "Ready"
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
3
3
|
import { S3ControlClientConfig } from "./S3ControlClient";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
8
8
|
runtime: string;
|
|
9
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
10
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
11
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
12
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -14,7 +15,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
17
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
18
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
18
19
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
19
20
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
20
21
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
3
3
|
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
4
4
|
import { S3ControlClientConfig } from "./S3ControlClient";
|
|
5
5
|
/**
|
|
@@ -7,15 +7,16 @@ import { S3ControlClientConfig } from "./S3ControlClient";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
9
9
|
runtime: string;
|
|
10
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
10
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
11
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
12
13
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
13
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
14
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
14
15
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
15
16
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
16
17
|
md5: __HashConstructor;
|
|
17
18
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
19
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
19
20
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
21
|
sha256: __HashConstructor;
|
|
21
22
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
28
28
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
29
29
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
30
30
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
31
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
31
32
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
32
33
|
tls?: boolean | undefined;
|
|
33
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -6,7 +6,7 @@ import { S3ControlInputConfig, S3ControlResolvedConfig } from "@aws-sdk/middlewa
|
|
|
6
6
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
7
7
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
10
|
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, StreamHasher as __StreamHasher, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
11
11
|
import { Readable } from "stream";
|
|
12
12
|
import { CreateAccessPointCommandInput, CreateAccessPointCommandOutput } from "./commands/CreateAccessPointCommand";
|
|
@@ -115,6 +115,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
115
115
|
streamHasher?: __StreamHasher<Readable> | __StreamHasher<Blob>;
|
|
116
116
|
|
|
117
117
|
md5?: __HashConstructor;
|
|
118
|
+
|
|
119
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
118
120
|
}
|
|
119
121
|
declare type S3ControlClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & S3ControlInputConfig & UserAgentInputConfig;
|
|
120
122
|
|
|
@@ -362,19 +362,11 @@ export interface BucketAlreadyExists extends __SmithyException, $MetadataBearer
|
|
|
362
362
|
name: "BucketAlreadyExists";
|
|
363
363
|
$fault: "client";
|
|
364
364
|
}
|
|
365
|
-
export declare namespace BucketAlreadyExists {
|
|
366
|
-
|
|
367
|
-
const filterSensitiveLog: (obj: BucketAlreadyExists) => any;
|
|
368
|
-
}
|
|
369
365
|
|
|
370
366
|
export interface BucketAlreadyOwnedByYou extends __SmithyException, $MetadataBearer {
|
|
371
367
|
name: "BucketAlreadyOwnedByYou";
|
|
372
368
|
$fault: "client";
|
|
373
369
|
}
|
|
374
|
-
export declare namespace BucketAlreadyOwnedByYou {
|
|
375
|
-
|
|
376
|
-
const filterSensitiveLog: (obj: BucketAlreadyOwnedByYou) => any;
|
|
377
|
-
}
|
|
378
370
|
export declare type BucketCannedACL = "authenticated-read" | "private" | "public-read" | "public-read-write";
|
|
379
371
|
export declare type BucketLocationConstraint = "EU" | "ap-northeast-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "cn-north-1" | "eu-central-1" | "eu-west-1" | "sa-east-1" | "us-west-1" | "us-west-2";
|
|
380
372
|
|
|
@@ -392,6 +384,8 @@ export interface CreateBucketRequest {
|
|
|
392
384
|
|
|
393
385
|
Bucket: string | undefined;
|
|
394
386
|
|
|
387
|
+
CreateBucketConfiguration?: CreateBucketConfiguration;
|
|
388
|
+
|
|
395
389
|
GrantFullControl?: string;
|
|
396
390
|
|
|
397
391
|
GrantRead?: string;
|
|
@@ -405,8 +399,6 @@ export interface CreateBucketRequest {
|
|
|
405
399
|
ObjectLockEnabledForBucket?: boolean;
|
|
406
400
|
|
|
407
401
|
OutpostId?: string;
|
|
408
|
-
|
|
409
|
-
CreateBucketConfiguration?: CreateBucketConfiguration;
|
|
410
402
|
}
|
|
411
403
|
export declare namespace CreateBucketRequest {
|
|
412
404
|
|
|
@@ -428,10 +420,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
|
|
|
428
420
|
$fault: "client";
|
|
429
421
|
Message?: string;
|
|
430
422
|
}
|
|
431
|
-
export declare namespace BadRequestException {
|
|
432
|
-
|
|
433
|
-
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
434
|
-
}
|
|
435
423
|
|
|
436
424
|
export interface JobManifestLocation {
|
|
437
425
|
|
|
@@ -842,30 +830,18 @@ export interface IdempotencyException extends __SmithyException, $MetadataBearer
|
|
|
842
830
|
$fault: "client";
|
|
843
831
|
Message?: string;
|
|
844
832
|
}
|
|
845
|
-
export declare namespace IdempotencyException {
|
|
846
|
-
|
|
847
|
-
const filterSensitiveLog: (obj: IdempotencyException) => any;
|
|
848
|
-
}
|
|
849
833
|
|
|
850
834
|
export interface InternalServiceException extends __SmithyException, $MetadataBearer {
|
|
851
835
|
name: "InternalServiceException";
|
|
852
836
|
$fault: "server";
|
|
853
837
|
Message?: string;
|
|
854
838
|
}
|
|
855
|
-
export declare namespace InternalServiceException {
|
|
856
|
-
|
|
857
|
-
const filterSensitiveLog: (obj: InternalServiceException) => any;
|
|
858
|
-
}
|
|
859
839
|
|
|
860
840
|
export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
|
|
861
841
|
name: "TooManyRequestsException";
|
|
862
842
|
$fault: "client";
|
|
863
843
|
Message?: string;
|
|
864
844
|
}
|
|
865
|
-
export declare namespace TooManyRequestsException {
|
|
866
|
-
|
|
867
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
868
|
-
}
|
|
869
845
|
export interface CreateMultiRegionAccessPointRequest {
|
|
870
846
|
|
|
871
847
|
AccountId?: string;
|
|
@@ -988,10 +964,6 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
|
|
|
988
964
|
$fault: "client";
|
|
989
965
|
Message?: string;
|
|
990
966
|
}
|
|
991
|
-
export declare namespace NotFoundException {
|
|
992
|
-
|
|
993
|
-
const filterSensitiveLog: (obj: NotFoundException) => any;
|
|
994
|
-
}
|
|
995
967
|
export interface DeleteMultiRegionAccessPointRequest {
|
|
996
968
|
|
|
997
969
|
AccountId?: string;
|
|
@@ -1651,10 +1623,6 @@ export interface NoSuchPublicAccessBlockConfiguration extends __SmithyException,
|
|
|
1651
1623
|
$fault: "client";
|
|
1652
1624
|
Message?: string;
|
|
1653
1625
|
}
|
|
1654
|
-
export declare namespace NoSuchPublicAccessBlockConfiguration {
|
|
1655
|
-
|
|
1656
|
-
const filterSensitiveLog: (obj: NoSuchPublicAccessBlockConfiguration) => any;
|
|
1657
|
-
}
|
|
1658
1626
|
export interface GetStorageLensConfigurationRequest {
|
|
1659
1627
|
|
|
1660
1628
|
ConfigId: string | undefined;
|
|
@@ -1675,6 +1643,15 @@ export declare namespace StorageLensAwsOrg {
|
|
|
1675
1643
|
const filterSensitiveLog: (obj: StorageLensAwsOrg) => any;
|
|
1676
1644
|
}
|
|
1677
1645
|
|
|
1646
|
+
export interface CloudWatchMetrics {
|
|
1647
|
+
|
|
1648
|
+
IsEnabled: boolean | undefined;
|
|
1649
|
+
}
|
|
1650
|
+
export declare namespace CloudWatchMetrics {
|
|
1651
|
+
|
|
1652
|
+
const filterSensitiveLog: (obj: CloudWatchMetrics) => any;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1678
1655
|
export interface SSEKMS {
|
|
1679
1656
|
|
|
1680
1657
|
KeyId: string | undefined;
|
|
@@ -1725,7 +1702,9 @@ export declare namespace S3BucketDestination {
|
|
|
1725
1702
|
|
|
1726
1703
|
export interface StorageLensDataExport {
|
|
1727
1704
|
|
|
1728
|
-
S3BucketDestination
|
|
1705
|
+
S3BucketDestination?: S3BucketDestination;
|
|
1706
|
+
|
|
1707
|
+
CloudWatchMetrics?: CloudWatchMetrics;
|
|
1729
1708
|
}
|
|
1730
1709
|
export declare namespace StorageLensDataExport {
|
|
1731
1710
|
|
|
@@ -1876,20 +1855,12 @@ export interface InvalidNextTokenException extends __SmithyException, $MetadataB
|
|
|
1876
1855
|
$fault: "client";
|
|
1877
1856
|
Message?: string;
|
|
1878
1857
|
}
|
|
1879
|
-
export declare namespace InvalidNextTokenException {
|
|
1880
|
-
|
|
1881
|
-
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
1882
|
-
}
|
|
1883
1858
|
|
|
1884
1859
|
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
1885
1860
|
name: "InvalidRequestException";
|
|
1886
1861
|
$fault: "client";
|
|
1887
1862
|
Message?: string;
|
|
1888
1863
|
}
|
|
1889
|
-
export declare namespace InvalidRequestException {
|
|
1890
|
-
|
|
1891
|
-
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
1892
|
-
}
|
|
1893
1864
|
export interface ListJobsRequest {
|
|
1894
1865
|
|
|
1895
1866
|
AccountId?: string;
|
|
@@ -2161,10 +2132,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
|
|
|
2161
2132
|
$fault: "client";
|
|
2162
2133
|
Message?: string;
|
|
2163
2134
|
}
|
|
2164
|
-
export declare namespace TooManyTagsException {
|
|
2165
|
-
|
|
2166
|
-
const filterSensitiveLog: (obj: TooManyTagsException) => any;
|
|
2167
|
-
}
|
|
2168
2135
|
export interface PutMultiRegionAccessPointPolicyRequest {
|
|
2169
2136
|
|
|
2170
2137
|
AccountId?: string;
|
|
@@ -2187,9 +2154,9 @@ export declare namespace PutMultiRegionAccessPointPolicyResult {
|
|
|
2187
2154
|
}
|
|
2188
2155
|
export interface PutPublicAccessBlockRequest {
|
|
2189
2156
|
|
|
2190
|
-
AccountId?: string;
|
|
2191
|
-
|
|
2192
2157
|
PublicAccessBlockConfiguration: PublicAccessBlockConfiguration | undefined;
|
|
2158
|
+
|
|
2159
|
+
AccountId?: string;
|
|
2193
2160
|
}
|
|
2194
2161
|
export declare namespace PutPublicAccessBlockRequest {
|
|
2195
2162
|
|
|
@@ -2255,10 +2222,6 @@ export interface JobStatusException extends __SmithyException, $MetadataBearer {
|
|
|
2255
2222
|
$fault: "client";
|
|
2256
2223
|
Message?: string;
|
|
2257
2224
|
}
|
|
2258
|
-
export declare namespace JobStatusException {
|
|
2259
|
-
|
|
2260
|
-
const filterSensitiveLog: (obj: JobStatusException) => any;
|
|
2261
|
-
}
|
|
2262
2225
|
export declare enum RequestedJobStatus {
|
|
2263
2226
|
Cancelled = "Cancelled",
|
|
2264
2227
|
Ready = "Ready"
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
3
3
|
import { S3ControlClientConfig } from "./S3ControlClient";
|
|
4
4
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
8
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
9
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
10
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
12
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
14
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
3
3
|
import { HashConstructor as __HashConstructor } from "@aws-sdk/types";
|
|
4
4
|
import { S3ControlClientConfig } from "./S3ControlClient";
|
|
5
5
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
md5: __HashConstructor;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: __HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
|
|
|
26
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
27
27
|
streamHasher: import("@aws-sdk/types").StreamHasher<import("stream").Readable> | import("@aws-sdk/types").StreamHasher<Blob>;
|
|
28
28
|
md5: import("@aws-sdk/types").HashConstructor;
|
|
29
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
29
30
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
31
|
tls?: boolean | undefined;
|
|
31
32
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|