@aws-sdk/client-s3-control 3.716.0 → 3.723.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.
@@ -15,6 +15,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
15
15
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
16
16
  export { __Client };
17
17
  export class S3ControlClient extends __Client {
18
+ config;
18
19
  constructor(...[configuration]) {
19
20
  const _config_0 = __getRuntimeConfig(configuration || {});
20
21
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -50,26 +50,26 @@ export const ObjectLambdaAccessPointAliasStatus = {
50
50
  READY: "READY",
51
51
  };
52
52
  export class BucketAlreadyExists extends __BaseException {
53
+ name = "BucketAlreadyExists";
54
+ $fault = "client";
53
55
  constructor(opts) {
54
56
  super({
55
57
  name: "BucketAlreadyExists",
56
58
  $fault: "client",
57
59
  ...opts,
58
60
  });
59
- this.name = "BucketAlreadyExists";
60
- this.$fault = "client";
61
61
  Object.setPrototypeOf(this, BucketAlreadyExists.prototype);
62
62
  }
63
63
  }
64
64
  export class BucketAlreadyOwnedByYou extends __BaseException {
65
+ name = "BucketAlreadyOwnedByYou";
66
+ $fault = "client";
65
67
  constructor(opts) {
66
68
  super({
67
69
  name: "BucketAlreadyOwnedByYou",
68
70
  $fault: "client",
69
71
  ...opts,
70
72
  });
71
- this.name = "BucketAlreadyOwnedByYou";
72
- this.$fault = "client";
73
73
  Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype);
74
74
  }
75
75
  }
@@ -93,14 +93,15 @@ export const BucketLocationConstraint = {
93
93
  us_west_2: "us-west-2",
94
94
  };
95
95
  export class BadRequestException extends __BaseException {
96
+ name = "BadRequestException";
97
+ $fault = "client";
98
+ Message;
96
99
  constructor(opts) {
97
100
  super({
98
101
  name: "BadRequestException",
99
102
  $fault: "client",
100
103
  ...opts,
101
104
  });
102
- this.name = "BadRequestException";
103
- this.$fault = "client";
104
105
  Object.setPrototypeOf(this, BadRequestException.prototype);
105
106
  this.Message = opts.Message;
106
107
  }
@@ -201,53 +202,57 @@ export const JobReportScope = {
201
202
  FailedTasksOnly: "FailedTasksOnly",
202
203
  };
203
204
  export class IdempotencyException extends __BaseException {
205
+ name = "IdempotencyException";
206
+ $fault = "client";
207
+ Message;
204
208
  constructor(opts) {
205
209
  super({
206
210
  name: "IdempotencyException",
207
211
  $fault: "client",
208
212
  ...opts,
209
213
  });
210
- this.name = "IdempotencyException";
211
- this.$fault = "client";
212
214
  Object.setPrototypeOf(this, IdempotencyException.prototype);
213
215
  this.Message = opts.Message;
214
216
  }
215
217
  }
216
218
  export class InternalServiceException extends __BaseException {
219
+ name = "InternalServiceException";
220
+ $fault = "server";
221
+ Message;
217
222
  constructor(opts) {
218
223
  super({
219
224
  name: "InternalServiceException",
220
225
  $fault: "server",
221
226
  ...opts,
222
227
  });
223
- this.name = "InternalServiceException";
224
- this.$fault = "server";
225
228
  Object.setPrototypeOf(this, InternalServiceException.prototype);
226
229
  this.Message = opts.Message;
227
230
  }
228
231
  }
229
232
  export class TooManyRequestsException extends __BaseException {
233
+ name = "TooManyRequestsException";
234
+ $fault = "client";
235
+ Message;
230
236
  constructor(opts) {
231
237
  super({
232
238
  name: "TooManyRequestsException",
233
239
  $fault: "client",
234
240
  ...opts,
235
241
  });
236
- this.name = "TooManyRequestsException";
237
- this.$fault = "client";
238
242
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
239
243
  this.Message = opts.Message;
240
244
  }
241
245
  }
242
246
  export class NotFoundException extends __BaseException {
247
+ name = "NotFoundException";
248
+ $fault = "client";
249
+ Message;
243
250
  constructor(opts) {
244
251
  super({
245
252
  name: "NotFoundException",
246
253
  $fault: "client",
247
254
  ...opts,
248
255
  });
249
- this.name = "NotFoundException";
250
- this.$fault = "client";
251
256
  Object.setPrototypeOf(this, NotFoundException.prototype);
252
257
  this.Message = opts.Message;
253
258
  }
@@ -338,14 +343,15 @@ export const MultiRegionAccessPointStatus = {
338
343
  READY: "READY",
339
344
  };
340
345
  export class NoSuchPublicAccessBlockConfiguration extends __BaseException {
346
+ name = "NoSuchPublicAccessBlockConfiguration";
347
+ $fault = "client";
348
+ Message;
341
349
  constructor(opts) {
342
350
  super({
343
351
  name: "NoSuchPublicAccessBlockConfiguration",
344
352
  $fault: "client",
345
353
  ...opts,
346
354
  });
347
- this.name = "NoSuchPublicAccessBlockConfiguration";
348
- this.$fault = "client";
349
355
  Object.setPrototypeOf(this, NoSuchPublicAccessBlockConfiguration.prototype);
350
356
  this.Message = opts.Message;
351
357
  }
@@ -358,27 +364,29 @@ export const OutputSchemaVersion = {
358
364
  V_1: "V_1",
359
365
  };
360
366
  export class InvalidNextTokenException extends __BaseException {
367
+ name = "InvalidNextTokenException";
368
+ $fault = "client";
369
+ Message;
361
370
  constructor(opts) {
362
371
  super({
363
372
  name: "InvalidNextTokenException",
364
373
  $fault: "client",
365
374
  ...opts,
366
375
  });
367
- this.name = "InvalidNextTokenException";
368
- this.$fault = "client";
369
376
  Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
370
377
  this.Message = opts.Message;
371
378
  }
372
379
  }
373
380
  export class InvalidRequestException extends __BaseException {
381
+ name = "InvalidRequestException";
382
+ $fault = "client";
383
+ Message;
374
384
  constructor(opts) {
375
385
  super({
376
386
  name: "InvalidRequestException",
377
387
  $fault: "client",
378
388
  ...opts,
379
389
  });
380
- this.name = "InvalidRequestException";
381
- this.$fault = "client";
382
390
  Object.setPrototypeOf(this, InvalidRequestException.prototype);
383
391
  this.Message = opts.Message;
384
392
  }
@@ -4,27 +4,29 @@ export const MFADelete = {
4
4
  Enabled: "Enabled",
5
5
  };
6
6
  export class TooManyTagsException extends __BaseException {
7
+ name = "TooManyTagsException";
8
+ $fault = "client";
9
+ Message;
7
10
  constructor(opts) {
8
11
  super({
9
12
  name: "TooManyTagsException",
10
13
  $fault: "client",
11
14
  ...opts,
12
15
  });
13
- this.name = "TooManyTagsException";
14
- this.$fault = "client";
15
16
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
16
17
  this.Message = opts.Message;
17
18
  }
18
19
  }
19
20
  export class JobStatusException extends __BaseException {
21
+ name = "JobStatusException";
22
+ $fault = "client";
23
+ Message;
20
24
  constructor(opts) {
21
25
  super({
22
26
  name: "JobStatusException",
23
27
  $fault: "client",
24
28
  ...opts,
25
29
  });
26
- this.name = "JobStatusException";
27
- this.$fault = "client";
28
30
  Object.setPrototypeOf(this, JobStatusException.prototype);
29
31
  this.Message = opts.Message;
30
32
  }
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
8
8
  runtime: string;
9
9
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  md5: import("@smithy/types").HashConstructor;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
8
8
  runtime: string;
9
9
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  md5: import("@smithy/types").HashConstructor;
@@ -23,7 +23,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
23
23
  region: string | import("@smithy/types").Provider<any>;
24
24
  profile?: string | undefined;
25
25
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
26
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
26
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
27
27
  maxAttempts: number | import("@smithy/types").Provider<number>;
28
28
  retryMode: string | import("@smithy/types").Provider<string>;
29
29
  logger: import("@smithy/types").Logger;
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
34
34
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
35
35
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
36
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
37
- 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;
37
+ 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;
38
38
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
39
39
  logger?: import("@smithy/types").Logger | undefined;
40
40
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -54,11 +56,21 @@ export declare const getRuntimeConfig: (config: S3ControlClientConfig) => {
54
56
  | import("@smithy/types").RetryStrategyV2
55
57
  | undefined;
56
58
  endpoint?:
57
- | string
58
- | import("@smithy/types").Endpoint
59
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
- | import("@smithy/types").EndpointV2
61
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
59
+ | ((
60
+ | string
61
+ | import("@smithy/types").Endpoint
62
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
63
+ | import("@smithy/types").EndpointV2
64
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
65
+ ) &
66
+ (
67
+ | string
68
+ | import("@smithy/types").Provider<string>
69
+ | import("@smithy/types").Endpoint
70
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
71
+ | import("@smithy/types").EndpointV2
72
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
73
+ ))
62
74
  | undefined;
63
75
  endpointProvider: (
64
76
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3-control",
3
3
  "description": "AWS SDK for JavaScript S3 Control Client for Node.js, Browser and React Native",
4
- "version": "3.716.0",
4
+ "version": "3.723.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-control",
@@ -22,64 +22,64 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.716.0",
26
- "@aws-sdk/client-sts": "3.716.0",
27
- "@aws-sdk/core": "3.716.0",
28
- "@aws-sdk/credential-provider-node": "3.716.0",
29
- "@aws-sdk/middleware-host-header": "3.714.0",
30
- "@aws-sdk/middleware-logger": "3.714.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
32
- "@aws-sdk/middleware-sdk-s3-control": "3.714.0",
33
- "@aws-sdk/middleware-user-agent": "3.716.0",
34
- "@aws-sdk/region-config-resolver": "3.714.0",
35
- "@aws-sdk/types": "3.714.0",
36
- "@aws-sdk/util-endpoints": "3.714.0",
37
- "@aws-sdk/util-user-agent-browser": "3.714.0",
38
- "@aws-sdk/util-user-agent-node": "3.716.0",
39
- "@aws-sdk/xml-builder": "3.709.0",
40
- "@smithy/config-resolver": "^3.0.13",
41
- "@smithy/core": "^2.5.5",
42
- "@smithy/fetch-http-handler": "^4.1.2",
43
- "@smithy/hash-blob-browser": "^3.1.10",
44
- "@smithy/hash-node": "^3.0.11",
45
- "@smithy/hash-stream-node": "^3.1.10",
46
- "@smithy/invalid-dependency": "^3.0.11",
47
- "@smithy/md5-js": "^3.0.11",
48
- "@smithy/middleware-apply-body-checksum": "^3.0.13",
49
- "@smithy/middleware-content-length": "^3.0.13",
50
- "@smithy/middleware-endpoint": "^3.2.6",
51
- "@smithy/middleware-retry": "^3.0.31",
52
- "@smithy/middleware-serde": "^3.0.11",
53
- "@smithy/middleware-stack": "^3.0.11",
54
- "@smithy/node-config-provider": "^3.1.12",
55
- "@smithy/node-http-handler": "^3.3.2",
56
- "@smithy/protocol-http": "^4.1.8",
57
- "@smithy/smithy-client": "^3.5.1",
58
- "@smithy/types": "^3.7.2",
59
- "@smithy/url-parser": "^3.0.11",
60
- "@smithy/util-base64": "^3.0.0",
61
- "@smithy/util-body-length-browser": "^3.0.0",
62
- "@smithy/util-body-length-node": "^3.0.0",
63
- "@smithy/util-defaults-mode-browser": "^3.0.31",
64
- "@smithy/util-defaults-mode-node": "^3.0.31",
65
- "@smithy/util-endpoints": "^2.1.7",
66
- "@smithy/util-middleware": "^3.0.11",
67
- "@smithy/util-retry": "^3.0.11",
68
- "@smithy/util-utf8": "^3.0.0",
25
+ "@aws-sdk/client-sso-oidc": "3.723.0",
26
+ "@aws-sdk/client-sts": "3.723.0",
27
+ "@aws-sdk/core": "3.723.0",
28
+ "@aws-sdk/credential-provider-node": "3.723.0",
29
+ "@aws-sdk/middleware-host-header": "3.723.0",
30
+ "@aws-sdk/middleware-logger": "3.723.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
32
+ "@aws-sdk/middleware-sdk-s3-control": "3.723.0",
33
+ "@aws-sdk/middleware-user-agent": "3.723.0",
34
+ "@aws-sdk/region-config-resolver": "3.723.0",
35
+ "@aws-sdk/types": "3.723.0",
36
+ "@aws-sdk/util-endpoints": "3.723.0",
37
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
38
+ "@aws-sdk/util-user-agent-node": "3.723.0",
39
+ "@aws-sdk/xml-builder": "3.723.0",
40
+ "@smithy/config-resolver": "^4.0.0",
41
+ "@smithy/core": "^3.0.0",
42
+ "@smithy/fetch-http-handler": "^5.0.0",
43
+ "@smithy/hash-blob-browser": "^4.0.0",
44
+ "@smithy/hash-node": "^4.0.0",
45
+ "@smithy/hash-stream-node": "^4.0.0",
46
+ "@smithy/invalid-dependency": "^4.0.0",
47
+ "@smithy/md5-js": "^4.0.0",
48
+ "@smithy/middleware-apply-body-checksum": "^4.0.0",
49
+ "@smithy/middleware-content-length": "^4.0.0",
50
+ "@smithy/middleware-endpoint": "^4.0.0",
51
+ "@smithy/middleware-retry": "^4.0.0",
52
+ "@smithy/middleware-serde": "^4.0.0",
53
+ "@smithy/middleware-stack": "^4.0.0",
54
+ "@smithy/node-config-provider": "^4.0.0",
55
+ "@smithy/node-http-handler": "^4.0.0",
56
+ "@smithy/protocol-http": "^5.0.0",
57
+ "@smithy/smithy-client": "^4.0.0",
58
+ "@smithy/types": "^4.0.0",
59
+ "@smithy/url-parser": "^4.0.0",
60
+ "@smithy/util-base64": "^4.0.0",
61
+ "@smithy/util-body-length-browser": "^4.0.0",
62
+ "@smithy/util-body-length-node": "^4.0.0",
63
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
64
+ "@smithy/util-defaults-mode-node": "^4.0.0",
65
+ "@smithy/util-endpoints": "^3.0.0",
66
+ "@smithy/util-middleware": "^4.0.0",
67
+ "@smithy/util-retry": "^4.0.0",
68
+ "@smithy/util-utf8": "^4.0.0",
69
69
  "@types/uuid": "^9.0.1",
70
70
  "tslib": "^2.6.2",
71
71
  "uuid": "^9.0.1"
72
72
  },
73
73
  "devDependencies": {
74
- "@tsconfig/node16": "16.1.3",
75
- "@types/node": "^16.18.96",
74
+ "@tsconfig/node18": "18.2.4",
75
+ "@types/node": "^18.19.69",
76
76
  "concurrently": "7.0.0",
77
77
  "downlevel-dts": "0.10.1",
78
78
  "rimraf": "3.0.2",
79
- "typescript": "~4.9.5"
79
+ "typescript": "~5.2.2"
80
80
  },
81
81
  "engines": {
82
- "node": ">=16.0.0"
82
+ "node": ">=18.0.0"
83
83
  },
84
84
  "typesVersions": {
85
85
  "<4.0": {