@aws-sdk/client-s3 3.620.1 → 3.622.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/dist-cjs/index.js CHANGED
@@ -8425,17 +8425,20 @@ var _S3Client = class _S3Client extends import_smithy_client.Client {
8425
8425
  constructor(...[configuration]) {
8426
8426
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
8427
8427
  const _config_1 = resolveClientEndpointParameters(_config_0);
8428
- const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
8429
- const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
8430
- const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
8431
- const _config_5 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_4);
8432
- const _config_6 = (0, import_middleware_sdk_s32.resolveS3Config)(_config_5, { session: [() => this, CreateSessionCommand] });
8433
- const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
8434
- const _config_8 = (0, import_middleware_retry.resolveRetryConfig)(_config_7);
8428
+ const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
8429
+ const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
8430
+ const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
8431
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
8432
+ const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
8433
+ const _config_7 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_6);
8434
+ const _config_8 = (0, import_middleware_sdk_s32.resolveS3Config)(_config_7, { session: [() => this, CreateSessionCommand] });
8435
8435
  const _config_9 = (0, import_eventstream_serde_config_resolver.resolveEventStreamSerdeConfig)(_config_8);
8436
8436
  const _config_10 = resolveRuntimeExtensions(_config_9, (configuration == null ? void 0 : configuration.extensions) || []);
8437
8437
  super(_config_10);
8438
8438
  this.config = _config_10;
8439
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
8440
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
8441
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
8439
8442
  this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
8440
8443
  this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
8441
8444
  this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
@@ -8444,9 +8447,6 @@ var _S3Client = class _S3Client extends import_smithy_client.Client {
8444
8447
  this.middlewareStack.use((0, import_middleware_expect_continue.getAddExpectContinuePlugin)(this.config));
8445
8448
  this.middlewareStack.use((0, import_middleware_sdk_s32.getRegionRedirectMiddlewarePlugin)(this.config));
8446
8449
  this.middlewareStack.use((0, import_middleware_sdk_s32.getS3ExpressPlugin)(this.config));
8447
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
8448
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
8449
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
8450
8450
  }
