@aws-sdk/client-s3 3.294.0 → 3.296.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/commands/AbortMultipartUploadCommand.js +4 -4
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +4 -4
- package/dist-cjs/commands/CopyObjectCommand.js +4 -4
- package/dist-cjs/commands/CreateBucketCommand.js +4 -4
- package/dist-cjs/commands/CreateMultipartUploadCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketCorsCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectTaggingCommand.js +4 -4
- package/dist-cjs/commands/DeleteObjectsCommand.js +4 -4
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAclCommand.js +4 -4
- package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketCorsCommand.js +4 -4
- package/dist-cjs/commands/GetBucketEncryptionCommand.js +4 -4
- package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLocationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketLoggingCommand.js +4 -4
- package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +4 -4
- package/dist-cjs/commands/GetBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +4 -4
- package/dist-cjs/commands/GetBucketReplicationCommand.js +4 -4
- package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +4 -4
- package/dist-cjs/commands/GetBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetBucketVersioningCommand.js +4 -4
- package/dist-cjs/commands/GetBucketWebsiteCommand.js +4 -4
- package/dist-cjs/commands/GetObjectAclCommand.js +4 -4
- package/dist-cjs/commands/GetObjectAttributesCommand.js +4 -4
- package/dist-cjs/commands/GetObjectCommand.js +4 -4
- package/dist-cjs/commands/GetObjectLegalHoldCommand.js +4 -4
- package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +4 -4
- package/dist-cjs/commands/GetObjectRetentionCommand.js +4 -4
- package/dist-cjs/commands/GetObjectTaggingCommand.js +4 -4
- package/dist-cjs/commands/GetObjectTorrentCommand.js +4 -4
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/HeadBucketCommand.js +4 -4
- package/dist-cjs/commands/HeadObjectCommand.js +4 -4
- package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +4 -4
- package/dist-cjs/commands/ListBucketsCommand.js +4 -4
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectVersionsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectsCommand.js +4 -4
- package/dist-cjs/commands/ListObjectsV2Command.js +4 -4
- package/dist-cjs/commands/ListPartsCommand.js +4 -4
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketAclCommand.js +4 -4
- package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketCorsCommand.js +4 -4
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +4 -4
- package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketLoggingCommand.js +4 -4
- package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +4 -4
- package/dist-cjs/commands/PutBucketPolicyCommand.js +4 -4
- package/dist-cjs/commands/PutBucketReplicationCommand.js +4 -4
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +4 -4
- package/dist-cjs/commands/PutBucketTaggingCommand.js +4 -4
- package/dist-cjs/commands/PutBucketVersioningCommand.js +4 -4
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +4 -4
- package/dist-cjs/commands/PutObjectAclCommand.js +4 -4
- package/dist-cjs/commands/PutObjectCommand.js +4 -4
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +4 -4
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +4 -4
- package/dist-cjs/commands/PutObjectRetentionCommand.js +4 -4
- package/dist-cjs/commands/PutObjectTaggingCommand.js +4 -4
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +4 -4
- package/dist-cjs/commands/RestoreObjectCommand.js +4 -4
- package/dist-cjs/commands/SelectObjectContentCommand.js +4 -4
- package/dist-cjs/commands/UploadPartCommand.js +4 -4
- package/dist-cjs/commands/UploadPartCopyCommand.js +4 -4
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +4 -4
- package/dist-es/commands/AbortMultipartUploadCommand.js +4 -4
- package/dist-es/commands/CompleteMultipartUploadCommand.js +4 -4
- package/dist-es/commands/CopyObjectCommand.js +4 -4
- package/dist-es/commands/CreateBucketCommand.js +4 -4
- package/dist-es/commands/CreateMultipartUploadCommand.js +4 -4
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-es/commands/DeleteBucketCommand.js +4 -4
- package/dist-es/commands/DeleteBucketCorsCommand.js +4 -4
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +4 -4
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +4 -4
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +4 -4
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +4 -4
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +4 -4
- package/dist-es/commands/DeleteBucketPolicyCommand.js +4 -4
- package/dist-es/commands/DeleteBucketReplicationCommand.js +4 -4
- package/dist-es/commands/DeleteBucketTaggingCommand.js +4 -4
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +4 -4
- package/dist-es/commands/DeleteObjectCommand.js +4 -4
- package/dist-es/commands/DeleteObjectTaggingCommand.js +4 -4
- package/dist-es/commands/DeleteObjectsCommand.js +4 -4
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +4 -4
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +4 -4
- package/dist-es/commands/GetBucketAclCommand.js +4 -4
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-es/commands/GetBucketCorsCommand.js +4 -4
- package/dist-es/commands/GetBucketEncryptionCommand.js +4 -4
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +4 -4
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-es/commands/GetBucketLocationCommand.js +4 -4
- package/dist-es/commands/GetBucketLoggingCommand.js +4 -4
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +4 -4
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +4 -4
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +4 -4
- package/dist-es/commands/GetBucketPolicyCommand.js +4 -4
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +4 -4
- package/dist-es/commands/GetBucketReplicationCommand.js +4 -4
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +4 -4
- package/dist-es/commands/GetBucketTaggingCommand.js +4 -4
- package/dist-es/commands/GetBucketVersioningCommand.js +4 -4
- package/dist-es/commands/GetBucketWebsiteCommand.js +4 -4
- package/dist-es/commands/GetObjectAclCommand.js +4 -4
- package/dist-es/commands/GetObjectAttributesCommand.js +4 -4
- package/dist-es/commands/GetObjectCommand.js +4 -4
- package/dist-es/commands/GetObjectLegalHoldCommand.js +4 -4
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +4 -4
- package/dist-es/commands/GetObjectRetentionCommand.js +4 -4
- package/dist-es/commands/GetObjectTaggingCommand.js +4 -4
- package/dist-es/commands/GetObjectTorrentCommand.js +4 -4
- package/dist-es/commands/GetPublicAccessBlockCommand.js +4 -4
- package/dist-es/commands/HeadBucketCommand.js +4 -4
- package/dist-es/commands/HeadObjectCommand.js +4 -4
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +4 -4
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +4 -4
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +4 -4
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +4 -4
- package/dist-es/commands/ListBucketsCommand.js +4 -4
- package/dist-es/commands/ListMultipartUploadsCommand.js +4 -4
- package/dist-es/commands/ListObjectVersionsCommand.js +4 -4
- package/dist-es/commands/ListObjectsCommand.js +4 -4
- package/dist-es/commands/ListObjectsV2Command.js +4 -4
- package/dist-es/commands/ListPartsCommand.js +4 -4
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +4 -4
- package/dist-es/commands/PutBucketAclCommand.js +4 -4
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +4 -4
- package/dist-es/commands/PutBucketCorsCommand.js +4 -4
- package/dist-es/commands/PutBucketEncryptionCommand.js +4 -4
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +4 -4
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +4 -4
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +4 -4
- package/dist-es/commands/PutBucketLoggingCommand.js +4 -4
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +4 -4
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +4 -4
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +4 -4
- package/dist-es/commands/PutBucketPolicyCommand.js +4 -4
- package/dist-es/commands/PutBucketReplicationCommand.js +4 -4
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +4 -4
- package/dist-es/commands/PutBucketTaggingCommand.js +4 -4
- package/dist-es/commands/PutBucketVersioningCommand.js +4 -4
- package/dist-es/commands/PutBucketWebsiteCommand.js +4 -4
- package/dist-es/commands/PutObjectAclCommand.js +4 -4
- package/dist-es/commands/PutObjectCommand.js +4 -4
- package/dist-es/commands/PutObjectLegalHoldCommand.js +4 -4
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +4 -4
- package/dist-es/commands/PutObjectRetentionCommand.js +4 -4
- package/dist-es/commands/PutObjectTaggingCommand.js +4 -4
- package/dist-es/commands/PutPublicAccessBlockCommand.js +4 -4
- package/dist-es/commands/RestoreObjectCommand.js +4 -4
- package/dist-es/commands/SelectObjectContentCommand.js +4 -4
- package/dist-es/commands/UploadPartCommand.js +4 -4
- package/dist-es/commands/UploadPartCopyCommand.js +4 -4
- package/dist-es/commands/WriteGetObjectResponseCommand.js +4 -4
- package/dist-types/S3Client.d.ts +4 -4
- package/dist-types/commands/PutObjectCommand.d.ts +1 -1
- package/dist-types/commands/UploadPartCommand.d.ts +1 -1
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +5 -5
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/ts3.4/S3Client.d.ts +4 -6
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/dist-types/ts3.4/models/models_0.d.ts +5 -5
- package/dist-types/ts3.4/models/models_1.d.ts +1 -1
- package/package.json +53 -53
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutBucketPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutBucketPolicyCommand, serializeAws_restXmlPutBucketPolicyCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutBucketPolicyCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutBucketPolicyCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutBucketPolicyCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutBucketReplicationRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutBucketReplicationCommand, serializeAws_restXmlPutBucketReplicationCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutBucketReplicationCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutBucketReplicationCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutBucketReplicationCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutBucketRequestPaymentRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutBucketRequestPaymentCommand, serializeAws_restXmlPutBucketRequestPaymentCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutBucketRequestPaymentCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutBucketRequestPaymentCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutBucketRequestPaymentCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutBucketTaggingRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutBucketTaggingCommand, serializeAws_restXmlPutBucketTaggingCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutBucketTaggingCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutBucketTaggingCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutBucketTaggingCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutBucketVersioningRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutBucketVersioningCommand, serializeAws_restXmlPutBucketVersioningCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutBucketVersioningCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutBucketVersioningCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutBucketVersioningCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutBucketWebsiteRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutBucketWebsiteCommand, serializeAws_restXmlPutBucketWebsiteCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutBucketWebsiteCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutBucketWebsiteCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutBucketWebsiteCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutObjectAclOutputFilterSensitiveLog, PutObjectAclRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutObjectAclCommand, serializeAws_restXmlPutObjectAclCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutObjectAclCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutObjectAclCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutObjectAclCommand.getEndpointParameterInstructions()));
|
|
@@ -7,10 +7,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
7
7
|
import { PutObjectOutputFilterSensitiveLog, PutObjectRequestFilterSensitiveLog, } from "../models/models_0";
|
|
8
8
|
import { deserializeAws_restXmlPutObjectCommand, serializeAws_restXmlPutObjectCommand } from "../protocols/Aws_restXml";
|
|
9
9
|
export class PutObjectCommand extends $Command {
|
|
10
|
-
constructor(input) {
|
|
11
|
-
super();
|
|
12
|
-
this.input = input;
|
|
13
|
-
}
|
|
14
10
|
static getEndpointParameterInstructions() {
|
|
15
11
|
return {
|
|
16
12
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -25,6 +21,10 @@ export class PutObjectCommand extends $Command {
|
|
|
25
21
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
22
|
};
|
|
27
23
|
}
|
|
24
|
+
constructor(input) {
|
|
25
|
+
super();
|
|
26
|
+
this.input = input;
|
|
27
|
+
}
|
|
28
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
29
29
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
30
30
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutObjectCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutObjectLegalHoldOutputFilterSensitiveLog, PutObjectLegalHoldRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutObjectLegalHoldCommand, serializeAws_restXmlPutObjectLegalHoldCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutObjectLegalHoldCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutObjectLegalHoldCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutObjectLegalHoldCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutObjectLockConfigurationOutputFilterSensitiveLog, PutObjectLockConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restXmlPutObjectLockConfigurationCommand, serializeAws_restXmlPutObjectLockConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutObjectLockConfigurationCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutObjectLockConfigurationCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutObjectLockConfigurationCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutObjectRetentionOutputFilterSensitiveLog, PutObjectRetentionRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { deserializeAws_restXmlPutObjectRetentionCommand, serializeAws_restXmlPutObjectRetentionCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutObjectRetentionCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutObjectRetentionCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutObjectRetentionCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutObjectTaggingOutputFilterSensitiveLog, PutObjectTaggingRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { deserializeAws_restXmlPutObjectTaggingCommand, serializeAws_restXmlPutObjectTaggingCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutObjectTaggingCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutObjectTaggingCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutObjectTaggingCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { PutPublicAccessBlockRequestFilterSensitiveLog } from "../models/models_1";
|
|
6
6
|
import { deserializeAws_restXmlPutPublicAccessBlockCommand, serializeAws_restXmlPutPublicAccessBlockCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class PutPublicAccessBlockCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class PutPublicAccessBlockCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, PutPublicAccessBlockCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { RestoreObjectOutputFilterSensitiveLog, RestoreObjectRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { deserializeAws_restXmlRestoreObjectCommand, serializeAws_restXmlRestoreObjectCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class RestoreObjectCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class RestoreObjectCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, RestoreObjectCommand.getEndpointParameterInstructions()));
|
|
@@ -5,10 +5,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
5
5
|
import { SelectObjectContentOutputFilterSensitiveLog, SelectObjectContentRequestFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { deserializeAws_restXmlSelectObjectContentCommand, serializeAws_restXmlSelectObjectContentCommand, } from "../protocols/Aws_restXml";
|
|
7
7
|
export class SelectObjectContentCommand extends $Command {
|
|
8
|
-
constructor(input) {
|
|
9
|
-
super();
|
|
10
|
-
this.input = input;
|
|
11
|
-
}
|
|
12
8
|
static getEndpointParameterInstructions() {
|
|
13
9
|
return {
|
|
14
10
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -23,6 +19,10 @@ export class SelectObjectContentCommand extends $Command {
|
|
|
23
19
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
24
20
|
};
|
|
25
21
|
}
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super();
|
|
24
|
+
this.input = input;
|
|
25
|
+
}
|
|
26
26
|
resolveMiddleware(clientStack, configuration, options) {
|
|
27
27
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
28
28
|
this.middlewareStack.use(getEndpointPlugin(configuration, SelectObjectContentCommand.getEndpointParameterInstructions()));
|
|
@@ -6,10 +6,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
6
6
|
import { UploadPartOutputFilterSensitiveLog, UploadPartRequestFilterSensitiveLog, } from "../models/models_1";
|
|
7
7
|
import { deserializeAws_restXmlUploadPartCommand, serializeAws_restXmlUploadPartCommand, } from "../protocols/Aws_restXml";
|
|
8
8
|
export class UploadPartCommand extends $Command {
|
|
9
|
-
constructor(input) {
|
|
10
|
-
super();
|
|
11
|
-
this.input = input;
|
|
12
|
-
}
|
|
13
9
|
static getEndpointParameterInstructions() {
|
|
14
10
|
return {
|
|
15
11
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -24,6 +20,10 @@ export class UploadPartCommand extends $Command {
|
|
|
24
20
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
25
21
|
};
|
|
26
22
|
}
|
|
23
|
+
constructor(input) {
|
|
24
|
+
super();
|
|
25
|
+
this.input = input;
|
|
26
|
+
}
|
|
27
27
|
resolveMiddleware(clientStack, configuration, options) {
|
|
28
28
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
29
29
|
this.middlewareStack.use(getEndpointPlugin(configuration, UploadPartCommand.getEndpointParameterInstructions()));
|
|
@@ -6,10 +6,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
6
6
|
import { UploadPartCopyOutputFilterSensitiveLog, UploadPartCopyRequestFilterSensitiveLog, } from "../models/models_1";
|
|
7
7
|
import { deserializeAws_restXmlUploadPartCopyCommand, serializeAws_restXmlUploadPartCopyCommand, } from "../protocols/Aws_restXml";
|
|
8
8
|
export class UploadPartCopyCommand extends $Command {
|
|
9
|
-
constructor(input) {
|
|
10
|
-
super();
|
|
11
|
-
this.input = input;
|
|
12
|
-
}
|
|
13
9
|
static getEndpointParameterInstructions() {
|
|
14
10
|
return {
|
|
15
11
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
@@ -24,6 +20,10 @@ export class UploadPartCopyCommand extends $Command {
|
|
|
24
20
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
25
21
|
};
|
|
26
22
|
}
|
|
23
|
+
constructor(input) {
|
|
24
|
+
super();
|
|
25
|
+
this.input = input;
|
|
26
|
+
}
|
|
27
27
|
resolveMiddleware(clientStack, configuration, options) {
|
|
28
28
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
29
29
|
this.middlewareStack.use(getEndpointPlugin(configuration, UploadPartCopyCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { WriteGetObjectResponseRequestFilterSensitiveLog } from "../models/models_1";
|
|
5
5
|
import { deserializeAws_restXmlWriteGetObjectResponseCommand, serializeAws_restXmlWriteGetObjectResponseCommand, } from "../protocols/Aws_restXml";
|
|
6
6
|
export class WriteGetObjectResponseCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
|
|
@@ -22,6 +18,10 @@ export class WriteGetObjectResponseCommand extends $Command {
|
|
|
22
18
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
23
19
|
};
|
|
24
20
|
}
|
|
21
|
+
constructor(input) {
|
|
22
|
+
super();
|
|
23
|
+
this.input = input;
|
|
24
|
+
}
|
|
25
25
|
resolveMiddleware(clientStack, configuration, options) {
|
|
26
26
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
27
27
|
this.middlewareStack.use(getEndpointPlugin(configuration, WriteGetObjectResponseCommand.getEndpointParameterInstructions()));
|
package/dist-types/S3Client.d.ts
CHANGED
|
@@ -105,8 +105,8 @@ import { UploadPartCommandInput, UploadPartCommandOutput } from "./commands/Uplo
|
|
|
105
105
|
import { UploadPartCopyCommandInput, UploadPartCopyCommandOutput } from "./commands/UploadPartCopyCommand";
|
|
106
106
|
import { WriteGetObjectResponseCommandInput, WriteGetObjectResponseCommandOutput } from "./commands/WriteGetObjectResponseCommand";
|
|
107
107
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
108
|
-
export
|
|
109
|
-
export
|
|
108
|
+
export type ServiceInputTypes = AbortMultipartUploadCommandInput | CompleteMultipartUploadCommandInput | CopyObjectCommandInput | CreateBucketCommandInput | CreateMultipartUploadCommandInput | DeleteBucketAnalyticsConfigurationCommandInput | DeleteBucketCommandInput | DeleteBucketCorsCommandInput | DeleteBucketEncryptionCommandInput | DeleteBucketIntelligentTieringConfigurationCommandInput | DeleteBucketInventoryConfigurationCommandInput | DeleteBucketLifecycleCommandInput | DeleteBucketMetricsConfigurationCommandInput | DeleteBucketOwnershipControlsCommandInput | DeleteBucketPolicyCommandInput | DeleteBucketReplicationCommandInput | DeleteBucketTaggingCommandInput | DeleteBucketWebsiteCommandInput | DeleteObjectCommandInput | DeleteObjectTaggingCommandInput | DeleteObjectsCommandInput | DeletePublicAccessBlockCommandInput | GetBucketAccelerateConfigurationCommandInput | GetBucketAclCommandInput | GetBucketAnalyticsConfigurationCommandInput | GetBucketCorsCommandInput | GetBucketEncryptionCommandInput | GetBucketIntelligentTieringConfigurationCommandInput | GetBucketInventoryConfigurationCommandInput | GetBucketLifecycleConfigurationCommandInput | GetBucketLocationCommandInput | GetBucketLoggingCommandInput | GetBucketMetricsConfigurationCommandInput | GetBucketNotificationConfigurationCommandInput | GetBucketOwnershipControlsCommandInput | GetBucketPolicyCommandInput | GetBucketPolicyStatusCommandInput | GetBucketReplicationCommandInput | GetBucketRequestPaymentCommandInput | GetBucketTaggingCommandInput | GetBucketVersioningCommandInput | GetBucketWebsiteCommandInput | GetObjectAclCommandInput | GetObjectAttributesCommandInput | GetObjectCommandInput | GetObjectLegalHoldCommandInput | GetObjectLockConfigurationCommandInput | GetObjectRetentionCommandInput | GetObjectTaggingCommandInput | GetObjectTorrentCommandInput | GetPublicAccessBlockCommandInput | HeadBucketCommandInput | HeadObjectCommandInput | ListBucketAnalyticsConfigurationsCommandInput | ListBucketIntelligentTieringConfigurationsCommandInput | ListBucketInventoryConfigurationsCommandInput | ListBucketMetricsConfigurationsCommandInput | ListBucketsCommandInput | ListMultipartUploadsCommandInput | ListObjectVersionsCommandInput | ListObjectsCommandInput | ListObjectsV2CommandInput | ListPartsCommandInput | PutBucketAccelerateConfigurationCommandInput | PutBucketAclCommandInput | PutBucketAnalyticsConfigurationCommandInput | PutBucketCorsCommandInput | PutBucketEncryptionCommandInput | PutBucketIntelligentTieringConfigurationCommandInput | PutBucketInventoryConfigurationCommandInput | PutBucketLifecycleConfigurationCommandInput | PutBucketLoggingCommandInput | PutBucketMetricsConfigurationCommandInput | PutBucketNotificationConfigurationCommandInput | PutBucketOwnershipControlsCommandInput | PutBucketPolicyCommandInput | PutBucketReplicationCommandInput | PutBucketRequestPaymentCommandInput | PutBucketTaggingCommandInput | PutBucketVersioningCommandInput | PutBucketWebsiteCommandInput | PutObjectAclCommandInput | PutObjectCommandInput | PutObjectLegalHoldCommandInput | PutObjectLockConfigurationCommandInput | PutObjectRetentionCommandInput | PutObjectTaggingCommandInput | PutPublicAccessBlockCommandInput | RestoreObjectCommandInput | SelectObjectContentCommandInput | UploadPartCommandInput | UploadPartCopyCommandInput | WriteGetObjectResponseCommandInput;
|
|
109
|
+
export type ServiceOutputTypes = AbortMultipartUploadCommandOutput | CompleteMultipartUploadCommandOutput | CopyObjectCommandOutput | CreateBucketCommandOutput | CreateMultipartUploadCommandOutput | DeleteBucketAnalyticsConfigurationCommandOutput | DeleteBucketCommandOutput | DeleteBucketCorsCommandOutput | DeleteBucketEncryptionCommandOutput | DeleteBucketIntelligentTieringConfigurationCommandOutput | DeleteBucketInventoryConfigurationCommandOutput | DeleteBucketLifecycleCommandOutput | DeleteBucketMetricsConfigurationCommandOutput | DeleteBucketOwnershipControlsCommandOutput | DeleteBucketPolicyCommandOutput | DeleteBucketReplicationCommandOutput | DeleteBucketTaggingCommandOutput | DeleteBucketWebsiteCommandOutput | DeleteObjectCommandOutput | DeleteObjectTaggingCommandOutput | DeleteObjectsCommandOutput | DeletePublicAccessBlockCommandOutput | GetBucketAccelerateConfigurationCommandOutput | GetBucketAclCommandOutput | GetBucketAnalyticsConfigurationCommandOutput | GetBucketCorsCommandOutput | GetBucketEncryptionCommandOutput | GetBucketIntelligentTieringConfigurationCommandOutput | GetBucketInventoryConfigurationCommandOutput | GetBucketLifecycleConfigurationCommandOutput | GetBucketLocationCommandOutput | GetBucketLoggingCommandOutput | GetBucketMetricsConfigurationCommandOutput | GetBucketNotificationConfigurationCommandOutput | GetBucketOwnershipControlsCommandOutput | GetBucketPolicyCommandOutput | GetBucketPolicyStatusCommandOutput | GetBucketReplicationCommandOutput | GetBucketRequestPaymentCommandOutput | GetBucketTaggingCommandOutput | GetBucketVersioningCommandOutput | GetBucketWebsiteCommandOutput | GetObjectAclCommandOutput | GetObjectAttributesCommandOutput | GetObjectCommandOutput | GetObjectLegalHoldCommandOutput | GetObjectLockConfigurationCommandOutput | GetObjectRetentionCommandOutput | GetObjectTaggingCommandOutput | GetObjectTorrentCommandOutput | GetPublicAccessBlockCommandOutput | HeadBucketCommandOutput | HeadObjectCommandOutput | ListBucketAnalyticsConfigurationsCommandOutput | ListBucketIntelligentTieringConfigurationsCommandOutput | ListBucketInventoryConfigurationsCommandOutput | ListBucketMetricsConfigurationsCommandOutput | ListBucketsCommandOutput | ListMultipartUploadsCommandOutput | ListObjectVersionsCommandOutput | ListObjectsCommandOutput | ListObjectsV2CommandOutput | ListPartsCommandOutput | PutBucketAccelerateConfigurationCommandOutput | PutBucketAclCommandOutput | PutBucketAnalyticsConfigurationCommandOutput | PutBucketCorsCommandOutput | PutBucketEncryptionCommandOutput | PutBucketIntelligentTieringConfigurationCommandOutput | PutBucketInventoryConfigurationCommandOutput | PutBucketLifecycleConfigurationCommandOutput | PutBucketLoggingCommandOutput | PutBucketMetricsConfigurationCommandOutput | PutBucketNotificationConfigurationCommandOutput | PutBucketOwnershipControlsCommandOutput | PutBucketPolicyCommandOutput | PutBucketReplicationCommandOutput | PutBucketRequestPaymentCommandOutput | PutBucketTaggingCommandOutput | PutBucketVersioningCommandOutput | PutBucketWebsiteCommandOutput | PutObjectAclCommandOutput | PutObjectCommandOutput | PutObjectLegalHoldCommandOutput | PutObjectLockConfigurationCommandOutput | PutObjectRetentionCommandOutput | PutObjectTaggingCommandOutput | PutPublicAccessBlockCommandOutput | RestoreObjectCommandOutput | SelectObjectContentCommandOutput | UploadPartCommandOutput | UploadPartCopyCommandOutput | WriteGetObjectResponseCommandOutput;
|
|
110
110
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
111
111
|
/**
|
|
112
112
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -247,13 +247,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
247
247
|
*/
|
|
248
248
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & S3InputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
|
|
251
251
|
/**
|
|
252
252
|
* The configuration interface of S3Client class constructor that set the region, credentials and other options.
|
|
253
253
|
*/
|
|
254
254
|
export interface S3ClientConfig extends S3ClientConfigType {
|
|
255
255
|
}
|
|
256
|
-
|
|
256
|
+
type S3ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & S3ResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
|
|
257
257
|
/**
|
|
258
258
|
* The resolved configuration interface of S3Client class. This is resolved and normalized from the {@link S3ClientConfig | constructor configuration interface}.
|
|
259
259
|
*/
|
|
@@ -7,7 +7,7 @@ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from ".
|
|
|
7
7
|
/**
|
|
8
8
|
* The input for {@link PutObjectCommand}.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
type PutObjectCommandInputType = Omit<PutObjectRequest, "Body"> & {
|
|
11
11
|
/**
|
|
12
12
|
* For *`PutObjectRequest["Body"]`*, see {@link PutObjectRequest.Body}.
|
|
13
13
|
*/
|
|
@@ -7,7 +7,7 @@ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from ".
|
|
|
7
7
|
/**
|
|
8
8
|
* The input for {@link UploadPartCommand}.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
type UploadPartCommandInputType = Omit<UploadPartRequest, "Body"> & {
|
|
11
11
|
/**
|
|
12
12
|
* For *`UploadPartRequest["Body"]`*, see {@link UploadPartRequest.Body}.
|
|
13
13
|
*/
|
|
@@ -7,7 +7,7 @@ import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from ".
|
|
|
7
7
|
/**
|
|
8
8
|
* The input for {@link WriteGetObjectResponseCommand}.
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
type WriteGetObjectResponseCommandInputType = Omit<WriteGetObjectResponseRequest, "Body"> & {
|
|
11
11
|
/**
|
|
12
12
|
* For *`WriteGetObjectResponseRequest["Body"]`*, see {@link WriteGetObjectResponseRequest.Body}.
|
|
13
13
|
*/
|
|
@@ -10,7 +10,7 @@ export interface ClientInputEndpointParameters {
|
|
|
10
10
|
disableMultiregionAccessPoints?: boolean | Provider<boolean>;
|
|
11
11
|
useArnRegion?: boolean | Provider<boolean>;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
14
14
|
defaultSigningName: string;
|
|
15
15
|
};
|
|
16
16
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
@@ -3541,7 +3541,7 @@ export interface AnalyticsAndOperator {
|
|
|
3541
3541
|
* one prefix, one tag, or one conjunction (AnalyticsAndOperator). If no filter is provided,
|
|
3542
3542
|
* all objects will be considered in any analysis.</p>
|
|
3543
3543
|
*/
|
|
3544
|
-
export
|
|
3544
|
+
export type AnalyticsFilter = AnalyticsFilter.AndMember | AnalyticsFilter.PrefixMember | AnalyticsFilter.TagMember | AnalyticsFilter.$UnknownMember;
|
|
3545
3545
|
export declare namespace AnalyticsFilter {
|
|
3546
3546
|
/**
|
|
3547
3547
|
* <p>The prefix to use when evaluating an analytics filter.</p>
|
|
@@ -4180,7 +4180,7 @@ export interface LifecycleRuleAndOperator {
|
|
|
4180
4180
|
* <code>Filter</code> must have exactly one of <code>Prefix</code>, <code>Tag</code>, or
|
|
4181
4181
|
* <code>And</code> specified.</p>
|
|
4182
4182
|
*/
|
|
4183
|
-
export
|
|
4183
|
+
export type LifecycleRuleFilter = LifecycleRuleFilter.AndMember | LifecycleRuleFilter.ObjectSizeGreaterThanMember | LifecycleRuleFilter.ObjectSizeLessThanMember | LifecycleRuleFilter.PrefixMember | LifecycleRuleFilter.TagMember | LifecycleRuleFilter.$UnknownMember;
|
|
4184
4184
|
export declare namespace LifecycleRuleFilter {
|
|
4185
4185
|
/**
|
|
4186
4186
|
* <p>Prefix identifying one or more objects to which the rule applies.</p>
|
|
@@ -4542,7 +4542,7 @@ export interface MetricsAndOperator {
|
|
|
4542
4542
|
* objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction
|
|
4543
4543
|
* (MetricsAndOperator). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html">PutBucketMetricsConfiguration</a>.</p>
|
|
4544
4544
|
*/
|
|
4545
|
-
export
|
|
4545
|
+
export type MetricsFilter = MetricsFilter.AccessPointArnMember | MetricsFilter.AndMember | MetricsFilter.PrefixMember | MetricsFilter.TagMember | MetricsFilter.$UnknownMember;
|
|
4546
4546
|
export declare namespace MetricsFilter {
|
|
4547
4547
|
/**
|
|
4548
4548
|
* <p>The prefix used when evaluating a metrics filter.</p>
|
|
@@ -4660,7 +4660,7 @@ export interface GetBucketNotificationConfigurationRequest {
|
|
|
4660
4660
|
*/
|
|
4661
4661
|
export interface EventBridgeConfiguration {
|
|
4662
4662
|
}
|
|
4663
|
-
export
|
|
4663
|
+
export type Event = "s3:IntelligentTiering" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:LifecycleTransition" | "s3:ObjectAcl:Put" | "s3:ObjectCreated:*" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Put" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Completed" | "s3:ObjectRestore:Delete" | "s3:ObjectRestore:Post" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Delete" | "s3:ObjectTagging:Put" | "s3:ReducedRedundancyLostObject" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationReplicatedAfterThreshold";
|
|
4664
4664
|
export declare enum FilterRuleName {
|
|
4665
4665
|
prefix = "prefix",
|
|
4666
4666
|
suffix = "suffix"
|
|
@@ -5089,7 +5089,7 @@ export interface ReplicationRuleAndOperator {
|
|
|
5089
5089
|
* <code>Filter</code> must specify exactly one <code>Prefix</code>, <code>Tag</code>, or
|
|
5090
5090
|
* an <code>And</code> child element.</p>
|
|
5091
5091
|
*/
|
|
5092
|
-
export
|
|
5092
|
+
export type ReplicationRuleFilter = ReplicationRuleFilter.AndMember | ReplicationRuleFilter.PrefixMember | ReplicationRuleFilter.TagMember | ReplicationRuleFilter.$UnknownMember;
|
|
5093
5093
|
export declare namespace ReplicationRuleFilter {
|
|
5094
5094
|
/**
|
|
5095
5095
|
* <p>An object key name prefix that identifies the subset of objects to which the rule
|
|
@@ -640,7 +640,7 @@ export interface StatsEvent {
|
|
|
640
640
|
/**
|
|
641
641
|
* <p>The container for selecting objects from a content event stream.</p>
|
|
642
642
|
*/
|
|
643
|
-
export
|
|
643
|
+
export type SelectObjectContentEventStream = SelectObjectContentEventStream.ContMember | SelectObjectContentEventStream.EndMember | SelectObjectContentEventStream.ProgressMember | SelectObjectContentEventStream.RecordsMember | SelectObjectContentEventStream.StatsMember | SelectObjectContentEventStream.$UnknownMember;
|
|
644
644
|
export declare namespace SelectObjectContentEventStream {
|
|
645
645
|
/**
|
|
646
646
|
* <p>The Records Event.</p>
|
|
@@ -431,7 +431,7 @@ import {
|
|
|
431
431
|
ClientResolvedEndpointParameters,
|
|
432
432
|
EndpointParameters,
|
|
433
433
|
} from "./endpoint/EndpointParameters";
|
|
434
|
-
export
|
|
434
|
+
export type ServiceInputTypes =
|
|
435
435
|
| AbortMultipartUploadCommandInput
|
|
436
436
|
| CompleteMultipartUploadCommandInput
|
|
437
437
|
| CopyObjectCommandInput
|
|
@@ -525,7 +525,7 @@ export declare type ServiceInputTypes =
|
|
|
525
525
|
| UploadPartCommandInput
|
|
526
526
|
| UploadPartCopyCommandInput
|
|
527
527
|
| WriteGetObjectResponseCommandInput;
|
|
528
|
-
export
|
|
528
|
+
export type ServiceOutputTypes =
|
|
529
529
|
| AbortMultipartUploadCommandOutput
|
|
530
530
|
| CompleteMultipartUploadCommandOutput
|
|
531
531
|
| CopyObjectCommandOutput
|
|
@@ -651,9 +651,7 @@ export interface ClientDefaults
|
|
|
651
651
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
652
652
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
653
653
|
}
|
|
654
|
-
|
|
655
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
656
|
-
> &
|
|
654
|
+
type S3ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
657
655
|
ClientDefaults &
|
|
658
656
|
RegionInputConfig &
|
|
659
657
|
EndpointInputConfig<EndpointParameters> &
|
|
@@ -665,7 +663,7 @@ declare type S3ClientConfigType = Partial<
|
|
|
665
663
|
EventStreamSerdeInputConfig &
|
|
666
664
|
ClientInputEndpointParameters;
|
|
667
665
|
export interface S3ClientConfig extends S3ClientConfigType {}
|
|
668
|
-
|
|
666
|
+
type S3ClientResolvedConfigType =
|
|
669
667
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
670
668
|
Required<ClientDefaults> &
|
|
671
669
|
RegionResolvedConfig &
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
ServiceInputTypes,
|
|
13
13
|
ServiceOutputTypes,
|
|
14
14
|
} from "../S3Client";
|
|
15
|
-
|
|
15
|
+
type WriteGetObjectResponseCommandInputType = Pick<
|
|
16
16
|
WriteGetObjectResponseRequest,
|
|
17
17
|
Exclude<keyof WriteGetObjectResponseRequest, "Body">
|
|
18
18
|
> & {
|