@aws-sdk/client-s3 3.1087.0 → 3.1089.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 (143) hide show
  1. package/README.md +17 -1
  2. package/dist-cjs/index.js +1 -1
  3. package/dist-types/S3.d.ts +17 -1
  4. package/dist-types/S3Client.d.ts +17 -1
  5. package/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +0 -5
  6. package/dist-types/index.d.ts +17 -1
  7. package/dist-types/models/models_0.d.ts +6 -6
  8. package/dist-types/ts3.4/S3.d.ts +354 -501
  9. package/dist-types/ts3.4/S3Client.d.ts +25 -59
  10. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  11. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -16
  12. package/dist-types/ts3.4/commandBuilder.d.ts +21 -31
  13. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +5 -10
  14. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +3 -5
  16. package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +3 -5
  17. package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +4 -6
  18. package/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +4 -6
  19. package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +5 -10
  20. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +3 -5
  21. package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -6
  22. package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -2
  23. package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +2 -2
  24. package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +3 -4
  25. package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
  26. package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
  27. package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +3 -4
  28. package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +4 -6
  29. package/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -6
  31. package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -6
  32. package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +3 -4
  33. package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +4 -6
  34. package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +3 -4
  35. package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +3 -4
  36. package/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +5 -10
  37. package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +3 -5
  38. package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +5 -10
  39. package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +3 -5
  40. package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +4 -6
  41. package/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +3 -5
  42. package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -6
  43. package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +3 -5
  44. package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +4 -6
  45. package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +3 -5
  46. package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +5 -10
  47. package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
  48. package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +4 -6
  49. package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -6
  50. package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +5 -11
  51. package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +4 -9
  52. package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +4 -6
  53. package/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +4 -6
  54. package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -6
  55. package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +4 -6
  56. package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +4 -6
  57. package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +4 -9
  58. package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +5 -10
  59. package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +5 -10
  60. package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +5 -10
  61. package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +4 -9
  62. package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +5 -10
  63. package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +4 -9
  64. package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +3 -5
  65. package/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +5 -10
  67. package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +8 -8
  68. package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +5 -10
  69. package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +4 -6
  70. package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +5 -10
  71. package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +4 -9
  72. package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -14
  73. package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +5 -10
  74. package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +3 -5
  75. package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +3 -5
  76. package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -6
  77. package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -6
  78. package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +4 -6
  79. package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -6
  80. package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -4
  81. package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +4 -9
  82. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +5 -10
  83. package/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +5 -10
  84. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +5 -10
  85. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +3 -5
  86. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +3 -5
  87. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +7 -5
  88. package/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +2 -2
  89. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -6
  90. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +2 -2
  91. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -6
  92. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +2 -2
  93. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +3 -4
  94. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +4 -6
  95. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +4 -6
  96. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +4 -6
  97. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +2 -2
  98. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -6
  99. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -6
  100. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
  101. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -2
  102. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +3 -4
  103. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +4 -6
  104. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -2
  105. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +3 -4
  106. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +2 -2
  107. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +3 -5
  108. package/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +9 -17
  109. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +12 -11
  110. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +5 -10
  111. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +4 -6
  112. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +5 -10
  113. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +4 -9
  114. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +3 -4
  115. package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +3 -5
  116. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +3 -5
  117. package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +5 -10
  118. package/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +4 -6
  119. package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +4 -6
  120. package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +4 -6
  121. package/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +5 -10
  122. package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +8 -11
  123. package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +4 -9
  124. package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +7 -11
  125. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -13
  126. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  127. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  128. package/dist-types/ts3.4/models/enums.d.ts +32 -64
  129. package/dist-types/ts3.4/models/errors.d.ts +10 -30
  130. package/dist-types/ts3.4/models/models_0.d.ts +12 -36
  131. package/dist-types/ts3.4/models/models_1.d.ts +2 -9
  132. package/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +1 -4
  133. package/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +1 -4
  134. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -36
  135. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -32
  136. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -36
  137. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -6
  138. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  139. package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +3 -6
  140. package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +3 -6
  141. package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +3 -6
  142. package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +3 -6
  143. package/package.json +43 -43
@@ -1,16 +1,13 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
2
- import {
3
- HeadBucketCommandInput,
4
- HeadBucketCommandOutput,
5
- } from "../commands/HeadBucketCommand";
2
+ import { HeadBucketCommandInput, HeadBucketCommandOutput } from "../commands/HeadBucketCommand";
6
3
  import { NotFound } from "../models/errors";
7
4
  import { S3ServiceException } from "../models/S3ServiceException";
8
5
  import { S3Client } from "../S3Client";
9
6
  export declare const waitForBucketNotExists: (
10
7
  params: WaiterConfiguration<S3Client>,
11
- input: HeadBucketCommandInput
8
+ input: HeadBucketCommandInput,
12
9
  ) => Promise<WaiterResult<HeadBucketCommandOutput | S3ServiceException>>;
13
10
  export declare const waitUntilBucketNotExists: (
14
11
  params: WaiterConfiguration<S3Client>,
15
- input: HeadBucketCommandInput
12
+ input: HeadBucketCommandInput,
16
13
  ) => Promise<WaiterResult<NotFound>>;
