This commit is contained in:
2025-01-04 00:34:03 +01:00
parent 41829408dc
commit 0ca14bbc19
18111 changed files with 1871397 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_AbortMultipartUploadCommand, se_AbortMultipartUploadCommand } from "../protocols/Aws_restXml";
export { $Command };
export class AbortMultipartUploadCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "AbortMultipartUpload", {})
.n("S3Client", "AbortMultipartUploadCommand")
.f(void 0, void 0)
.ser(se_AbortMultipartUploadCommand)
.de(de_AbortMultipartUploadCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { CompleteMultipartUploadOutputFilterSensitiveLog, CompleteMultipartUploadRequestFilterSensitiveLog, } from "../models/models_0";
import { de_CompleteMultipartUploadCommand, se_CompleteMultipartUploadCommand } from "../protocols/Aws_restXml";
export { $Command };
export class CompleteMultipartUploadCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getThrow200ExceptionsPlugin(config),
getSsecPlugin(config),
];
})
.s("AmazonS3", "CompleteMultipartUpload", {})
.n("S3Client", "CompleteMultipartUploadCommand")
.f(CompleteMultipartUploadRequestFilterSensitiveLog, CompleteMultipartUploadOutputFilterSensitiveLog)
.ser(se_CompleteMultipartUploadCommand)
.de(de_CompleteMultipartUploadCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { CopyObjectOutputFilterSensitiveLog, CopyObjectRequestFilterSensitiveLog, } from "../models/models_0";
import { de_CopyObjectCommand, se_CopyObjectCommand } from "../protocols/Aws_restXml";
export { $Command };
export class CopyObjectCommand extends $Command
.classBuilder()
.ep({
...commonParams,
DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getThrow200ExceptionsPlugin(config),
getSsecPlugin(config),
];
})
.s("AmazonS3", "CopyObject", {})
.n("S3Client", "CopyObjectCommand")
.f(CopyObjectRequestFilterSensitiveLog, CopyObjectOutputFilterSensitiveLog)
.ser(se_CopyObjectCommand)
.de(de_CopyObjectCommand)
.build() {
}

View File

@@ -0,0 +1,29 @@
import { getLocationConstraintPlugin } from "@aws-sdk/middleware-location-constraint";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_CreateBucketCommand, se_CreateBucketCommand } from "../protocols/Aws_restXml";
export { $Command };
export class CreateBucketCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
DisableAccessPoints: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getLocationConstraintPlugin(config),
];
})
.s("AmazonS3", "CreateBucket", {})
.n("S3Client", "CreateBucketCommand")
.f(void 0, void 0)
.ser(se_CreateBucketCommand)
.de(de_CreateBucketCommand)
.build() {
}

View File

@@ -0,0 +1,29 @@
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { CreateMultipartUploadOutputFilterSensitiveLog, CreateMultipartUploadRequestFilterSensitiveLog, } from "../models/models_0";
import { de_CreateMultipartUploadCommand, se_CreateMultipartUploadCommand } from "../protocols/Aws_restXml";
export { $Command };
export class CreateMultipartUploadCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getSsecPlugin(config),
];
})
.s("AmazonS3", "CreateMultipartUpload", {})
.n("S3Client", "CreateMultipartUploadCommand")
.f(CreateMultipartUploadRequestFilterSensitiveLog, CreateMultipartUploadOutputFilterSensitiveLog)
.ser(se_CreateMultipartUploadCommand)
.de(de_CreateMultipartUploadCommand)
.build() {
}

View File

