@aws-sdk/client-s3 3.957.0 → 3.962.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.
Files changed (90) hide show
  1. package/README.md +1 -111
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +8 -9
  3. package/dist-cjs/endpoint/ruleset.js +1 -1
  4. package/dist-cjs/index.js +1864 -3954
  5. package/dist-cjs/runtimeConfig.browser.js +1 -2
  6. package/dist-cjs/runtimeConfig.js +4 -8
  7. package/dist-es/auth/httpAuthSchemeProvider.js +8 -9
  8. package/dist-es/commands/AbortMultipartUploadCommand.js +4 -1
  9. package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +1 -1
  10. package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +1 -1
  11. package/dist-es/commands/CreateSessionCommand.js +4 -1
  12. package/dist-es/commands/DeleteObjectCommand.js +4 -1
  13. package/dist-es/commands/DeleteObjectTaggingCommand.js +4 -1
  14. package/dist-es/commands/DeleteObjectsCommand.js +1 -1
  15. package/dist-es/commands/GetBucketAbacCommand.js +4 -1
  16. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +4 -1
  17. package/dist-es/commands/GetBucketAclCommand.js +4 -1
  18. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +4 -1
  19. package/dist-es/commands/GetBucketCorsCommand.js +4 -1
  20. package/dist-es/commands/GetBucketEncryptionCommand.js +4 -1
  21. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +4 -1
  22. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +4 -1
  23. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +4 -1
  24. package/dist-es/commands/GetBucketLocationCommand.js +4 -1
  25. package/dist-es/commands/GetBucketLoggingCommand.js +4 -1
  26. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +4 -1
  27. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +4 -1
  28. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +4 -1
  29. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +4 -1
  30. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +4 -1
  31. package/dist-es/commands/GetBucketPolicyCommand.js +4 -1
  32. package/dist-es/commands/GetBucketPolicyStatusCommand.js +4 -1
  33. package/dist-es/commands/GetBucketReplicationCommand.js +4 -1
  34. package/dist-es/commands/GetBucketRequestPaymentCommand.js +4 -1
  35. package/dist-es/commands/GetBucketTaggingCommand.js +4 -1
  36. package/dist-es/commands/GetBucketVersioningCommand.js +4 -1
  37. package/dist-es/commands/GetBucketWebsiteCommand.js +4 -1
  38. package/dist-es/commands/GetObjectAclCommand.js +4 -1
  39. package/dist-es/commands/GetObjectCommand.js +2 -2
  40. package/dist-es/commands/GetObjectLegalHoldCommand.js +4 -1
  41. package/dist-es/commands/GetObjectLockConfigurationCommand.js +4 -1
  42. package/dist-es/commands/GetObjectRetentionCommand.js +4 -1
  43. package/dist-es/commands/GetObjectTaggingCommand.js +4 -1
  44. package/dist-es/commands/GetPublicAccessBlockCommand.js +4 -1
  45. package/dist-es/commands/HeadBucketCommand.js +4 -1
  46. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +4 -1
  47. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +4 -1
  48. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +4 -1
  49. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +4 -1
  50. package/dist-es/commands/ListBucketsCommand.js +4 -1
  51. package/dist-es/commands/ListDirectoryBucketsCommand.js +4 -1
  52. package/dist-es/commands/ListMultipartUploadsCommand.js +4 -1
  53. package/dist-es/commands/ListObjectVersionsCommand.js +4 -1
  54. package/dist-es/commands/ListObjectsCommand.js +4 -1
  55. package/dist-es/commands/ListObjectsV2Command.js +4 -1
  56. package/dist-es/commands/PutBucketAbacCommand.js +1 -1
  57. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +1 -1
  58. package/dist-es/commands/PutBucketAclCommand.js +1 -1
  59. package/dist-es/commands/PutBucketCorsCommand.js +1 -1
  60. package/dist-es/commands/PutBucketEncryptionCommand.js +1 -1
  61. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -1
  62. package/dist-es/commands/PutBucketLoggingCommand.js +1 -1
  63. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -1
  64. package/dist-es/commands/PutBucketPolicyCommand.js +1 -1
  65. package/dist-es/commands/PutBucketReplicationCommand.js +1 -1
  66. package/dist-es/commands/PutBucketRequestPaymentCommand.js +1 -1
  67. package/dist-es/commands/PutBucketTaggingCommand.js +1 -1
  68. package/dist-es/commands/PutBucketVersioningCommand.js +1 -1
  69. package/dist-es/commands/PutBucketWebsiteCommand.js +1 -1
  70. package/dist-es/commands/PutObjectAclCommand.js +1 -1
  71. package/dist-es/commands/PutObjectCommand.js +1 -1
  72. package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -1
  73. package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -1
  74. package/dist-es/commands/PutObjectRetentionCommand.js +1 -1
  75. package/dist-es/commands/PutObjectTaggingCommand.js +1 -1
  76. package/dist-es/commands/PutPublicAccessBlockCommand.js +1 -1
  77. package/dist-es/commands/RenameObjectCommand.js +4 -1
  78. package/dist-es/commands/RestoreObjectCommand.js +1 -1
  79. package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +1 -1
  80. package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +1 -1
  81. package/dist-es/commands/UploadPartCommand.js +1 -1
  82. package/dist-es/endpoint/ruleset.js +1 -1
  83. package/dist-es/runtimeConfig.browser.js +1 -2
  84. package/dist-es/runtimeConfig.js +6 -10
  85. package/dist-es/schemas/schemas_0.js +1574 -3799
  86. package/dist-es/waiters/waitForBucketExists.js +1 -1
  87. package/dist-es/waiters/waitForBucketNotExists.js +1 -1
  88. package/dist-es/waiters/waitForObjectExists.js +1 -1
  89. package/dist-es/waiters/waitForObjectNotExists.js +1 -1
  90. package/package.json +2 -2
@@ -3,7 +3,7 @@ import { HeadBucketCommand } from "../commands/HeadBucketCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new HeadBucketCommand(input));
6
+ let result = await client.send(new HeadBucketCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
@@ -3,7 +3,7 @@ import { HeadBucketCommand } from "../commands/HeadBucketCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new HeadBucketCommand(input));
6
+ let result = await client.send(new HeadBucketCommand(input));
7
7
  reason = result;
8
8
  }
9
9
  catch (exception) {
@@ -3,7 +3,7 @@ import { HeadObjectCommand } from "../commands/HeadObjectCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new HeadObjectCommand(input));
6
+ let result = await client.send(new HeadObjectCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
@@ -3,7 +3,7 @@ import { HeadObjectCommand } from "../commands/HeadObjectCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new HeadObjectCommand(input));
6
+ let result = await client.send(new HeadObjectCommand(input));
7
7
  reason = result;
8
8
  }
9
9
  catch (exception) {
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.957.0",
4
+ "version": "3.962.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -31,7 +31,7 @@
31
31
  "@aws-crypto/sha256-browser": "5.2.0",
32
32
  "@aws-crypto/sha256-js": "5.2.0",
33
33
  "@aws-sdk/core": "3.957.0",
34
- "@aws-sdk/credential-provider-node": "3.957.0",
34
+ "@aws-sdk/credential-provider-node": "3.962.0",
35
35
  "@aws-sdk/middleware-bucket-endpoint": "3.957.0",
36
36
  "@aws-sdk/middleware-expect-continue": "3.957.0",
37
37
  "@aws-sdk/middleware-flexible-checksums": "3.957.0",