@aws-sdk/client-s3 3.934.0 → 3.935.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 (91) hide show
  1. package/dist-cjs/index.js +525 -491
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +392 -0
  4. package/dist-es/models/errors.js +173 -0
  5. package/dist-es/models/models_0.js +1 -436
  6. package/dist-es/models/models_1.js +1 -126
  7. package/dist-es/schemas/schemas_0.js +62 -33
  8. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteObjectCommand.d.ts +8 -3
  10. package/dist-types/commands/DeleteObjectsCommand.d.ts +5 -0
  11. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +7 -2
  12. package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -1
  13. package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  14. package/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
  15. package/dist-types/commands/ListObjectsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
  17. package/dist-types/commands/ListPartsCommand.d.ts +1 -1
  18. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  19. package/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
  20. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  22. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +7 -2
  23. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  24. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  25. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  26. package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  27. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  28. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  29. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  30. package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
  32. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  33. package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -2
  34. package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
  35. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
  36. package/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
  37. package/dist-types/commands/PutObjectCommand.d.ts +1 -1
  38. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  39. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  40. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
  41. package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  42. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  43. package/dist-types/commands/RenameObjectCommand.d.ts +1 -1
  44. package/dist-types/commands/RestoreObjectCommand.d.ts +2 -1
  45. package/dist-types/index.d.ts +4 -1
  46. package/dist-types/models/enums.d.ts +960 -0
  47. package/dist-types/models/errors.d.ts +207 -0
  48. package/dist-types/models/models_0.d.ts +3701 -929
  49. package/dist-types/models/models_1.d.ts +3 -3889
  50. package/dist-types/schemas/schemas_0.d.ts +2 -0
  51. package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +2 -1
  82. package/dist-types/ts3.4/index.d.ts +4 -1
  83. package/dist-types/ts3.4/models/enums.d.ts +514 -0
  84. package/dist-types/ts3.4/models/errors.d.ts +87 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +607 -487
  86. package/dist-types/ts3.4/models/models_1.d.ts +11 -677
  87. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  88. package/package.json +16 -16
  89. package/dist-es/models/index.js +0 -2
  90. package/dist-types/models/index.d.ts +0 -2
  91. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -15,6 +15,7 @@ export declare var AnalyticsAndOperator: StaticStructureSchema;
15
15
  export declare var AnalyticsConfiguration: StaticStructureSchema;
16
16
  export declare var AnalyticsExportDestination: StaticStructureSchema;
17
17
  export declare var AnalyticsS3BucketDestination: StaticStructureSchema;
18
+ export declare var BlockedEncryptionTypes: StaticStructureSchema;
18
19
  export declare var Bucket: StaticStructureSchema;
19
20
  export declare var BucketAlreadyExists: StaticErrorSchema;
20
21
  export declare var BucketAlreadyOwnedByYou: StaticErrorSchema;
@@ -353,6 +354,7 @@ export declare var CompletedPartList: StaticListSchema;
353
354
  export declare var CORSRules: StaticListSchema;
354
355
  export declare var DeletedObjects: StaticListSchema;
355
356
  export declare var DeleteMarkers: StaticListSchema;
357
+ export declare var EncryptionTypeList: StaticListSchema;
356
358
  export declare var Errors: StaticListSchema;
357
359
  export declare var EventList: number;
358
360
  export declare var ExposeHeaders: number;
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  ListObjectVersionsOutput,
5
5
  ListObjectVersionsRequest,
6
- } from "../models/models_1";
6
+ } from "../models/models_0";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListObjectsOutput, ListObjectsRequest } from "../models/models_1";
3
+ import { ListObjectsOutput, ListObjectsRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListObjectsV2Output, ListObjectsV2Request } from "../models/models_1";
3
+ import { ListObjectsV2Output, ListObjectsV2Request } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListPartsOutput, ListPartsRequest } from "../models/models_1";
3
+ import { ListPartsOutput, ListPartsRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketAccelerateConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketAccelerateConfigurationRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketAclRequest } from "../models/models_1";
3
+ import { PutBucketAclRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketAnalyticsConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketAnalyticsConfigurationRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketCorsRequest } from "../models/models_1";
3
+ import { PutBucketCorsRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketEncryptionRequest } from "../models/models_1";
3
+ import { PutBucketEncryptionRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketIntelligentTieringConfigurationRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketInventoryConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketInventoryConfigurationRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  PutBucketLifecycleConfigurationOutput,
5
5
  PutBucketLifecycleConfigurationRequest,
6
- } from "../models/models_1";
6
+ } from "../models/models_0";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketLoggingRequest } from "../models/models_1";
3
+ import { PutBucketLoggingRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketMetricsConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketMetricsConfigurationRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketNotificationConfigurationRequest } from "../models/models_1";
3
+ import { PutBucketNotificationConfigurationRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketOwnershipControlsRequest } from "../models/models_1";
3
+ import { PutBucketOwnershipControlsRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketPolicyRequest } from "../models/models_1";
3
+ import { PutBucketPolicyRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketReplicationRequest } from "../models/models_1";
3
+ import { PutBucketReplicationRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketRequestPaymentRequest } from "../models/models_1";
3
+ import { PutBucketRequestPaymentRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketTaggingRequest } from "../models/models_1";
3
+ import { PutBucketTaggingRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketVersioningRequest } from "../models/models_1";
3
+ import { PutBucketVersioningRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutBucketWebsiteRequest } from "../models/models_1";
3
+ import { PutBucketWebsiteRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutObjectAclOutput, PutObjectAclRequest } from "../models/models_1";
3
+ import { PutObjectAclOutput, PutObjectAclRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import {
3
3
  MetadataBearer as __MetadataBearer,
4
4
  StreamingBlobPayloadInputTypes,
5
5
  } from "@smithy/types";
6
- import { PutObjectOutput, PutObjectRequest } from "../models/models_1";
6
+ import { PutObjectOutput, PutObjectRequest } from "../models/models_0";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  PutObjectLegalHoldOutput,
5
5
  PutObjectLegalHoldRequest,
6
- } from "../models/models_1";
6
+ } from "../models/models_0";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  PutObjectLockConfigurationOutput,
5
5
  PutObjectLockConfigurationRequest,
6
- } from "../models/models_1";
6
+ } from "../models/models_0";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  PutObjectRetentionOutput,
5
5
  PutObjectRetentionRequest,
6
- } from "../models/models_1";
6
+ } from "../models/models_0";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  PutObjectTaggingOutput,
5
5
  PutObjectTaggingRequest,
6
- } from "../models/models_1";
6
+ } from "../models/models_0";
7
7
  import {
8
8
  S3ClientResolvedConfig,
9
9
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutPublicAccessBlockRequest } from "../models/models_1";
3
+ import { PutPublicAccessBlockRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RenameObjectOutput, RenameObjectRequest } from "../models/models_1";
3
+ import { RenameObjectOutput, RenameObjectRequest } from "../models/models_0";
4
4
  import {
5
5
  S3ClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RestoreObjectOutput, RestoreObjectRequest } from "../models/models_1";
3
+ import { RestoreObjectOutput } from "../models/models_0";
4
+ import { RestoreObjectRequest } from "../models/models_1";
4
5
  import {
5
6
  S3ClientResolvedConfig,
6
7
  ServiceInputTypes,
@@ -6,5 +6,8 @@ export { S3ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
- export * from "./models";
9
+ export * from "./models/enums";
10
+ export * from "./models/errors";
11
+ export * from "./models/models_0";
12
+ export * from "./models/models_1";
10
13
  export { S3ServiceException } from "./models/S3ServiceException";