@@ -0,0 +1,27 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { CreateSessionOutputFilterSensitiveLog } from "../models/models_0";
import { de_CreateSessionCommand, se_CreateSessionCommand } from "../protocols/Aws_restXml";
export { $Command };
export class CreateSessionCommand extends $Command
.classBuilder()
.ep({
...commonParams,
DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "CreateSession", {})
.n("S3Client", "CreateSessionCommand")
.f(void 0, CreateSessionOutputFilterSensitiveLog)
.ser(se_CreateSessionCommand)
.de(de_CreateSessionCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketAnalyticsConfigurationCommand, se_DeleteBucketAnalyticsConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketAnalyticsConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketAnalyticsConfiguration", {})
.n("S3Client", "DeleteBucketAnalyticsConfigurationCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketAnalyticsConfigurationCommand)
.de(de_DeleteBucketAnalyticsConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketCommand, se_DeleteBucketCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucket", {})
.n("S3Client", "DeleteBucketCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketCommand)
.de(de_DeleteBucketCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketCorsCommand, se_DeleteBucketCorsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketCorsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketCors", {})
.n("S3Client", "DeleteBucketCorsCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketCorsCommand)
.de(de_DeleteBucketCorsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketEncryptionCommand, se_DeleteBucketEncryptionCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketEncryptionCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketEncryption", {})
.n("S3Client", "DeleteBucketEncryptionCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketEncryptionCommand)
.de(de_DeleteBucketEncryptionCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketIntelligentTieringConfigurationCommand, se_DeleteBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketIntelligentTieringConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketIntelligentTieringConfiguration", {})
.n("S3Client", "DeleteBucketIntelligentTieringConfigurationCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketIntelligentTieringConfigurationCommand)
.de(de_DeleteBucketIntelligentTieringConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketInventoryConfigurationCommand, se_DeleteBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketInventoryConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketInventoryConfiguration", {})
.n("S3Client", "DeleteBucketInventoryConfigurationCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketInventoryConfigurationCommand)
.de(de_DeleteBucketInventoryConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketLifecycleCommand, se_DeleteBucketLifecycleCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketLifecycleCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketLifecycle", {})
.n("S3Client", "DeleteBucketLifecycleCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketLifecycleCommand)
.de(de_DeleteBucketLifecycleCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketMetricsConfigurationCommand, se_DeleteBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketMetricsConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketMetricsConfiguration", {})
.n("S3Client", "DeleteBucketMetricsConfigurationCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketMetricsConfigurationCommand)
.de(de_DeleteBucketMetricsConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketOwnershipControlsCommand, se_DeleteBucketOwnershipControlsCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketOwnershipControlsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketOwnershipControls", {})
.n("S3Client", "DeleteBucketOwnershipControlsCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketOwnershipControlsCommand)
.de(de_DeleteBucketOwnershipControlsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketPolicyCommand, se_DeleteBucketPolicyCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketPolicyCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketPolicy", {})
.n("S3Client", "DeleteBucketPolicyCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketPolicyCommand)
.de(de_DeleteBucketPolicyCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketReplicationCommand, se_DeleteBucketReplicationCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketReplicationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketReplication", {})
.n("S3Client", "DeleteBucketReplicationCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketReplicationCommand)
.de(de_DeleteBucketReplicationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketTaggingCommand, se_DeleteBucketTaggingCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketTaggingCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketTagging", {})
.n("S3Client", "DeleteBucketTaggingCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketTaggingCommand)
.de(de_DeleteBucketTaggingCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteBucketWebsiteCommand, se_DeleteBucketWebsiteCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteBucketWebsiteCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteBucketWebsite", {})
.n("S3Client", "DeleteBucketWebsiteCommand")
.f(void 0, void 0)
.ser(se_DeleteBucketWebsiteCommand)
.de(de_DeleteBucketWebsiteCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteObjectCommand, se_DeleteObjectCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteObjectCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteObject", {})
.n("S3Client", "DeleteObjectCommand")
.f(void 0, void 0)
.ser(se_DeleteObjectCommand)
.de(de_DeleteObjectCommand)
.build() {
}

View File

@@ -0,0 +1,25 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteObjectTaggingCommand, se_DeleteObjectTaggingCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteObjectTaggingCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeleteObjectTagging", {})
.n("S3Client", "DeleteObjectTaggingCommand")
.f(void 0, void 0)
.ser(se_DeleteObjectTaggingCommand)
.de(de_DeleteObjectTaggingCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeleteObjectsCommand, se_DeleteObjectsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeleteObjectsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "DeleteObjects", {})
.n("S3Client", "DeleteObjectsCommand")
.f(void 0, void 0)
.ser(se_DeleteObjectsCommand)
.de(de_DeleteObjectsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_DeletePublicAccessBlockCommand, se_DeletePublicAccessBlockCommand } from "../protocols/Aws_restXml";
export { $Command };
export class DeletePublicAccessBlockCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "DeletePublicAccessBlock", {})
.n("S3Client", "DeletePublicAccessBlockCommand")
.f(void 0, void 0)
.ser(se_DeletePublicAccessBlockCommand)
.de(de_DeletePublicAccessBlockCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketAccelerateConfigurationCommand, se_GetBucketAccelerateConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketAccelerateConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketAccelerateConfiguration", {})
.n("S3Client", "GetBucketAccelerateConfigurationCommand")
.f(void 0, void 0)
.ser(se_GetBucketAccelerateConfigurationCommand)
.de(de_GetBucketAccelerateConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketAclCommand, se_GetBucketAclCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketAclCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketAcl", {})
.n("S3Client", "GetBucketAclCommand")
.f(void 0, void 0)
.ser(se_GetBucketAclCommand)
.de(de_GetBucketAclCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketAnalyticsConfigurationCommand, se_GetBucketAnalyticsConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketAnalyticsConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketAnalyticsConfiguration", {})
.n("S3Client", "GetBucketAnalyticsConfigurationCommand")
.f(void 0, void 0)
.ser(se_GetBucketAnalyticsConfigurationCommand)
.de(de_GetBucketAnalyticsConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketCorsCommand, se_GetBucketCorsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketCorsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketCors", {})
.n("S3Client", "GetBucketCorsCommand")
.f(void 0, void 0)
.ser(se_GetBucketCorsCommand)
.de(de_GetBucketCorsCommand)
.build() {
}

View File

@@ -0,0 +1,27 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetBucketEncryptionOutputFilterSensitiveLog, } from "../models/models_0";
import { de_GetBucketEncryptionCommand, se_GetBucketEncryptionCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketEncryptionCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketEncryption", {})
.n("S3Client", "GetBucketEncryptionCommand")
.f(void 0, GetBucketEncryptionOutputFilterSensitiveLog)
.ser(se_GetBucketEncryptionCommand)
.de(de_GetBucketEncryptionCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketIntelligentTieringConfigurationCommand, se_GetBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketIntelligentTieringConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {})
.n("S3Client", "GetBucketIntelligentTieringConfigurationCommand")
.f(void 0, void 0)
.ser(se_GetBucketIntelligentTieringConfigurationCommand)
.de(de_GetBucketIntelligentTieringConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,27 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetBucketInventoryConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
import { de_GetBucketInventoryConfigurationCommand, se_GetBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketInventoryConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketInventoryConfiguration", {})
.n("S3Client", "GetBucketInventoryConfigurationCommand")
.f(void 0, GetBucketInventoryConfigurationOutputFilterSensitiveLog)
.ser(se_GetBucketInventoryConfigurationCommand)
.de(de_GetBucketInventoryConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketLifecycleConfigurationCommand, se_GetBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketLifecycleConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketLifecycleConfiguration", {})
.n("S3Client", "GetBucketLifecycleConfigurationCommand")
.f(void 0, void 0)
.ser(se_GetBucketLifecycleConfigurationCommand)
.de(de_GetBucketLifecycleConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketLocationCommand, se_GetBucketLocationCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketLocationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketLocation", {})
.n("S3Client", "GetBucketLocationCommand")
.f(void 0, void 0)
.ser(se_GetBucketLocationCommand)
.de(de_GetBucketLocationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketLoggingCommand, se_GetBucketLoggingCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketLoggingCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketLogging", {})
.n("S3Client", "GetBucketLoggingCommand")
.f(void 0, void 0)
.ser(se_GetBucketLoggingCommand)
.de(de_GetBucketLoggingCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketMetricsConfigurationCommand, se_GetBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketMetricsConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketMetricsConfiguration", {})
.n("S3Client", "GetBucketMetricsConfigurationCommand")
.f(void 0, void 0)
.ser(se_GetBucketMetricsConfigurationCommand)
.de(de_GetBucketMetricsConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketNotificationConfigurationCommand, se_GetBucketNotificationConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketNotificationConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketNotificationConfiguration", {})
.n("S3Client", "GetBucketNotificationConfigurationCommand")
.f(void 0, void 0)
.ser(se_GetBucketNotificationConfigurationCommand)
.de(de_GetBucketNotificationConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketOwnershipControlsCommand, se_GetBucketOwnershipControlsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketOwnershipControlsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketOwnershipControls", {})
.n("S3Client", "GetBucketOwnershipControlsCommand")
.f(void 0, void 0)
.ser(se_GetBucketOwnershipControlsCommand)
.de(de_GetBucketOwnershipControlsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketPolicyCommand, se_GetBucketPolicyCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketPolicyCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketPolicy", {})
.n("S3Client", "GetBucketPolicyCommand")
.f(void 0, void 0)
.ser(se_GetBucketPolicyCommand)
.de(de_GetBucketPolicyCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketPolicyStatusCommand, se_GetBucketPolicyStatusCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketPolicyStatusCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketPolicyStatus", {})
.n("S3Client", "GetBucketPolicyStatusCommand")
.f(void 0, void 0)
.ser(se_GetBucketPolicyStatusCommand)
.de(de_GetBucketPolicyStatusCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketReplicationCommand, se_GetBucketReplicationCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketReplicationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketReplication", {})
.n("S3Client", "GetBucketReplicationCommand")
.f(void 0, void 0)
.ser(se_GetBucketReplicationCommand)
.de(de_GetBucketReplicationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketRequestPaymentCommand, se_GetBucketRequestPaymentCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketRequestPaymentCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketRequestPayment", {})
.n("S3Client", "GetBucketRequestPaymentCommand")
.f(void 0, void 0)
.ser(se_GetBucketRequestPaymentCommand)
.de(de_GetBucketRequestPaymentCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketTaggingCommand, se_GetBucketTaggingCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketTaggingCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketTagging", {})
.n("S3Client", "GetBucketTaggingCommand")
.f(void 0, void 0)
.ser(se_GetBucketTaggingCommand)
.de(de_GetBucketTaggingCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketVersioningCommand, se_GetBucketVersioningCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketVersioningCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketVersioning", {})
.n("S3Client", "GetBucketVersioningCommand")
.f(void 0, void 0)
.ser(se_GetBucketVersioningCommand)
.de(de_GetBucketVersioningCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetBucketWebsiteCommand, se_GetBucketWebsiteCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetBucketWebsiteCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetBucketWebsite", {})
.n("S3Client", "GetBucketWebsiteCommand")
.f(void 0, void 0)
.ser(se_GetBucketWebsiteCommand)
.de(de_GetBucketWebsiteCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetObjectAclCommand, se_GetObjectAclCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetObjectAclCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetObjectAcl", {})
.n("S3Client", "GetObjectAclCommand")
.f(void 0, void 0)
.ser(se_GetObjectAclCommand)
.de(de_GetObjectAclCommand)
.build() {
}

View File

@@ -0,0 +1,28 @@
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetObjectAttributesRequestFilterSensitiveLog, } from "../models/models_0";
import { de_GetObjectAttributesCommand, se_GetObjectAttributesCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetObjectAttributesCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getSsecPlugin(config),
];
})
.s("AmazonS3", "GetObjectAttributes", {})
.n("S3Client", "GetObjectAttributesCommand")
.f(GetObjectAttributesRequestFilterSensitiveLog, void 0)
.ser(se_GetObjectAttributesCommand)
.de(de_GetObjectAttributesCommand)
.build() {
}

View File

@@ -0,0 +1,38 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3";
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetObjectOutputFilterSensitiveLog, GetObjectRequestFilterSensitiveLog, } from "../models/models_0";
import { de_GetObjectCommand, se_GetObjectCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetObjectCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getSsecPlugin(config),
getS3ExpiresMiddlewarePlugin(config),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestChecksumRequired: false,
requestValidationModeMember: "ChecksumMode",
responseAlgorithms: ["CRC32", "CRC32C", "SHA256", "SHA1"],
}),
];
})
.s("AmazonS3", "GetObject", {})
.n("S3Client", "GetObjectCommand")
.f(GetObjectRequestFilterSensitiveLog, GetObjectOutputFilterSensitiveLog)
.ser(se_GetObjectCommand)
.de(de_GetObjectCommand)
.build() {
}

View File

@@ -0,0 +1,25 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetObjectLegalHoldCommand, se_GetObjectLegalHoldCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetObjectLegalHoldCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetObjectLegalHold", {})
.n("S3Client", "GetObjectLegalHoldCommand")
.f(void 0, void 0)
.ser(se_GetObjectLegalHoldCommand)
.de(de_GetObjectLegalHoldCommand)
.build() {
}

View File

@@ -0,0 +1,25 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetObjectLockConfigurationCommand, se_GetObjectLockConfigurationCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetObjectLockConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetObjectLockConfiguration", {})
.n("S3Client", "GetObjectLockConfigurationCommand")
.f(void 0, void 0)
.ser(se_GetObjectLockConfigurationCommand)
.de(de_GetObjectLockConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,25 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetObjectRetentionCommand, se_GetObjectRetentionCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetObjectRetentionCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetObjectRetention", {})
.n("S3Client", "GetObjectRetentionCommand")
.f(void 0, void 0)
.ser(se_GetObjectRetentionCommand)
.de(de_GetObjectRetentionCommand)
.build() {
}

View File

@@ -0,0 +1,25 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetObjectTaggingCommand, se_GetObjectTaggingCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetObjectTaggingCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetObjectTagging", {})
.n("S3Client", "GetObjectTaggingCommand")
.f(void 0, void 0)
.ser(se_GetObjectTaggingCommand)
.de(de_GetObjectTaggingCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { GetObjectTorrentOutputFilterSensitiveLog, } from "../models/models_0";
import { de_GetObjectTorrentCommand, se_GetObjectTorrentCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetObjectTorrentCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetObjectTorrent", {})
.n("S3Client", "GetObjectTorrentCommand")
.f(void 0, GetObjectTorrentOutputFilterSensitiveLog)
.ser(se_GetObjectTorrentCommand)
.de(de_GetObjectTorrentCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_GetPublicAccessBlockCommand, se_GetPublicAccessBlockCommand } from "../protocols/Aws_restXml";
export { $Command };
export class GetPublicAccessBlockCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "GetPublicAccessBlock", {})
.n("S3Client", "GetPublicAccessBlockCommand")
.f(void 0, void 0)
.ser(se_GetPublicAccessBlockCommand)
.de(de_GetPublicAccessBlockCommand)
.build() {
}

View File

@@ -0,0 +1,25 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_HeadBucketCommand, se_HeadBucketCommand } from "../protocols/Aws_restXml";
export { $Command };
export class HeadBucketCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "HeadBucket", {})
.n("S3Client", "HeadBucketCommand")
.f(void 0, void 0)
.ser(se_HeadBucketCommand)
.de(de_HeadBucketCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3";
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { HeadObjectOutputFilterSensitiveLog, HeadObjectRequestFilterSensitiveLog, } from "../models/models_0";
import { de_HeadObjectCommand, se_HeadObjectCommand } from "../protocols/Aws_restXml";
export { $Command };
export class HeadObjectCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getSsecPlugin(config),
getS3ExpiresMiddlewarePlugin(config),
];
})
.s("AmazonS3", "HeadObject", {})
.n("S3Client", "HeadObjectCommand")
.f(HeadObjectRequestFilterSensitiveLog, HeadObjectOutputFilterSensitiveLog)
.ser(se_HeadObjectCommand)
.de(de_HeadObjectCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListBucketAnalyticsConfigurationsCommand, se_ListBucketAnalyticsConfigurationsCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class ListBucketAnalyticsConfigurationsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListBucketAnalyticsConfigurations", {})
.n("S3Client", "ListBucketAnalyticsConfigurationsCommand")
.f(void 0, void 0)
.ser(se_ListBucketAnalyticsConfigurationsCommand)
.de(de_ListBucketAnalyticsConfigurationsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListBucketIntelligentTieringConfigurationsCommand, se_ListBucketIntelligentTieringConfigurationsCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class ListBucketIntelligentTieringConfigurationsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {})
.n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand")
.f(void 0, void 0)
.ser(se_ListBucketIntelligentTieringConfigurationsCommand)
.de(de_ListBucketIntelligentTieringConfigurationsCommand)
.build() {
}

View File

@@ -0,0 +1,27 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { ListBucketInventoryConfigurationsOutputFilterSensitiveLog, } from "../models/models_0";
import { de_ListBucketInventoryConfigurationsCommand, se_ListBucketInventoryConfigurationsCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class ListBucketInventoryConfigurationsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListBucketInventoryConfigurations", {})
.n("S3Client", "ListBucketInventoryConfigurationsCommand")
.f(void 0, ListBucketInventoryConfigurationsOutputFilterSensitiveLog)
.ser(se_ListBucketInventoryConfigurationsCommand)
.de(de_ListBucketInventoryConfigurationsCommand)
.build() {
}

View File

@@ -0,0 +1,25 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListBucketMetricsConfigurationsCommand, se_ListBucketMetricsConfigurationsCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class ListBucketMetricsConfigurationsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListBucketMetricsConfigurations", {})
.n("S3Client", "ListBucketMetricsConfigurationsCommand")
.f(void 0, void 0)
.ser(se_ListBucketMetricsConfigurationsCommand)
.de(de_ListBucketMetricsConfigurationsCommand)
.build() {
}

View File

@@ -0,0 +1,24 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListBucketsCommand, se_ListBucketsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class ListBucketsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListBuckets", {})
.n("S3Client", "ListBucketsCommand")
.f(void 0, void 0)
.ser(se_ListBucketsCommand)
.de(de_ListBucketsCommand)
.build() {
}

View File

@@ -0,0 +1,25 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListDirectoryBucketsCommand, se_ListDirectoryBucketsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class ListDirectoryBucketsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListDirectoryBuckets", {})
.n("S3Client", "ListDirectoryBucketsCommand")
.f(void 0, void 0)
.ser(se_ListDirectoryBucketsCommand)
.de(de_ListDirectoryBucketsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListMultipartUploadsCommand, se_ListMultipartUploadsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class ListMultipartUploadsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Prefix: { type: "contextParams", name: "Prefix" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListMultipartUploads", {})
.n("S3Client", "ListMultipartUploadsCommand")
.f(void 0, void 0)
.ser(se_ListMultipartUploadsCommand)
.de(de_ListMultipartUploadsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListObjectVersionsCommand, se_ListObjectVersionsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class ListObjectVersionsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Prefix: { type: "contextParams", name: "Prefix" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListObjectVersions", {})
.n("S3Client", "ListObjectVersionsCommand")
.f(void 0, void 0)
.ser(se_ListObjectVersionsCommand)
.de(de_ListObjectVersionsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListObjectsCommand, se_ListObjectsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class ListObjectsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Prefix: { type: "contextParams", name: "Prefix" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListObjects", {})
.n("S3Client", "ListObjectsCommand")
.f(void 0, void 0)
.ser(se_ListObjectsCommand)
.de(de_ListObjectsCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_ListObjectsV2Command, se_ListObjectsV2Command } from "../protocols/Aws_restXml";
export { $Command };
export class ListObjectsV2Command extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Prefix: { type: "contextParams", name: "Prefix" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "ListObjectsV2", {})
.n("S3Client", "ListObjectsV2Command")
.f(void 0, void 0)
.ser(se_ListObjectsV2Command)
.de(de_ListObjectsV2Command)
.build() {
}

View File

@@ -0,0 +1,29 @@
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { ListPartsRequestFilterSensitiveLog } from "../models/models_0";
import { de_ListPartsCommand, se_ListPartsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class ListPartsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getSsecPlugin(config),
];
})
.s("AmazonS3", "ListParts", {})
.n("S3Client", "ListPartsCommand")
.f(ListPartsRequestFilterSensitiveLog, void 0)
.ser(se_ListPartsCommand)
.de(de_ListPartsCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketAccelerateConfigurationCommand, se_PutBucketAccelerateConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketAccelerateConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: false,
}),
];
})
.s("AmazonS3", "PutBucketAccelerateConfiguration", {})
.n("S3Client", "PutBucketAccelerateConfigurationCommand")
.f(void 0, void 0)
.ser(se_PutBucketAccelerateConfigurationCommand)
.de(de_PutBucketAccelerateConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketAclCommand, se_PutBucketAclCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketAclCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketAcl", {})
.n("S3Client", "PutBucketAclCommand")
.f(void 0, void 0)
.ser(se_PutBucketAclCommand)
.de(de_PutBucketAclCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketAnalyticsConfigurationCommand, se_PutBucketAnalyticsConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketAnalyticsConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "PutBucketAnalyticsConfiguration", {})
.n("S3Client", "PutBucketAnalyticsConfigurationCommand")
.f(void 0, void 0)
.ser(se_PutBucketAnalyticsConfigurationCommand)
.de(de_PutBucketAnalyticsConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketCorsCommand, se_PutBucketCorsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketCorsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketCors", {})
.n("S3Client", "PutBucketCorsCommand")
.f(void 0, void 0)
.ser(se_PutBucketCorsCommand)
.de(de_PutBucketCorsCommand)
.build() {
}

View File

@@ -0,0 +1,33 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { PutBucketEncryptionRequestFilterSensitiveLog } from "../models/models_0";
import { de_PutBucketEncryptionCommand, se_PutBucketEncryptionCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketEncryptionCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketEncryption", {})
.n("S3Client", "PutBucketEncryptionCommand")
.f(PutBucketEncryptionRequestFilterSensitiveLog, void 0)
.ser(se_PutBucketEncryptionCommand)
.de(de_PutBucketEncryptionCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketIntelligentTieringConfigurationCommand, se_PutBucketIntelligentTieringConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketIntelligentTieringConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "PutBucketIntelligentTieringConfiguration", {})
.n("S3Client", "PutBucketIntelligentTieringConfigurationCommand")
.f(void 0, void 0)
.ser(se_PutBucketIntelligentTieringConfigurationCommand)
.de(de_PutBucketIntelligentTieringConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,27 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { PutBucketInventoryConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
import { de_PutBucketInventoryConfigurationCommand, se_PutBucketInventoryConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketInventoryConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "PutBucketInventoryConfiguration", {})
.n("S3Client", "PutBucketInventoryConfigurationCommand")
.f(PutBucketInventoryConfigurationRequestFilterSensitiveLog, void 0)
.ser(se_PutBucketInventoryConfigurationCommand)
.de(de_PutBucketInventoryConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketLifecycleConfigurationCommand, se_PutBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketLifecycleConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketLifecycleConfiguration", {})
.n("S3Client", "PutBucketLifecycleConfigurationCommand")
.f(void 0, void 0)
.ser(se_PutBucketLifecycleConfigurationCommand)
.de(de_PutBucketLifecycleConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketLoggingCommand, se_PutBucketLoggingCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketLoggingCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketLogging", {})
.n("S3Client", "PutBucketLoggingCommand")
.f(void 0, void 0)
.ser(se_PutBucketLoggingCommand)
.de(de_PutBucketLoggingCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketMetricsConfigurationCommand, se_PutBucketMetricsConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketMetricsConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "PutBucketMetricsConfiguration", {})
.n("S3Client", "PutBucketMetricsConfigurationCommand")
.f(void 0, void 0)
.ser(se_PutBucketMetricsConfigurationCommand)
.de(de_PutBucketMetricsConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketNotificationConfigurationCommand, se_PutBucketNotificationConfigurationCommand, } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketNotificationConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "PutBucketNotificationConfiguration", {})
.n("S3Client", "PutBucketNotificationConfigurationCommand")
.f(void 0, void 0)
.ser(se_PutBucketNotificationConfigurationCommand)
.de(de_PutBucketNotificationConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,28 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketOwnershipControlsCommand, se_PutBucketOwnershipControlsCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketOwnershipControlsCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, { input: this.input, requestChecksumRequired: true }),
];
})
.s("AmazonS3", "PutBucketOwnershipControls", {})
.n("S3Client", "PutBucketOwnershipControlsCommand")
.f(void 0, void 0)
.ser(se_PutBucketOwnershipControlsCommand)
.de(de_PutBucketOwnershipControlsCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketPolicyCommand, se_PutBucketPolicyCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketPolicyCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketPolicy", {})
.n("S3Client", "PutBucketPolicyCommand")
.f(void 0, void 0)
.ser(se_PutBucketPolicyCommand)
.de(de_PutBucketPolicyCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketReplicationCommand, se_PutBucketReplicationCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketReplicationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketReplication", {})
.n("S3Client", "PutBucketReplicationCommand")
.f(void 0, void 0)
.ser(se_PutBucketReplicationCommand)
.de(de_PutBucketReplicationCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketRequestPaymentCommand, se_PutBucketRequestPaymentCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketRequestPaymentCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketRequestPayment", {})
.n("S3Client", "PutBucketRequestPaymentCommand")
.f(void 0, void 0)
.ser(se_PutBucketRequestPaymentCommand)
.de(de_PutBucketRequestPaymentCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketTaggingCommand, se_PutBucketTaggingCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketTaggingCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketTagging", {})
.n("S3Client", "PutBucketTaggingCommand")
.f(void 0, void 0)
.ser(se_PutBucketTaggingCommand)
.de(de_PutBucketTaggingCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketVersioningCommand, se_PutBucketVersioningCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketVersioningCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketVersioning", {})
.n("S3Client", "PutBucketVersioningCommand")
.f(void 0, void 0)
.ser(se_PutBucketVersioningCommand)
.de(de_PutBucketVersioningCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutBucketWebsiteCommand, se_PutBucketWebsiteCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutBucketWebsiteCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutBucketWebsite", {})
.n("S3Client", "PutBucketWebsiteCommand")
.f(void 0, void 0)
.ser(se_PutBucketWebsiteCommand)
.de(de_PutBucketWebsiteCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutObjectAclCommand, se_PutObjectAclCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutObjectAclCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutObjectAcl", {})
.n("S3Client", "PutObjectAclCommand")
.f(void 0, void 0)
.ser(se_PutObjectAclCommand)
.de(de_PutObjectAclCommand)
.build() {
}

View File

@@ -0,0 +1,37 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getCheckContentLengthHeaderPlugin } from "@aws-sdk/middleware-sdk-s3";
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { PutObjectOutputFilterSensitiveLog, PutObjectRequestFilterSensitiveLog, } from "../models/models_1";
import { de_PutObjectCommand, se_PutObjectCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutObjectCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getCheckContentLengthHeaderPlugin(config),
getSsecPlugin(config),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: false,
}),
];
})
.s("AmazonS3", "PutObject", {})
.n("S3Client", "PutObjectCommand")
.f(PutObjectRequestFilterSensitiveLog, PutObjectOutputFilterSensitiveLog)
.ser(se_PutObjectCommand)
.de(de_PutObjectCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutObjectLegalHoldCommand, se_PutObjectLegalHoldCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutObjectLegalHoldCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutObjectLegalHold", {})
.n("S3Client", "PutObjectLegalHoldCommand")
.f(void 0, void 0)
.ser(se_PutObjectLegalHoldCommand)
.de(de_PutObjectLegalHoldCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutObjectLockConfigurationCommand, se_PutObjectLockConfigurationCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutObjectLockConfigurationCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutObjectLockConfiguration", {})
.n("S3Client", "PutObjectLockConfigurationCommand")
.f(void 0, void 0)
.ser(se_PutObjectLockConfigurationCommand)
.de(de_PutObjectLockConfigurationCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutObjectRetentionCommand, se_PutObjectRetentionCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutObjectRetentionCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutObjectRetention", {})
.n("S3Client", "PutObjectRetentionCommand")
.f(void 0, void 0)
.ser(se_PutObjectRetentionCommand)
.de(de_PutObjectRetentionCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutObjectTaggingCommand, se_PutObjectTaggingCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutObjectTaggingCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutObjectTagging", {})
.n("S3Client", "PutObjectTaggingCommand")
.f(void 0, void 0)
.ser(se_PutObjectTaggingCommand)
.de(de_PutObjectTaggingCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { de_PutPublicAccessBlockCommand, se_PutPublicAccessBlockCommand } from "../protocols/Aws_restXml";
export { $Command };
export class PutPublicAccessBlockCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: true,
}),
];
})
.s("AmazonS3", "PutPublicAccessBlock", {})
.n("S3Client", "PutPublicAccessBlockCommand")
.f(void 0, void 0)
.ser(se_PutPublicAccessBlockCommand)
.de(de_PutPublicAccessBlockCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { RestoreObjectRequestFilterSensitiveLog } from "../models/models_1";
import { de_RestoreObjectCommand, se_RestoreObjectCommand } from "../protocols/Aws_restXml";
export { $Command };
export class RestoreObjectCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: false,
}),
];
})
.s("AmazonS3", "RestoreObject", {})
.n("S3Client", "RestoreObjectCommand")
.f(RestoreObjectRequestFilterSensitiveLog, void 0)
.ser(se_RestoreObjectCommand)
.de(de_RestoreObjectCommand)
.build() {
}

View File

@@ -0,0 +1,32 @@
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { SelectObjectContentOutputFilterSensitiveLog, SelectObjectContentRequestFilterSensitiveLog, } from "../models/models_1";
import { de_SelectObjectContentCommand, se_SelectObjectContentCommand } from "../protocols/Aws_restXml";
export { $Command };
export class SelectObjectContentCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getSsecPlugin(config),
];
})
.s("AmazonS3", "SelectObjectContent", {
eventStream: {
output: true,
},
})
.n("S3Client", "SelectObjectContentCommand")
.f(SelectObjectContentRequestFilterSensitiveLog, SelectObjectContentOutputFilterSensitiveLog)
.ser(se_SelectObjectContentCommand)
.de(de_SelectObjectContentCommand)
.build() {
}

View File

@@ -0,0 +1,35 @@
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { UploadPartOutputFilterSensitiveLog, UploadPartRequestFilterSensitiveLog, } from "../models/models_1";
import { de_UploadPartCommand, se_UploadPartCommand } from "../protocols/Aws_restXml";
export { $Command };
export class UploadPartCommand extends $Command
.classBuilder()
.ep({
...commonParams,
Bucket: { type: "contextParams", name: "Bucket" },
Key: { type: "contextParams", name: "Key" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getSsecPlugin(config),
getFlexibleChecksumsPlugin(config, {
input: this.input,
requestAlgorithmMember: "ChecksumAlgorithm",
requestChecksumRequired: false,
}),
];
})
.s("AmazonS3", "UploadPart", {})
.n("S3Client", "UploadPartCommand")
.f(UploadPartRequestFilterSensitiveLog, UploadPartOutputFilterSensitiveLog)
.ser(se_UploadPartCommand)
.de(de_UploadPartCommand)
.build() {
}

View File

@@ -0,0 +1,31 @@
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { UploadPartCopyOutputFilterSensitiveLog, UploadPartCopyRequestFilterSensitiveLog, } from "../models/models_1";
import { de_UploadPartCopyCommand, se_UploadPartCopyCommand } from "../protocols/Aws_restXml";
export { $Command };
export class UploadPartCopyCommand extends $Command
.classBuilder()
.ep({
...commonParams,
DisableS3ExpressSessionAuth: { type: "staticContextParams", value: true },
Bucket: { type: "contextParams", name: "Bucket" },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
getThrow200ExceptionsPlugin(config),
getSsecPlugin(config),
];
})
.s("AmazonS3", "UploadPartCopy", {})
.n("S3Client", "UploadPartCopyCommand")
.f(UploadPartCopyRequestFilterSensitiveLog, UploadPartCopyOutputFilterSensitiveLog)
.ser(se_UploadPartCopyCommand)
.de(de_UploadPartCopyCommand)
.build() {
}

View File

@@ -0,0 +1,26 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { commonParams } from "../endpoint/EndpointParameters";
import { WriteGetObjectResponseRequestFilterSensitiveLog } from "../models/models_1";
import { de_WriteGetObjectResponseCommand, se_WriteGetObjectResponseCommand } from "../protocols/Aws_restXml";
export { $Command };
export class WriteGetObjectResponseCommand extends $Command
.classBuilder()
.ep({
...commonParams,
UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
})
.m(function (Command, cs, config, o) {
return [
getSerdePlugin(config, this.serialize, this.deserialize),
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
];
})
.s("AmazonS3", "WriteGetObjectResponse", {})
.n("S3Client", "WriteGetObjectResponseCommand")
.f(WriteGetObjectResponseRequestFilterSensitiveLog, void 0)
.ser(se_WriteGetObjectResponseCommand)
.de(de_WriteGetObjectResponseCommand)
.build() {
}

View File

@@ -0,0 +1,95 @@
export * from "./AbortMultipartUploadCommand";
export * from "./CompleteMultipartUploadCommand";
export * from "./CopyObjectCommand";
export * from "./CreateBucketCommand";
export * from "./CreateMultipartUploadCommand";
export * from "./CreateSessionCommand";
export * from "./DeleteBucketAnalyticsConfigurationCommand";
export * from "./DeleteBucketCommand";
export * from "./DeleteBucketCorsCommand";
export * from "./DeleteBucketEncryptionCommand";
export * from "./DeleteBucketIntelligentTieringConfigurationCommand";
export * from "./DeleteBucketInventoryConfigurationCommand";
export * from "./DeleteBucketLifecycleCommand";
export * from "./DeleteBucketMetricsConfigurationCommand";
export * from "./DeleteBucketOwnershipControlsCommand";
export * from "./DeleteBucketPolicyCommand";
export * from "./DeleteBucketReplicationCommand";
export * from "./DeleteBucketTaggingCommand";
export * from "./DeleteBucketWebsiteCommand";
export * from "./DeleteObjectCommand";
export * from "./DeleteObjectTaggingCommand";
export * from "./DeleteObjectsCommand";
export * from "./DeletePublicAccessBlockCommand";
export * from "./GetBucketAccelerateConfigurationCommand";
export * from "./GetBucketAclCommand";
export * from "./GetBucketAnalyticsConfigurationCommand";
export * from "./GetBucketCorsCommand";
export * from "./GetBucketEncryptionCommand";
export * from "./GetBucketIntelligentTieringConfigurationCommand";
export * from "./GetBucketInventoryConfigurationCommand";
export * from "./GetBucketLifecycleConfigurationCommand";
export * from "./GetBucketLocationCommand";
export * from "./GetBucketLoggingCommand";
export * from "./GetBucketMetricsConfigurationCommand";
export * from "./GetBucketNotificationConfigurationCommand";
export * from "./GetBucketOwnershipControlsCommand";
export * from "./GetBucketPolicyCommand";
export * from "./GetBucketPolicyStatusCommand";
export * from "./GetBucketReplicationCommand";
export * from "./GetBucketRequestPaymentCommand";
export * from "./GetBucketTaggingCommand";
export * from "./GetBucketVersioningCommand";
export * from "./GetBucketWebsiteCommand";
export * from "./GetObjectAclCommand";
export * from "./GetObjectAttributesCommand";
export * from "./GetObjectCommand";
export * from "./GetObjectLegalHoldCommand";
export * from "./GetObjectLockConfigurationCommand";
export * from "./GetObjectRetentionCommand";
export * from "./GetObjectTaggingCommand";
export * from "./GetObjectTorrentCommand";
export * from "./GetPublicAccessBlockCommand";
export * from "./HeadBucketCommand";
export * from "./HeadObjectCommand";
export * from "./ListBucketAnalyticsConfigurationsCommand";
export * from "./ListBucketIntelligentTieringConfigurationsCommand";
export * from "./ListBucketInventoryConfigurationsCommand";
export * from "./ListBucketMetricsConfigurationsCommand";
export * from "./ListBucketsCommand";
export * from "./ListDirectoryBucketsCommand";
export * from "./ListMultipartUploadsCommand";
export * from "./ListObjectVersionsCommand";
export * from "./ListObjectsCommand";
export * from "./ListObjectsV2Command";
export * from "./ListPartsCommand";
export * from "./PutBucketAccelerateConfigurationCommand";
export * from "./PutBucketAclCommand";
export * from "./PutBucketAnalyticsConfigurationCommand";
export * from "./PutBucketCorsCommand";
export * from "./PutBucketEncryptionCommand";
export * from "./PutBucketIntelligentTieringConfigurationCommand";
export * from "./PutBucketInventoryConfigurationCommand";
export * from "./PutBucketLifecycleConfigurationCommand";
export * from "./PutBucketLoggingCommand";
export * from "./PutBucketMetricsConfigurationCommand";
export * from "./PutBucketNotificationConfigurationCommand";
export * from "./PutBucketOwnershipControlsCommand";
export * from "./PutBucketPolicyCommand";
export * from "./PutBucketReplicationCommand";
export * from "./PutBucketRequestPaymentCommand";
export * from "./PutBucketTaggingCommand";
export * from "./PutBucketVersioningCommand";
export * from "./PutBucketWebsiteCommand";
export * from "./PutObjectAclCommand";
export * from "./PutObjectCommand";
export * from "./PutObjectLegalHoldCommand";
export * from "./PutObjectLockConfigurationCommand";
export * from "./PutObjectRetentionCommand";
export * from "./PutObjectTaggingCommand";
export * from "./PutPublicAccessBlockCommand";
export * from "./RestoreObjectCommand";
export * from "./SelectObjectContentCommand";
export * from "./UploadPartCommand";
export * from "./UploadPartCopyCommand";
export * from "./WriteGetObjectResponseCommand";