@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.
- package/dist-cjs/index.js +525 -491
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +392 -0
- package/dist-es/models/errors.js +173 -0
- package/dist-es/models/models_0.js +1 -436
- package/dist-es/models/models_1.js +1 -126
- package/dist-es/schemas/schemas_0.js +62 -33
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteObjectCommand.d.ts +8 -3
- package/dist-types/commands/DeleteObjectsCommand.d.ts +5 -0
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +7 -2
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist-types/commands/ListPartsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +7 -2
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RenameObjectCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +2 -1
- package/dist-types/index.d.ts +4 -1
- package/dist-types/models/enums.d.ts +960 -0
- package/dist-types/models/errors.d.ts +207 -0
- package/dist-types/models/models_0.d.ts +3701 -929
- package/dist-types/models/models_1.d.ts +3 -3889
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +2 -1
- package/dist-types/ts3.4/index.d.ts +4 -1
- package/dist-types/ts3.4/models/enums.d.ts +514 -0
- package/dist-types/ts3.4/models/errors.d.ts +87 -0
- package/dist-types/ts3.4/models/models_0.d.ts +607 -487
- package/dist-types/ts3.4/models/models_1.d.ts +11 -677
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +16 -16
- package/dist-es/models/index.js +0 -2
- package/dist-types/models/index.d.ts +0 -2
- 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;
|
|
@@ -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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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
|
PutObjectLockConfigurationOutput,
|
|
5
5
|
PutObjectLockConfigurationRequest,
|
|
6
|
-
} from "../models/
|
|
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/
|
|
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/
|
|
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
|
|
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";
|