8451
8451
  /**
8452
8452
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
@@ -8841,12 +8841,12 @@ var _DeleteObjectsCommand = class _DeleteObjectsCommand extends import_smithy_cl
8841
8841
  return [
8842
8842
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
8843
8843
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
8844
- (0, import_middleware_sdk_s39.getThrow200ExceptionsPlugin)(config),
8845
8844
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
8846
8845
  input: this.input,
8847
8846
  requestAlgorithmMember: "ChecksumAlgorithm",
8848
8847
  requestChecksumRequired: true
8849
- })
8848
+ }),
8849
+ (0, import_middleware_sdk_s39.getThrow200ExceptionsPlugin)(config)
8850
8850
  ];
8851
8851
  }).s("AmazonS3", "DeleteObjects", {}).n("S3Client", "DeleteObjectsCommand").f(void 0, void 0).ser(se_DeleteObjectsCommand).de(de_DeleteObjectsCommand).build() {
8852
8852
  };
@@ -9346,14 +9346,14 @@ var _GetObjectCommand = class _GetObjectCommand extends import_smithy_client.Com
9346
9346
  return [
9347
9347
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
9348
9348
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
9349
- (0, import_middleware_ssec.getSsecPlugin)(config),
9350
- (0, import_middleware_sdk_s333.getS3ExpiresMiddlewarePlugin)(config),
9351
9349
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
9352
9350
  input: this.input,
9353
9351
  requestChecksumRequired: false,
9354
9352
  requestValidationModeMember: "ChecksumMode",
9355
9353
  responseAlgorithms: ["CRC32", "CRC32C", "SHA256", "SHA1"]
9356
- })
9354
+ }),
9355
+ (0, import_middleware_ssec.getSsecPlugin)(config),
9356
+ (0, import_middleware_sdk_s333.getS3ExpiresMiddlewarePlugin)(config)
9357
9357
  ];
9358
9358
  }).s("AmazonS3", "GetObject", {}).n("S3Client", "GetObjectCommand").f(GetObjectRequestFilterSensitiveLog, GetObjectOutputFilterSensitiveLog).ser(se_GetObjectCommand).de(de_GetObjectCommand).build() {
9359
9359
  };
@@ -9980,7 +9980,10 @@ var _PutBucketOwnershipControlsCommand = class _PutBucketOwnershipControlsComman
9980
9980
  return [
9981
9981
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
9982
9982
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
9983
- (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, { input: this.input, requestChecksumRequired: true })
9983
+ (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
9984
+ input: this.input,
9985
+ requestChecksumRequired: true
9986
+ })
9984
9987
  ];
9985
9988
  }).s("AmazonS3", "PutBucketOwnershipControls", {}).n("S3Client", "PutBucketOwnershipControlsCommand").f(void 0, void 0).ser(se_PutBucketOwnershipControlsCommand).de(de_PutBucketOwnershipControlsCommand).build() {
9986
9989
  };
@@ -10145,12 +10148,12 @@ var _PutObjectAclCommand = class _PutObjectAclCommand extends import_smithy_clie
10145
10148
  return [
10146
10149
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10147
10150
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
10148
- (0, import_middleware_sdk_s352.getThrow200ExceptionsPlugin)(config),
10149
10151
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
10150
10152
  input: this.input,
10151
10153
  requestAlgorithmMember: "ChecksumAlgorithm",
10152
10154
  requestChecksumRequired: true
10153
- })
10155
+ }),
10156
+ (0, import_middleware_sdk_s352.getThrow200ExceptionsPlugin)(config)
10154
10157
  ];
10155
10158
  }).s("AmazonS3", "PutObjectAcl", {}).n("S3Client", "PutObjectAclCommand").f(void 0, void 0).ser(se_PutObjectAclCommand).de(de_PutObjectAclCommand).build() {
10156
10159
  };
@@ -10172,14 +10175,14 @@ var _PutObjectCommand = class _PutObjectCommand extends import_smithy_client.Com
10172
10175
  return [
10173
10176
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10174
10177
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
10175
- (0, import_middleware_sdk_s353.getCheckContentLengthHeaderPlugin)(config),
10176
- (0, import_middleware_sdk_s353.getThrow200ExceptionsPlugin)(config),
10177
- (0, import_middleware_ssec.getSsecPlugin)(config),
10178
10178
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
10179
10179
  input: this.input,
10180
10180
  requestAlgorithmMember: "ChecksumAlgorithm",
10181
10181
  requestChecksumRequired: false
10182
- })
10182
+ }),
10183
+ (0, import_middleware_sdk_s353.getCheckContentLengthHeaderPlugin)(config),
10184
+ (0, import_middleware_sdk_s353.getThrow200ExceptionsPlugin)(config),
10185
+ (0, import_middleware_ssec.getSsecPlugin)(config)
10183
10186
  ];
10184
10187
  }).s("AmazonS3", "PutObject", {}).n("S3Client", "PutObjectCommand").f(PutObjectRequestFilterSensitiveLog, PutObjectOutputFilterSensitiveLog).ser(se_PutObjectCommand).de(de_PutObjectCommand).build() {
10185
10188
  };
@@ -10199,12 +10202,12 @@ var _PutObjectLegalHoldCommand = class _PutObjectLegalHoldCommand extends import
10199
10202
  return [
10200
10203
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10201
10204
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
10202
- (0, import_middleware_sdk_s354.getThrow200ExceptionsPlugin)(config),
10203
10205
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
10204
10206
  input: this.input,
10205
10207
  requestAlgorithmMember: "ChecksumAlgorithm",
10206
10208
  requestChecksumRequired: true
10207
- })
10209
+ }),
10210
+ (0, import_middleware_sdk_s354.getThrow200ExceptionsPlugin)(config)
10208
10211
  ];
10209
10212
  }).s("AmazonS3", "PutObjectLegalHold", {}).n("S3Client", "PutObjectLegalHoldCommand").f(void 0, void 0).ser(se_PutObjectLegalHoldCommand).de(de_PutObjectLegalHoldCommand).build() {
10210
10213
  };
@@ -10224,12 +10227,12 @@ var _PutObjectLockConfigurationCommand = class _PutObjectLockConfigurationComman
10224
10227
  return [
10225
10228
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10226
10229
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
10227
- (0, import_middleware_sdk_s355.getThrow200ExceptionsPlugin)(config),
10228
10230
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
10229
10231
  input: this.input,
10230
10232
  requestAlgorithmMember: "ChecksumAlgorithm",
10231
10233
  requestChecksumRequired: true
10232
- })
10234
+ }),
10235
+ (0, import_middleware_sdk_s355.getThrow200ExceptionsPlugin)(config)
10233
10236
  ];
10234
10237
  }).s("AmazonS3", "PutObjectLockConfiguration", {}).n("S3Client", "PutObjectLockConfigurationCommand").f(void 0, void 0).ser(se_PutObjectLockConfigurationCommand).de(de_PutObjectLockConfigurationCommand).build() {
10235
10238
  };
@@ -10249,12 +10252,12 @@ var _PutObjectRetentionCommand = class _PutObjectRetentionCommand extends import
10249
10252
  return [
10250
10253
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10251
10254
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
10252
- (0, import_middleware_sdk_s356.getThrow200ExceptionsPlugin)(config),
10253
10255
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
10254
10256
  input: this.input,
10255
10257
  requestAlgorithmMember: "ChecksumAlgorithm",
10256
10258
  requestChecksumRequired: true
10257
- })
10259
+ }),
10260
+ (0, import_middleware_sdk_s356.getThrow200ExceptionsPlugin)(config)
10258
10261
  ];
10259
10262
  }).s("AmazonS3", "PutObjectRetention", {}).n("S3Client", "PutObjectRetentionCommand").f(void 0, void 0).ser(se_PutObjectRetentionCommand).de(de_PutObjectRetentionCommand).build() {
10260
10263
  };
@@ -10274,12 +10277,12 @@ var _PutObjectTaggingCommand = class _PutObjectTaggingCommand extends import_smi
10274
10277
  return [
10275
10278
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10276
10279
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
10277
- (0, import_middleware_sdk_s357.getThrow200ExceptionsPlugin)(config),
10278
10280
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
10279
10281
  input: this.input,
10280
10282
  requestAlgorithmMember: "ChecksumAlgorithm",
10281
10283
  requestChecksumRequired: true
10282
- })
10284
+ }),
10285
+ (0, import_middleware_sdk_s357.getThrow200ExceptionsPlugin)(config)
10283
10286
  ];
10284
10287
  }).s("AmazonS3", "PutObjectTagging", {}).n("S3Client", "PutObjectTaggingCommand").f(void 0, void 0).ser(se_PutObjectTaggingCommand).de(de_PutObjectTaggingCommand).build() {
10285
10288
  };
@@ -10323,12 +10326,12 @@ var _RestoreObjectCommand = class _RestoreObjectCommand extends import_smithy_cl
10323
10326
  return [
10324
10327
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10325
10328
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
10326
- (0, import_middleware_sdk_s358.getThrow200ExceptionsPlugin)(config),
10327
10329
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
10328
10330
  input: this.input,
10329
10331
  requestAlgorithmMember: "ChecksumAlgorithm",
10330
10332
  requestChecksumRequired: false
10331
- })
10333
+ }),
10334
+ (0, import_middleware_sdk_s358.getThrow200ExceptionsPlugin)(config)
10332
10335
  ];
10333
10336
  }).s("AmazonS3", "RestoreObject", {}).n("S3Client", "RestoreObjectCommand").f(RestoreObjectRequestFilterSensitiveLog, void 0).ser(se_RestoreObjectCommand).de(de_RestoreObjectCommand).build() {
10334
10337
  };
@@ -10378,13 +10381,13 @@ var _UploadPartCommand = class _UploadPartCommand extends import_smithy_client.C
10378
10381
  return [
10379
10382
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10380
10383
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
10381
- (0, import_middleware_sdk_s360.getThrow200ExceptionsPlugin)(config),
10382
- (0, import_middleware_ssec.getSsecPlugin)(config),
10383
10384
  (0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
10384
10385
  input: this.input,
10385
10386
  requestAlgorithmMember: "ChecksumAlgorithm",
10386
10387
  requestChecksumRequired: false
10387
- })
10388
+ }),
10389
+ (0, import_middleware_sdk_s360.getThrow200ExceptionsPlugin)(config),
10390
+ (0, import_middleware_ssec.getSsecPlugin)(config)
10388
10391
  ];
10389
10392
  }).s("AmazonS3", "UploadPart", {}).n("S3Client", "UploadPartCommand").f(UploadPartRequestFilterSensitiveLog, UploadPartOutputFilterSensitiveLog).ser(se_UploadPartCommand).de(de_UploadPartCommand).build() {
10390
10393
  };
@@ -20,17 +20,20 @@ export class S3Client extends __Client {
20
20
  constructor(...[configuration]) {
21
21
  const _config_0 = __getRuntimeConfig(configuration || {});
22
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
23
- const _config_2 = resolveRegionConfig(_config_1);
24
- const _config_3 = resolveEndpointConfig(_config_2);
25
- const _config_4 = resolveHostHeaderConfig(_config_3);
26
- const _config_5 = resolveAwsAuthConfig(_config_4);
27
- const _config_6 = resolveS3Config(_config_5, { session: [() => this, CreateSessionCommand] });
28
- const _config_7 = resolveUserAgentConfig(_config_6);
29
- const _config_8 = resolveRetryConfig(_config_7);
23
+ const _config_2 = resolveUserAgentConfig(_config_1);
24
+ const _config_3 = resolveRetryConfig(_config_2);
25
+ const _config_4 = resolveRegionConfig(_config_3);
26
+ const _config_5 = resolveHostHeaderConfig(_config_4);
27
+ const _config_6 = resolveEndpointConfig(_config_5);
28
+ const _config_7 = resolveAwsAuthConfig(_config_6);
29
+ const _config_8 = resolveS3Config(_config_7, { session: [() => this, CreateSessionCommand] });
30
30
  const _config_9 = resolveEventStreamSerdeConfig(_config_8);
31
31
  const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
32
32
  super(_config_10);
33
33
  this.config = _config_10;
34
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
35
+ this.middlewareStack.use(getRetryPlugin(this.config));
36
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
34
37
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
35
38
  this.middlewareStack.use(getLoggerPlugin(this.config));
36
39
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
@@ -39,9 +42,6 @@ export class S3Client extends __Client {
39
42
  this.middlewareStack.use(getAddExpectContinuePlugin(this.config));
40
43
  this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config));
41
44
  this.middlewareStack.use(getS3ExpressPlugin(this.config));
42
- this.middlewareStack.use(getUserAgentPlugin(this.config));
43
- this.middlewareStack.use(getRetryPlugin(this.config));
44
- this.middlewareStack.use(getContentLengthPlugin(this.config));
45
45
  }
46
46
  destroy() {
47
47
  super.destroy();
@@ -16,12 +16,12 @@ export class DeleteObjectsCommand extends $Command
16
16
  return [
17
17
  getSerdePlugin(config, this.serialize, this.deserialize),
18
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- getThrow200ExceptionsPlugin(config),
20
19
  getFlexibleChecksumsPlugin(config, {
21
20
  input: this.input,
22
21
  requestAlgorithmMember: "ChecksumAlgorithm",
23
22
  requestChecksumRequired: true,
24
23
  }),
24
+ getThrow200ExceptionsPlugin(config),
25
25
  ];
26
26
  })
27
27
  .s("AmazonS3", "DeleteObjects", {})
@@ -19,14 +19,14 @@ export class GetObjectCommand extends $Command
19
19
  return [
20
20
  getSerdePlugin(config, this.serialize, this.deserialize),
21
21
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
22
- getSsecPlugin(config),
23
- getS3ExpiresMiddlewarePlugin(config),
24
22
  getFlexibleChecksumsPlugin(config, {
25
23
  input: this.input,
26
24
  requestChecksumRequired: false,
27
25
  requestValidationModeMember: "ChecksumMode",
28
26
  responseAlgorithms: ["CRC32", "CRC32C", "SHA256", "SHA1"],
29
27
  }),
28
+ getSsecPlugin(config),
29
+ getS3ExpiresMiddlewarePlugin(config),
30
30
  ];
31
31
  })
32
32
  .s("AmazonS3", "GetObject", {})
@@ -16,7 +16,10 @@ export class PutBucketOwnershipControlsCommand extends $Command
16
16
  return [
17
17
  getSerdePlugin(config, this.serialize, this.deserialize),
18
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- getFlexibleChecksumsPlugin(config, { input: this.input, requestChecksumRequired: true }),
19
+ getFlexibleChecksumsPlugin(config, {
20
+ input: this.input,
21
+ requestChecksumRequired: true,
22
+ }),
20
23
  ];
21
24
  })
22
25
  .s("AmazonS3", "PutBucketOwnershipControls", {})
@@ -17,12 +17,12 @@ export class PutObjectAclCommand extends $Command
17
17
  return [
18
18
  getSerdePlugin(config, this.serialize, this.deserialize),
19
19
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
- getThrow200ExceptionsPlugin(config),
21
20
  getFlexibleChecksumsPlugin(config, {
22
21
  input: this.input,
23
22
  requestAlgorithmMember: "ChecksumAlgorithm",
24
23
  requestChecksumRequired: true,
25
24
  }),
25
+ getThrow200ExceptionsPlugin(config),
26
26
  ];
27
27
  })
28
28
  .s("AmazonS3", "PutObjectAcl", {})
@@ -19,14 +19,14 @@ export class PutObjectCommand extends $Command
19
19
  return [
20
20
  getSerdePlugin(config, this.serialize, this.deserialize),
21
21
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
22
- getCheckContentLengthHeaderPlugin(config),
23
- getThrow200ExceptionsPlugin(config),
24
- getSsecPlugin(config),
25
22
  getFlexibleChecksumsPlugin(config, {
26
23
  input: this.input,
27
24
  requestAlgorithmMember: "ChecksumAlgorithm",
28
25
  requestChecksumRequired: false,
29
26
  }),
27
+ getCheckContentLengthHeaderPlugin(config),
28
+ getThrow200ExceptionsPlugin(config),
29
+ getSsecPlugin(config),
30
30
  ];
31
31
  })
32
32
  .s("AmazonS3", "PutObject", {})
@@ -16,12 +16,12 @@ export class PutObjectLegalHoldCommand extends $Command
16
16
  return [
17
17
  getSerdePlugin(config, this.serialize, this.deserialize),
18
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- getThrow200ExceptionsPlugin(config),
20
19
  getFlexibleChecksumsPlugin(config, {
21
20
  input: this.input,
22
21
  requestAlgorithmMember: "ChecksumAlgorithm",
23
22
  requestChecksumRequired: true,
24
23
  }),
24
+ getThrow200ExceptionsPlugin(config),
25
25
  ];
26
26
  })
27
27
  .s("AmazonS3", "PutObjectLegalHold", {})
@@ -16,12 +16,12 @@ export class PutObjectLockConfigurationCommand extends $Command
16
16
  return [
17
17
  getSerdePlugin(config, this.serialize, this.deserialize),
18
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- getThrow200ExceptionsPlugin(config),
20
19
  getFlexibleChecksumsPlugin(config, {
21
20
  input: this.input,
22
21
  requestAlgorithmMember: "ChecksumAlgorithm",
23
22
  requestChecksumRequired: true,
24
23
  }),
24
+ getThrow200ExceptionsPlugin(config),
25
25
  ];
26
26
  })
27
27
  .s("AmazonS3", "PutObjectLockConfiguration", {})
@@ -16,12 +16,12 @@ export class PutObjectRetentionCommand extends $Command
16
16
  return [
17
17
  getSerdePlugin(config, this.serialize, this.deserialize),
18
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- getThrow200ExceptionsPlugin(config),
20
19
  getFlexibleChecksumsPlugin(config, {
21
20
  input: this.input,
22
21
  requestAlgorithmMember: "ChecksumAlgorithm",
23
22
  requestChecksumRequired: true,
24
23
  }),
24
+ getThrow200ExceptionsPlugin(config),
25
25
  ];
26
26
  })
27
27
  .s("AmazonS3", "PutObjectRetention", {})
@@ -16,12 +16,12 @@ export class PutObjectTaggingCommand extends $Command
16
16
  return [
17
17
  getSerdePlugin(config, this.serialize, this.deserialize),
18
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
- getThrow200ExceptionsPlugin(config),
20
19
  getFlexibleChecksumsPlugin(config, {
21
20
  input: this.input,
22
21
  requestAlgorithmMember: "ChecksumAlgorithm",
23
22
  requestChecksumRequired: true,
24
23
  }),
24
+ getThrow200ExceptionsPlugin(config),
25
25
  ];
26
26
  })
27
27
  .s("AmazonS3", "PutObjectTagging", {})
@@ -17,12 +17,12 @@ export class RestoreObjectCommand extends $Command
17
17
  return [
18
18
  getSerdePlugin(config, this.serialize, this.deserialize),
19
19
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
20
- getThrow200ExceptionsPlugin(config),
21
20
  getFlexibleChecksumsPlugin(config, {
22
21
  input: this.input,
23
22
  requestAlgorithmMember: "ChecksumAlgorithm",
24
23
  requestChecksumRequired: false,
25
24
  }),
25
+ getThrow200ExceptionsPlugin(config),
26
26
  ];
27
27
  })
28
28
  .s("AmazonS3", "RestoreObject", {})
@@ -19,13 +19,13 @@ export class UploadPartCommand extends $Command
19
19
  return [
20
20
  getSerdePlugin(config, this.serialize, this.deserialize),
21
21
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
22
- getThrow200ExceptionsPlugin(config),
23
- getSsecPlugin(config),
24
22
  getFlexibleChecksumsPlugin(config, {
25
23
  input: this.input,
26
24
  requestAlgorithmMember: "ChecksumAlgorithm",
27
25
  requestChecksumRequired: false,
28
26
  }),
27
+ getThrow200ExceptionsPlugin(config),
28
+ getSsecPlugin(config),
29
29
  ];
30
30
  })
31
31
  .s("AmazonS3", "UploadPart", {})
@@ -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 & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & AwsAuthInputConfig & S3InputConfig & UserAgentInputConfig & RetryInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
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 & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & AwsAuthResolvedConfig & S3ResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
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>
package/package.json CHANGED
@@ -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.620.1",
4
+ "version": "3.622.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.620.1",
30
- "@aws-sdk/client-sts": "3.620.1",
31
- "@aws-sdk/core": "3.620.1",
32
- "@aws-sdk/credential-provider-node": "3.620.1",
29
+ "@aws-sdk/client-sso-oidc": "3.622.0",
30
+ "@aws-sdk/client-sts": "3.622.0",
31
+ "@aws-sdk/core": "3.622.0",
32
+ "@aws-sdk/credential-provider-node": "3.622.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,23 +37,23 @@
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.620.0",
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.620.0",
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.0",
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",
56
- "@smithy/fetch-http-handler": "^3.2.3",
56
+ "@smithy/fetch-http-handler": "^3.2.4",
57
57
  "@smithy/hash-blob-browser": "^3.1.2",
58
58
  "@smithy/hash-node": "^3.0.3",
59
59
  "@smithy/hash-stream-node": "^3.1.2",
@@ -61,29 +61,29 @@
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.12",
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.10",
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.12",
77
- "@smithy/util-defaults-mode-node": "^3.0.12",
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
- "@smithy/util-stream": "^3.1.2",
80
+ "@smithy/util-stream": "^3.1.3",
81
81
  "@smithy/util-utf8": "^3.0.0",
82
82
  "@smithy/util-waiter": "^3.1.2",
83
83
  "tslib": "^2.6.2"
84
84
  },
85
85
  "devDependencies": {
86
- "@aws-sdk/signature-v4-crt": "3.620.0",
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",