@aws-sdk/client-s3 3.1068.0 → 3.1070.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +15 -19
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +646 -535
- package/dist-cjs/models/S3ServiceException.js +4 -8
- package/dist-cjs/models/errors.js +106 -52
- package/dist-cjs/runtimeConfig.browser.js +29 -33
- package/dist-cjs/runtimeConfig.js +43 -47
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +25 -29
- package/dist-cjs/schemas/schemas_0.js +1256 -740
- package/dist-es/S3.js +12 -0
- package/dist-es/commands/DeleteObjectAnnotationCommand.js +23 -0
- package/dist-es/commands/GetObjectAnnotationCommand.js +28 -0
- package/dist-es/commands/ListObjectAnnotationsCommand.js +23 -0
- package/dist-es/commands/PutObjectAnnotationCommand.js +29 -0
- package/dist-es/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.js +27 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +12 -1
- package/dist-es/models/errors.js +76 -4
- package/dist-es/pagination/ListObjectAnnotationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +260 -100
- package/dist-types/S3.d.ts +42 -0
- package/dist-types/S3Client.d.ts +7 -2
- package/dist-types/commands/CopyObjectCommand.d.ts +1 -0
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +27 -0
- package/dist-types/commands/DeleteObjectAnnotationCommand.d.ts +119 -0
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +11 -0
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectAnnotationCommand.d.ts +141 -0
- package/dist-types/commands/ListObjectAnnotationsCommand.d.ts +138 -0
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutObjectAnnotationCommand.d.ts +166 -0
- package/dist-types/commands/RenameObjectCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +1 -2
- package/dist-types/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +29 -2
- package/dist-types/models/errors.d.ts +76 -4
- package/dist-types/models/models_0.d.ts +925 -549
- package/dist-types/models/models_1.d.ts +380 -2
- package/dist-types/pagination/ListObjectAnnotationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/S3.d.ts +98 -0
- package/dist-types/ts3.4/S3Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteObjectAnnotationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetObjectAnnotationCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/ListObjectAnnotationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/PutObjectAnnotationCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateBucketMetadataAnnotationTableConfigurationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -3
- package/dist-types/ts3.4/models/errors.d.ts +41 -3
- package/dist-types/ts3.4/models/models_0.d.ts +138 -64
- package/dist-types/ts3.4/models/models_1.d.ts +75 -5
- package/dist-types/ts3.4/pagination/ListObjectAnnotationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +20 -20
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { resolveFlexibleChecksumsConfig, getFlexibleChecksumsPlugin } = require("@aws-sdk/middleware-flexible-checksums");
|
|
4
|
+
const { getThrow200ExceptionsPlugin, resolveS3Config, getValidateBucketNamePlugin, getAddExpectContinuePlugin, getRegionRedirectMiddlewarePlugin, getS3ExpressPlugin, getS3ExpressHttpSigningPlugin, getSsecPlugin, getLocationConstraintPlugin, getS3ExpiresMiddlewarePlugin, getCheckContentLengthHeaderPlugin } = require("@aws-sdk/middleware-sdk-s3/s3");
|
|
5
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
6
|
+
const { Command, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
7
|
+
exports.$Command = Command;
|
|
8
|
+
exports.__Client = Client;
|
|
9
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
10
|
+
const { getEndpointPlugin, resolveEndpointConfig } = require("@smithy/core/endpoints");
|
|
11
|
+
const { resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
|
|
12
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
13
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
14
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
15
|
+
const { resolveHttpAuthSchemeConfig, defaultS3HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
16
|
+
const { CreateSession$, AbortMultipartUpload$, CompleteMultipartUpload$, CopyObject$, CreateBucket$, CreateBucketMetadataConfiguration$, CreateBucketMetadataTableConfiguration$, CreateMultipartUpload$, DeleteBucketAnalyticsConfiguration$, DeleteBucket$, DeleteBucketCors$, DeleteBucketEncryption$, DeleteBucketIntelligentTieringConfiguration$, DeleteBucketInventoryConfiguration$, DeleteBucketLifecycle$, DeleteBucketMetadataConfiguration$, DeleteBucketMetadataTableConfiguration$, DeleteBucketMetricsConfiguration$, DeleteBucketOwnershipControls$, DeleteBucketPolicy$, DeleteBucketReplication$, DeleteBucketTagging$, DeleteBucketWebsite$, DeleteObjectAnnotation$, DeleteObject$, DeleteObjects$, DeleteObjectTagging$, DeletePublicAccessBlock$, GetBucketAbac$, GetBucketAccelerateConfiguration$, GetBucketAcl$, GetBucketAnalyticsConfiguration$, GetBucketCors$, GetBucketEncryption$, GetBucketIntelligentTieringConfiguration$, GetBucketInventoryConfiguration$, GetBucketLifecycleConfiguration$, GetBucketLocation$, GetBucketLogging$, GetBucketMetadataConfiguration$, GetBucketMetadataTableConfiguration$, GetBucketMetricsConfiguration$, GetBucketNotificationConfiguration$, GetBucketOwnershipControls$, GetBucketPolicy$, GetBucketPolicyStatus$, GetBucketReplication$, GetBucketRequestPayment$, GetBucketTagging$, GetBucketVersioning$, GetBucketWebsite$, GetObjectAcl$, GetObjectAnnotation$, GetObjectAttributes$, GetObject$, GetObjectLegalHold$, GetObjectLockConfiguration$, GetObjectRetention$, GetObjectTagging$, GetObjectTorrent$, GetPublicAccessBlock$, HeadBucket$, HeadObject$, ListBucketAnalyticsConfigurations$, ListBucketIntelligentTieringConfigurations$, ListBucketInventoryConfigurations$, ListBucketMetricsConfigurations$, ListBuckets$, ListDirectoryBuckets$, ListMultipartUploads$, ListObjectAnnotations$, ListObjects$, ListObjectsV2$, ListObjectVersions$, ListParts$, PutBucketAbac$, PutBucketAccelerateConfiguration$, PutBucketAcl$, PutBucketAnalyticsConfiguration$, PutBucketCors$, PutBucketEncryption$, PutBucketIntelligentTieringConfiguration$, PutBucketInventoryConfiguration$, PutBucketLifecycleConfiguration$, PutBucketLogging$, PutBucketMetricsConfiguration$, PutBucketNotificationConfiguration$, PutBucketOwnershipControls$, PutBucketPolicy$, PutBucketReplication$, PutBucketRequestPayment$, PutBucketTagging$, PutBucketVersioning$, PutBucketWebsite$, PutObjectAcl$, PutObjectAnnotation$, PutObject$, PutObjectLegalHold$, PutObjectLockConfiguration$, PutObjectRetention$, PutObjectTagging$, PutPublicAccessBlock$, RenameObject$, RestoreObject$, SelectObjectContent$, UpdateBucketMetadataAnnotationTableConfiguration$, UpdateBucketMetadataInventoryTableConfiguration$, UpdateBucketMetadataJournalTableConfiguration$, UpdateObjectEncryption$, UploadPart$, UploadPartCopy$, WriteGetObjectResponse$ } = require("./schemas/schemas_0");
|
|
17
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
18
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
19
|
+
__exportStar(require("./models/errors"), exports);
|
|
20
|
+
const { S3ServiceException } = require("./models/S3ServiceException");
|
|
21
|
+
exports.S3ServiceException = S3ServiceException;
|
|
19
22
|
|
|
20
23
|
const resolveClientEndpointParameters = (options) => {
|
|
21
24
|
return Object.assign(options, {
|
|
@@ -42,7 +45,7 @@ const commonParams = {
|
|
|
42
45
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
43
46
|
};
|
|
44
47
|
|
|
45
|
-
class CreateSessionCommand extends
|
|
48
|
+
class CreateSessionCommand extends Command
|
|
46
49
|
.classBuilder()
|
|
47
50
|
.ep({
|
|
48
51
|
...commonParams,
|
|
@@ -51,13 +54,13 @@ class CreateSessionCommand extends client.Command
|
|
|
51
54
|
})
|
|
52
55
|
.m(function (Command, cs, config, o) {
|
|
53
56
|
return [
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
58
|
+
getThrow200ExceptionsPlugin(config),
|
|
56
59
|
];
|
|
57
60
|
})
|
|
58
61
|
.s("AmazonS3", "CreateSession", {})
|
|
59
62
|
.n("S3Client", "CreateSessionCommand")
|
|
60
|
-
.sc(
|
|
63
|
+
.sc(CreateSession$)
|
|
61
64
|
.build() {
|
|
62
65
|
}
|
|
63
66
|
|
|
@@ -101,56 +104,56 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
101
104
|
};
|
|
102
105
|
|
|
103
106
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
104
|
-
const extensionConfiguration = Object.assign(
|
|
107
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
105
108
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
106
|
-
return Object.assign(runtimeConfig,
|
|
109
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
107
110
|
};
|
|
108
111
|
|
|
109
|
-
class S3Client extends
|
|
112
|
+
class S3Client extends Client {
|
|
110
113
|
config;
|
|
111
114
|
constructor(...[configuration]) {
|
|
112
|
-
const _config_0 =
|
|
115
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
113
116
|
super(_config_0);
|
|
114
117
|
this.initConfig = _config_0;
|
|
115
118
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
116
|
-
const _config_2 =
|
|
117
|
-
const _config_3 =
|
|
118
|
-
const _config_4 =
|
|
119
|
-
const _config_5 =
|
|
120
|
-
const _config_6 =
|
|
121
|
-
const _config_7 =
|
|
122
|
-
const _config_8 =
|
|
123
|
-
const _config_9 =
|
|
124
|
-
const _config_10 =
|
|
119
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
120
|
+
const _config_3 = resolveFlexibleChecksumsConfig(_config_2);
|
|
121
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
122
|
+
const _config_5 = resolveRegionConfig(_config_4);
|
|
123
|
+
const _config_6 = resolveHostHeaderConfig(_config_5);
|
|
124
|
+
const _config_7 = resolveEndpointConfig(_config_6);
|
|
125
|
+
const _config_8 = resolveEventStreamSerdeConfig(_config_7);
|
|
126
|
+
const _config_9 = resolveHttpAuthSchemeConfig(_config_8);
|
|
127
|
+
const _config_10 = resolveS3Config(_config_9, { session: [() => this, CreateSessionCommand] });
|
|
125
128
|
const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
|
|
126
129
|
this.config = _config_11;
|
|
127
|
-
this.middlewareStack.use(
|
|
128
|
-
this.middlewareStack.use(
|
|
129
|
-
this.middlewareStack.use(
|
|
130
|
-
this.middlewareStack.use(
|
|
131
|
-
this.middlewareStack.use(
|
|
132
|
-
this.middlewareStack.use(
|
|
133
|
-
this.middlewareStack.use(
|
|
134
|
-
this.middlewareStack.use(
|
|
135
|
-
httpAuthSchemeParametersProvider:
|
|
136
|
-
identityProviderConfigProvider: async (config) => new
|
|
130
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
131
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
132
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
133
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
134
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
135
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
136
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
137
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
138
|
+
httpAuthSchemeParametersProvider: defaultS3HttpAuthSchemeParametersProvider,
|
|
139
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
137
140
|
"aws.auth#sigv4": config.credentials,
|
|
138
141
|
"aws.auth#sigv4a": config.credentials,
|
|
139
142
|
}),
|
|
140
143
|
}));
|
|
141
|
-
this.middlewareStack.use(
|
|
142
|
-
this.middlewareStack.use(
|
|
143
|
-
this.middlewareStack.use(
|
|
144
|
-
this.middlewareStack.use(
|
|
145
|
-
this.middlewareStack.use(
|
|
146
|
-
this.middlewareStack.use(
|
|
144
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
145
|
+
this.middlewareStack.use(getValidateBucketNamePlugin(this.config));
|
|
146
|
+
this.middlewareStack.use(getAddExpectContinuePlugin(this.config));
|
|
147
|
+
this.middlewareStack.use(getRegionRedirectMiddlewarePlugin(this.config));
|
|
148
|
+
this.middlewareStack.use(getS3ExpressPlugin(this.config));
|
|
149
|
+
this.middlewareStack.use(getS3ExpressHttpSigningPlugin(this.config));
|
|
147
150
|
}
|
|
148
151
|
destroy() {
|
|
149
152
|
super.destroy();
|
|
150
153
|
}
|
|
151
154
|
}
|
|
152
155
|
|
|
153
|
-
class AbortMultipartUploadCommand extends
|
|
156
|
+
class AbortMultipartUploadCommand extends Command
|
|
154
157
|
.classBuilder()
|
|
155
158
|
.ep({
|
|
156
159
|
...commonParams,
|
|
@@ -159,17 +162,17 @@ class AbortMultipartUploadCommand extends client.Command
|
|
|
159
162
|
})
|
|
160
163
|
.m(function (Command, cs, config, o) {
|
|
161
164
|
return [
|
|
162
|
-
|
|
163
|
-
|
|
165
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
166
|
+
getThrow200ExceptionsPlugin(config),
|
|
164
167
|
];
|
|
165
168
|
})
|
|
166
169
|
.s("AmazonS3", "AbortMultipartUpload", {})
|
|
167
170
|
.n("S3Client", "AbortMultipartUploadCommand")
|
|
168
|
-
.sc(
|
|
171
|
+
.sc(AbortMultipartUpload$)
|
|
169
172
|
.build() {
|
|
170
173
|
}
|
|
171
174
|
|
|
172
|
-
class CompleteMultipartUploadCommand extends
|
|
175
|
+
class CompleteMultipartUploadCommand extends Command
|
|
173
176
|
.classBuilder()
|
|
174
177
|
.ep({
|
|
175
178
|
...commonParams,
|
|
@@ -178,18 +181,18 @@ class CompleteMultipartUploadCommand extends client.Command
|
|
|
178
181
|
})
|
|
179
182
|
.m(function (Command, cs, config, o) {
|
|
180
183
|
return [
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
185
|
+
getThrow200ExceptionsPlugin(config),
|
|
186
|
+
getSsecPlugin(config),
|
|
184
187
|
];
|
|
185
188
|
})
|
|
186
189
|
.s("AmazonS3", "CompleteMultipartUpload", {})
|
|
187
190
|
.n("S3Client", "CompleteMultipartUploadCommand")
|
|
188
|
-
.sc(
|
|
191
|
+
.sc(CompleteMultipartUpload$)
|
|
189
192
|
.build() {
|
|
190
193
|
}
|
|
191
194
|
|
|
192
|
-
class CopyObjectCommand extends
|
|
195
|
+
class CopyObjectCommand extends Command
|
|
193
196
|
.classBuilder()
|
|
194
197
|
.ep({
|
|
195
198
|
...commonParams,
|
|
@@ -200,18 +203,18 @@ class CopyObjectCommand extends client.Command
|
|
|
200
203
|
})
|
|
201
204
|
.m(function (Command, cs, config, o) {
|
|
202
205
|
return [
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
207
|
+
getThrow200ExceptionsPlugin(config),
|
|
208
|
+
getSsecPlugin(config),
|
|
206
209
|
];
|
|
207
210
|
})
|
|
208
211
|
.s("AmazonS3", "CopyObject", {})
|
|
209
212
|
.n("S3Client", "CopyObjectCommand")
|
|
210
|
-
.sc(
|
|
213
|
+
.sc(CopyObject$)
|
|
211
214
|
.build() {
|
|
212
215
|
}
|
|
213
216
|
|
|
214
|
-
class CreateBucketCommand extends
|
|
217
|
+
class CreateBucketCommand extends Command
|
|
215
218
|
.classBuilder()
|
|
216
219
|
.ep({
|
|
217
220
|
...commonParams,
|
|
@@ -221,18 +224,18 @@ class CreateBucketCommand extends client.Command
|
|
|
221
224
|
})
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
226
|
return [
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
228
|
+
getThrow200ExceptionsPlugin(config),
|
|
229
|
+
getLocationConstraintPlugin(config),
|
|
227
230
|
];
|
|
228
231
|
})
|
|
229
232
|
.s("AmazonS3", "CreateBucket", {})
|
|
230
233
|
.n("S3Client", "CreateBucketCommand")
|
|
231
|
-
.sc(
|
|
234
|
+
.sc(CreateBucket$)
|
|
232
235
|
.build() {
|
|
233
236
|
}
|
|
234
237
|
|
|
235
|
-
class CreateBucketMetadataConfigurationCommand extends
|
|
238
|
+
class CreateBucketMetadataConfigurationCommand extends Command
|
|
236
239
|
.classBuilder()
|
|
237
240
|
.ep({
|
|
238
241
|
...commonParams,
|
|
@@ -241,8 +244,8 @@ class CreateBucketMetadataConfigurationCommand extends client.Command
|
|
|
241
244
|
})
|
|
242
245
|
.m(function (Command, cs, config, o) {
|
|
243
246
|
return [
|
|
244
|
-
|
|
245
|
-
|
|
247
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
248
|
+
getFlexibleChecksumsPlugin(config, {
|
|
246
249
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
247
250
|
requestChecksumRequired: true,
|
|
248
251
|
}),
|
|
@@ -250,11 +253,11 @@ class CreateBucketMetadataConfigurationCommand extends client.Command
|
|
|
250
253
|
})
|
|
251
254
|
.s("AmazonS3", "CreateBucketMetadataConfiguration", {})
|
|
252
255
|
.n("S3Client", "CreateBucketMetadataConfigurationCommand")
|
|
253
|
-
.sc(
|
|
256
|
+
.sc(CreateBucketMetadataConfiguration$)
|
|
254
257
|
.build() {
|
|
255
258
|
}
|
|
256
259
|
|
|
257
|
-
class CreateBucketMetadataTableConfigurationCommand extends
|
|
260
|
+
class CreateBucketMetadataTableConfigurationCommand extends Command
|
|
258
261
|
.classBuilder()
|
|
259
262
|
.ep({
|
|
260
263
|
...commonParams,
|
|
@@ -263,8 +266,8 @@ class CreateBucketMetadataTableConfigurationCommand extends client.Command
|
|
|
263
266
|
})
|
|
264
267
|
.m(function (Command, cs, config, o) {
|
|
265
268
|
return [
|
|
266
|
-
|
|
267
|
-
|
|
269
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
270
|
+
getFlexibleChecksumsPlugin(config, {
|
|
268
271
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
269
272
|
requestChecksumRequired: true,
|
|
270
273
|
}),
|
|
@@ -272,11 +275,11 @@ class CreateBucketMetadataTableConfigurationCommand extends client.Command
|
|
|
272
275
|
})
|
|
273
276
|
.s("AmazonS3", "CreateBucketMetadataTableConfiguration", {})
|
|
274
277
|
.n("S3Client", "CreateBucketMetadataTableConfigurationCommand")
|
|
275
|
-
.sc(
|
|
278
|
+
.sc(CreateBucketMetadataTableConfiguration$)
|
|
276
279
|
.build() {
|
|
277
280
|
}
|
|
278
281
|
|
|
279
|
-
class CreateMultipartUploadCommand extends
|
|
282
|
+
class CreateMultipartUploadCommand extends Command
|
|
280
283
|
.classBuilder()
|
|
281
284
|
.ep({
|
|
282
285
|
...commonParams,
|
|
@@ -285,18 +288,18 @@ class CreateMultipartUploadCommand extends client.Command
|
|
|
285
288
|
})
|
|
286
289
|
.m(function (Command, cs, config, o) {
|
|
287
290
|
return [
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
292
|
+
getThrow200ExceptionsPlugin(config),
|
|
293
|
+
getSsecPlugin(config),
|
|
291
294
|
];
|
|
292
295
|
})
|
|
293
296
|
.s("AmazonS3", "CreateMultipartUpload", {})
|
|
294
297
|
.n("S3Client", "CreateMultipartUploadCommand")
|
|
295
|
-
.sc(
|
|
298
|
+
.sc(CreateMultipartUpload$)
|
|
296
299
|
.build() {
|
|
297
300
|
}
|
|
298
301
|
|
|
299
|
-
class DeleteBucketAnalyticsConfigurationCommand extends
|
|
302
|
+
class DeleteBucketAnalyticsConfigurationCommand extends Command
|
|
300
303
|
.classBuilder()
|
|
301
304
|
.ep({
|
|
302
305
|
...commonParams,
|
|
@@ -304,15 +307,15 @@ class DeleteBucketAnalyticsConfigurationCommand extends client.Command
|
|
|
304
307
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
305
308
|
})
|
|
306
309
|
.m(function (Command, cs, config, o) {
|
|
307
|
-
return [
|
|
310
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
308
311
|
})
|
|
309
312
|
.s("AmazonS3", "DeleteBucketAnalyticsConfiguration", {})
|
|
310
313
|
.n("S3Client", "DeleteBucketAnalyticsConfigurationCommand")
|
|
311
|
-
.sc(
|
|
314
|
+
.sc(DeleteBucketAnalyticsConfiguration$)
|
|
312
315
|
.build() {
|
|
313
316
|
}
|
|
314
317
|
|
|
315
|
-
class DeleteBucketCommand extends
|
|
318
|
+
class DeleteBucketCommand extends Command
|
|
316
319
|
.classBuilder()
|
|
317
320
|
.ep({
|
|
318
321
|
...commonParams,
|
|
@@ -320,15 +323,15 @@ class DeleteBucketCommand extends client.Command
|
|
|
320
323
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
321
324
|
})
|
|
322
325
|
.m(function (Command, cs, config, o) {
|
|
323
|
-
return [
|
|
326
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
324
327
|
})
|
|
325
328
|
.s("AmazonS3", "DeleteBucket", {})
|
|
326
329
|
.n("S3Client", "DeleteBucketCommand")
|
|
327
|
-
.sc(
|
|
330
|
+
.sc(DeleteBucket$)
|
|
328
331
|
.build() {
|
|
329
332
|
}
|
|
330
333
|
|
|
331
|
-
class DeleteBucketCorsCommand extends
|
|
334
|
+
class DeleteBucketCorsCommand extends Command
|
|
332
335
|
.classBuilder()
|
|
333
336
|
.ep({
|
|
334
337
|
...commonParams,
|
|
@@ -336,15 +339,15 @@ class DeleteBucketCorsCommand extends client.Command
|
|
|
336
339
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
337
340
|
})
|
|
338
341
|
.m(function (Command, cs, config, o) {
|
|
339
|
-
return [
|
|
342
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
340
343
|
})
|
|
341
344
|
.s("AmazonS3", "DeleteBucketCors", {})
|
|
342
345
|
.n("S3Client", "DeleteBucketCorsCommand")
|
|
343
|
-
.sc(
|
|
346
|
+
.sc(DeleteBucketCors$)
|
|
344
347
|
.build() {
|
|
345
348
|
}
|
|
346
349
|
|
|
347
|
-
class DeleteBucketEncryptionCommand extends
|
|
350
|
+
class DeleteBucketEncryptionCommand extends Command
|
|
348
351
|
.classBuilder()
|
|
349
352
|
.ep({
|
|
350
353
|
...commonParams,
|
|
@@ -352,15 +355,15 @@ class DeleteBucketEncryptionCommand extends client.Command
|
|
|
352
355
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
353
356
|
})
|
|
354
357
|
.m(function (Command, cs, config, o) {
|
|
355
|
-
return [
|
|
358
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
356
359
|
})
|
|
357
360
|
.s("AmazonS3", "DeleteBucketEncryption", {})
|
|
358
361
|
.n("S3Client", "DeleteBucketEncryptionCommand")
|
|
359
|
-
.sc(
|
|
362
|
+
.sc(DeleteBucketEncryption$)
|
|
360
363
|
.build() {
|
|
361
364
|
}
|
|
362
365
|
|
|
363
|
-
class DeleteBucketIntelligentTieringConfigurationCommand extends
|
|
366
|
+
class DeleteBucketIntelligentTieringConfigurationCommand extends Command
|
|
364
367
|
.classBuilder()
|
|
365
368
|
.ep({
|
|
366
369
|
...commonParams,
|
|
@@ -368,15 +371,15 @@ class DeleteBucketIntelligentTieringConfigurationCommand extends client.Command
|
|
|
368
371
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
369
372
|
})
|
|
370
373
|
.m(function (Command, cs, config, o) {
|
|
371
|
-
return [
|
|
374
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
372
375
|
})
|
|
373
376
|
.s("AmazonS3", "DeleteBucketIntelligentTieringConfiguration", {})
|
|
374
377
|
.n("S3Client", "DeleteBucketIntelligentTieringConfigurationCommand")
|
|
375
|
-
.sc(
|
|
378
|
+
.sc(DeleteBucketIntelligentTieringConfiguration$)
|
|
376
379
|
.build() {
|
|
377
380
|
}
|
|
378
381
|
|
|
379
|
-
class DeleteBucketInventoryConfigurationCommand extends
|
|
382
|
+
class DeleteBucketInventoryConfigurationCommand extends Command
|
|
380
383
|
.classBuilder()
|
|
381
384
|
.ep({
|
|
382
385
|
...commonParams,
|
|
@@ -384,15 +387,15 @@ class DeleteBucketInventoryConfigurationCommand extends client.Command
|
|
|
384
387
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
385
388
|
})
|
|
386
389
|
.m(function (Command, cs, config, o) {
|
|
387
|
-
return [
|
|
390
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
388
391
|
})
|
|
389
392
|
.s("AmazonS3", "DeleteBucketInventoryConfiguration", {})
|
|
390
393
|
.n("S3Client", "DeleteBucketInventoryConfigurationCommand")
|
|
391
|
-
.sc(
|
|
394
|
+
.sc(DeleteBucketInventoryConfiguration$)
|
|
392
395
|
.build() {
|
|
393
396
|
}
|
|
394
397
|
|
|
395
|
-
class DeleteBucketLifecycleCommand extends
|
|
398
|
+
class DeleteBucketLifecycleCommand extends Command
|
|
396
399
|
.classBuilder()
|
|
397
400
|
.ep({
|
|
398
401
|
...commonParams,
|
|
@@ -400,15 +403,15 @@ class DeleteBucketLifecycleCommand extends client.Command
|
|
|
400
403
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
401
404
|
})
|
|
402
405
|
.m(function (Command, cs, config, o) {
|
|
403
|
-
return [
|
|
406
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
404
407
|
})
|
|
405
408
|
.s("AmazonS3", "DeleteBucketLifecycle", {})
|
|
406
409
|
.n("S3Client", "DeleteBucketLifecycleCommand")
|
|
407
|
-
.sc(
|
|
410
|
+
.sc(DeleteBucketLifecycle$)
|
|
408
411
|
.build() {
|
|
409
412
|
}
|
|
410
413
|
|
|
411
|
-
class DeleteBucketMetadataConfigurationCommand extends
|
|
414
|
+
class DeleteBucketMetadataConfigurationCommand extends Command
|
|
412
415
|
.classBuilder()
|
|
413
416
|
.ep({
|
|
414
417
|
...commonParams,
|
|
@@ -416,15 +419,15 @@ class DeleteBucketMetadataConfigurationCommand extends client.Command
|
|
|
416
419
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
417
420
|
})
|
|
418
421
|
.m(function (Command, cs, config, o) {
|
|
419
|
-
return [
|
|
422
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
420
423
|
})
|
|
421
424
|
.s("AmazonS3", "DeleteBucketMetadataConfiguration", {})
|
|
422
425
|
.n("S3Client", "DeleteBucketMetadataConfigurationCommand")
|
|
423
|
-
.sc(
|
|
426
|
+
.sc(DeleteBucketMetadataConfiguration$)
|
|
424
427
|
.build() {
|
|
425
428
|
}
|
|
426
429
|
|
|
427
|
-
class DeleteBucketMetadataTableConfigurationCommand extends
|
|
430
|
+
class DeleteBucketMetadataTableConfigurationCommand extends Command
|
|
428
431
|
.classBuilder()
|
|
429
432
|
.ep({
|
|
430
433
|
...commonParams,
|
|
@@ -432,15 +435,15 @@ class DeleteBucketMetadataTableConfigurationCommand extends client.Command
|
|
|
432
435
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
433
436
|
})
|
|
434
437
|
.m(function (Command, cs, config, o) {
|
|
435
|
-
return [
|
|
438
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
436
439
|
})
|
|
437
440
|
.s("AmazonS3", "DeleteBucketMetadataTableConfiguration", {})
|
|
438
441
|
.n("S3Client", "DeleteBucketMetadataTableConfigurationCommand")
|
|
439
|
-
.sc(
|
|
442
|
+
.sc(DeleteBucketMetadataTableConfiguration$)
|
|
440
443
|
.build() {
|
|
441
444
|
}
|
|
442
445
|
|
|
443
|
-
class DeleteBucketMetricsConfigurationCommand extends
|
|
446
|
+
class DeleteBucketMetricsConfigurationCommand extends Command
|
|
444
447
|
.classBuilder()
|
|
445
448
|
.ep({
|
|
446
449
|
...commonParams,
|
|
@@ -448,15 +451,15 @@ class DeleteBucketMetricsConfigurationCommand extends client.Command
|
|
|
448
451
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
449
452
|
})
|
|
450
453
|
.m(function (Command, cs, config, o) {
|
|
451
|
-
return [
|
|
454
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
452
455
|
})
|
|
453
456
|
.s("AmazonS3", "DeleteBucketMetricsConfiguration", {})
|
|
454
457
|
.n("S3Client", "DeleteBucketMetricsConfigurationCommand")
|
|
455
|
-
.sc(
|
|
458
|
+
.sc(DeleteBucketMetricsConfiguration$)
|
|
456
459
|
.build() {
|
|
457
460
|
}
|
|
458
461
|
|
|
459
|
-
class DeleteBucketOwnershipControlsCommand extends
|
|
462
|
+
class DeleteBucketOwnershipControlsCommand extends Command
|
|
460
463
|
.classBuilder()
|
|
461
464
|
.ep({
|
|
462
465
|
...commonParams,
|
|
@@ -464,15 +467,15 @@ class DeleteBucketOwnershipControlsCommand extends client.Command
|
|
|
464
467
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
465
468
|
})
|
|
466
469
|
.m(function (Command, cs, config, o) {
|
|
467
|
-
return [
|
|
470
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
468
471
|
})
|
|
469
472
|
.s("AmazonS3", "DeleteBucketOwnershipControls", {})
|
|
470
473
|
.n("S3Client", "DeleteBucketOwnershipControlsCommand")
|
|
471
|
-
.sc(
|
|
474
|
+
.sc(DeleteBucketOwnershipControls$)
|
|
472
475
|
.build() {
|
|
473
476
|
}
|
|
474
477
|
|
|
475
|
-
class DeleteBucketPolicyCommand extends
|
|
478
|
+
class DeleteBucketPolicyCommand extends Command
|
|
476
479
|
.classBuilder()
|
|
477
480
|
.ep({
|
|
478
481
|
...commonParams,
|
|
@@ -480,15 +483,15 @@ class DeleteBucketPolicyCommand extends client.Command
|
|
|
480
483
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
481
484
|
})
|
|
482
485
|
.m(function (Command, cs, config, o) {
|
|
483
|
-
return [
|
|
486
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
484
487
|
})
|
|
485
488
|
.s("AmazonS3", "DeleteBucketPolicy", {})
|
|
486
489
|
.n("S3Client", "DeleteBucketPolicyCommand")
|
|
487
|
-
.sc(
|
|
490
|
+
.sc(DeleteBucketPolicy$)
|
|
488
491
|
.build() {
|
|
489
492
|
}
|
|
490
493
|
|
|
491
|
-
class DeleteBucketReplicationCommand extends
|
|
494
|
+
class DeleteBucketReplicationCommand extends Command
|
|
492
495
|
.classBuilder()
|
|
493
496
|
.ep({
|
|
494
497
|
...commonParams,
|
|
@@ -496,15 +499,15 @@ class DeleteBucketReplicationCommand extends client.Command
|
|
|
496
499
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
497
500
|
})
|
|
498
501
|
.m(function (Command, cs, config, o) {
|
|
499
|
-
return [
|
|
502
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
500
503
|
})
|
|
501
504
|
.s("AmazonS3", "DeleteBucketReplication", {})
|
|
502
505
|
.n("S3Client", "DeleteBucketReplicationCommand")
|
|
503
|
-
.sc(
|
|
506
|
+
.sc(DeleteBucketReplication$)
|
|
504
507
|
.build() {
|
|
505
508
|
}
|
|
506
509
|
|
|
507
|
-
class DeleteBucketTaggingCommand extends
|
|
510
|
+
class DeleteBucketTaggingCommand extends Command
|
|
508
511
|
.classBuilder()
|
|
509
512
|
.ep({
|
|
510
513
|
...commonParams,
|
|
@@ -512,15 +515,15 @@ class DeleteBucketTaggingCommand extends client.Command
|
|
|
512
515
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
513
516
|
})
|
|
514
517
|
.m(function (Command, cs, config, o) {
|
|
515
|
-
return [
|
|
518
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
516
519
|
})
|
|
517
520
|
.s("AmazonS3", "DeleteBucketTagging", {})
|
|
518
521
|
.n("S3Client", "DeleteBucketTaggingCommand")
|
|
519
|
-
.sc(
|
|
522
|
+
.sc(DeleteBucketTagging$)
|
|
520
523
|
.build() {
|
|
521
524
|
}
|
|
522
525
|
|
|
523
|
-
class DeleteBucketWebsiteCommand extends
|
|
526
|
+
class DeleteBucketWebsiteCommand extends Command
|
|
524
527
|
.classBuilder()
|
|
525
528
|
.ep({
|
|
526
529
|
...commonParams,
|
|
@@ -528,15 +531,33 @@ class DeleteBucketWebsiteCommand extends client.Command
|
|
|
528
531
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
529
532
|
})
|
|
530
533
|
.m(function (Command, cs, config, o) {
|
|
531
|
-
return [
|
|
534
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
532
535
|
})
|
|
533
536
|
.s("AmazonS3", "DeleteBucketWebsite", {})
|
|
534
537
|
.n("S3Client", "DeleteBucketWebsiteCommand")
|
|
535
|
-
.sc(
|
|
538
|
+
.sc(DeleteBucketWebsite$)
|
|
536
539
|
.build() {
|
|
537
540
|
}
|
|
538
541
|
|
|
539
|
-
class
|
|
542
|
+
class DeleteObjectAnnotationCommand extends Command
|
|
543
|
+
.classBuilder()
|
|
544
|
+
.ep({
|
|
545
|
+
...commonParams,
|
|
546
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
547
|
+
})
|
|
548
|
+
.m(function (Command, cs, config, o) {
|
|
549
|
+
return [
|
|
550
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
551
|
+
getThrow200ExceptionsPlugin(config),
|
|
552
|
+
];
|
|
553
|
+
})
|
|
554
|
+
.s("AmazonS3", "DeleteObjectAnnotation", {})
|
|
555
|
+
.n("S3Client", "DeleteObjectAnnotationCommand")
|
|
556
|
+
.sc(DeleteObjectAnnotation$)
|
|
557
|
+
.build() {
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
class DeleteObjectCommand extends Command
|
|
540
561
|
.classBuilder()
|
|
541
562
|
.ep({
|
|
542
563
|
...commonParams,
|
|
@@ -545,17 +566,17 @@ class DeleteObjectCommand extends client.Command
|
|
|
545
566
|
})
|
|
546
567
|
.m(function (Command, cs, config, o) {
|
|
547
568
|
return [
|
|
548
|
-
|
|
549
|
-
|
|
569
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
570
|
+
getThrow200ExceptionsPlugin(config),
|
|
550
571
|
];
|
|
551
572
|
})
|
|
552
573
|
.s("AmazonS3", "DeleteObject", {})
|
|
553
574
|
.n("S3Client", "DeleteObjectCommand")
|
|
554
|
-
.sc(
|
|
575
|
+
.sc(DeleteObject$)
|
|
555
576
|
.build() {
|
|
556
577
|
}
|
|
557
578
|
|
|
558
|
-
class DeleteObjectsCommand extends
|
|
579
|
+
class DeleteObjectsCommand extends Command
|
|
559
580
|
.classBuilder()
|
|
560
581
|
.ep({
|
|
561
582
|
...commonParams,
|
|
@@ -563,21 +584,21 @@ class DeleteObjectsCommand extends client.Command
|
|
|
563
584
|
})
|
|
564
585
|
.m(function (Command, cs, config, o) {
|
|
565
586
|
return [
|
|
566
|
-
|
|
567
|
-
|
|
587
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
588
|
+
getFlexibleChecksumsPlugin(config, {
|
|
568
589
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
569
590
|
requestChecksumRequired: true,
|
|
570
591
|
}),
|
|
571
|
-
|
|
592
|
+
getThrow200ExceptionsPlugin(config),
|
|
572
593
|
];
|
|
573
594
|
})
|
|
574
595
|
.s("AmazonS3", "DeleteObjects", {})
|
|
575
596
|
.n("S3Client", "DeleteObjectsCommand")
|
|
576
|
-
.sc(
|
|
597
|
+
.sc(DeleteObjects$)
|
|
577
598
|
.build() {
|
|
578
599
|
}
|
|
579
600
|
|
|
580
|
-
class DeleteObjectTaggingCommand extends
|
|
601
|
+
class DeleteObjectTaggingCommand extends Command
|
|
581
602
|
.classBuilder()
|
|
582
603
|
.ep({
|
|
583
604
|
...commonParams,
|
|
@@ -585,17 +606,17 @@ class DeleteObjectTaggingCommand extends client.Command
|
|
|
585
606
|
})
|
|
586
607
|
.m(function (Command, cs, config, o) {
|
|
587
608
|
return [
|
|
588
|
-
|
|
589
|
-
|
|
609
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
610
|
+
getThrow200ExceptionsPlugin(config),
|
|
590
611
|
];
|
|
591
612
|
})
|
|
592
613
|
.s("AmazonS3", "DeleteObjectTagging", {})
|
|
593
614
|
.n("S3Client", "DeleteObjectTaggingCommand")
|
|
594
|
-
.sc(
|
|
615
|
+
.sc(DeleteObjectTagging$)
|
|
595
616
|
.build() {
|
|
596
617
|
}
|
|
597
618
|
|
|
598
|
-
class DeletePublicAccessBlockCommand extends
|
|
619
|
+
class DeletePublicAccessBlockCommand extends Command
|
|
599
620
|
.classBuilder()
|
|
600
621
|
.ep({
|
|
601
622
|
...commonParams,
|
|
@@ -603,15 +624,15 @@ class DeletePublicAccessBlockCommand extends client.Command
|
|
|
603
624
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
604
625
|
})
|
|
605
626
|
.m(function (Command, cs, config, o) {
|
|
606
|
-
return [
|
|
627
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
607
628
|
})
|
|
608
629
|
.s("AmazonS3", "DeletePublicAccessBlock", {})
|
|
609
630
|
.n("S3Client", "DeletePublicAccessBlockCommand")
|
|
610
|
-
.sc(
|
|
631
|
+
.sc(DeletePublicAccessBlock$)
|
|
611
632
|
.build() {
|
|
612
633
|
}
|
|
613
634
|
|
|
614
|
-
class GetBucketAbacCommand extends
|
|
635
|
+
class GetBucketAbacCommand extends Command
|
|
615
636
|
.classBuilder()
|
|
616
637
|
.ep({
|
|
617
638
|
...commonParams,
|
|
@@ -619,17 +640,17 @@ class GetBucketAbacCommand extends client.Command
|
|
|
619
640
|
})
|
|
620
641
|
.m(function (Command, cs, config, o) {
|
|
621
642
|
return [
|
|
622
|
-
|
|
623
|
-
|
|
643
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
644
|
+
getThrow200ExceptionsPlugin(config),
|
|
624
645
|
];
|
|
625
646
|
})
|
|
626
647
|
.s("AmazonS3", "GetBucketAbac", {})
|
|
627
648
|
.n("S3Client", "GetBucketAbacCommand")
|
|
628
|
-
.sc(
|
|
649
|
+
.sc(GetBucketAbac$)
|
|
629
650
|
.build() {
|
|
630
651
|
}
|
|
631
652
|
|
|
632
|
-
class GetBucketAccelerateConfigurationCommand extends
|
|
653
|
+
class GetBucketAccelerateConfigurationCommand extends Command
|
|
633
654
|
.classBuilder()
|
|
634
655
|
.ep({
|
|
635
656
|
...commonParams,
|
|
@@ -638,17 +659,17 @@ class GetBucketAccelerateConfigurationCommand extends client.Command
|
|
|
638
659
|
})
|
|
639
660
|
.m(function (Command, cs, config, o) {
|
|
640
661
|
return [
|
|
641
|
-
|
|
642
|
-
|
|
662
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
663
|
+
getThrow200ExceptionsPlugin(config),
|
|
643
664
|
];
|
|
644
665
|
})
|
|
645
666
|
.s("AmazonS3", "GetBucketAccelerateConfiguration", {})
|
|
646
667
|
.n("S3Client", "GetBucketAccelerateConfigurationCommand")
|
|
647
|
-
.sc(
|
|
668
|
+
.sc(GetBucketAccelerateConfiguration$)
|
|
648
669
|
.build() {
|
|
649
670
|
}
|
|
650
671
|
|
|
651
|
-
class GetBucketAclCommand extends
|
|
672
|
+
class GetBucketAclCommand extends Command
|
|
652
673
|
.classBuilder()
|
|
653
674
|
.ep({
|
|
654
675
|
...commonParams,
|
|
@@ -657,17 +678,17 @@ class GetBucketAclCommand extends client.Command
|
|
|
657
678
|
})
|
|
658
679
|
.m(function (Command, cs, config, o) {
|
|
659
680
|
return [
|
|
660
|
-
|
|
661
|
-
|
|
681
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
682
|
+
getThrow200ExceptionsPlugin(config),
|
|
662
683
|
];
|
|
663
684
|
})
|
|
664
685
|
.s("AmazonS3", "GetBucketAcl", {})
|
|
665
686
|
.n("S3Client", "GetBucketAclCommand")
|
|
666
|
-
.sc(
|
|
687
|
+
.sc(GetBucketAcl$)
|
|
667
688
|
.build() {
|
|
668
689
|
}
|
|
669
690
|
|
|
670
|
-
class GetBucketAnalyticsConfigurationCommand extends
|
|
691
|
+
class GetBucketAnalyticsConfigurationCommand extends Command
|
|
671
692
|
.classBuilder()
|
|
672
693
|
.ep({
|
|
673
694
|
...commonParams,
|
|
@@ -676,17 +697,17 @@ class GetBucketAnalyticsConfigurationCommand extends client.Command
|
|
|
676
697
|
})
|
|
677
698
|
.m(function (Command, cs, config, o) {
|
|
678
699
|
return [
|
|
679
|
-
|
|
680
|
-
|
|
700
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
701
|
+
getThrow200ExceptionsPlugin(config),
|
|
681
702
|
];
|
|
682
703
|
})
|
|
683
704
|
.s("AmazonS3", "GetBucketAnalyticsConfiguration", {})
|
|
684
705
|
.n("S3Client", "GetBucketAnalyticsConfigurationCommand")
|
|
685
|
-
.sc(
|
|
706
|
+
.sc(GetBucketAnalyticsConfiguration$)
|
|
686
707
|
.build() {
|
|
687
708
|
}
|
|
688
709
|
|
|
689
|
-
class GetBucketCorsCommand extends
|
|
710
|
+
class GetBucketCorsCommand extends Command
|
|
690
711
|
.classBuilder()
|
|
691
712
|
.ep({
|
|
692
713
|
...commonParams,
|
|
@@ -695,17 +716,17 @@ class GetBucketCorsCommand extends client.Command
|
|
|
695
716
|
})
|
|
696
717
|
.m(function (Command, cs, config, o) {
|
|
697
718
|
return [
|
|
698
|
-
|
|
699
|
-
|
|
719
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
720
|
+
getThrow200ExceptionsPlugin(config),
|
|
700
721
|
];
|
|
701
722
|
})
|
|
702
723
|
.s("AmazonS3", "GetBucketCors", {})
|
|
703
724
|
.n("S3Client", "GetBucketCorsCommand")
|
|
704
|
-
.sc(
|
|
725
|
+
.sc(GetBucketCors$)
|
|
705
726
|
.build() {
|
|
706
727
|
}
|
|
707
728
|
|
|
708
|
-
class GetBucketEncryptionCommand extends
|
|
729
|
+
class GetBucketEncryptionCommand extends Command
|
|
709
730
|
.classBuilder()
|
|
710
731
|
.ep({
|
|
711
732
|
...commonParams,
|
|
@@ -714,17 +735,17 @@ class GetBucketEncryptionCommand extends client.Command
|
|
|
714
735
|
})
|
|
715
736
|
.m(function (Command, cs, config, o) {
|
|
716
737
|
return [
|
|
717
|
-
|
|
718
|
-
|
|
738
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
739
|
+
getThrow200ExceptionsPlugin(config),
|
|
719
740
|
];
|
|
720
741
|
})
|
|
721
742
|
.s("AmazonS3", "GetBucketEncryption", {})
|
|
722
743
|
.n("S3Client", "GetBucketEncryptionCommand")
|
|
723
|
-
.sc(
|
|
744
|
+
.sc(GetBucketEncryption$)
|
|
724
745
|
.build() {
|
|
725
746
|
}
|
|
726
747
|
|
|
727
|
-
class GetBucketIntelligentTieringConfigurationCommand extends
|
|
748
|
+
class GetBucketIntelligentTieringConfigurationCommand extends Command
|
|
728
749
|
.classBuilder()
|
|
729
750
|
.ep({
|
|
730
751
|
...commonParams,
|
|
@@ -733,17 +754,17 @@ class GetBucketIntelligentTieringConfigurationCommand extends client.Command
|
|
|
733
754
|
})
|
|
734
755
|
.m(function (Command, cs, config, o) {
|
|
735
756
|
return [
|
|
736
|
-
|
|
737
|
-
|
|
757
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
758
|
+
getThrow200ExceptionsPlugin(config),
|
|
738
759
|
];
|
|
739
760
|
})
|
|
740
761
|
.s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {})
|
|
741
762
|
.n("S3Client", "GetBucketIntelligentTieringConfigurationCommand")
|
|
742
|
-
.sc(
|
|
763
|
+
.sc(GetBucketIntelligentTieringConfiguration$)
|
|
743
764
|
.build() {
|
|
744
765
|
}
|
|
745
766
|
|
|
746
|
-
class GetBucketInventoryConfigurationCommand extends
|
|
767
|
+
class GetBucketInventoryConfigurationCommand extends Command
|
|
747
768
|
.classBuilder()
|
|
748
769
|
.ep({
|
|
749
770
|
...commonParams,
|
|
@@ -752,17 +773,17 @@ class GetBucketInventoryConfigurationCommand extends client.Command
|
|
|
752
773
|
})
|
|
753
774
|
.m(function (Command, cs, config, o) {
|
|
754
775
|
return [
|
|
755
|
-
|
|
756
|
-
|
|
776
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
777
|
+
getThrow200ExceptionsPlugin(config),
|
|
757
778
|
];
|
|
758
779
|
})
|
|
759
780
|
.s("AmazonS3", "GetBucketInventoryConfiguration", {})
|
|
760
781
|
.n("S3Client", "GetBucketInventoryConfigurationCommand")
|
|
761
|
-
.sc(
|
|
782
|
+
.sc(GetBucketInventoryConfiguration$)
|
|
762
783
|
.build() {
|
|
763
784
|
}
|
|
764
785
|
|
|
765
|
-
class GetBucketLifecycleConfigurationCommand extends
|
|
786
|
+
class GetBucketLifecycleConfigurationCommand extends Command
|
|
766
787
|
.classBuilder()
|
|
767
788
|
.ep({
|
|
768
789
|
...commonParams,
|
|
@@ -771,17 +792,17 @@ class GetBucketLifecycleConfigurationCommand extends client.Command
|
|
|
771
792
|
})
|
|
772
793
|
.m(function (Command, cs, config, o) {
|
|
773
794
|
return [
|
|
774
|
-
|
|
775
|
-
|
|
795
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
796
|
+
getThrow200ExceptionsPlugin(config),
|
|
776
797
|
];
|
|
777
798
|
})
|
|
778
799
|
.s("AmazonS3", "GetBucketLifecycleConfiguration", {})
|
|
779
800
|
.n("S3Client", "GetBucketLifecycleConfigurationCommand")
|
|
780
|
-
.sc(
|
|
801
|
+
.sc(GetBucketLifecycleConfiguration$)
|
|
781
802
|
.build() {
|
|
782
803
|
}
|
|
783
804
|
|
|
784
|
-
class GetBucketLocationCommand extends
|
|
805
|
+
class GetBucketLocationCommand extends Command
|
|
785
806
|
.classBuilder()
|
|
786
807
|
.ep({
|
|
787
808
|
...commonParams,
|
|
@@ -790,17 +811,17 @@ class GetBucketLocationCommand extends client.Command
|
|
|
790
811
|
})
|
|
791
812
|
.m(function (Command, cs, config, o) {
|
|
792
813
|
return [
|
|
793
|
-
|
|
794
|
-
|
|
814
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
815
|
+
getThrow200ExceptionsPlugin(config),
|
|
795
816
|
];
|
|
796
817
|
})
|
|
797
818
|
.s("AmazonS3", "GetBucketLocation", {})
|
|
798
819
|
.n("S3Client", "GetBucketLocationCommand")
|
|
799
|
-
.sc(
|
|
820
|
+
.sc(GetBucketLocation$)
|
|
800
821
|
.build() {
|
|
801
822
|
}
|
|
802
823
|
|
|
803
|
-
class GetBucketLoggingCommand extends
|
|
824
|
+
class GetBucketLoggingCommand extends Command
|
|
804
825
|
.classBuilder()
|
|
805
826
|
.ep({
|
|
806
827
|
...commonParams,
|
|
@@ -809,17 +830,17 @@ class GetBucketLoggingCommand extends client.Command
|
|
|
809
830
|
})
|
|
810
831
|
.m(function (Command, cs, config, o) {
|
|
811
832
|
return [
|
|
812
|
-
|
|
813
|
-
|
|
833
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
834
|
+
getThrow200ExceptionsPlugin(config),
|
|
814
835
|
];
|
|
815
836
|
})
|
|
816
837
|
.s("AmazonS3", "GetBucketLogging", {})
|
|
817
838
|
.n("S3Client", "GetBucketLoggingCommand")
|
|
818
|
-
.sc(
|
|
839
|
+
.sc(GetBucketLogging$)
|
|
819
840
|
.build() {
|
|
820
841
|
}
|
|
821
842
|
|
|
822
|
-
class GetBucketMetadataConfigurationCommand extends
|
|
843
|
+
class GetBucketMetadataConfigurationCommand extends Command
|
|
823
844
|
.classBuilder()
|
|
824
845
|
.ep({
|
|
825
846
|
...commonParams,
|
|
@@ -828,17 +849,17 @@ class GetBucketMetadataConfigurationCommand extends client.Command
|
|
|
828
849
|
})
|
|
829
850
|
.m(function (Command, cs, config, o) {
|
|
830
851
|
return [
|
|
831
|
-
|
|
832
|
-
|
|
852
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
853
|
+
getThrow200ExceptionsPlugin(config),
|
|
833
854
|
];
|
|
834
855
|
})
|
|
835
856
|
.s("AmazonS3", "GetBucketMetadataConfiguration", {})
|
|
836
857
|
.n("S3Client", "GetBucketMetadataConfigurationCommand")
|
|
837
|
-
.sc(
|
|
858
|
+
.sc(GetBucketMetadataConfiguration$)
|
|
838
859
|
.build() {
|
|
839
860
|
}
|
|
840
861
|
|
|
841
|
-
class GetBucketMetadataTableConfigurationCommand extends
|
|
862
|
+
class GetBucketMetadataTableConfigurationCommand extends Command
|
|
842
863
|
.classBuilder()
|
|
843
864
|
.ep({
|
|
844
865
|
...commonParams,
|
|
@@ -847,17 +868,17 @@ class GetBucketMetadataTableConfigurationCommand extends client.Command
|
|
|
847
868
|
})
|
|
848
869
|
.m(function (Command, cs, config, o) {
|
|
849
870
|
return [
|
|
850
|
-
|
|
851
|
-
|
|
871
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
872
|
+
getThrow200ExceptionsPlugin(config),
|
|
852
873
|
];
|
|
853
874
|
})
|
|
854
875
|
.s("AmazonS3", "GetBucketMetadataTableConfiguration", {})
|
|
855
876
|
.n("S3Client", "GetBucketMetadataTableConfigurationCommand")
|
|
856
|
-
.sc(
|
|
877
|
+
.sc(GetBucketMetadataTableConfiguration$)
|
|
857
878
|
.build() {
|
|
858
879
|
}
|
|
859
880
|
|
|
860
|
-
class GetBucketMetricsConfigurationCommand extends
|
|
881
|
+
class GetBucketMetricsConfigurationCommand extends Command
|
|
861
882
|
.classBuilder()
|
|
862
883
|
.ep({
|
|
863
884
|
...commonParams,
|
|
@@ -866,17 +887,17 @@ class GetBucketMetricsConfigurationCommand extends client.Command
|
|
|
866
887
|
})
|
|
867
888
|
.m(function (Command, cs, config, o) {
|
|
868
889
|
return [
|
|
869
|
-
|
|
870
|
-
|
|
890
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
891
|
+
getThrow200ExceptionsPlugin(config),
|
|
871
892
|
];
|
|
872
893
|
})
|
|
873
894
|
.s("AmazonS3", "GetBucketMetricsConfiguration", {})
|
|
874
895
|
.n("S3Client", "GetBucketMetricsConfigurationCommand")
|
|
875
|
-
.sc(
|
|
896
|
+
.sc(GetBucketMetricsConfiguration$)
|
|
876
897
|
.build() {
|
|
877
898
|
}
|
|
878
899
|
|
|
879
|
-
class GetBucketNotificationConfigurationCommand extends
|
|
900
|
+
class GetBucketNotificationConfigurationCommand extends Command
|
|
880
901
|
.classBuilder()
|
|
881
902
|
.ep({
|
|
882
903
|
...commonParams,
|
|
@@ -885,17 +906,17 @@ class GetBucketNotificationConfigurationCommand extends client.Command
|
|
|
885
906
|
})
|
|
886
907
|
.m(function (Command, cs, config, o) {
|
|
887
908
|
return [
|
|
888
|
-
|
|
889
|
-
|
|
909
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
910
|
+
getThrow200ExceptionsPlugin(config),
|
|
890
911
|
];
|
|
891
912
|
})
|
|
892
913
|
.s("AmazonS3", "GetBucketNotificationConfiguration", {})
|
|
893
914
|
.n("S3Client", "GetBucketNotificationConfigurationCommand")
|
|
894
|
-
.sc(
|
|
915
|
+
.sc(GetBucketNotificationConfiguration$)
|
|
895
916
|
.build() {
|
|
896
917
|
}
|
|
897
918
|
|
|
898
|
-
class GetBucketOwnershipControlsCommand extends
|
|
919
|
+
class GetBucketOwnershipControlsCommand extends Command
|
|
899
920
|
.classBuilder()
|
|
900
921
|
.ep({
|
|
901
922
|
...commonParams,
|
|
@@ -904,17 +925,17 @@ class GetBucketOwnershipControlsCommand extends client.Command
|
|
|
904
925
|
})
|
|
905
926
|
.m(function (Command, cs, config, o) {
|
|
906
927
|
return [
|
|
907
|
-
|
|
908
|
-
|
|
928
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
929
|
+
getThrow200ExceptionsPlugin(config),
|
|
909
930
|
];
|
|
910
931
|
})
|
|
911
932
|
.s("AmazonS3", "GetBucketOwnershipControls", {})
|
|
912
933
|
.n("S3Client", "GetBucketOwnershipControlsCommand")
|
|
913
|
-
.sc(
|
|
934
|
+
.sc(GetBucketOwnershipControls$)
|
|
914
935
|
.build() {
|
|
915
936
|
}
|
|
916
937
|
|
|
917
|
-
class GetBucketPolicyCommand extends
|
|
938
|
+
class GetBucketPolicyCommand extends Command
|
|
918
939
|
.classBuilder()
|
|
919
940
|
.ep({
|
|
920
941
|
...commonParams,
|
|
@@ -922,15 +943,15 @@ class GetBucketPolicyCommand extends client.Command
|
|
|
922
943
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
923
944
|
})
|
|
924
945
|
.m(function (Command, cs, config, o) {
|
|
925
|
-
return [
|
|
946
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
926
947
|
})
|
|
927
948
|
.s("AmazonS3", "GetBucketPolicy", {})
|
|
928
949
|
.n("S3Client", "GetBucketPolicyCommand")
|
|
929
|
-
.sc(
|
|
950
|
+
.sc(GetBucketPolicy$)
|
|
930
951
|
.build() {
|
|
931
952
|
}
|
|
932
953
|
|
|
933
|
-
class GetBucketPolicyStatusCommand extends
|
|
954
|
+
class GetBucketPolicyStatusCommand extends Command
|
|
934
955
|
.classBuilder()
|
|
935
956
|
.ep({
|
|
936
957
|
...commonParams,
|
|
@@ -939,17 +960,17 @@ class GetBucketPolicyStatusCommand extends client.Command
|
|
|
939
960
|
})
|
|
940
961
|
.m(function (Command, cs, config, o) {
|
|
941
962
|
return [
|
|
942
|
-
|
|
943
|
-
|
|
963
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
964
|
+
getThrow200ExceptionsPlugin(config),
|
|
944
965
|
];
|
|
945
966
|
})
|
|
946
967
|
.s("AmazonS3", "GetBucketPolicyStatus", {})
|
|
947
968
|
.n("S3Client", "GetBucketPolicyStatusCommand")
|
|
948
|
-
.sc(
|
|
969
|
+
.sc(GetBucketPolicyStatus$)
|
|
949
970
|
.build() {
|
|
950
971
|
}
|
|
951
972
|
|
|
952
|
-
class GetBucketReplicationCommand extends
|
|
973
|
+
class GetBucketReplicationCommand extends Command
|
|
953
974
|
.classBuilder()
|
|
954
975
|
.ep({
|
|
955
976
|
...commonParams,
|
|
@@ -958,17 +979,17 @@ class GetBucketReplicationCommand extends client.Command
|
|
|
958
979
|
})
|
|
959
980
|
.m(function (Command, cs, config, o) {
|
|
960
981
|
return [
|
|
961
|
-
|
|
962
|
-
|
|
982
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
983
|
+
getThrow200ExceptionsPlugin(config),
|
|
963
984
|
];
|
|
964
985
|
})
|
|
965
986
|
.s("AmazonS3", "GetBucketReplication", {})
|
|
966
987
|
.n("S3Client", "GetBucketReplicationCommand")
|
|
967
|
-
.sc(
|
|
988
|
+
.sc(GetBucketReplication$)
|
|
968
989
|
.build() {
|
|
969
990
|
}
|
|
970
991
|
|
|
971
|
-
class GetBucketRequestPaymentCommand extends
|
|
992
|
+
class GetBucketRequestPaymentCommand extends Command
|
|
972
993
|
.classBuilder()
|
|
973
994
|
.ep({
|
|
974
995
|
...commonParams,
|
|
@@ -977,17 +998,17 @@ class GetBucketRequestPaymentCommand extends client.Command
|
|
|
977
998
|
})
|
|
978
999
|
.m(function (Command, cs, config, o) {
|
|
979
1000
|
return [
|
|
980
|
-
|
|
981
|
-
|
|
1001
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1002
|
+
getThrow200ExceptionsPlugin(config),
|
|
982
1003
|
];
|
|
983
1004
|
})
|
|
984
1005
|
.s("AmazonS3", "GetBucketRequestPayment", {})
|
|
985
1006
|
.n("S3Client", "GetBucketRequestPaymentCommand")
|
|
986
|
-
.sc(
|
|
1007
|
+
.sc(GetBucketRequestPayment$)
|
|
987
1008
|
.build() {
|
|
988
1009
|
}
|
|
989
1010
|
|
|
990
|
-
class GetBucketTaggingCommand extends
|
|
1011
|
+
class GetBucketTaggingCommand extends Command
|
|
991
1012
|
.classBuilder()
|
|
992
1013
|
.ep({
|
|
993
1014
|
...commonParams,
|
|
@@ -996,17 +1017,17 @@ class GetBucketTaggingCommand extends client.Command
|
|
|
996
1017
|
})
|
|
997
1018
|
.m(function (Command, cs, config, o) {
|
|
998
1019
|
return [
|
|
999
|
-
|
|
1000
|
-
|
|
1020
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1021
|
+
getThrow200ExceptionsPlugin(config),
|
|
1001
1022
|
];
|
|
1002
1023
|
})
|
|
1003
1024
|
.s("AmazonS3", "GetBucketTagging", {})
|
|
1004
1025
|
.n("S3Client", "GetBucketTaggingCommand")
|
|
1005
|
-
.sc(
|
|
1026
|
+
.sc(GetBucketTagging$)
|
|
1006
1027
|
.build() {
|
|
1007
1028
|
}
|
|
1008
1029
|
|
|
1009
|
-
class GetBucketVersioningCommand extends
|
|
1030
|
+
class GetBucketVersioningCommand extends Command
|
|
1010
1031
|
.classBuilder()
|
|
1011
1032
|
.ep({
|
|
1012
1033
|
...commonParams,
|
|
@@ -1015,17 +1036,17 @@ class GetBucketVersioningCommand extends client.Command
|
|
|
1015
1036
|
})
|
|
1016
1037
|
.m(function (Command, cs, config, o) {
|
|
1017
1038
|
return [
|
|
1018
|
-
|
|
1019
|
-
|
|
1039
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1040
|
+
getThrow200ExceptionsPlugin(config),
|
|
1020
1041
|
];
|
|
1021
1042
|
})
|
|
1022
1043
|
.s("AmazonS3", "GetBucketVersioning", {})
|
|
1023
1044
|
.n("S3Client", "GetBucketVersioningCommand")
|
|
1024
|
-
.sc(
|
|
1045
|
+
.sc(GetBucketVersioning$)
|
|
1025
1046
|
.build() {
|
|
1026
1047
|
}
|
|
1027
1048
|
|
|
1028
|
-
class GetBucketWebsiteCommand extends
|
|
1049
|
+
class GetBucketWebsiteCommand extends Command
|
|
1029
1050
|
.classBuilder()
|
|
1030
1051
|
.ep({
|
|
1031
1052
|
...commonParams,
|
|
@@ -1034,17 +1055,17 @@ class GetBucketWebsiteCommand extends client.Command
|
|
|
1034
1055
|
})
|
|
1035
1056
|
.m(function (Command, cs, config, o) {
|
|
1036
1057
|
return [
|
|
1037
|
-
|
|
1038
|
-
|
|
1058
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1059
|
+
getThrow200ExceptionsPlugin(config),
|
|
1039
1060
|
];
|
|
1040
1061
|
})
|
|
1041
1062
|
.s("AmazonS3", "GetBucketWebsite", {})
|
|
1042
1063
|
.n("S3Client", "GetBucketWebsiteCommand")
|
|
1043
|
-
.sc(
|
|
1064
|
+
.sc(GetBucketWebsite$)
|
|
1044
1065
|
.build() {
|
|
1045
1066
|
}
|
|
1046
1067
|
|
|
1047
|
-
class GetObjectAclCommand extends
|
|
1068
|
+
class GetObjectAclCommand extends Command
|
|
1048
1069
|
.classBuilder()
|
|
1049
1070
|
.ep({
|
|
1050
1071
|
...commonParams,
|
|
@@ -1053,36 +1074,59 @@ class GetObjectAclCommand extends client.Command
|
|
|
1053
1074
|
})
|
|
1054
1075
|
.m(function (Command, cs, config, o) {
|
|
1055
1076
|
return [
|
|
1056
|
-
|
|
1057
|
-
|
|
1077
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1078
|
+
getThrow200ExceptionsPlugin(config),
|
|
1058
1079
|
];
|
|
1059
1080
|
})
|
|
1060
1081
|
.s("AmazonS3", "GetObjectAcl", {})
|
|
1061
1082
|
.n("S3Client", "GetObjectAclCommand")
|
|
1062
|
-
.sc(
|
|
1083
|
+
.sc(GetObjectAcl$)
|
|
1063
1084
|
.build() {
|
|
1064
1085
|
}
|
|
1065
1086
|
|
|
1066
|
-
class
|
|
1087
|
+
class GetObjectAnnotationCommand extends Command
|
|
1067
1088
|
.classBuilder()
|
|
1068
1089
|
.ep({
|
|
1069
1090
|
...commonParams,
|
|
1070
1091
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1092
|
+
Key: { type: "contextParams", name: "Key" },
|
|
1071
1093
|
})
|
|
1072
1094
|
.m(function (Command, cs, config, o) {
|
|
1073
1095
|
return [
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1096
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1097
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1098
|
+
requestChecksumRequired: false,
|
|
1099
|
+
requestValidationModeMember: 'ChecksumMode',
|
|
1100
|
+
'responseAlgorithms': ['CRC64NVME', 'CRC32', 'CRC32C', 'SHA256', 'SHA1', 'SHA512', 'MD5', 'XXHASH64', 'XXHASH3', 'XXHASH128'],
|
|
1101
|
+
}),
|
|
1102
|
+
];
|
|
1103
|
+
})
|
|
1104
|
+
.s("AmazonS3", "GetObjectAnnotation", {})
|
|
1105
|
+
.n("S3Client", "GetObjectAnnotationCommand")
|
|
1106
|
+
.sc(GetObjectAnnotation$)
|
|
1107
|
+
.build() {
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
class GetObjectAttributesCommand extends Command
|
|
1111
|
+
.classBuilder()
|
|
1112
|
+
.ep({
|
|
1113
|
+
...commonParams,
|
|
1114
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1115
|
+
})
|
|
1116
|
+
.m(function (Command, cs, config, o) {
|
|
1117
|
+
return [
|
|
1118
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1119
|
+
getThrow200ExceptionsPlugin(config),
|
|
1120
|
+
getSsecPlugin(config),
|
|
1077
1121
|
];
|
|
1078
1122
|
})
|
|
1079
1123
|
.s("AmazonS3", "GetObjectAttributes", {})
|
|
1080
1124
|
.n("S3Client", "GetObjectAttributesCommand")
|
|
1081
|
-
.sc(
|
|
1125
|
+
.sc(GetObjectAttributes$)
|
|
1082
1126
|
.build() {
|
|
1083
1127
|
}
|
|
1084
1128
|
|
|
1085
|
-
class GetObjectCommand extends
|
|
1129
|
+
class GetObjectCommand extends Command
|
|
1086
1130
|
.classBuilder()
|
|
1087
1131
|
.ep({
|
|
1088
1132
|
...commonParams,
|
|
@@ -1091,23 +1135,23 @@ class GetObjectCommand extends client.Command
|
|
|
1091
1135
|
})
|
|
1092
1136
|
.m(function (Command, cs, config, o) {
|
|
1093
1137
|
return [
|
|
1094
|
-
|
|
1095
|
-
|
|
1138
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1139
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1096
1140
|
requestChecksumRequired: false,
|
|
1097
1141
|
requestValidationModeMember: 'ChecksumMode',
|
|
1098
1142
|
'responseAlgorithms': ['CRC64NVME', 'CRC32', 'CRC32C', 'SHA256', 'SHA1', 'SHA512', 'MD5', 'XXHASH64', 'XXHASH3', 'XXHASH128'],
|
|
1099
1143
|
}),
|
|
1100
|
-
|
|
1101
|
-
|
|
1144
|
+
getSsecPlugin(config),
|
|
1145
|
+
getS3ExpiresMiddlewarePlugin(config),
|
|
1102
1146
|
];
|
|
1103
1147
|
})
|
|
1104
1148
|
.s("AmazonS3", "GetObject", {})
|
|
1105
1149
|
.n("S3Client", "GetObjectCommand")
|
|
1106
|
-
.sc(
|
|
1150
|
+
.sc(GetObject$)
|
|
1107
1151
|
.build() {
|
|
1108
1152
|
}
|
|
1109
1153
|
|
|
1110
|
-
class GetObjectLegalHoldCommand extends
|
|
1154
|
+
class GetObjectLegalHoldCommand extends Command
|
|
1111
1155
|
.classBuilder()
|
|
1112
1156
|
.ep({
|
|
1113
1157
|
...commonParams,
|
|
@@ -1115,17 +1159,17 @@ class GetObjectLegalHoldCommand extends client.Command
|
|
|
1115
1159
|
})
|
|
1116
1160
|
.m(function (Command, cs, config, o) {
|
|
1117
1161
|
return [
|
|
1118
|
-
|
|
1119
|
-
|
|
1162
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1163
|
+
getThrow200ExceptionsPlugin(config),
|
|
1120
1164
|
];
|
|
1121
1165
|
})
|
|
1122
1166
|
.s("AmazonS3", "GetObjectLegalHold", {})
|
|
1123
1167
|
.n("S3Client", "GetObjectLegalHoldCommand")
|
|
1124
|
-
.sc(
|
|
1168
|
+
.sc(GetObjectLegalHold$)
|
|
1125
1169
|
.build() {
|
|
1126
1170
|
}
|
|
1127
1171
|
|
|
1128
|
-
class GetObjectLockConfigurationCommand extends
|
|
1172
|
+
class GetObjectLockConfigurationCommand extends Command
|
|
1129
1173
|
.classBuilder()
|
|
1130
1174
|
.ep({
|
|
1131
1175
|
...commonParams,
|
|
@@ -1133,17 +1177,17 @@ class GetObjectLockConfigurationCommand extends client.Command
|
|
|
1133
1177
|
})
|
|
1134
1178
|
.m(function (Command, cs, config, o) {
|
|
1135
1179
|
return [
|
|
1136
|
-
|
|
1137
|
-
|
|
1180
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1181
|
+
getThrow200ExceptionsPlugin(config),
|
|
1138
1182
|
];
|
|
1139
1183
|
})
|
|
1140
1184
|
.s("AmazonS3", "GetObjectLockConfiguration", {})
|
|
1141
1185
|
.n("S3Client", "GetObjectLockConfigurationCommand")
|
|
1142
|
-
.sc(
|
|
1186
|
+
.sc(GetObjectLockConfiguration$)
|
|
1143
1187
|
.build() {
|
|
1144
1188
|
}
|
|
1145
1189
|
|
|
1146
|
-
class GetObjectRetentionCommand extends
|
|
1190
|
+
class GetObjectRetentionCommand extends Command
|
|
1147
1191
|
.classBuilder()
|
|
1148
1192
|
.ep({
|
|
1149
1193
|
...commonParams,
|
|
@@ -1151,17 +1195,17 @@ class GetObjectRetentionCommand extends client.Command
|
|
|
1151
1195
|
})
|
|
1152
1196
|
.m(function (Command, cs, config, o) {
|
|
1153
1197
|
return [
|
|
1154
|
-
|
|
1155
|
-
|
|
1198
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1199
|
+
getThrow200ExceptionsPlugin(config),
|
|
1156
1200
|
];
|
|
1157
1201
|
})
|
|
1158
1202
|
.s("AmazonS3", "GetObjectRetention", {})
|
|
1159
1203
|
.n("S3Client", "GetObjectRetentionCommand")
|
|
1160
|
-
.sc(
|
|
1204
|
+
.sc(GetObjectRetention$)
|
|
1161
1205
|
.build() {
|
|
1162
1206
|
}
|
|
1163
1207
|
|
|
1164
|
-
class GetObjectTaggingCommand extends
|
|
1208
|
+
class GetObjectTaggingCommand extends Command
|
|
1165
1209
|
.classBuilder()
|
|
1166
1210
|
.ep({
|
|
1167
1211
|
...commonParams,
|
|
@@ -1169,32 +1213,32 @@ class GetObjectTaggingCommand extends client.Command
|
|
|
1169
1213
|
})
|
|
1170
1214
|
.m(function (Command, cs, config, o) {
|
|
1171
1215
|
return [
|
|
1172
|
-
|
|
1173
|
-
|
|
1216
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1217
|
+
getThrow200ExceptionsPlugin(config),
|
|
1174
1218
|
];
|
|
1175
1219
|
})
|
|
1176
1220
|
.s("AmazonS3", "GetObjectTagging", {})
|
|
1177
1221
|
.n("S3Client", "GetObjectTaggingCommand")
|
|
1178
|
-
.sc(
|
|
1222
|
+
.sc(GetObjectTagging$)
|
|
1179
1223
|
.build() {
|
|
1180
1224
|
}
|
|
1181
1225
|
|
|
1182
|
-
class GetObjectTorrentCommand extends
|
|
1226
|
+
class GetObjectTorrentCommand extends Command
|
|
1183
1227
|
.classBuilder()
|
|
1184
1228
|
.ep({
|
|
1185
1229
|
...commonParams,
|
|
1186
1230
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1187
1231
|
})
|
|
1188
1232
|
.m(function (Command, cs, config, o) {
|
|
1189
|
-
return [
|
|
1233
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1190
1234
|
})
|
|
1191
1235
|
.s("AmazonS3", "GetObjectTorrent", {})
|
|
1192
1236
|
.n("S3Client", "GetObjectTorrentCommand")
|
|
1193
|
-
.sc(
|
|
1237
|
+
.sc(GetObjectTorrent$)
|
|
1194
1238
|
.build() {
|
|
1195
1239
|
}
|
|
1196
1240
|
|
|
1197
|
-
class GetPublicAccessBlockCommand extends
|
|
1241
|
+
class GetPublicAccessBlockCommand extends Command
|
|
1198
1242
|
.classBuilder()
|
|
1199
1243
|
.ep({
|
|
1200
1244
|
...commonParams,
|
|
@@ -1203,17 +1247,17 @@ class GetPublicAccessBlockCommand extends client.Command
|
|
|
1203
1247
|
})
|
|
1204
1248
|
.m(function (Command, cs, config, o) {
|
|
1205
1249
|
return [
|
|
1206
|
-
|
|
1207
|
-
|
|
1250
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1251
|
+
getThrow200ExceptionsPlugin(config),
|
|
1208
1252
|
];
|
|
1209
1253
|
})
|
|
1210
1254
|
.s("AmazonS3", "GetPublicAccessBlock", {})
|
|
1211
1255
|
.n("S3Client", "GetPublicAccessBlockCommand")
|
|
1212
|
-
.sc(
|
|
1256
|
+
.sc(GetPublicAccessBlock$)
|
|
1213
1257
|
.build() {
|
|
1214
1258
|
}
|
|
1215
1259
|
|
|
1216
|
-
class HeadBucketCommand extends
|
|
1260
|
+
class HeadBucketCommand extends Command
|
|
1217
1261
|
.classBuilder()
|
|
1218
1262
|
.ep({
|
|
1219
1263
|
...commonParams,
|
|
@@ -1221,17 +1265,17 @@ class HeadBucketCommand extends client.Command
|
|
|
1221
1265
|
})
|
|
1222
1266
|
.m(function (Command, cs, config, o) {
|
|
1223
1267
|
return [
|
|
1224
|
-
|
|
1225
|
-
|
|
1268
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1269
|
+
getThrow200ExceptionsPlugin(config),
|
|
1226
1270
|
];
|
|
1227
1271
|
})
|
|
1228
1272
|
.s("AmazonS3", "HeadBucket", {})
|
|
1229
1273
|
.n("S3Client", "HeadBucketCommand")
|
|
1230
|
-
.sc(
|
|
1274
|
+
.sc(HeadBucket$)
|
|
1231
1275
|
.build() {
|
|
1232
1276
|
}
|
|
1233
1277
|
|
|
1234
|
-
class HeadObjectCommand extends
|
|
1278
|
+
class HeadObjectCommand extends Command
|
|
1235
1279
|
.classBuilder()
|
|
1236
1280
|
.ep({
|
|
1237
1281
|
...commonParams,
|
|
@@ -1240,19 +1284,19 @@ class HeadObjectCommand extends client.Command
|
|
|
1240
1284
|
})
|
|
1241
1285
|
.m(function (Command, cs, config, o) {
|
|
1242
1286
|
return [
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1287
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1288
|
+
getThrow200ExceptionsPlugin(config),
|
|
1289
|
+
getSsecPlugin(config),
|
|
1290
|
+
getS3ExpiresMiddlewarePlugin(config),
|
|
1247
1291
|
];
|
|
1248
1292
|
})
|
|
1249
1293
|
.s("AmazonS3", "HeadObject", {})
|
|
1250
1294
|
.n("S3Client", "HeadObjectCommand")
|
|
1251
|
-
.sc(
|
|
1295
|
+
.sc(HeadObject$)
|
|
1252
1296
|
.build() {
|
|
1253
1297
|
}
|
|
1254
1298
|
|
|
1255
|
-
class ListBucketAnalyticsConfigurationsCommand extends
|
|
1299
|
+
class ListBucketAnalyticsConfigurationsCommand extends Command
|
|
1256
1300
|
.classBuilder()
|
|
1257
1301
|
.ep({
|
|
1258
1302
|
...commonParams,
|
|
@@ -1261,17 +1305,17 @@ class ListBucketAnalyticsConfigurationsCommand extends client.Command
|
|
|
1261
1305
|
})
|
|
1262
1306
|
.m(function (Command, cs, config, o) {
|
|
1263
1307
|
return [
|
|
1264
|
-
|
|
1265
|
-
|
|
1308
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1309
|
+
getThrow200ExceptionsPlugin(config),
|
|
1266
1310
|
];
|
|
1267
1311
|
})
|
|
1268
1312
|
.s("AmazonS3", "ListBucketAnalyticsConfigurations", {})
|
|
1269
1313
|
.n("S3Client", "ListBucketAnalyticsConfigurationsCommand")
|
|
1270
|
-
.sc(
|
|
1314
|
+
.sc(ListBucketAnalyticsConfigurations$)
|
|
1271
1315
|
.build() {
|
|
1272
1316
|
}
|
|
1273
1317
|
|
|
1274
|
-
class ListBucketIntelligentTieringConfigurationsCommand extends
|
|
1318
|
+
class ListBucketIntelligentTieringConfigurationsCommand extends Command
|
|
1275
1319
|
.classBuilder()
|
|
1276
1320
|
.ep({
|
|
1277
1321
|
...commonParams,
|
|
@@ -1280,17 +1324,17 @@ class ListBucketIntelligentTieringConfigurationsCommand extends client.Command
|
|
|
1280
1324
|
})
|
|
1281
1325
|
.m(function (Command, cs, config, o) {
|
|
1282
1326
|
return [
|
|
1283
|
-
|
|
1284
|
-
|
|
1327
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1328
|
+
getThrow200ExceptionsPlugin(config),
|
|
1285
1329
|
];
|
|
1286
1330
|
})
|
|
1287
1331
|
.s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {})
|
|
1288
1332
|
.n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand")
|
|
1289
|
-
.sc(
|
|
1333
|
+
.sc(ListBucketIntelligentTieringConfigurations$)
|
|
1290
1334
|
.build() {
|
|
1291
1335
|
}
|
|
1292
1336
|
|
|
1293
|
-
class ListBucketInventoryConfigurationsCommand extends
|
|
1337
|
+
class ListBucketInventoryConfigurationsCommand extends Command
|
|
1294
1338
|
.classBuilder()
|
|
1295
1339
|
.ep({
|
|
1296
1340
|
...commonParams,
|
|
@@ -1299,17 +1343,17 @@ class ListBucketInventoryConfigurationsCommand extends client.Command
|
|
|
1299
1343
|
})
|
|
1300
1344
|
.m(function (Command, cs, config, o) {
|
|
1301
1345
|
return [
|
|
1302
|
-
|
|
1303
|
-
|
|
1346
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1347
|
+
getThrow200ExceptionsPlugin(config),
|
|
1304
1348
|
];
|
|
1305
1349
|
})
|
|
1306
1350
|
.s("AmazonS3", "ListBucketInventoryConfigurations", {})
|
|
1307
1351
|
.n("S3Client", "ListBucketInventoryConfigurationsCommand")
|
|
1308
|
-
.sc(
|
|
1352
|
+
.sc(ListBucketInventoryConfigurations$)
|
|
1309
1353
|
.build() {
|
|
1310
1354
|
}
|
|
1311
1355
|
|
|
1312
|
-
class ListBucketMetricsConfigurationsCommand extends
|
|
1356
|
+
class ListBucketMetricsConfigurationsCommand extends Command
|
|
1313
1357
|
.classBuilder()
|
|
1314
1358
|
.ep({
|
|
1315
1359
|
...commonParams,
|
|
@@ -1318,32 +1362,32 @@ class ListBucketMetricsConfigurationsCommand extends client.Command
|
|
|
1318
1362
|
})
|
|
1319
1363
|
.m(function (Command, cs, config, o) {
|
|
1320
1364
|
return [
|
|
1321
|
-
|
|
1322
|
-
|
|
1365
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1366
|
+
getThrow200ExceptionsPlugin(config),
|
|
1323
1367
|
];
|
|
1324
1368
|
})
|
|
1325
1369
|
.s("AmazonS3", "ListBucketMetricsConfigurations", {})
|
|
1326
1370
|
.n("S3Client", "ListBucketMetricsConfigurationsCommand")
|
|
1327
|
-
.sc(
|
|
1371
|
+
.sc(ListBucketMetricsConfigurations$)
|
|
1328
1372
|
.build() {
|
|
1329
1373
|
}
|
|
1330
1374
|
|
|
1331
|
-
class ListBucketsCommand extends
|
|
1375
|
+
class ListBucketsCommand extends Command
|
|
1332
1376
|
.classBuilder()
|
|
1333
1377
|
.ep(commonParams)
|
|
1334
1378
|
.m(function (Command, cs, config, o) {
|
|
1335
1379
|
return [
|
|
1336
|
-
|
|
1337
|
-
|
|
1380
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1381
|
+
getThrow200ExceptionsPlugin(config),
|
|
1338
1382
|
];
|
|
1339
1383
|
})
|
|
1340
1384
|
.s("AmazonS3", "ListBuckets", {})
|
|
1341
1385
|
.n("S3Client", "ListBucketsCommand")
|
|
1342
|
-
.sc(
|
|
1386
|
+
.sc(ListBuckets$)
|
|
1343
1387
|
.build() {
|
|
1344
1388
|
}
|
|
1345
1389
|
|
|
1346
|
-
class ListDirectoryBucketsCommand extends
|
|
1390
|
+
class ListDirectoryBucketsCommand extends Command
|
|
1347
1391
|
.classBuilder()
|
|
1348
1392
|
.ep({
|
|
1349
1393
|
...commonParams,
|
|
@@ -1351,17 +1395,17 @@ class ListDirectoryBucketsCommand extends client.Command
|
|
|
1351
1395
|
})
|
|
1352
1396
|
.m(function (Command, cs, config, o) {
|
|
1353
1397
|
return [
|
|
1354
|
-
|
|
1355
|
-
|
|
1398
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1399
|
+
getThrow200ExceptionsPlugin(config),
|
|
1356
1400
|
];
|
|
1357
1401
|
})
|
|
1358
1402
|
.s("AmazonS3", "ListDirectoryBuckets", {})
|
|
1359
1403
|
.n("S3Client", "ListDirectoryBucketsCommand")
|
|
1360
|
-
.sc(
|
|
1404
|
+
.sc(ListDirectoryBuckets$)
|
|
1361
1405
|
.build() {
|
|
1362
1406
|
}
|
|
1363
1407
|
|
|
1364
|
-
class ListMultipartUploadsCommand extends
|
|
1408
|
+
class ListMultipartUploadsCommand extends Command
|
|
1365
1409
|
.classBuilder()
|
|
1366
1410
|
.ep({
|
|
1367
1411
|
...commonParams,
|
|
@@ -1370,17 +1414,35 @@ class ListMultipartUploadsCommand extends client.Command
|
|
|
1370
1414
|
})
|
|
1371
1415
|
.m(function (Command, cs, config, o) {
|
|
1372
1416
|
return [
|
|
1373
|
-
|
|
1374
|
-
|
|
1417
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1418
|
+
getThrow200ExceptionsPlugin(config),
|
|
1375
1419
|
];
|
|
1376
1420
|
})
|
|
1377
1421
|
.s("AmazonS3", "ListMultipartUploads", {})
|
|
1378
1422
|
.n("S3Client", "ListMultipartUploadsCommand")
|
|
1379
|
-
.sc(
|
|
1423
|
+
.sc(ListMultipartUploads$)
|
|
1380
1424
|
.build() {
|
|
1381
1425
|
}
|
|
1382
1426
|
|
|
1383
|
-
class
|
|
1427
|
+
class ListObjectAnnotationsCommand extends Command
|
|
1428
|
+
.classBuilder()
|
|
1429
|
+
.ep({
|
|
1430
|
+
...commonParams,
|
|
1431
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1432
|
+
})
|
|
1433
|
+
.m(function (Command, cs, config, o) {
|
|
1434
|
+
return [
|
|
1435
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1436
|
+
getThrow200ExceptionsPlugin(config),
|
|
1437
|
+
];
|
|
1438
|
+
})
|
|
1439
|
+
.s("AmazonS3", "ListObjectAnnotations", {})
|
|
1440
|
+
.n("S3Client", "ListObjectAnnotationsCommand")
|
|
1441
|
+
.sc(ListObjectAnnotations$)
|
|
1442
|
+
.build() {
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
class ListObjectsCommand extends Command
|
|
1384
1446
|
.classBuilder()
|
|
1385
1447
|
.ep({
|
|
1386
1448
|
...commonParams,
|
|
@@ -1389,17 +1451,17 @@ class ListObjectsCommand extends client.Command
|
|
|
1389
1451
|
})
|
|
1390
1452
|
.m(function (Command, cs, config, o) {
|
|
1391
1453
|
return [
|
|
1392
|
-
|
|
1393
|
-
|
|
1454
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1455
|
+
getThrow200ExceptionsPlugin(config),
|
|
1394
1456
|
];
|
|
1395
1457
|
})
|
|
1396
1458
|
.s("AmazonS3", "ListObjects", {})
|
|
1397
1459
|
.n("S3Client", "ListObjectsCommand")
|
|
1398
|
-
.sc(
|
|
1460
|
+
.sc(ListObjects$)
|
|
1399
1461
|
.build() {
|
|
1400
1462
|
}
|
|
1401
1463
|
|
|
1402
|
-
class ListObjectsV2Command extends
|
|
1464
|
+
class ListObjectsV2Command extends Command
|
|
1403
1465
|
.classBuilder()
|
|
1404
1466
|
.ep({
|
|
1405
1467
|
...commonParams,
|
|
@@ -1408,17 +1470,17 @@ class ListObjectsV2Command extends client.Command
|
|
|
1408
1470
|
})
|
|
1409
1471
|
.m(function (Command, cs, config, o) {
|
|
1410
1472
|
return [
|
|
1411
|
-
|
|
1412
|
-
|
|
1473
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1474
|
+
getThrow200ExceptionsPlugin(config),
|
|
1413
1475
|
];
|
|
1414
1476
|
})
|
|
1415
1477
|
.s("AmazonS3", "ListObjectsV2", {})
|
|
1416
1478
|
.n("S3Client", "ListObjectsV2Command")
|
|
1417
|
-
.sc(
|
|
1479
|
+
.sc(ListObjectsV2$)
|
|
1418
1480
|
.build() {
|
|
1419
1481
|
}
|
|
1420
1482
|
|
|
1421
|
-
class ListObjectVersionsCommand extends
|
|
1483
|
+
class ListObjectVersionsCommand extends Command
|
|
1422
1484
|
.classBuilder()
|
|
1423
1485
|
.ep({
|
|
1424
1486
|
...commonParams,
|
|
@@ -1427,17 +1489,17 @@ class ListObjectVersionsCommand extends client.Command
|
|
|
1427
1489
|
})
|
|
1428
1490
|
.m(function (Command, cs, config, o) {
|
|
1429
1491
|
return [
|
|
1430
|
-
|
|
1431
|
-
|
|
1492
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1493
|
+
getThrow200ExceptionsPlugin(config),
|
|
1432
1494
|
];
|
|
1433
1495
|
})
|
|
1434
1496
|
.s("AmazonS3", "ListObjectVersions", {})
|
|
1435
1497
|
.n("S3Client", "ListObjectVersionsCommand")
|
|
1436
|
-
.sc(
|
|
1498
|
+
.sc(ListObjectVersions$)
|
|
1437
1499
|
.build() {
|
|
1438
1500
|
}
|
|
1439
1501
|
|
|
1440
|
-
class ListPartsCommand extends
|
|
1502
|
+
class ListPartsCommand extends Command
|
|
1441
1503
|
.classBuilder()
|
|
1442
1504
|
.ep({
|
|
1443
1505
|
...commonParams,
|
|
@@ -1446,18 +1508,18 @@ class ListPartsCommand extends client.Command
|
|
|
1446
1508
|
})
|
|
1447
1509
|
.m(function (Command, cs, config, o) {
|
|
1448
1510
|
return [
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1511
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1512
|
+
getThrow200ExceptionsPlugin(config),
|
|
1513
|
+
getSsecPlugin(config),
|
|
1452
1514
|
];
|
|
1453
1515
|
})
|
|
1454
1516
|
.s("AmazonS3", "ListParts", {})
|
|
1455
1517
|
.n("S3Client", "ListPartsCommand")
|
|
1456
|
-
.sc(
|
|
1518
|
+
.sc(ListParts$)
|
|
1457
1519
|
.build() {
|
|
1458
1520
|
}
|
|
1459
1521
|
|
|
1460
|
-
class PutBucketAbacCommand extends
|
|
1522
|
+
class PutBucketAbacCommand extends Command
|
|
1461
1523
|
.classBuilder()
|
|
1462
1524
|
.ep({
|
|
1463
1525
|
...commonParams,
|
|
@@ -1465,8 +1527,8 @@ class PutBucketAbacCommand extends client.Command
|
|
|
1465
1527
|
})
|
|
1466
1528
|
.m(function (Command, cs, config, o) {
|
|
1467
1529
|
return [
|
|
1468
|
-
|
|
1469
|
-
|
|
1530
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1531
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1470
1532
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1471
1533
|
requestChecksumRequired: false,
|
|
1472
1534
|
}),
|
|
@@ -1474,11 +1536,11 @@ class PutBucketAbacCommand extends client.Command
|
|
|
1474
1536
|
})
|
|
1475
1537
|
.s("AmazonS3", "PutBucketAbac", {})
|
|
1476
1538
|
.n("S3Client", "PutBucketAbacCommand")
|
|
1477
|
-
.sc(
|
|
1539
|
+
.sc(PutBucketAbac$)
|
|
1478
1540
|
.build() {
|
|
1479
1541
|
}
|
|
1480
1542
|
|
|
1481
|
-
class PutBucketAccelerateConfigurationCommand extends
|
|
1543
|
+
class PutBucketAccelerateConfigurationCommand extends Command
|
|
1482
1544
|
.classBuilder()
|
|
1483
1545
|
.ep({
|
|
1484
1546
|
...commonParams,
|
|
@@ -1487,8 +1549,8 @@ class PutBucketAccelerateConfigurationCommand extends client.Command
|
|
|
1487
1549
|
})
|
|
1488
1550
|
.m(function (Command, cs, config, o) {
|
|
1489
1551
|
return [
|
|
1490
|
-
|
|
1491
|
-
|
|
1552
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1553
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1492
1554
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1493
1555
|
requestChecksumRequired: false,
|
|
1494
1556
|
}),
|
|
@@ -1496,11 +1558,11 @@ class PutBucketAccelerateConfigurationCommand extends client.Command
|
|
|
1496
1558
|
})
|
|
1497
1559
|
.s("AmazonS3", "PutBucketAccelerateConfiguration", {})
|
|
1498
1560
|
.n("S3Client", "PutBucketAccelerateConfigurationCommand")
|
|
1499
|
-
.sc(
|
|
1561
|
+
.sc(PutBucketAccelerateConfiguration$)
|
|
1500
1562
|
.build() {
|
|
1501
1563
|
}
|
|
1502
1564
|
|
|
1503
|
-
class PutBucketAclCommand extends
|
|
1565
|
+
class PutBucketAclCommand extends Command
|
|
1504
1566
|
.classBuilder()
|
|
1505
1567
|
.ep({
|
|
1506
1568
|
...commonParams,
|
|
@@ -1509,8 +1571,8 @@ class PutBucketAclCommand extends client.Command
|
|
|
1509
1571
|
})
|
|
1510
1572
|
.m(function (Command, cs, config, o) {
|
|
1511
1573
|
return [
|
|
1512
|
-
|
|
1513
|
-
|
|
1574
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1575
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1514
1576
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1515
1577
|
requestChecksumRequired: true,
|
|
1516
1578
|
}),
|
|
@@ -1518,11 +1580,11 @@ class PutBucketAclCommand extends client.Command
|
|
|
1518
1580
|
})
|
|
1519
1581
|
.s("AmazonS3", "PutBucketAcl", {})
|
|
1520
1582
|
.n("S3Client", "PutBucketAclCommand")
|
|
1521
|
-
.sc(
|
|
1583
|
+
.sc(PutBucketAcl$)
|
|
1522
1584
|
.build() {
|
|
1523
1585
|
}
|
|
1524
1586
|
|
|
1525
|
-
class PutBucketAnalyticsConfigurationCommand extends
|
|
1587
|
+
class PutBucketAnalyticsConfigurationCommand extends Command
|
|
1526
1588
|
.classBuilder()
|
|
1527
1589
|
.ep({
|
|
1528
1590
|
...commonParams,
|
|
@@ -1530,15 +1592,15 @@ class PutBucketAnalyticsConfigurationCommand extends client.Command
|
|
|
1530
1592
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1531
1593
|
})
|
|
1532
1594
|
.m(function (Command, cs, config, o) {
|
|
1533
|
-
return [
|
|
1595
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1534
1596
|
})
|
|
1535
1597
|
.s("AmazonS3", "PutBucketAnalyticsConfiguration", {})
|
|
1536
1598
|
.n("S3Client", "PutBucketAnalyticsConfigurationCommand")
|
|
1537
|
-
.sc(
|
|
1599
|
+
.sc(PutBucketAnalyticsConfiguration$)
|
|
1538
1600
|
.build() {
|
|
1539
1601
|
}
|
|
1540
1602
|
|
|
1541
|
-
class PutBucketCorsCommand extends
|
|
1603
|
+
class PutBucketCorsCommand extends Command
|
|
1542
1604
|
.classBuilder()
|
|
1543
1605
|
.ep({
|
|
1544
1606
|
...commonParams,
|
|
@@ -1547,8 +1609,8 @@ class PutBucketCorsCommand extends client.Command
|
|
|
1547
1609
|
})
|
|
1548
1610
|
.m(function (Command, cs, config, o) {
|
|
1549
1611
|
return [
|
|
1550
|
-
|
|
1551
|
-
|
|
1612
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1613
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1552
1614
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1553
1615
|
requestChecksumRequired: true,
|
|
1554
1616
|
}),
|
|
@@ -1556,11 +1618,11 @@ class PutBucketCorsCommand extends client.Command
|
|
|
1556
1618
|
})
|
|
1557
1619
|
.s("AmazonS3", "PutBucketCors", {})
|
|
1558
1620
|
.n("S3Client", "PutBucketCorsCommand")
|
|
1559
|
-
.sc(
|
|
1621
|
+
.sc(PutBucketCors$)
|
|
1560
1622
|
.build() {
|
|
1561
1623
|
}
|
|
1562
1624
|
|
|
1563
|
-
class PutBucketEncryptionCommand extends
|
|
1625
|
+
class PutBucketEncryptionCommand extends Command
|
|
1564
1626
|
.classBuilder()
|
|
1565
1627
|
.ep({
|
|
1566
1628
|
...commonParams,
|
|
@@ -1569,8 +1631,8 @@ class PutBucketEncryptionCommand extends client.Command
|
|
|
1569
1631
|
})
|
|
1570
1632
|
.m(function (Command, cs, config, o) {
|
|
1571
1633
|
return [
|
|
1572
|
-
|
|
1573
|
-
|
|
1634
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1635
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1574
1636
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1575
1637
|
requestChecksumRequired: true,
|
|
1576
1638
|
}),
|
|
@@ -1578,11 +1640,11 @@ class PutBucketEncryptionCommand extends client.Command
|
|
|
1578
1640
|
})
|
|
1579
1641
|
.s("AmazonS3", "PutBucketEncryption", {})
|
|
1580
1642
|
.n("S3Client", "PutBucketEncryptionCommand")
|
|
1581
|
-
.sc(
|
|
1643
|
+
.sc(PutBucketEncryption$)
|
|
1582
1644
|
.build() {
|
|
1583
1645
|
}
|
|
1584
1646
|
|
|
1585
|
-
class PutBucketIntelligentTieringConfigurationCommand extends
|
|
1647
|
+
class PutBucketIntelligentTieringConfigurationCommand extends Command
|
|
1586
1648
|
.classBuilder()
|
|
1587
1649
|
.ep({
|
|
1588
1650
|
...commonParams,
|
|
@@ -1590,15 +1652,15 @@ class PutBucketIntelligentTieringConfigurationCommand extends client.Command
|
|
|
1590
1652
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1591
1653
|
})
|
|
1592
1654
|
.m(function (Command, cs, config, o) {
|
|
1593
|
-
return [
|
|
1655
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1594
1656
|
})
|
|
1595
1657
|
.s("AmazonS3", "PutBucketIntelligentTieringConfiguration", {})
|
|
1596
1658
|
.n("S3Client", "PutBucketIntelligentTieringConfigurationCommand")
|
|
1597
|
-
.sc(
|
|
1659
|
+
.sc(PutBucketIntelligentTieringConfiguration$)
|
|
1598
1660
|
.build() {
|
|
1599
1661
|
}
|
|
1600
1662
|
|
|
1601
|
-
class PutBucketInventoryConfigurationCommand extends
|
|
1663
|
+
class PutBucketInventoryConfigurationCommand extends Command
|
|
1602
1664
|
.classBuilder()
|
|
1603
1665
|
.ep({
|
|
1604
1666
|
...commonParams,
|
|
@@ -1606,15 +1668,15 @@ class PutBucketInventoryConfigurationCommand extends client.Command
|
|
|
1606
1668
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1607
1669
|
})
|
|
1608
1670
|
.m(function (Command, cs, config, o) {
|
|
1609
|
-
return [
|
|
1671
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1610
1672
|
})
|
|
1611
1673
|
.s("AmazonS3", "PutBucketInventoryConfiguration", {})
|
|
1612
1674
|
.n("S3Client", "PutBucketInventoryConfigurationCommand")
|
|
1613
|
-
.sc(
|
|
1675
|
+
.sc(PutBucketInventoryConfiguration$)
|
|
1614
1676
|
.build() {
|
|
1615
1677
|
}
|
|
1616
1678
|
|
|
1617
|
-
class PutBucketLifecycleConfigurationCommand extends
|
|
1679
|
+
class PutBucketLifecycleConfigurationCommand extends Command
|
|
1618
1680
|
.classBuilder()
|
|
1619
1681
|
.ep({
|
|
1620
1682
|
...commonParams,
|
|
@@ -1623,21 +1685,21 @@ class PutBucketLifecycleConfigurationCommand extends client.Command
|
|
|
1623
1685
|
})
|
|
1624
1686
|
.m(function (Command, cs, config, o) {
|
|
1625
1687
|
return [
|
|
1626
|
-
|
|
1627
|
-
|
|
1688
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1689
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1628
1690
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1629
1691
|
requestChecksumRequired: true,
|
|
1630
1692
|
}),
|
|
1631
|
-
|
|
1693
|
+
getThrow200ExceptionsPlugin(config),
|
|
1632
1694
|
];
|
|
1633
1695
|
})
|
|
1634
1696
|
.s("AmazonS3", "PutBucketLifecycleConfiguration", {})
|
|
1635
1697
|
.n("S3Client", "PutBucketLifecycleConfigurationCommand")
|
|
1636
|
-
.sc(
|
|
1698
|
+
.sc(PutBucketLifecycleConfiguration$)
|
|
1637
1699
|
.build() {
|
|
1638
1700
|
}
|
|
1639
1701
|
|
|
1640
|
-
class PutBucketLoggingCommand extends
|
|
1702
|
+
class PutBucketLoggingCommand extends Command
|
|
1641
1703
|
.classBuilder()
|
|
1642
1704
|
.ep({
|
|
1643
1705
|
...commonParams,
|
|
@@ -1646,8 +1708,8 @@ class PutBucketLoggingCommand extends client.Command
|
|
|
1646
1708
|
})
|
|
1647
1709
|
.m(function (Command, cs, config, o) {
|
|
1648
1710
|
return [
|
|
1649
|
-
|
|
1650
|
-
|
|
1711
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1712
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1651
1713
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1652
1714
|
requestChecksumRequired: true,
|
|
1653
1715
|
}),
|
|
@@ -1655,11 +1717,11 @@ class PutBucketLoggingCommand extends client.Command
|
|
|
1655
1717
|
})
|
|
1656
1718
|
.s("AmazonS3", "PutBucketLogging", {})
|
|
1657
1719
|
.n("S3Client", "PutBucketLoggingCommand")
|
|
1658
|
-
.sc(
|
|
1720
|
+
.sc(PutBucketLogging$)
|
|
1659
1721
|
.build() {
|
|
1660
1722
|
}
|
|
1661
1723
|
|
|
1662
|
-
class PutBucketMetricsConfigurationCommand extends
|
|
1724
|
+
class PutBucketMetricsConfigurationCommand extends Command
|
|
1663
1725
|
.classBuilder()
|
|
1664
1726
|
.ep({
|
|
1665
1727
|
...commonParams,
|
|
@@ -1667,15 +1729,15 @@ class PutBucketMetricsConfigurationCommand extends client.Command
|
|
|
1667
1729
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1668
1730
|
})
|
|
1669
1731
|
.m(function (Command, cs, config, o) {
|
|
1670
|
-
return [
|
|
1732
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1671
1733
|
})
|
|
1672
1734
|
.s("AmazonS3", "PutBucketMetricsConfiguration", {})
|
|
1673
1735
|
.n("S3Client", "PutBucketMetricsConfigurationCommand")
|
|
1674
|
-
.sc(
|
|
1736
|
+
.sc(PutBucketMetricsConfiguration$)
|
|
1675
1737
|
.build() {
|
|
1676
1738
|
}
|
|
1677
1739
|
|
|
1678
|
-
class PutBucketNotificationConfigurationCommand extends
|
|
1740
|
+
class PutBucketNotificationConfigurationCommand extends Command
|
|
1679
1741
|
.classBuilder()
|
|
1680
1742
|
.ep({
|
|
1681
1743
|
...commonParams,
|
|
@@ -1683,15 +1745,15 @@ class PutBucketNotificationConfigurationCommand extends client.Command
|
|
|
1683
1745
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1684
1746
|
})
|
|
1685
1747
|
.m(function (Command, cs, config, o) {
|
|
1686
|
-
return [
|
|
1748
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1687
1749
|
})
|
|
1688
1750
|
.s("AmazonS3", "PutBucketNotificationConfiguration", {})
|
|
1689
1751
|
.n("S3Client", "PutBucketNotificationConfigurationCommand")
|
|
1690
|
-
.sc(
|
|
1752
|
+
.sc(PutBucketNotificationConfiguration$)
|
|
1691
1753
|
.build() {
|
|
1692
1754
|
}
|
|
1693
1755
|
|
|
1694
|
-
class PutBucketOwnershipControlsCommand extends
|
|
1756
|
+
class PutBucketOwnershipControlsCommand extends Command
|
|
1695
1757
|
.classBuilder()
|
|
1696
1758
|
.ep({
|
|
1697
1759
|
...commonParams,
|
|
@@ -1700,8 +1762,8 @@ class PutBucketOwnershipControlsCommand extends client.Command
|
|
|
1700
1762
|
})
|
|
1701
1763
|
.m(function (Command, cs, config, o) {
|
|
1702
1764
|
return [
|
|
1703
|
-
|
|
1704
|
-
|
|
1765
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1766
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1705
1767
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1706
1768
|
requestChecksumRequired: true,
|
|
1707
1769
|
}),
|
|
@@ -1709,11 +1771,11 @@ class PutBucketOwnershipControlsCommand extends client.Command
|
|
|
1709
1771
|
})
|
|
1710
1772
|
.s("AmazonS3", "PutBucketOwnershipControls", {})
|
|
1711
1773
|
.n("S3Client", "PutBucketOwnershipControlsCommand")
|
|
1712
|
-
.sc(
|
|
1774
|
+
.sc(PutBucketOwnershipControls$)
|
|
1713
1775
|
.build() {
|
|
1714
1776
|
}
|
|
1715
1777
|
|
|
1716
|
-
class PutBucketPolicyCommand extends
|
|
1778
|
+
class PutBucketPolicyCommand extends Command
|
|
1717
1779
|
.classBuilder()
|
|
1718
1780
|
.ep({
|
|
1719
1781
|
...commonParams,
|
|
@@ -1722,8 +1784,8 @@ class PutBucketPolicyCommand extends client.Command
|
|
|
1722
1784
|
})
|
|
1723
1785
|
.m(function (Command, cs, config, o) {
|
|
1724
1786
|
return [
|
|
1725
|
-
|
|
1726
|
-
|
|
1787
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1788
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1727
1789
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1728
1790
|
requestChecksumRequired: true,
|
|
1729
1791
|
}),
|
|
@@ -1731,11 +1793,11 @@ class PutBucketPolicyCommand extends client.Command
|
|
|
1731
1793
|
})
|
|
1732
1794
|
.s("AmazonS3", "PutBucketPolicy", {})
|
|
1733
1795
|
.n("S3Client", "PutBucketPolicyCommand")
|
|
1734
|
-
.sc(
|
|
1796
|
+
.sc(PutBucketPolicy$)
|
|
1735
1797
|
.build() {
|
|
1736
1798
|
}
|
|
1737
1799
|
|
|
1738
|
-
class PutBucketReplicationCommand extends
|
|
1800
|
+
class PutBucketReplicationCommand extends Command
|
|
1739
1801
|
.classBuilder()
|
|
1740
1802
|
.ep({
|
|
1741
1803
|
...commonParams,
|
|
@@ -1744,8 +1806,8 @@ class PutBucketReplicationCommand extends client.Command
|
|
|
1744
1806
|
})
|
|
1745
1807
|
.m(function (Command, cs, config, o) {
|
|
1746
1808
|
return [
|
|
1747
|
-
|
|
1748
|
-
|
|
1809
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1810
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1749
1811
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1750
1812
|
requestChecksumRequired: true,
|
|
1751
1813
|
}),
|
|
@@ -1753,11 +1815,11 @@ class PutBucketReplicationCommand extends client.Command
|
|
|
1753
1815
|
})
|
|
1754
1816
|
.s("AmazonS3", "PutBucketReplication", {})
|
|
1755
1817
|
.n("S3Client", "PutBucketReplicationCommand")
|
|
1756
|
-
.sc(
|
|
1818
|
+
.sc(PutBucketReplication$)
|
|
1757
1819
|
.build() {
|
|
1758
1820
|
}
|
|
1759
1821
|
|
|
1760
|
-
class PutBucketRequestPaymentCommand extends
|
|
1822
|
+
class PutBucketRequestPaymentCommand extends Command
|
|
1761
1823
|
.classBuilder()
|
|
1762
1824
|
.ep({
|
|
1763
1825
|
...commonParams,
|
|
@@ -1766,8 +1828,8 @@ class PutBucketRequestPaymentCommand extends client.Command
|
|
|
1766
1828
|
})
|
|
1767
1829
|
.m(function (Command, cs, config, o) {
|
|
1768
1830
|
return [
|
|
1769
|
-
|
|
1770
|
-
|
|
1831
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1832
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1771
1833
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1772
1834
|
requestChecksumRequired: true,
|
|
1773
1835
|
}),
|
|
@@ -1775,11 +1837,11 @@ class PutBucketRequestPaymentCommand extends client.Command
|
|
|
1775
1837
|
})
|
|
1776
1838
|
.s("AmazonS3", "PutBucketRequestPayment", {})
|
|
1777
1839
|
.n("S3Client", "PutBucketRequestPaymentCommand")
|
|
1778
|
-
.sc(
|
|
1840
|
+
.sc(PutBucketRequestPayment$)
|
|
1779
1841
|
.build() {
|
|
1780
1842
|
}
|
|
1781
1843
|
|
|
1782
|
-
class PutBucketTaggingCommand extends
|
|
1844
|
+
class PutBucketTaggingCommand extends Command
|
|
1783
1845
|
.classBuilder()
|
|
1784
1846
|
.ep({
|
|
1785
1847
|
...commonParams,
|
|
@@ -1788,8 +1850,8 @@ class PutBucketTaggingCommand extends client.Command
|
|
|
1788
1850
|
})
|
|
1789
1851
|
.m(function (Command, cs, config, o) {
|
|
1790
1852
|
return [
|
|
1791
|
-
|
|
1792
|
-
|
|
1853
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1854
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1793
1855
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1794
1856
|
requestChecksumRequired: true,
|
|
1795
1857
|
}),
|
|
@@ -1797,11 +1859,11 @@ class PutBucketTaggingCommand extends client.Command
|
|
|
1797
1859
|
})
|
|
1798
1860
|
.s("AmazonS3", "PutBucketTagging", {})
|
|
1799
1861
|
.n("S3Client", "PutBucketTaggingCommand")
|
|
1800
|
-
.sc(
|
|
1862
|
+
.sc(PutBucketTagging$)
|
|
1801
1863
|
.build() {
|
|
1802
1864
|
}
|
|
1803
1865
|
|
|
1804
|
-
class PutBucketVersioningCommand extends
|
|
1866
|
+
class PutBucketVersioningCommand extends Command
|
|
1805
1867
|
.classBuilder()
|
|
1806
1868
|
.ep({
|
|
1807
1869
|
...commonParams,
|
|
@@ -1810,8 +1872,8 @@ class PutBucketVersioningCommand extends client.Command
|
|
|
1810
1872
|
})
|
|
1811
1873
|
.m(function (Command, cs, config, o) {
|
|
1812
1874
|
return [
|
|
1813
|
-
|
|
1814
|
-
|
|
1875
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1876
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1815
1877
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1816
1878
|
requestChecksumRequired: true,
|
|
1817
1879
|
}),
|
|
@@ -1819,11 +1881,11 @@ class PutBucketVersioningCommand extends client.Command
|
|
|
1819
1881
|
})
|
|
1820
1882
|
.s("AmazonS3", "PutBucketVersioning", {})
|
|
1821
1883
|
.n("S3Client", "PutBucketVersioningCommand")
|
|
1822
|
-
.sc(
|
|
1884
|
+
.sc(PutBucketVersioning$)
|
|
1823
1885
|
.build() {
|
|
1824
1886
|
}
|
|
1825
1887
|
|
|
1826
|
-
class PutBucketWebsiteCommand extends
|
|
1888
|
+
class PutBucketWebsiteCommand extends Command
|
|
1827
1889
|
.classBuilder()
|
|
1828
1890
|
.ep({
|
|
1829
1891
|
...commonParams,
|
|
@@ -1832,8 +1894,8 @@ class PutBucketWebsiteCommand extends client.Command
|
|
|
1832
1894
|
})
|
|
1833
1895
|
.m(function (Command, cs, config, o) {
|
|
1834
1896
|
return [
|
|
1835
|
-
|
|
1836
|
-
|
|
1897
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1898
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1837
1899
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1838
1900
|
requestChecksumRequired: true,
|
|
1839
1901
|
}),
|
|
@@ -1841,11 +1903,11 @@ class PutBucketWebsiteCommand extends client.Command
|
|
|
1841
1903
|
})
|
|
1842
1904
|
.s("AmazonS3", "PutBucketWebsite", {})
|
|
1843
1905
|
.n("S3Client", "PutBucketWebsiteCommand")
|
|
1844
|
-
.sc(
|
|
1906
|
+
.sc(PutBucketWebsite$)
|
|
1845
1907
|
.build() {
|
|
1846
1908
|
}
|
|
1847
1909
|
|
|
1848
|
-
class PutObjectAclCommand extends
|
|
1910
|
+
class PutObjectAclCommand extends Command
|
|
1849
1911
|
.classBuilder()
|
|
1850
1912
|
.ep({
|
|
1851
1913
|
...commonParams,
|
|
@@ -1854,21 +1916,21 @@ class PutObjectAclCommand extends client.Command
|
|
|
1854
1916
|
})
|
|
1855
1917
|
.m(function (Command, cs, config, o) {
|
|
1856
1918
|
return [
|
|
1857
|
-
|
|
1858
|
-
|
|
1919
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1920
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1859
1921
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1860
1922
|
requestChecksumRequired: true,
|
|
1861
1923
|
}),
|
|
1862
|
-
|
|
1924
|
+
getThrow200ExceptionsPlugin(config),
|
|
1863
1925
|
];
|
|
1864
1926
|
})
|
|
1865
1927
|
.s("AmazonS3", "PutObjectAcl", {})
|
|
1866
1928
|
.n("S3Client", "PutObjectAclCommand")
|
|
1867
|
-
.sc(
|
|
1929
|
+
.sc(PutObjectAcl$)
|
|
1868
1930
|
.build() {
|
|
1869
1931
|
}
|
|
1870
1932
|
|
|
1871
|
-
class
|
|
1933
|
+
class PutObjectAnnotationCommand extends Command
|
|
1872
1934
|
.classBuilder()
|
|
1873
1935
|
.ep({
|
|
1874
1936
|
...commonParams,
|
|
@@ -1877,23 +1939,46 @@ class PutObjectCommand extends client.Command
|
|
|
1877
1939
|
})
|
|
1878
1940
|
.m(function (Command, cs, config, o) {
|
|
1879
1941
|
return [
|
|
1880
|
-
|
|
1881
|
-
|
|
1942
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1943
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1882
1944
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1883
1945
|
requestChecksumRequired: false,
|
|
1884
1946
|
}),
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1947
|
+
getThrow200ExceptionsPlugin(config),
|
|
1948
|
+
];
|
|
1949
|
+
})
|
|
1950
|
+
.s("AmazonS3", "PutObjectAnnotation", {})
|
|
1951
|
+
.n("S3Client", "PutObjectAnnotationCommand")
|
|
1952
|
+
.sc(PutObjectAnnotation$)
|
|
1953
|
+
.build() {
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
class PutObjectCommand extends Command
|
|
1957
|
+
.classBuilder()
|
|
1958
|
+
.ep({
|
|
1959
|
+
...commonParams,
|
|
1960
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1961
|
+
Key: { type: "contextParams", name: "Key" },
|
|
1962
|
+
})
|
|
1963
|
+
.m(function (Command, cs, config, o) {
|
|
1964
|
+
return [
|
|
1965
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1966
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1967
|
+
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1968
|
+
requestChecksumRequired: false,
|
|
1969
|
+
}),
|
|
1970
|
+
getCheckContentLengthHeaderPlugin(config),
|
|
1971
|
+
getThrow200ExceptionsPlugin(config),
|
|
1972
|
+
getSsecPlugin(config),
|
|
1888
1973
|
];
|
|
1889
1974
|
})
|
|
1890
1975
|
.s("AmazonS3", "PutObject", {})
|
|
1891
1976
|
.n("S3Client", "PutObjectCommand")
|
|
1892
|
-
.sc(
|
|
1977
|
+
.sc(PutObject$)
|
|
1893
1978
|
.build() {
|
|
1894
1979
|
}
|
|
1895
1980
|
|
|
1896
|
-
class PutObjectLegalHoldCommand extends
|
|
1981
|
+
class PutObjectLegalHoldCommand extends Command
|
|
1897
1982
|
.classBuilder()
|
|
1898
1983
|
.ep({
|
|
1899
1984
|
...commonParams,
|
|
@@ -1901,21 +1986,21 @@ class PutObjectLegalHoldCommand extends client.Command
|
|
|
1901
1986
|
})
|
|
1902
1987
|
.m(function (Command, cs, config, o) {
|
|
1903
1988
|
return [
|
|
1904
|
-
|
|
1905
|
-
|
|
1989
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1990
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1906
1991
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1907
1992
|
requestChecksumRequired: true,
|
|
1908
1993
|
}),
|
|
1909
|
-
|
|
1994
|
+
getThrow200ExceptionsPlugin(config),
|
|
1910
1995
|
];
|
|
1911
1996
|
})
|
|
1912
1997
|
.s("AmazonS3", "PutObjectLegalHold", {})
|
|
1913
1998
|
.n("S3Client", "PutObjectLegalHoldCommand")
|
|
1914
|
-
.sc(
|
|
1999
|
+
.sc(PutObjectLegalHold$)
|
|
1915
2000
|
.build() {
|
|
1916
2001
|
}
|
|
1917
2002
|
|
|
1918
|
-
class PutObjectLockConfigurationCommand extends
|
|
2003
|
+
class PutObjectLockConfigurationCommand extends Command
|
|
1919
2004
|
.classBuilder()
|
|
1920
2005
|
.ep({
|
|
1921
2006
|
...commonParams,
|
|
@@ -1923,21 +2008,21 @@ class PutObjectLockConfigurationCommand extends client.Command
|
|
|
1923
2008
|
})
|
|
1924
2009
|
.m(function (Command, cs, config, o) {
|
|
1925
2010
|
return [
|
|
1926
|
-
|
|
1927
|
-
|
|
2011
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2012
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1928
2013
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1929
2014
|
requestChecksumRequired: true,
|
|
1930
2015
|
}),
|
|
1931
|
-
|
|
2016
|
+
getThrow200ExceptionsPlugin(config),
|
|
1932
2017
|
];
|
|
1933
2018
|
})
|
|
1934
2019
|
.s("AmazonS3", "PutObjectLockConfiguration", {})
|
|
1935
2020
|
.n("S3Client", "PutObjectLockConfigurationCommand")
|
|
1936
|
-
.sc(
|
|
2021
|
+
.sc(PutObjectLockConfiguration$)
|
|
1937
2022
|
.build() {
|
|
1938
2023
|
}
|
|
1939
2024
|
|
|
1940
|
-
class PutObjectRetentionCommand extends
|
|
2025
|
+
class PutObjectRetentionCommand extends Command
|
|
1941
2026
|
.classBuilder()
|
|
1942
2027
|
.ep({
|
|
1943
2028
|
...commonParams,
|
|
@@ -1945,21 +2030,21 @@ class PutObjectRetentionCommand extends client.Command
|
|
|
1945
2030
|
})
|
|
1946
2031
|
.m(function (Command, cs, config, o) {
|
|
1947
2032
|
return [
|
|
1948
|
-
|
|
1949
|
-
|
|
2033
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2034
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1950
2035
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1951
2036
|
requestChecksumRequired: true,
|
|
1952
2037
|
}),
|
|
1953
|
-
|
|
2038
|
+
getThrow200ExceptionsPlugin(config),
|
|
1954
2039
|
];
|
|
1955
2040
|
})
|
|
1956
2041
|
.s("AmazonS3", "PutObjectRetention", {})
|
|
1957
2042
|
.n("S3Client", "PutObjectRetentionCommand")
|
|
1958
|
-
.sc(
|
|
2043
|
+
.sc(PutObjectRetention$)
|
|
1959
2044
|
.build() {
|
|
1960
2045
|
}
|
|
1961
2046
|
|
|
1962
|
-
class PutObjectTaggingCommand extends
|
|
2047
|
+
class PutObjectTaggingCommand extends Command
|
|
1963
2048
|
.classBuilder()
|
|
1964
2049
|
.ep({
|
|
1965
2050
|
...commonParams,
|
|
@@ -1967,21 +2052,21 @@ class PutObjectTaggingCommand extends client.Command
|
|
|
1967
2052
|
})
|
|
1968
2053
|
.m(function (Command, cs, config, o) {
|
|
1969
2054
|
return [
|
|
1970
|
-
|
|
1971
|
-
|
|
2055
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2056
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1972
2057
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1973
2058
|
requestChecksumRequired: true,
|
|
1974
2059
|
}),
|
|
1975
|
-
|
|
2060
|
+
getThrow200ExceptionsPlugin(config),
|
|
1976
2061
|
];
|
|
1977
2062
|
})
|
|
1978
2063
|
.s("AmazonS3", "PutObjectTagging", {})
|
|
1979
2064
|
.n("S3Client", "PutObjectTaggingCommand")
|
|
1980
|
-
.sc(
|
|
2065
|
+
.sc(PutObjectTagging$)
|
|
1981
2066
|
.build() {
|
|
1982
2067
|
}
|
|
1983
2068
|
|
|
1984
|
-
class PutPublicAccessBlockCommand extends
|
|
2069
|
+
class PutPublicAccessBlockCommand extends Command
|
|
1985
2070
|
.classBuilder()
|
|
1986
2071
|
.ep({
|
|
1987
2072
|
...commonParams,
|
|
@@ -1990,8 +2075,8 @@ class PutPublicAccessBlockCommand extends client.Command
|
|
|
1990
2075
|
})
|
|
1991
2076
|
.m(function (Command, cs, config, o) {
|
|
1992
2077
|
return [
|
|
1993
|
-
|
|
1994
|
-
|
|
2078
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2079
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1995
2080
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1996
2081
|
requestChecksumRequired: true,
|
|
1997
2082
|
}),
|
|
@@ -1999,11 +2084,11 @@ class PutPublicAccessBlockCommand extends client.Command
|
|
|
1999
2084
|
})
|
|
2000
2085
|
.s("AmazonS3", "PutPublicAccessBlock", {})
|
|
2001
2086
|
.n("S3Client", "PutPublicAccessBlockCommand")
|
|
2002
|
-
.sc(
|
|
2087
|
+
.sc(PutPublicAccessBlock$)
|
|
2003
2088
|
.build() {
|
|
2004
2089
|
}
|
|
2005
2090
|
|
|
2006
|
-
class RenameObjectCommand extends
|
|
2091
|
+
class RenameObjectCommand extends Command
|
|
2007
2092
|
.classBuilder()
|
|
2008
2093
|
.ep({
|
|
2009
2094
|
...commonParams,
|
|
@@ -2012,17 +2097,17 @@ class RenameObjectCommand extends client.Command
|
|
|
2012
2097
|
})
|
|
2013
2098
|
.m(function (Command, cs, config, o) {
|
|
2014
2099
|
return [
|
|
2015
|
-
|
|
2016
|
-
|
|
2100
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2101
|
+
getThrow200ExceptionsPlugin(config),
|
|
2017
2102
|
];
|
|
2018
2103
|
})
|
|
2019
2104
|
.s("AmazonS3", "RenameObject", {})
|
|
2020
2105
|
.n("S3Client", "RenameObjectCommand")
|
|
2021
|
-
.sc(
|
|
2106
|
+
.sc(RenameObject$)
|
|
2022
2107
|
.build() {
|
|
2023
2108
|
}
|
|
2024
2109
|
|
|
2025
|
-
class RestoreObjectCommand extends
|
|
2110
|
+
class RestoreObjectCommand extends Command
|
|
2026
2111
|
.classBuilder()
|
|
2027
2112
|
.ep({
|
|
2028
2113
|
...commonParams,
|
|
@@ -2030,21 +2115,21 @@ class RestoreObjectCommand extends client.Command
|
|
|
2030
2115
|
})
|
|
2031
2116
|
.m(function (Command, cs, config, o) {
|
|
2032
2117
|
return [
|
|
2033
|
-
|
|
2034
|
-
|
|
2118
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2119
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2035
2120
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2036
2121
|
requestChecksumRequired: false,
|
|
2037
2122
|
}),
|
|
2038
|
-
|
|
2123
|
+
getThrow200ExceptionsPlugin(config),
|
|
2039
2124
|
];
|
|
2040
2125
|
})
|
|
2041
2126
|
.s("AmazonS3", "RestoreObject", {})
|
|
2042
2127
|
.n("S3Client", "RestoreObjectCommand")
|
|
2043
|
-
.sc(
|
|
2128
|
+
.sc(RestoreObject$)
|
|
2044
2129
|
.build() {
|
|
2045
2130
|
}
|
|
2046
2131
|
|
|
2047
|
-
class SelectObjectContentCommand extends
|
|
2132
|
+
class SelectObjectContentCommand extends Command
|
|
2048
2133
|
.classBuilder()
|
|
2049
2134
|
.ep({
|
|
2050
2135
|
...commonParams,
|
|
@@ -2052,8 +2137,8 @@ class SelectObjectContentCommand extends client.Command
|
|
|
2052
2137
|
})
|
|
2053
2138
|
.m(function (Command, cs, config, o) {
|
|
2054
2139
|
return [
|
|
2055
|
-
|
|
2056
|
-
|
|
2140
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2141
|
+
getSsecPlugin(config),
|
|
2057
2142
|
];
|
|
2058
2143
|
})
|
|
2059
2144
|
.s("AmazonS3", "SelectObjectContent", {
|
|
@@ -2062,11 +2147,33 @@ class SelectObjectContentCommand extends client.Command
|
|
|
2062
2147
|
},
|
|
2063
2148
|
})
|
|
2064
2149
|
.n("S3Client", "SelectObjectContentCommand")
|
|
2065
|
-
.sc(
|
|
2150
|
+
.sc(SelectObjectContent$)
|
|
2151
|
+
.build() {
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
class UpdateBucketMetadataAnnotationTableConfigurationCommand extends Command
|
|
2155
|
+
.classBuilder()
|
|
2156
|
+
.ep({
|
|
2157
|
+
...commonParams,
|
|
2158
|
+
UseS3ExpressControlEndpoint: { type: "staticContextParams", value: true },
|
|
2159
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
2160
|
+
})
|
|
2161
|
+
.m(function (Command, cs, config, o) {
|
|
2162
|
+
return [
|
|
2163
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2164
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2165
|
+
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2166
|
+
requestChecksumRequired: true,
|
|
2167
|
+
}),
|
|
2168
|
+
];
|
|
2169
|
+
})
|
|
2170
|
+
.s("AmazonS3", "UpdateBucketMetadataAnnotationTableConfiguration", {})
|
|
2171
|
+
.n("S3Client", "UpdateBucketMetadataAnnotationTableConfigurationCommand")
|
|
2172
|
+
.sc(UpdateBucketMetadataAnnotationTableConfiguration$)
|
|
2066
2173
|
.build() {
|
|
2067
2174
|
}
|
|
2068
2175
|
|
|
2069
|
-
class UpdateBucketMetadataInventoryTableConfigurationCommand extends
|
|
2176
|
+
class UpdateBucketMetadataInventoryTableConfigurationCommand extends Command
|
|
2070
2177
|
.classBuilder()
|
|
2071
2178
|
.ep({
|
|
2072
2179
|
...commonParams,
|
|
@@ -2075,8 +2182,8 @@ class UpdateBucketMetadataInventoryTableConfigurationCommand extends client.Comm
|
|
|
2075
2182
|
})
|
|
2076
2183
|
.m(function (Command, cs, config, o) {
|
|
2077
2184
|
return [
|
|
2078
|
-
|
|
2079
|
-
|
|
2185
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2186
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2080
2187
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2081
2188
|
requestChecksumRequired: true,
|
|
2082
2189
|
}),
|
|
@@ -2084,11 +2191,11 @@ class UpdateBucketMetadataInventoryTableConfigurationCommand extends client.Comm
|
|
|
2084
2191
|
})
|
|
2085
2192
|
.s("AmazonS3", "UpdateBucketMetadataInventoryTableConfiguration", {})
|
|
2086
2193
|
.n("S3Client", "UpdateBucketMetadataInventoryTableConfigurationCommand")
|
|
2087
|
-
.sc(
|
|
2194
|
+
.sc(UpdateBucketMetadataInventoryTableConfiguration$)
|
|
2088
2195
|
.build() {
|
|
2089
2196
|
}
|
|
2090
2197
|
|
|
2091
|
-
class UpdateBucketMetadataJournalTableConfigurationCommand extends
|
|
2198
|
+
class UpdateBucketMetadataJournalTableConfigurationCommand extends Command
|
|
2092
2199
|
.classBuilder()
|
|
2093
2200
|
.ep({
|
|
2094
2201
|
...commonParams,
|
|
@@ -2097,8 +2204,8 @@ class UpdateBucketMetadataJournalTableConfigurationCommand extends client.Comman
|
|
|
2097
2204
|
})
|
|
2098
2205
|
.m(function (Command, cs, config, o) {
|
|
2099
2206
|
return [
|
|
2100
|
-
|
|
2101
|
-
|
|
2207
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2208
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2102
2209
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2103
2210
|
requestChecksumRequired: true,
|
|
2104
2211
|
}),
|
|
@@ -2106,11 +2213,11 @@ class UpdateBucketMetadataJournalTableConfigurationCommand extends client.Comman
|
|
|
2106
2213
|
})
|
|
2107
2214
|
.s("AmazonS3", "UpdateBucketMetadataJournalTableConfiguration", {})
|
|
2108
2215
|
.n("S3Client", "UpdateBucketMetadataJournalTableConfigurationCommand")
|
|
2109
|
-
.sc(
|
|
2216
|
+
.sc(UpdateBucketMetadataJournalTableConfiguration$)
|
|
2110
2217
|
.build() {
|
|
2111
2218
|
}
|
|
2112
2219
|
|
|
2113
|
-
class UpdateObjectEncryptionCommand extends
|
|
2220
|
+
class UpdateObjectEncryptionCommand extends Command
|
|
2114
2221
|
.classBuilder()
|
|
2115
2222
|
.ep({
|
|
2116
2223
|
...commonParams,
|
|
@@ -2118,21 +2225,21 @@ class UpdateObjectEncryptionCommand extends client.Command
|
|
|
2118
2225
|
})
|
|
2119
2226
|
.m(function (Command, cs, config, o) {
|
|
2120
2227
|
return [
|
|
2121
|
-
|
|
2122
|
-
|
|
2228
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2229
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2123
2230
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2124
2231
|
requestChecksumRequired: true,
|
|
2125
2232
|
}),
|
|
2126
|
-
|
|
2233
|
+
getThrow200ExceptionsPlugin(config),
|
|
2127
2234
|
];
|
|
2128
2235
|
})
|
|
2129
2236
|
.s("AmazonS3", "UpdateObjectEncryption", {})
|
|
2130
2237
|
.n("S3Client", "UpdateObjectEncryptionCommand")
|
|
2131
|
-
.sc(
|
|
2238
|
+
.sc(UpdateObjectEncryption$)
|
|
2132
2239
|
.build() {
|
|
2133
2240
|
}
|
|
2134
2241
|
|
|
2135
|
-
class UploadPartCommand extends
|
|
2242
|
+
class UploadPartCommand extends Command
|
|
2136
2243
|
.classBuilder()
|
|
2137
2244
|
.ep({
|
|
2138
2245
|
...commonParams,
|
|
@@ -2141,22 +2248,22 @@ class UploadPartCommand extends client.Command
|
|
|
2141
2248
|
})
|
|
2142
2249
|
.m(function (Command, cs, config, o) {
|
|
2143
2250
|
return [
|
|
2144
|
-
|
|
2145
|
-
|
|
2251
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2252
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2146
2253
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2147
2254
|
requestChecksumRequired: false,
|
|
2148
2255
|
}),
|
|
2149
|
-
|
|
2150
|
-
|
|
2256
|
+
getThrow200ExceptionsPlugin(config),
|
|
2257
|
+
getSsecPlugin(config),
|
|
2151
2258
|
];
|
|
2152
2259
|
})
|
|
2153
2260
|
.s("AmazonS3", "UploadPart", {})
|
|
2154
2261
|
.n("S3Client", "UploadPartCommand")
|
|
2155
|
-
.sc(
|
|
2262
|
+
.sc(UploadPart$)
|
|
2156
2263
|
.build() {
|
|
2157
2264
|
}
|
|
2158
2265
|
|
|
2159
|
-
class UploadPartCopyCommand extends
|
|
2266
|
+
class UploadPartCopyCommand extends Command
|
|
2160
2267
|
.classBuilder()
|
|
2161
2268
|
.ep({
|
|
2162
2269
|
...commonParams,
|
|
@@ -2165,136 +2272,138 @@ class UploadPartCopyCommand extends client.Command
|
|
|
2165
2272
|
})
|
|
2166
2273
|
.m(function (Command, cs, config, o) {
|
|
2167
2274
|
return [
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2275
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2276
|
+
getThrow200ExceptionsPlugin(config),
|
|
2277
|
+
getSsecPlugin(config),
|
|
2171
2278
|
];
|
|
2172
2279
|
})
|
|
2173
2280
|
.s("AmazonS3", "UploadPartCopy", {})
|
|
2174
2281
|
.n("S3Client", "UploadPartCopyCommand")
|
|
2175
|
-
.sc(
|
|
2282
|
+
.sc(UploadPartCopy$)
|
|
2176
2283
|
.build() {
|
|
2177
2284
|
}
|
|
2178
2285
|
|
|
2179
|
-
class WriteGetObjectResponseCommand extends
|
|
2286
|
+
class WriteGetObjectResponseCommand extends Command
|
|
2180
2287
|
.classBuilder()
|
|
2181
2288
|
.ep({
|
|
2182
2289
|
...commonParams,
|
|
2183
2290
|
UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
|
|
2184
2291
|
})
|
|
2185
2292
|
.m(function (Command, cs, config, o) {
|
|
2186
|
-
return [
|
|
2293
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2187
2294
|
})
|
|
2188
2295
|
.s("AmazonS3", "WriteGetObjectResponse", {})
|
|
2189
2296
|
.n("S3Client", "WriteGetObjectResponseCommand")
|
|
2190
|
-
.sc(
|
|
2297
|
+
.sc(WriteGetObjectResponse$)
|
|
2191
2298
|
.build() {
|
|
2192
2299
|
}
|
|
2193
2300
|
|
|
2194
|
-
const paginateListBuckets =
|
|
2301
|
+
const paginateListBuckets = createPaginator(S3Client, ListBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxBuckets");
|
|
2195
2302
|
|
|
2196
|
-
const paginateListDirectoryBuckets =
|
|
2303
|
+
const paginateListDirectoryBuckets = createPaginator(S3Client, ListDirectoryBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxDirectoryBuckets");
|
|
2197
2304
|
|
|
2198
|
-
const
|
|
2305
|
+
const paginateListObjectAnnotations = createPaginator(S3Client, ListObjectAnnotationsCommand, "ContinuationToken", "NextContinuationToken", "MaxAnnotationResults");
|
|
2199
2306
|
|
|
2200
|
-
const
|
|
2307
|
+
const paginateListObjectsV2 = createPaginator(S3Client, ListObjectsV2Command, "ContinuationToken", "NextContinuationToken", "MaxKeys");
|
|
2201
2308
|
|
|
2202
|
-
const
|
|
2309
|
+
const paginateListParts = createPaginator(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts");
|
|
2310
|
+
|
|
2311
|
+
const checkState$3 = async (client, input) => {
|
|
2203
2312
|
let reason;
|
|
2204
2313
|
try {
|
|
2205
|
-
let result = await client
|
|
2314
|
+
let result = await client.send(new HeadBucketCommand(input));
|
|
2206
2315
|
reason = result;
|
|
2207
|
-
return { state:
|
|
2316
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
2208
2317
|
}
|
|
2209
2318
|
catch (exception) {
|
|
2210
2319
|
reason = exception;
|
|
2211
2320
|
if (exception.name === "NotFound") {
|
|
2212
|
-
return { state:
|
|
2321
|
+
return { state: WaiterState.RETRY, reason };
|
|
2213
2322
|
}
|
|
2214
2323
|
}
|
|
2215
|
-
return { state:
|
|
2324
|
+
return { state: WaiterState.RETRY, reason };
|
|
2216
2325
|
};
|
|
2217
2326
|
const waitForBucketExists = async (params, input) => {
|
|
2218
2327
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2219
|
-
return
|
|
2328
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
2220
2329
|
};
|
|
2221
2330
|
const waitUntilBucketExists = async (params, input) => {
|
|
2222
2331
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2223
|
-
const result = await
|
|
2224
|
-
return
|
|
2332
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
2333
|
+
return checkExceptions(result);
|
|
2225
2334
|
};
|
|
2226
2335
|
|
|
2227
|
-
const checkState$2 = async (client
|
|
2336
|
+
const checkState$2 = async (client, input) => {
|
|
2228
2337
|
let reason;
|
|
2229
2338
|
try {
|
|
2230
|
-
let result = await client
|
|
2339
|
+
let result = await client.send(new HeadBucketCommand(input));
|
|
2231
2340
|
reason = result;
|
|
2232
2341
|
}
|
|
2233
2342
|
catch (exception) {
|
|
2234
2343
|
reason = exception;
|
|
2235
2344
|
if (exception.name === "NotFound") {
|
|
2236
|
-
return { state:
|
|
2345
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
2237
2346
|
}
|
|
2238
2347
|
}
|
|
2239
|
-
return { state:
|
|
2348
|
+
return { state: WaiterState.RETRY, reason };
|
|
2240
2349
|
};
|
|
2241
2350
|
const waitForBucketNotExists = async (params, input) => {
|
|
2242
2351
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2243
|
-
return
|
|
2352
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
2244
2353
|
};
|
|
2245
2354
|
const waitUntilBucketNotExists = async (params, input) => {
|
|
2246
2355
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2247
|
-
const result = await
|
|
2248
|
-
return
|
|
2356
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
2357
|
+
return checkExceptions(result);
|
|
2249
2358
|
};
|
|
2250
2359
|
|
|
2251
|
-
const checkState$1 = async (client
|
|
2360
|
+
const checkState$1 = async (client, input) => {
|
|
2252
2361
|
let reason;
|
|
2253
2362
|
try {
|
|
2254
|
-
let result = await client
|
|
2363
|
+
let result = await client.send(new HeadObjectCommand(input));
|
|
2255
2364
|
reason = result;
|
|
2256
|
-
return { state:
|
|
2365
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
2257
2366
|
}
|
|
2258
2367
|
catch (exception) {
|
|
2259
2368
|
reason = exception;
|
|
2260
2369
|
if (exception.name === "NotFound") {
|
|
2261
|
-
return { state:
|
|
2370
|
+
return { state: WaiterState.RETRY, reason };
|
|
2262
2371
|
}
|
|
2263
2372
|
}
|
|
2264
|
-
return { state:
|
|
2373
|
+
return { state: WaiterState.RETRY, reason };
|
|
2265
2374
|
};
|
|
2266
2375
|
const waitForObjectExists = async (params, input) => {
|
|
2267
2376
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2268
|
-
return
|
|
2377
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
2269
2378
|
};
|
|
2270
2379
|
const waitUntilObjectExists = async (params, input) => {
|
|
2271
2380
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2272
|
-
const result = await
|
|
2273
|
-
return
|
|
2381
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
2382
|
+
return checkExceptions(result);
|
|
2274
2383
|
};
|
|
2275
2384
|
|
|
2276
|
-
const checkState = async (client
|
|
2385
|
+
const checkState = async (client, input) => {
|
|
2277
2386
|
let reason;
|
|
2278
2387
|
try {
|
|
2279
|
-
let result = await client
|
|
2388
|
+
let result = await client.send(new HeadObjectCommand(input));
|
|
2280
2389
|
reason = result;
|
|
2281
2390
|
}
|
|
2282
2391
|
catch (exception) {
|
|
2283
2392
|
reason = exception;
|
|
2284
2393
|
if (exception.name === "NotFound") {
|
|
2285
|
-
return { state:
|
|
2394
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
2286
2395
|
}
|
|
2287
2396
|
}
|
|
2288
|
-
return { state:
|
|
2397
|
+
return { state: WaiterState.RETRY, reason };
|
|
2289
2398
|
};
|
|
2290
2399
|
const waitForObjectNotExists = async (params, input) => {
|
|
2291
2400
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2292
|
-
return
|
|
2401
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
2293
2402
|
};
|
|
2294
2403
|
const waitUntilObjectNotExists = async (params, input) => {
|
|
2295
2404
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2296
|
-
const result = await
|
|
2297
|
-
return
|
|
2405
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
2406
|
+
return checkExceptions(result);
|
|
2298
2407
|
};
|
|
2299
2408
|
|
|
2300
2409
|
const commands = {
|
|
@@ -2322,6 +2431,7 @@ const commands = {
|
|
|
2322
2431
|
DeleteBucketTaggingCommand,
|
|
2323
2432
|
DeleteBucketWebsiteCommand,
|
|
2324
2433
|
DeleteObjectCommand,
|
|
2434
|
+
DeleteObjectAnnotationCommand,
|
|
2325
2435
|
DeleteObjectsCommand,
|
|
2326
2436
|
DeleteObjectTaggingCommand,
|
|
2327
2437
|
DeletePublicAccessBlockCommand,
|
|
@@ -2350,6 +2460,7 @@ const commands = {
|
|
|
2350
2460
|
GetBucketWebsiteCommand,
|
|
2351
2461
|
GetObjectCommand,
|
|
2352
2462
|
GetObjectAclCommand,
|
|
2463
|
+
GetObjectAnnotationCommand,
|
|
2353
2464
|
GetObjectAttributesCommand,
|
|
2354
2465
|
GetObjectLegalHoldCommand,
|
|
2355
2466
|
GetObjectLockConfigurationCommand,
|
|
@@ -2366,6 +2477,7 @@ const commands = {
|
|
|
2366
2477
|
ListBucketsCommand,
|
|
2367
2478
|
ListDirectoryBucketsCommand,
|
|
2368
2479
|
ListMultipartUploadsCommand,
|
|
2480
|
+
ListObjectAnnotationsCommand,
|
|
2369
2481
|
ListObjectsCommand,
|
|
2370
2482
|
ListObjectsV2Command,
|
|
2371
2483
|
ListObjectVersionsCommand,
|
|
@@ -2391,6 +2503,7 @@ const commands = {
|
|
|
2391
2503
|
PutBucketWebsiteCommand,
|
|
2392
2504
|
PutObjectCommand,
|
|
2393
2505
|
PutObjectAclCommand,
|
|
2506
|
+
PutObjectAnnotationCommand,
|
|
2394
2507
|
PutObjectLegalHoldCommand,
|
|
2395
2508
|
PutObjectLockConfigurationCommand,
|
|
2396
2509
|
PutObjectRetentionCommand,
|
|
@@ -2399,6 +2512,7 @@ const commands = {
|
|
|
2399
2512
|
RenameObjectCommand,
|
|
2400
2513
|
RestoreObjectCommand,
|
|
2401
2514
|
SelectObjectContentCommand,
|
|
2515
|
+
UpdateBucketMetadataAnnotationTableConfigurationCommand,
|
|
2402
2516
|
UpdateBucketMetadataInventoryTableConfigurationCommand,
|
|
2403
2517
|
UpdateBucketMetadataJournalTableConfigurationCommand,
|
|
2404
2518
|
UpdateObjectEncryptionCommand,
|
|
@@ -2409,6 +2523,7 @@ const commands = {
|
|
|
2409
2523
|
const paginators = {
|
|
2410
2524
|
paginateListBuckets,
|
|
2411
2525
|
paginateListDirectoryBuckets,
|
|
2526
|
+
paginateListObjectAnnotations,
|
|
2412
2527
|
paginateListObjectsV2,
|
|
2413
2528
|
paginateListParts,
|
|
2414
2529
|
};
|
|
@@ -2420,7 +2535,7 @@ const waiters = {
|
|
|
2420
2535
|
};
|
|
2421
2536
|
class S3 extends S3Client {
|
|
2422
2537
|
}
|
|
2423
|
-
|
|
2538
|
+
createAggregatedClient(commands, S3, { paginators, waiters });
|
|
2424
2539
|
|
|
2425
2540
|
const BucketAbacStatus = {
|
|
2426
2541
|
Disabled: "Disabled",
|
|
@@ -2470,6 +2585,10 @@ const ObjectCannedACL = {
|
|
|
2470
2585
|
public_read: "public-read",
|
|
2471
2586
|
public_read_write: "public-read-write",
|
|
2472
2587
|
};
|
|
2588
|
+
const AnnotationDirective = {
|
|
2589
|
+
COPY: "COPY",
|
|
2590
|
+
EXCLUDE: "EXCLUDE",
|
|
2591
|
+
};
|
|
2473
2592
|
const ChecksumAlgorithm = {
|
|
2474
2593
|
CRC32: "CRC32",
|
|
2475
2594
|
CRC32C: "CRC32C",
|
|
@@ -2579,7 +2698,7 @@ const ObjectOwnership = {
|
|
|
2579
2698
|
BucketOwnerPreferred: "BucketOwnerPreferred",
|
|
2580
2699
|
ObjectWriter: "ObjectWriter",
|
|
2581
2700
|
};
|
|
2582
|
-
const
|
|
2701
|
+
const AnnotationConfigurationState = {
|
|
2583
2702
|
DISABLED: "DISABLED",
|
|
2584
2703
|
ENABLED: "ENABLED",
|
|
2585
2704
|
};
|
|
@@ -2587,6 +2706,10 @@ const TableSseAlgorithm = {
|
|
|
2587
2706
|
AES256: "AES256",
|
|
2588
2707
|
aws_kms: "aws:kms",
|
|
2589
2708
|
};
|
|
2709
|
+
const InventoryConfigurationState = {
|
|
2710
|
+
DISABLED: "DISABLED",
|
|
2711
|
+
ENABLED: "ENABLED",
|
|
2712
|
+
};
|
|
2590
2713
|
const ExpirationState = {
|
|
2591
2714
|
DISABLED: "DISABLED",
|
|
2592
2715
|
ENABLED: "ENABLED",
|
|
@@ -2680,6 +2803,9 @@ const Event = {
|
|
|
2680
2803
|
s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated",
|
|
2681
2804
|
s3_LifecycleTransition: "s3:LifecycleTransition",
|
|
2682
2805
|
s3_ObjectAcl_Put: "s3:ObjectAcl:Put",
|
|
2806
|
+
s3_ObjectAnnotation_: "s3:ObjectAnnotation:*",
|
|
2807
|
+
s3_ObjectAnnotation_Delete: "s3:ObjectAnnotation:Delete",
|
|
2808
|
+
s3_ObjectAnnotation_Put: "s3:ObjectAnnotation:Put",
|
|
2683
2809
|
s3_ObjectCreated_: "s3:ObjectCreated:*",
|
|
2684
2810
|
s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload",
|
|
2685
2811
|
s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy",
|
|
@@ -2836,11 +2962,10 @@ const RestoreRequestType = {
|
|
|
2836
2962
|
SELECT: "SELECT",
|
|
2837
2963
|
};
|
|
2838
2964
|
|
|
2839
|
-
exports.$Command = client.Command;
|
|
2840
|
-
exports.__Client = client.Client;
|
|
2841
|
-
exports.S3ServiceException = S3ServiceException.S3ServiceException;
|
|
2842
2965
|
exports.AbortMultipartUploadCommand = AbortMultipartUploadCommand;
|
|
2843
2966
|
exports.AnalyticsS3ExportFileFormat = AnalyticsS3ExportFileFormat;
|
|
2967
|
+
exports.AnnotationConfigurationState = AnnotationConfigurationState;
|
|
2968
|
+
exports.AnnotationDirective = AnnotationDirective;
|
|
2844
2969
|
exports.ArchiveStatus = ArchiveStatus;
|
|
2845
2970
|
exports.BucketAbacStatus = BucketAbacStatus;
|
|
2846
2971
|
exports.BucketAccelerateStatus = BucketAccelerateStatus;
|
|
@@ -2878,6 +3003,7 @@ exports.DeleteBucketReplicationCommand = DeleteBucketReplicationCommand;
|
|
|
2878
3003
|
exports.DeleteBucketTaggingCommand = DeleteBucketTaggingCommand;
|
|
2879
3004
|
exports.DeleteBucketWebsiteCommand = DeleteBucketWebsiteCommand;
|
|
2880
3005
|
exports.DeleteMarkerReplicationStatus = DeleteMarkerReplicationStatus;
|
|
3006
|
+
exports.DeleteObjectAnnotationCommand = DeleteObjectAnnotationCommand;
|
|
2881
3007
|
exports.DeleteObjectCommand = DeleteObjectCommand;
|
|
2882
3008
|
exports.DeleteObjectTaggingCommand = DeleteObjectTaggingCommand;
|
|
2883
3009
|
exports.DeleteObjectsCommand = DeleteObjectsCommand;
|
|
@@ -2915,6 +3041,7 @@ exports.GetBucketTaggingCommand = GetBucketTaggingCommand;
|
|
|
2915
3041
|
exports.GetBucketVersioningCommand = GetBucketVersioningCommand;
|
|
2916
3042
|
exports.GetBucketWebsiteCommand = GetBucketWebsiteCommand;
|
|
2917
3043
|
exports.GetObjectAclCommand = GetObjectAclCommand;
|
|
3044
|
+
exports.GetObjectAnnotationCommand = GetObjectAnnotationCommand;
|
|
2918
3045
|
exports.GetObjectAttributesCommand = GetObjectAttributesCommand;
|
|
2919
3046
|
exports.GetObjectCommand = GetObjectCommand;
|
|
2920
3047
|
exports.GetObjectLegalHoldCommand = GetObjectLegalHoldCommand;
|
|
@@ -2940,6 +3067,7 @@ exports.ListBucketMetricsConfigurationsCommand = ListBucketMetricsConfigurations
|
|
|
2940
3067
|
exports.ListBucketsCommand = ListBucketsCommand;
|
|
2941
3068
|
exports.ListDirectoryBucketsCommand = ListDirectoryBucketsCommand;
|
|
2942
3069
|
exports.ListMultipartUploadsCommand = ListMultipartUploadsCommand;
|
|
3070
|
+
exports.ListObjectAnnotationsCommand = ListObjectAnnotationsCommand;
|
|
2943
3071
|
exports.ListObjectVersionsCommand = ListObjectVersionsCommand;
|
|
2944
3072
|
exports.ListObjectsCommand = ListObjectsCommand;
|
|
2945
3073
|
exports.ListObjectsV2Command = ListObjectsV2Command;
|
|
@@ -2984,6 +3112,7 @@ exports.PutBucketTaggingCommand = PutBucketTaggingCommand;
|
|
|
2984
3112
|
exports.PutBucketVersioningCommand = PutBucketVersioningCommand;
|
|
2985
3113
|
exports.PutBucketWebsiteCommand = PutBucketWebsiteCommand;
|
|
2986
3114
|
exports.PutObjectAclCommand = PutObjectAclCommand;
|
|
3115
|
+
exports.PutObjectAnnotationCommand = PutObjectAnnotationCommand;
|
|
2987
3116
|
exports.PutObjectCommand = PutObjectCommand;
|
|
2988
3117
|
exports.PutObjectLegalHoldCommand = PutObjectLegalHoldCommand;
|
|
2989
3118
|
exports.PutObjectLockConfigurationCommand = PutObjectLockConfigurationCommand;
|
|
@@ -3015,6 +3144,7 @@ exports.Tier = Tier;
|
|
|
3015
3144
|
exports.TransitionDefaultMinimumObjectSize = TransitionDefaultMinimumObjectSize;
|
|
3016
3145
|
exports.TransitionStorageClass = TransitionStorageClass;
|
|
3017
3146
|
exports.Type = Type;
|
|
3147
|
+
exports.UpdateBucketMetadataAnnotationTableConfigurationCommand = UpdateBucketMetadataAnnotationTableConfigurationCommand;
|
|
3018
3148
|
exports.UpdateBucketMetadataInventoryTableConfigurationCommand = UpdateBucketMetadataInventoryTableConfigurationCommand;
|
|
3019
3149
|
exports.UpdateBucketMetadataJournalTableConfigurationCommand = UpdateBucketMetadataJournalTableConfigurationCommand;
|
|
3020
3150
|
exports.UpdateObjectEncryptionCommand = UpdateObjectEncryptionCommand;
|
|
@@ -3023,6 +3153,7 @@ exports.UploadPartCopyCommand = UploadPartCopyCommand;
|
|
|
3023
3153
|
exports.WriteGetObjectResponseCommand = WriteGetObjectResponseCommand;
|
|
3024
3154
|
exports.paginateListBuckets = paginateListBuckets;
|
|
3025
3155
|
exports.paginateListDirectoryBuckets = paginateListDirectoryBuckets;
|
|
3156
|
+
exports.paginateListObjectAnnotations = paginateListObjectAnnotations;
|
|
3026
3157
|
exports.paginateListObjectsV2 = paginateListObjectsV2;
|
|
3027
3158
|
exports.paginateListParts = paginateListParts;
|
|
3028
3159
|
exports.waitForBucketExists = waitForBucketExists;
|
|
@@ -3033,23 +3164,3 @@ exports.waitUntilBucketExists = waitUntilBucketExists;
|
|
|
3033
3164
|
exports.waitUntilBucketNotExists = waitUntilBucketNotExists;
|
|
3034
3165
|
exports.waitUntilObjectExists = waitUntilObjectExists;
|
|
3035
3166
|
exports.waitUntilObjectNotExists = waitUntilObjectNotExists;
|
|
3036
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
3037
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
3038
|
-
Object.defineProperty(exports, '__proto__', {
|
|
3039
|
-
enumerable: true,
|
|
3040
|
-
value: schemas_0['__proto__']
|
|
3041
|
-
});
|
|
3042
|
-
|
|
3043
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
3044
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
3045
|
-
});
|
|
3046
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
3047
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
3048
|
-
Object.defineProperty(exports, '__proto__', {
|
|
3049
|
-
enumerable: true,
|
|
3050
|
-
value: errors['__proto__']
|
|
3051
|
-
});
|
|
3052
|
-
|
|
3053
|
-
Object.keys(errors).forEach(function (k) {
|
|
3054
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
3055
|
-
});
|