@@ -1,15 +1,12 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
2
- import {
3
- HeadObjectCommandInput,
4
- HeadObjectCommandOutput,
5
- } from "../commands/HeadObjectCommand";
2
+ import { HeadObjectCommandInput, HeadObjectCommandOutput } from "../commands/HeadObjectCommand";
6
3
  import { S3ServiceException } from "../models/S3ServiceException";
7
4
  import { S3Client } from "../S3Client";
8
5
  export declare const waitForObjectExists: (
9
6
  params: WaiterConfiguration<S3Client>,
10
- input: HeadObjectCommandInput
7
+ input: HeadObjectCommandInput,
11
8
  ) => Promise<WaiterResult<HeadObjectCommandOutput | S3ServiceException>>;
12
9
  export declare const waitUntilObjectExists: (
13
10
  params: WaiterConfiguration<S3Client>,
14
- input: HeadObjectCommandInput
11
+ input: HeadObjectCommandInput,
15
12
  ) => Promise<WaiterResult<HeadObjectCommandOutput>>;
@@ -1,16 +1,13 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
2
- import {
3
- HeadObjectCommandInput,
4
- HeadObjectCommandOutput,
5
- } from "../commands/HeadObjectCommand";
2
+ import { HeadObjectCommandInput, HeadObjectCommandOutput } from "../commands/HeadObjectCommand";
6
3
  import { NotFound } from "../models/errors";
7
4
  import { S3ServiceException } from "../models/S3ServiceException";
8
5
  import { S3Client } from "../S3Client";
9
6
  export declare const waitForObjectNotExists: (
10
7
  params: WaiterConfiguration<S3Client>,
11
- input: HeadObjectCommandInput
8
+ input: HeadObjectCommandInput,
12
9
  ) => Promise<WaiterResult<HeadObjectCommandOutput | S3ServiceException>>;
13
10
  export declare const waitUntilObjectNotExists: (
14
11
  params: WaiterConfiguration<S3Client>,
15
- input: HeadObjectCommandInput
12
+ input: HeadObjectCommandInput,
16
13
  ) => Promise<WaiterResult<NotFound>>;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
+ "version": "3.1089.0",
3
4
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-s3"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -22,26 +53,22 @@
22
53
  "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts",
23
54
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
24
55
  },
25
- "main": "./dist-cjs/index.js",
26
- "types": "./dist-types/index.d.ts",
27
- "module": "./dist-es/index.js",
28
- "sideEffects": false,
29
56
  "dependencies": {
30
- "@aws-sdk/checksums": "^3.1000.17",
31
- "@aws-sdk/core": "^3.975.2",
32
- "@aws-sdk/credential-provider-node": "^3.972.68",
33
- "@aws-sdk/middleware-sdk-s3": "^3.972.63",
34
- "@aws-sdk/signature-v4-multi-region": "^3.996.40",
35
- "@aws-sdk/types": "^3.974.1",
36
- "@smithy/core": "^3.29.3",
37
- "@smithy/fetch-http-handler": "^5.6.5",
38
- "@smithy/node-http-handler": "^4.9.5",
57
+ "@aws-sdk/checksums": "^3.1000.18",
58
+ "@aws-sdk/core": "^3.975.3",
59
+ "@aws-sdk/credential-provider-node": "^3.972.70",
60
+ "@aws-sdk/middleware-sdk-s3": "^3.972.64",
61
+ "@aws-sdk/signature-v4-multi-region": "^3.996.41",
62
+ "@aws-sdk/types": "^3.974.2",
63
+ "@smithy/core": "^3.29.4",
64
+ "@smithy/fetch-http-handler": "^5.6.6",
65
+ "@smithy/node-http-handler": "^4.9.6",
39
66
  "@smithy/types": "^4.16.1",
40
67
  "tslib": "^2.6.2"
41
68
  },
42
69
  "devDependencies": {
43
- "@aws-sdk/signature-v4-crt": "3.1087.0",
44
- "@smithy/snapshot-testing": "^2.2.8",
70
+ "@aws-sdk/signature-v4-crt": "3.1089.0",
71
+ "@smithy/snapshot-testing": "^2.2.9",
45
72
  "@tsconfig/node20": "20.1.8",
46
73
  "@types/node": "^20.14.8",
47
74
  "concurrently": "7.0.0",
@@ -52,32 +79,5 @@
52
79
  },
53
80
  "engines": {
54
81
  "node": ">=20.0.0"
55
- },
56
- "typesVersions": {
57
- "<4.5": {
58
- "dist-types/*": [
59
- "dist-types/ts3.4/*"
60
- ]
61
- }
62
- },
63
- "files": [
64
- "dist-*/**"
65
- ],
66
- "author": {
67
- "name": "AWS SDK for JavaScript Team",
68
- "url": "https://aws.amazon.com/sdk-for-javascript/"
69
- },
70
- "license": "Apache-2.0",
71
- "browser": {
72
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
73
- },
74
- "react-native": {
75
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
76
- },
77
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
78
- "repository": {
79
- "type": "git",
80
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
81
- "directory": "clients/client-s3"
82
82
  }
83
83
  }