@aws-sdk/client-s3 3.1068.0 → 3.1069.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/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 +514 -534
- package/dist-cjs/models/S3ServiceException.js +4 -8
- package/dist-cjs/models/errors.js +31 -49
- 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 +983 -646
- 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$, 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$, GetObjectAttributes$, GetObject$, GetObjectLegalHold$, GetObjectLockConfiguration$, GetObjectRetention$, GetObjectTagging$, GetObjectTorrent$, GetPublicAccessBlock$, HeadBucket$, HeadObject$, ListBucketAnalyticsConfigurations$, ListBucketIntelligentTieringConfigurations$, ListBucketInventoryConfigurations$, ListBucketMetricsConfigurations$, ListBuckets$, ListDirectoryBuckets$, ListMultipartUploads$, ListObjects$, ListObjectsV2$, ListObjectVersions$, ListParts$, PutBucketAbac$, PutBucketAccelerateConfiguration$, PutBucketAcl$, PutBucketAnalyticsConfiguration$, PutBucketCors$, PutBucketEncryption$, PutBucketIntelligentTieringConfiguration$, PutBucketInventoryConfiguration$, PutBucketLifecycleConfiguration$, PutBucketLogging$, PutBucketMetricsConfiguration$, PutBucketNotificationConfiguration$, PutBucketOwnershipControls$, PutBucketPolicy$, PutBucketReplication$, PutBucketRequestPayment$, PutBucketTagging$, PutBucketVersioning$, PutBucketWebsite$, PutObjectAcl$, PutObject$, PutObjectLegalHold$, PutObjectLockConfiguration$, PutObjectRetention$, PutObjectTagging$, PutPublicAccessBlock$, RenameObject$, RestoreObject$, SelectObjectContent$, 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,15 @@ 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 DeleteObjectCommand extends
|
|
542
|
+
class DeleteObjectCommand extends Command
|
|
540
543
|
.classBuilder()
|
|
541
544
|
.ep({
|
|
542
545
|
...commonParams,
|
|
@@ -545,17 +548,17 @@ class DeleteObjectCommand extends client.Command
|
|
|
545
548
|
})
|
|
546
549
|
.m(function (Command, cs, config, o) {
|
|
547
550
|
return [
|
|
548
|
-
|
|
549
|
-
|
|
551
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
552
|
+
getThrow200ExceptionsPlugin(config),
|
|
550
553
|
];
|
|
551
554
|
})
|
|
552
555
|
.s("AmazonS3", "DeleteObject", {})
|
|
553
556
|
.n("S3Client", "DeleteObjectCommand")
|
|
554
|
-
.sc(
|
|
557
|
+
.sc(DeleteObject$)
|
|
555
558
|
.build() {
|
|
556
559
|
}
|
|
557
560
|
|
|
558
|
-
class DeleteObjectsCommand extends
|
|
561
|
+
class DeleteObjectsCommand extends Command
|
|
559
562
|
.classBuilder()
|
|
560
563
|
.ep({
|
|
561
564
|
...commonParams,
|
|
@@ -563,21 +566,21 @@ class DeleteObjectsCommand extends client.Command
|
|
|
563
566
|
})
|
|
564
567
|
.m(function (Command, cs, config, o) {
|
|
565
568
|
return [
|
|
566
|
-
|
|
567
|
-
|
|
569
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
570
|
+
getFlexibleChecksumsPlugin(config, {
|
|
568
571
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
569
572
|
requestChecksumRequired: true,
|
|
570
573
|
}),
|
|
571
|
-
|
|
574
|
+
getThrow200ExceptionsPlugin(config),
|
|
572
575
|
];
|
|
573
576
|
})
|
|
574
577
|
.s("AmazonS3", "DeleteObjects", {})
|
|
575
578
|
.n("S3Client", "DeleteObjectsCommand")
|
|
576
|
-
.sc(
|
|
579
|
+
.sc(DeleteObjects$)
|
|
577
580
|
.build() {
|
|
578
581
|
}
|
|
579
582
|
|
|
580
|
-
class DeleteObjectTaggingCommand extends
|
|
583
|
+
class DeleteObjectTaggingCommand extends Command
|
|
581
584
|
.classBuilder()
|
|
582
585
|
.ep({
|
|
583
586
|
...commonParams,
|
|
@@ -585,17 +588,17 @@ class DeleteObjectTaggingCommand extends client.Command
|
|
|
585
588
|
})
|
|
586
589
|
.m(function (Command, cs, config, o) {
|
|
587
590
|
return [
|
|
588
|
-
|
|
589
|
-
|
|
591
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
592
|
+
getThrow200ExceptionsPlugin(config),
|
|
590
593
|
];
|
|
591
594
|
})
|
|
592
595
|
.s("AmazonS3", "DeleteObjectTagging", {})
|
|
593
596
|
.n("S3Client", "DeleteObjectTaggingCommand")
|
|
594
|
-
.sc(
|
|
597
|
+
.sc(DeleteObjectTagging$)
|
|
595
598
|
.build() {
|
|
596
599
|
}
|
|
597
600
|
|
|
598
|
-
class DeletePublicAccessBlockCommand extends
|
|
601
|
+
class DeletePublicAccessBlockCommand extends Command
|
|
599
602
|
.classBuilder()
|
|
600
603
|
.ep({
|
|
601
604
|
...commonParams,
|
|
@@ -603,15 +606,15 @@ class DeletePublicAccessBlockCommand extends client.Command
|
|
|
603
606
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
604
607
|
})
|
|
605
608
|
.m(function (Command, cs, config, o) {
|
|
606
|
-
return [
|
|
609
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
607
610
|
})
|
|
608
611
|
.s("AmazonS3", "DeletePublicAccessBlock", {})
|
|
609
612
|
.n("S3Client", "DeletePublicAccessBlockCommand")
|
|
610
|
-
.sc(
|
|
613
|
+
.sc(DeletePublicAccessBlock$)
|
|
611
614
|
.build() {
|
|
612
615
|
}
|
|
613
616
|
|
|
614
|
-
class GetBucketAbacCommand extends
|
|
617
|
+
class GetBucketAbacCommand extends Command
|
|
615
618
|
.classBuilder()
|
|
616
619
|
.ep({
|
|
617
620
|
...commonParams,
|
|
@@ -619,17 +622,17 @@ class GetBucketAbacCommand extends client.Command
|
|
|
619
622
|
})
|
|
620
623
|
.m(function (Command, cs, config, o) {
|
|
621
624
|
return [
|
|
622
|
-
|
|
623
|
-
|
|
625
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
626
|
+
getThrow200ExceptionsPlugin(config),
|
|
624
627
|
];
|
|
625
628
|
})
|
|
626
629
|
.s("AmazonS3", "GetBucketAbac", {})
|
|
627
630
|
.n("S3Client", "GetBucketAbacCommand")
|
|
628
|
-
.sc(
|
|
631
|
+
.sc(GetBucketAbac$)
|
|
629
632
|
.build() {
|
|
630
633
|
}
|
|
631
634
|
|
|
632
|
-
class GetBucketAccelerateConfigurationCommand extends
|
|
635
|
+
class GetBucketAccelerateConfigurationCommand extends Command
|
|
633
636
|
.classBuilder()
|
|
634
637
|
.ep({
|
|
635
638
|
...commonParams,
|
|
@@ -638,17 +641,17 @@ class GetBucketAccelerateConfigurationCommand extends client.Command
|
|
|
638
641
|
})
|
|
639
642
|
.m(function (Command, cs, config, o) {
|
|
640
643
|
return [
|
|
641
|
-
|
|
642
|
-
|
|
644
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
645
|
+
getThrow200ExceptionsPlugin(config),
|
|
643
646
|
];
|
|
644
647
|
})
|
|
645
648
|
.s("AmazonS3", "GetBucketAccelerateConfiguration", {})
|
|
646
649
|
.n("S3Client", "GetBucketAccelerateConfigurationCommand")
|
|
647
|
-
.sc(
|
|
650
|
+
.sc(GetBucketAccelerateConfiguration$)
|
|
648
651
|
.build() {
|
|
649
652
|
}
|
|
650
653
|
|
|
651
|
-
class GetBucketAclCommand extends
|
|
654
|
+
class GetBucketAclCommand extends Command
|
|
652
655
|
.classBuilder()
|
|
653
656
|
.ep({
|
|
654
657
|
...commonParams,
|
|
@@ -657,17 +660,17 @@ class GetBucketAclCommand extends client.Command
|
|
|
657
660
|
})
|
|
658
661
|
.m(function (Command, cs, config, o) {
|
|
659
662
|
return [
|
|
660
|
-
|
|
661
|
-
|
|
663
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
664
|
+
getThrow200ExceptionsPlugin(config),
|
|
662
665
|
];
|
|
663
666
|
})
|
|
664
667
|
.s("AmazonS3", "GetBucketAcl", {})
|
|
665
668
|
.n("S3Client", "GetBucketAclCommand")
|
|
666
|
-
.sc(
|
|
669
|
+
.sc(GetBucketAcl$)
|
|
667
670
|
.build() {
|
|
668
671
|
}
|
|
669
672
|
|
|
670
|
-
class GetBucketAnalyticsConfigurationCommand extends
|
|
673
|
+
class GetBucketAnalyticsConfigurationCommand extends Command
|
|
671
674
|
.classBuilder()
|
|
672
675
|
.ep({
|
|
673
676
|
...commonParams,
|
|
@@ -676,17 +679,17 @@ class GetBucketAnalyticsConfigurationCommand extends client.Command
|
|
|
676
679
|
})
|
|
677
680
|
.m(function (Command, cs, config, o) {
|
|
678
681
|
return [
|
|
679
|
-
|
|
680
|
-
|
|
682
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
683
|
+
getThrow200ExceptionsPlugin(config),
|
|
681
684
|
];
|
|
682
685
|
})
|
|
683
686
|
.s("AmazonS3", "GetBucketAnalyticsConfiguration", {})
|
|
684
687
|
.n("S3Client", "GetBucketAnalyticsConfigurationCommand")
|
|
685
|
-
.sc(
|
|
688
|
+
.sc(GetBucketAnalyticsConfiguration$)
|
|
686
689
|
.build() {
|
|
687
690
|
}
|
|
688
691
|
|
|
689
|
-
class GetBucketCorsCommand extends
|
|
692
|
+
class GetBucketCorsCommand extends Command
|
|
690
693
|
.classBuilder()
|
|
691
694
|
.ep({
|
|
692
695
|
...commonParams,
|
|
@@ -695,17 +698,17 @@ class GetBucketCorsCommand extends client.Command
|
|
|
695
698
|
})
|
|
696
699
|
.m(function (Command, cs, config, o) {
|
|
697
700
|
return [
|
|
698
|
-
|
|
699
|
-
|
|
701
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
702
|
+
getThrow200ExceptionsPlugin(config),
|
|
700
703
|
];
|
|
701
704
|
})
|
|
702
705
|
.s("AmazonS3", "GetBucketCors", {})
|
|
703
706
|
.n("S3Client", "GetBucketCorsCommand")
|
|
704
|
-
.sc(
|
|
707
|
+
.sc(GetBucketCors$)
|
|
705
708
|
.build() {
|
|
706
709
|
}
|
|
707
710
|
|
|
708
|
-
class GetBucketEncryptionCommand extends
|
|
711
|
+
class GetBucketEncryptionCommand extends Command
|
|
709
712
|
.classBuilder()
|
|
710
713
|
.ep({
|
|
711
714
|
...commonParams,
|
|
@@ -714,17 +717,17 @@ class GetBucketEncryptionCommand extends client.Command
|
|
|
714
717
|
})
|
|
715
718
|
.m(function (Command, cs, config, o) {
|
|
716
719
|
return [
|
|
717
|
-
|
|
718
|
-
|
|
720
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
721
|
+
getThrow200ExceptionsPlugin(config),
|
|
719
722
|
];
|
|
720
723
|
})
|
|
721
724
|
.s("AmazonS3", "GetBucketEncryption", {})
|
|
722
725
|
.n("S3Client", "GetBucketEncryptionCommand")
|
|
723
|
-
.sc(
|
|
726
|
+
.sc(GetBucketEncryption$)
|
|
724
727
|
.build() {
|
|
725
728
|
}
|
|
726
729
|
|
|
727
|
-
class GetBucketIntelligentTieringConfigurationCommand extends
|
|
730
|
+
class GetBucketIntelligentTieringConfigurationCommand extends Command
|
|
728
731
|
.classBuilder()
|
|
729
732
|
.ep({
|
|
730
733
|
...commonParams,
|
|
@@ -733,17 +736,17 @@ class GetBucketIntelligentTieringConfigurationCommand extends client.Command
|
|
|
733
736
|
})
|
|
734
737
|
.m(function (Command, cs, config, o) {
|
|
735
738
|
return [
|
|
736
|
-
|
|
737
|
-
|
|
739
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
740
|
+
getThrow200ExceptionsPlugin(config),
|
|
738
741
|
];
|
|
739
742
|
})
|
|
740
743
|
.s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {})
|
|
741
744
|
.n("S3Client", "GetBucketIntelligentTieringConfigurationCommand")
|
|
742
|
-
.sc(
|
|
745
|
+
.sc(GetBucketIntelligentTieringConfiguration$)
|
|
743
746
|
.build() {
|
|
744
747
|
}
|
|
745
748
|
|
|
746
|
-
class GetBucketInventoryConfigurationCommand extends
|
|
749
|
+
class GetBucketInventoryConfigurationCommand extends Command
|
|
747
750
|
.classBuilder()
|
|
748
751
|
.ep({
|
|
749
752
|
...commonParams,
|
|
@@ -752,17 +755,17 @@ class GetBucketInventoryConfigurationCommand extends client.Command
|
|
|
752
755
|
})
|
|
753
756
|
.m(function (Command, cs, config, o) {
|
|
754
757
|
return [
|
|
755
|
-
|
|
756
|
-
|
|
758
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
759
|
+
getThrow200ExceptionsPlugin(config),
|
|
757
760
|
];
|
|
758
761
|
})
|
|
759
762
|
.s("AmazonS3", "GetBucketInventoryConfiguration", {})
|
|
760
763
|
.n("S3Client", "GetBucketInventoryConfigurationCommand")
|
|
761
|
-
.sc(
|
|
764
|
+
.sc(GetBucketInventoryConfiguration$)
|
|
762
765
|
.build() {
|
|
763
766
|
}
|
|
764
767
|
|
|
765
|
-
class GetBucketLifecycleConfigurationCommand extends
|
|
768
|
+
class GetBucketLifecycleConfigurationCommand extends Command
|
|
766
769
|
.classBuilder()
|
|
767
770
|
.ep({
|
|
768
771
|
...commonParams,
|
|
@@ -771,17 +774,17 @@ class GetBucketLifecycleConfigurationCommand extends client.Command
|
|
|
771
774
|
})
|
|
772
775
|
.m(function (Command, cs, config, o) {
|
|
773
776
|
return [
|
|
774
|
-
|
|
775
|
-
|
|
777
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
778
|
+
getThrow200ExceptionsPlugin(config),
|
|
776
779
|
];
|
|
777
780
|
})
|
|
778
781
|
.s("AmazonS3", "GetBucketLifecycleConfiguration", {})
|
|
779
782
|
.n("S3Client", "GetBucketLifecycleConfigurationCommand")
|
|
780
|
-
.sc(
|
|
783
|
+
.sc(GetBucketLifecycleConfiguration$)
|
|
781
784
|
.build() {
|
|
782
785
|
}
|
|
783
786
|
|
|
784
|
-
class GetBucketLocationCommand extends
|
|
787
|
+
class GetBucketLocationCommand extends Command
|
|
785
788
|
.classBuilder()
|
|
786
789
|
.ep({
|
|
787
790
|
...commonParams,
|
|
@@ -790,17 +793,17 @@ class GetBucketLocationCommand extends client.Command
|
|
|
790
793
|
})
|
|
791
794
|
.m(function (Command, cs, config, o) {
|
|
792
795
|
return [
|
|
793
|
-
|
|
794
|
-
|
|
796
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
797
|
+
getThrow200ExceptionsPlugin(config),
|
|
795
798
|
];
|
|
796
799
|
})
|
|
797
800
|
.s("AmazonS3", "GetBucketLocation", {})
|
|
798
801
|
.n("S3Client", "GetBucketLocationCommand")
|
|
799
|
-
.sc(
|
|
802
|
+
.sc(GetBucketLocation$)
|
|
800
803
|
.build() {
|
|
801
804
|
}
|
|
802
805
|
|
|
803
|
-
class GetBucketLoggingCommand extends
|
|
806
|
+
class GetBucketLoggingCommand extends Command
|
|
804
807
|
.classBuilder()
|
|
805
808
|
.ep({
|
|
806
809
|
...commonParams,
|
|
@@ -809,17 +812,17 @@ class GetBucketLoggingCommand extends client.Command
|
|
|
809
812
|
})
|
|
810
813
|
.m(function (Command, cs, config, o) {
|
|
811
814
|
return [
|
|
812
|
-
|
|
813
|
-
|
|
815
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
816
|
+
getThrow200ExceptionsPlugin(config),
|
|
814
817
|
];
|
|
815
818
|
})
|
|
816
819
|
.s("AmazonS3", "GetBucketLogging", {})
|
|
817
820
|
.n("S3Client", "GetBucketLoggingCommand")
|
|
818
|
-
.sc(
|
|
821
|
+
.sc(GetBucketLogging$)
|
|
819
822
|
.build() {
|
|
820
823
|
}
|
|
821
824
|
|
|
822
|
-
class GetBucketMetadataConfigurationCommand extends
|
|
825
|
+
class GetBucketMetadataConfigurationCommand extends Command
|
|
823
826
|
.classBuilder()
|
|
824
827
|
.ep({
|
|
825
828
|
...commonParams,
|
|
@@ -828,17 +831,17 @@ class GetBucketMetadataConfigurationCommand extends client.Command
|
|
|
828
831
|
})
|
|
829
832
|
.m(function (Command, cs, config, o) {
|
|
830
833
|
return [
|
|
831
|
-
|
|
832
|
-
|
|
834
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
835
|
+
getThrow200ExceptionsPlugin(config),
|
|
833
836
|
];
|
|
834
837
|
})
|
|
835
838
|
.s("AmazonS3", "GetBucketMetadataConfiguration", {})
|
|
836
839
|
.n("S3Client", "GetBucketMetadataConfigurationCommand")
|
|
837
|
-
.sc(
|
|
840
|
+
.sc(GetBucketMetadataConfiguration$)
|
|
838
841
|
.build() {
|
|
839
842
|
}
|
|
840
843
|
|
|
841
|
-
class GetBucketMetadataTableConfigurationCommand extends
|
|
844
|
+
class GetBucketMetadataTableConfigurationCommand extends Command
|
|
842
845
|
.classBuilder()
|
|
843
846
|
.ep({
|
|
844
847
|
...commonParams,
|
|
@@ -847,17 +850,17 @@ class GetBucketMetadataTableConfigurationCommand extends client.Command
|
|
|
847
850
|
})
|
|
848
851
|
.m(function (Command, cs, config, o) {
|
|
849
852
|
return [
|
|
850
|
-
|
|
851
|
-
|
|
853
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
854
|
+
getThrow200ExceptionsPlugin(config),
|
|
852
855
|
];
|
|
853
856
|
})
|
|
854
857
|
.s("AmazonS3", "GetBucketMetadataTableConfiguration", {})
|
|
855
858
|
.n("S3Client", "GetBucketMetadataTableConfigurationCommand")
|
|
856
|
-
.sc(
|
|
859
|
+
.sc(GetBucketMetadataTableConfiguration$)
|
|
857
860
|
.build() {
|
|
858
861
|
}
|
|
859
862
|
|
|
860
|
-
class GetBucketMetricsConfigurationCommand extends
|
|
863
|
+
class GetBucketMetricsConfigurationCommand extends Command
|
|
861
864
|
.classBuilder()
|
|
862
865
|
.ep({
|
|
863
866
|
...commonParams,
|
|
@@ -866,17 +869,17 @@ class GetBucketMetricsConfigurationCommand extends client.Command
|
|
|
866
869
|
})
|
|
867
870
|
.m(function (Command, cs, config, o) {
|
|
868
871
|
return [
|
|
869
|
-
|
|
870
|
-
|
|
872
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
873
|
+
getThrow200ExceptionsPlugin(config),
|
|
871
874
|
];
|
|
872
875
|
})
|
|
873
876
|
.s("AmazonS3", "GetBucketMetricsConfiguration", {})
|
|
874
877
|
.n("S3Client", "GetBucketMetricsConfigurationCommand")
|
|
875
|
-
.sc(
|
|
878
|
+
.sc(GetBucketMetricsConfiguration$)
|
|
876
879
|
.build() {
|
|
877
880
|
}
|
|
878
881
|
|
|
879
|
-
class GetBucketNotificationConfigurationCommand extends
|
|
882
|
+
class GetBucketNotificationConfigurationCommand extends Command
|
|
880
883
|
.classBuilder()
|
|
881
884
|
.ep({
|
|
882
885
|
...commonParams,
|
|
@@ -885,17 +888,17 @@ class GetBucketNotificationConfigurationCommand extends client.Command
|
|
|
885
888
|
})
|
|
886
889
|
.m(function (Command, cs, config, o) {
|
|
887
890
|
return [
|
|
888
|
-
|
|
889
|
-
|
|
891
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
892
|
+
getThrow200ExceptionsPlugin(config),
|
|
890
893
|
];
|
|
891
894
|
})
|
|
892
895
|
.s("AmazonS3", "GetBucketNotificationConfiguration", {})
|
|
893
896
|
.n("S3Client", "GetBucketNotificationConfigurationCommand")
|
|
894
|
-
.sc(
|
|
897
|
+
.sc(GetBucketNotificationConfiguration$)
|
|
895
898
|
.build() {
|
|
896
899
|
}
|
|
897
900
|
|
|
898
|
-
class GetBucketOwnershipControlsCommand extends
|
|
901
|
+
class GetBucketOwnershipControlsCommand extends Command
|
|
899
902
|
.classBuilder()
|
|
900
903
|
.ep({
|
|
901
904
|
...commonParams,
|
|
@@ -904,17 +907,17 @@ class GetBucketOwnershipControlsCommand extends client.Command
|
|
|
904
907
|
})
|
|
905
908
|
.m(function (Command, cs, config, o) {
|
|
906
909
|
return [
|
|
907
|
-
|
|
908
|
-
|
|
910
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
911
|
+
getThrow200ExceptionsPlugin(config),
|
|
909
912
|
];
|
|
910
913
|
})
|
|
911
914
|
.s("AmazonS3", "GetBucketOwnershipControls", {})
|
|
912
915
|
.n("S3Client", "GetBucketOwnershipControlsCommand")
|
|
913
|
-
.sc(
|
|
916
|
+
.sc(GetBucketOwnershipControls$)
|
|
914
917
|
.build() {
|
|
915
918
|
}
|
|
916
919
|
|
|
917
|
-
class GetBucketPolicyCommand extends
|
|
920
|
+
class GetBucketPolicyCommand extends Command
|
|
918
921
|
.classBuilder()
|
|
919
922
|
.ep({
|
|
920
923
|
...commonParams,
|
|
@@ -922,15 +925,15 @@ class GetBucketPolicyCommand extends client.Command
|
|
|
922
925
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
923
926
|
})
|
|
924
927
|
.m(function (Command, cs, config, o) {
|
|
925
|
-
return [
|
|
928
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
926
929
|
})
|
|
927
930
|
.s("AmazonS3", "GetBucketPolicy", {})
|
|
928
931
|
.n("S3Client", "GetBucketPolicyCommand")
|
|
929
|
-
.sc(
|
|
932
|
+
.sc(GetBucketPolicy$)
|
|
930
933
|
.build() {
|
|
931
934
|
}
|
|
932
935
|
|
|
933
|
-
class GetBucketPolicyStatusCommand extends
|
|
936
|
+
class GetBucketPolicyStatusCommand extends Command
|
|
934
937
|
.classBuilder()
|
|
935
938
|
.ep({
|
|
936
939
|
...commonParams,
|
|
@@ -939,17 +942,17 @@ class GetBucketPolicyStatusCommand extends client.Command
|
|
|
939
942
|
})
|
|
940
943
|
.m(function (Command, cs, config, o) {
|
|
941
944
|
return [
|
|
942
|
-
|
|
943
|
-
|
|
945
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
946
|
+
getThrow200ExceptionsPlugin(config),
|
|
944
947
|
];
|
|
945
948
|
})
|
|
946
949
|
.s("AmazonS3", "GetBucketPolicyStatus", {})
|
|
947
950
|
.n("S3Client", "GetBucketPolicyStatusCommand")
|
|
948
|
-
.sc(
|
|
951
|
+
.sc(GetBucketPolicyStatus$)
|
|
949
952
|
.build() {
|
|
950
953
|
}
|
|
951
954
|
|
|
952
|
-
class GetBucketReplicationCommand extends
|
|
955
|
+
class GetBucketReplicationCommand extends Command
|
|
953
956
|
.classBuilder()
|
|
954
957
|
.ep({
|
|
955
958
|
...commonParams,
|
|
@@ -958,17 +961,17 @@ class GetBucketReplicationCommand extends client.Command
|
|
|
958
961
|
})
|
|
959
962
|
.m(function (Command, cs, config, o) {
|
|
960
963
|
return [
|
|
961
|
-
|
|
962
|
-
|
|
964
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
965
|
+
getThrow200ExceptionsPlugin(config),
|
|
963
966
|
];
|
|
964
967
|
})
|
|
965
968
|
.s("AmazonS3", "GetBucketReplication", {})
|
|
966
969
|
.n("S3Client", "GetBucketReplicationCommand")
|
|
967
|
-
.sc(
|
|
970
|
+
.sc(GetBucketReplication$)
|
|
968
971
|
.build() {
|
|
969
972
|
}
|
|
970
973
|
|
|
971
|
-
class GetBucketRequestPaymentCommand extends
|
|
974
|
+
class GetBucketRequestPaymentCommand extends Command
|
|
972
975
|
.classBuilder()
|
|
973
976
|
.ep({
|
|
974
977
|
...commonParams,
|
|
@@ -977,17 +980,17 @@ class GetBucketRequestPaymentCommand extends client.Command
|
|
|
977
980
|
})
|
|
978
981
|
.m(function (Command, cs, config, o) {
|
|
979
982
|
return [
|
|
980
|
-
|
|
981
|
-
|
|
983
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
984
|
+
getThrow200ExceptionsPlugin(config),
|
|
982
985
|
];
|
|
983
986
|
})
|
|
984
987
|
.s("AmazonS3", "GetBucketRequestPayment", {})
|
|
985
988
|
.n("S3Client", "GetBucketRequestPaymentCommand")
|
|
986
|
-
.sc(
|
|
989
|
+
.sc(GetBucketRequestPayment$)
|
|
987
990
|
.build() {
|
|
988
991
|
}
|
|
989
992
|
|
|
990
|
-
class GetBucketTaggingCommand extends
|
|
993
|
+
class GetBucketTaggingCommand extends Command
|
|
991
994
|
.classBuilder()
|
|
992
995
|
.ep({
|
|
993
996
|
...commonParams,
|
|
@@ -996,17 +999,17 @@ class GetBucketTaggingCommand extends client.Command
|
|
|
996
999
|
})
|
|
997
1000
|
.m(function (Command, cs, config, o) {
|
|
998
1001
|
return [
|
|
999
|
-
|
|
1000
|
-
|
|
1002
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1003
|
+
getThrow200ExceptionsPlugin(config),
|
|
1001
1004
|
];
|
|
1002
1005
|
})
|
|
1003
1006
|
.s("AmazonS3", "GetBucketTagging", {})
|
|
1004
1007
|
.n("S3Client", "GetBucketTaggingCommand")
|
|
1005
|
-
.sc(
|
|
1008
|
+
.sc(GetBucketTagging$)
|
|
1006
1009
|
.build() {
|
|
1007
1010
|
}
|
|
1008
1011
|
|
|
1009
|
-
class GetBucketVersioningCommand extends
|
|
1012
|
+
class GetBucketVersioningCommand extends Command
|
|
1010
1013
|
.classBuilder()
|
|
1011
1014
|
.ep({
|
|
1012
1015
|
...commonParams,
|
|
@@ -1015,17 +1018,17 @@ class GetBucketVersioningCommand extends client.Command
|
|
|
1015
1018
|
})
|
|
1016
1019
|
.m(function (Command, cs, config, o) {
|
|
1017
1020
|
return [
|
|
1018
|
-
|
|
1019
|
-
|
|
1021
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1022
|
+
getThrow200ExceptionsPlugin(config),
|
|
1020
1023
|
];
|
|
1021
1024
|
})
|
|
1022
1025
|
.s("AmazonS3", "GetBucketVersioning", {})
|
|
1023
1026
|
.n("S3Client", "GetBucketVersioningCommand")
|
|
1024
|
-
.sc(
|
|
1027
|
+
.sc(GetBucketVersioning$)
|
|
1025
1028
|
.build() {
|
|
1026
1029
|
}
|
|
1027
1030
|
|
|
1028
|
-
class GetBucketWebsiteCommand extends
|
|
1031
|
+
class GetBucketWebsiteCommand extends Command
|
|
1029
1032
|
.classBuilder()
|
|
1030
1033
|
.ep({
|
|
1031
1034
|
...commonParams,
|
|
@@ -1034,17 +1037,17 @@ class GetBucketWebsiteCommand extends client.Command
|
|
|
1034
1037
|
})
|
|
1035
1038
|
.m(function (Command, cs, config, o) {
|
|
1036
1039
|
return [
|
|
1037
|
-
|
|
1038
|
-
|
|
1040
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1041
|
+
getThrow200ExceptionsPlugin(config),
|
|
1039
1042
|
];
|
|
1040
1043
|
})
|
|
1041
1044
|
.s("AmazonS3", "GetBucketWebsite", {})
|
|
1042
1045
|
.n("S3Client", "GetBucketWebsiteCommand")
|
|
1043
|
-
.sc(
|
|
1046
|
+
.sc(GetBucketWebsite$)
|
|
1044
1047
|
.build() {
|
|
1045
1048
|
}
|
|
1046
1049
|
|
|
1047
|
-
class GetObjectAclCommand extends
|
|
1050
|
+
class GetObjectAclCommand extends Command
|
|
1048
1051
|
.classBuilder()
|
|
1049
1052
|
.ep({
|
|
1050
1053
|
...commonParams,
|
|
@@ -1053,17 +1056,17 @@ class GetObjectAclCommand extends client.Command
|
|
|
1053
1056
|
})
|
|
1054
1057
|
.m(function (Command, cs, config, o) {
|
|
1055
1058
|
return [
|
|
1056
|
-
|
|
1057
|
-
|
|
1059
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1060
|
+
getThrow200ExceptionsPlugin(config),
|
|
1058
1061
|
];
|
|
1059
1062
|
})
|
|
1060
1063
|
.s("AmazonS3", "GetObjectAcl", {})
|
|
1061
1064
|
.n("S3Client", "GetObjectAclCommand")
|
|
1062
|
-
.sc(
|
|
1065
|
+
.sc(GetObjectAcl$)
|
|
1063
1066
|
.build() {
|
|
1064
1067
|
}
|
|
1065
1068
|
|
|
1066
|
-
class GetObjectAttributesCommand extends
|
|
1069
|
+
class GetObjectAttributesCommand extends Command
|
|
1067
1070
|
.classBuilder()
|
|
1068
1071
|
.ep({
|
|
1069
1072
|
...commonParams,
|
|
@@ -1071,18 +1074,18 @@ class GetObjectAttributesCommand extends client.Command
|
|
|
1071
1074
|
})
|
|
1072
1075
|
.m(function (Command, cs, config, o) {
|
|
1073
1076
|
return [
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1078
|
+
getThrow200ExceptionsPlugin(config),
|
|
1079
|
+
getSsecPlugin(config),
|
|
1077
1080
|
];
|
|
1078
1081
|
})
|
|
1079
1082
|
.s("AmazonS3", "GetObjectAttributes", {})
|
|
1080
1083
|
.n("S3Client", "GetObjectAttributesCommand")
|
|
1081
|
-
.sc(
|
|
1084
|
+
.sc(GetObjectAttributes$)
|
|
1082
1085
|
.build() {
|
|
1083
1086
|
}
|
|
1084
1087
|
|
|
1085
|
-
class GetObjectCommand extends
|
|
1088
|
+
class GetObjectCommand extends Command
|
|
1086
1089
|
.classBuilder()
|
|
1087
1090
|
.ep({
|
|
1088
1091
|
...commonParams,
|
|
@@ -1091,23 +1094,23 @@ class GetObjectCommand extends client.Command
|
|
|
1091
1094
|
})
|
|
1092
1095
|
.m(function (Command, cs, config, o) {
|
|
1093
1096
|
return [
|
|
1094
|
-
|
|
1095
|
-
|
|
1097
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1098
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1096
1099
|
requestChecksumRequired: false,
|
|
1097
1100
|
requestValidationModeMember: 'ChecksumMode',
|
|
1098
1101
|
'responseAlgorithms': ['CRC64NVME', 'CRC32', 'CRC32C', 'SHA256', 'SHA1', 'SHA512', 'MD5', 'XXHASH64', 'XXHASH3', 'XXHASH128'],
|
|
1099
1102
|
}),
|
|
1100
|
-
|
|
1101
|
-
|
|
1103
|
+
getSsecPlugin(config),
|
|
1104
|
+
getS3ExpiresMiddlewarePlugin(config),
|
|
1102
1105
|
];
|
|
1103
1106
|
})
|
|
1104
1107
|
.s("AmazonS3", "GetObject", {})
|
|
1105
1108
|
.n("S3Client", "GetObjectCommand")
|
|
1106
|
-
.sc(
|
|
1109
|
+
.sc(GetObject$)
|
|
1107
1110
|
.build() {
|
|
1108
1111
|
}
|
|
1109
1112
|
|
|
1110
|
-
class GetObjectLegalHoldCommand extends
|
|
1113
|
+
class GetObjectLegalHoldCommand extends Command
|
|
1111
1114
|
.classBuilder()
|
|
1112
1115
|
.ep({
|
|
1113
1116
|
...commonParams,
|
|
@@ -1115,17 +1118,17 @@ class GetObjectLegalHoldCommand extends client.Command
|
|
|
1115
1118
|
})
|
|
1116
1119
|
.m(function (Command, cs, config, o) {
|
|
1117
1120
|
return [
|
|
1118
|
-
|
|
1119
|
-
|
|
1121
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1122
|
+
getThrow200ExceptionsPlugin(config),
|
|
1120
1123
|
];
|
|
1121
1124
|
})
|
|
1122
1125
|
.s("AmazonS3", "GetObjectLegalHold", {})
|
|
1123
1126
|
.n("S3Client", "GetObjectLegalHoldCommand")
|
|
1124
|
-
.sc(
|
|
1127
|
+
.sc(GetObjectLegalHold$)
|
|
1125
1128
|
.build() {
|
|
1126
1129
|
}
|
|
1127
1130
|
|
|
1128
|
-
class GetObjectLockConfigurationCommand extends
|
|
1131
|
+
class GetObjectLockConfigurationCommand extends Command
|
|
1129
1132
|
.classBuilder()
|
|
1130
1133
|
.ep({
|
|
1131
1134
|
...commonParams,
|
|
@@ -1133,17 +1136,17 @@ class GetObjectLockConfigurationCommand extends client.Command
|
|
|
1133
1136
|
})
|
|
1134
1137
|
.m(function (Command, cs, config, o) {
|
|
1135
1138
|
return [
|
|
1136
|
-
|
|
1137
|
-
|
|
1139
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1140
|
+
getThrow200ExceptionsPlugin(config),
|
|
1138
1141
|
];
|
|
1139
1142
|
})
|
|
1140
1143
|
.s("AmazonS3", "GetObjectLockConfiguration", {})
|
|
1141
1144
|
.n("S3Client", "GetObjectLockConfigurationCommand")
|
|
1142
|
-
.sc(
|
|
1145
|
+
.sc(GetObjectLockConfiguration$)
|
|
1143
1146
|
.build() {
|
|
1144
1147
|
}
|
|
1145
1148
|
|
|
1146
|
-
class GetObjectRetentionCommand extends
|
|
1149
|
+
class GetObjectRetentionCommand extends Command
|
|
1147
1150
|
.classBuilder()
|
|
1148
1151
|
.ep({
|
|
1149
1152
|
...commonParams,
|
|
@@ -1151,17 +1154,17 @@ class GetObjectRetentionCommand extends client.Command
|
|
|
1151
1154
|
})
|
|
1152
1155
|
.m(function (Command, cs, config, o) {
|
|
1153
1156
|
return [
|
|
1154
|
-
|
|
1155
|
-
|
|
1157
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1158
|
+
getThrow200ExceptionsPlugin(config),
|
|
1156
1159
|
];
|
|
1157
1160
|
})
|
|
1158
1161
|
.s("AmazonS3", "GetObjectRetention", {})
|
|
1159
1162
|
.n("S3Client", "GetObjectRetentionCommand")
|
|
1160
|
-
.sc(
|
|
1163
|
+
.sc(GetObjectRetention$)
|
|
1161
1164
|
.build() {
|
|
1162
1165
|
}
|
|
1163
1166
|
|
|
1164
|
-
class GetObjectTaggingCommand extends
|
|
1167
|
+
class GetObjectTaggingCommand extends Command
|
|
1165
1168
|
.classBuilder()
|
|
1166
1169
|
.ep({
|
|
1167
1170
|
...commonParams,
|
|
@@ -1169,32 +1172,32 @@ class GetObjectTaggingCommand extends client.Command
|
|
|
1169
1172
|
})
|
|
1170
1173
|
.m(function (Command, cs, config, o) {
|
|
1171
1174
|
return [
|
|
1172
|
-
|
|
1173
|
-
|
|
1175
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1176
|
+
getThrow200ExceptionsPlugin(config),
|
|
1174
1177
|
];
|
|
1175
1178
|
})
|
|
1176
1179
|
.s("AmazonS3", "GetObjectTagging", {})
|
|
1177
1180
|
.n("S3Client", "GetObjectTaggingCommand")
|
|
1178
|
-
.sc(
|
|
1181
|
+
.sc(GetObjectTagging$)
|
|
1179
1182
|
.build() {
|
|
1180
1183
|
}
|
|
1181
1184
|
|
|
1182
|
-
class GetObjectTorrentCommand extends
|
|
1185
|
+
class GetObjectTorrentCommand extends Command
|
|
1183
1186
|
.classBuilder()
|
|
1184
1187
|
.ep({
|
|
1185
1188
|
...commonParams,
|
|
1186
1189
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1187
1190
|
})
|
|
1188
1191
|
.m(function (Command, cs, config, o) {
|
|
1189
|
-
return [
|
|
1192
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1190
1193
|
})
|
|
1191
1194
|
.s("AmazonS3", "GetObjectTorrent", {})
|
|
1192
1195
|
.n("S3Client", "GetObjectTorrentCommand")
|
|
1193
|
-
.sc(
|
|
1196
|
+
.sc(GetObjectTorrent$)
|
|
1194
1197
|
.build() {
|
|
1195
1198
|
}
|
|
1196
1199
|
|
|
1197
|
-
class GetPublicAccessBlockCommand extends
|
|
1200
|
+
class GetPublicAccessBlockCommand extends Command
|
|
1198
1201
|
.classBuilder()
|
|
1199
1202
|
.ep({
|
|
1200
1203
|
...commonParams,
|
|
@@ -1203,17 +1206,17 @@ class GetPublicAccessBlockCommand extends client.Command
|
|
|
1203
1206
|
})
|
|
1204
1207
|
.m(function (Command, cs, config, o) {
|
|
1205
1208
|
return [
|
|
1206
|
-
|
|
1207
|
-
|
|
1209
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1210
|
+
getThrow200ExceptionsPlugin(config),
|
|
1208
1211
|
];
|
|
1209
1212
|
})
|
|
1210
1213
|
.s("AmazonS3", "GetPublicAccessBlock", {})
|
|
1211
1214
|
.n("S3Client", "GetPublicAccessBlockCommand")
|
|
1212
|
-
.sc(
|
|
1215
|
+
.sc(GetPublicAccessBlock$)
|
|
1213
1216
|
.build() {
|
|
1214
1217
|
}
|
|
1215
1218
|
|
|
1216
|
-
class HeadBucketCommand extends
|
|
1219
|
+
class HeadBucketCommand extends Command
|
|
1217
1220
|
.classBuilder()
|
|
1218
1221
|
.ep({
|
|
1219
1222
|
...commonParams,
|
|
@@ -1221,17 +1224,17 @@ class HeadBucketCommand extends client.Command
|
|
|
1221
1224
|
})
|
|
1222
1225
|
.m(function (Command, cs, config, o) {
|
|
1223
1226
|
return [
|
|
1224
|
-
|
|
1225
|
-
|
|
1227
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1228
|
+
getThrow200ExceptionsPlugin(config),
|
|
1226
1229
|
];
|
|
1227
1230
|
})
|
|
1228
1231
|
.s("AmazonS3", "HeadBucket", {})
|
|
1229
1232
|
.n("S3Client", "HeadBucketCommand")
|
|
1230
|
-
.sc(
|
|
1233
|
+
.sc(HeadBucket$)
|
|
1231
1234
|
.build() {
|
|
1232
1235
|
}
|
|
1233
1236
|
|
|
1234
|
-
class HeadObjectCommand extends
|
|
1237
|
+
class HeadObjectCommand extends Command
|
|
1235
1238
|
.classBuilder()
|
|
1236
1239
|
.ep({
|
|
1237
1240
|
...commonParams,
|
|
@@ -1240,19 +1243,19 @@ class HeadObjectCommand extends client.Command
|
|
|
1240
1243
|
})
|
|
1241
1244
|
.m(function (Command, cs, config, o) {
|
|
1242
1245
|
return [
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1246
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1247
|
+
getThrow200ExceptionsPlugin(config),
|
|
1248
|
+
getSsecPlugin(config),
|
|
1249
|
+
getS3ExpiresMiddlewarePlugin(config),
|
|
1247
1250
|
];
|
|
1248
1251
|
})
|
|
1249
1252
|
.s("AmazonS3", "HeadObject", {})
|
|
1250
1253
|
.n("S3Client", "HeadObjectCommand")
|
|
1251
|
-
.sc(
|
|
1254
|
+
.sc(HeadObject$)
|
|
1252
1255
|
.build() {
|
|
1253
1256
|
}
|
|
1254
1257
|
|
|
1255
|
-
class ListBucketAnalyticsConfigurationsCommand extends
|
|
1258
|
+
class ListBucketAnalyticsConfigurationsCommand extends Command
|
|
1256
1259
|
.classBuilder()
|
|
1257
1260
|
.ep({
|
|
1258
1261
|
...commonParams,
|
|
@@ -1261,17 +1264,17 @@ class ListBucketAnalyticsConfigurationsCommand extends client.Command
|
|
|
1261
1264
|
})
|
|
1262
1265
|
.m(function (Command, cs, config, o) {
|
|
1263
1266
|
return [
|
|
1264
|
-
|
|
1265
|
-
|
|
1267
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1268
|
+
getThrow200ExceptionsPlugin(config),
|
|
1266
1269
|
];
|
|
1267
1270
|
})
|
|
1268
1271
|
.s("AmazonS3", "ListBucketAnalyticsConfigurations", {})
|
|
1269
1272
|
.n("S3Client", "ListBucketAnalyticsConfigurationsCommand")
|
|
1270
|
-
.sc(
|
|
1273
|
+
.sc(ListBucketAnalyticsConfigurations$)
|
|
1271
1274
|
.build() {
|
|
1272
1275
|
}
|
|
1273
1276
|
|
|
1274
|
-
class ListBucketIntelligentTieringConfigurationsCommand extends
|
|
1277
|
+
class ListBucketIntelligentTieringConfigurationsCommand extends Command
|
|
1275
1278
|
.classBuilder()
|
|
1276
1279
|
.ep({
|
|
1277
1280
|
...commonParams,
|
|
@@ -1280,17 +1283,17 @@ class ListBucketIntelligentTieringConfigurationsCommand extends client.Command
|
|
|
1280
1283
|
})
|
|
1281
1284
|
.m(function (Command, cs, config, o) {
|
|
1282
1285
|
return [
|
|
1283
|
-
|
|
1284
|
-
|
|
1286
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1287
|
+
getThrow200ExceptionsPlugin(config),
|
|
1285
1288
|
];
|
|
1286
1289
|
})
|
|
1287
1290
|
.s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {})
|
|
1288
1291
|
.n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand")
|
|
1289
|
-
.sc(
|
|
1292
|
+
.sc(ListBucketIntelligentTieringConfigurations$)
|
|
1290
1293
|
.build() {
|
|
1291
1294
|
}
|
|
1292
1295
|
|
|
1293
|
-
class ListBucketInventoryConfigurationsCommand extends
|
|
1296
|
+
class ListBucketInventoryConfigurationsCommand extends Command
|
|
1294
1297
|
.classBuilder()
|
|
1295
1298
|
.ep({
|
|
1296
1299
|
...commonParams,
|
|
@@ -1299,17 +1302,17 @@ class ListBucketInventoryConfigurationsCommand extends client.Command
|
|
|
1299
1302
|
})
|
|
1300
1303
|
.m(function (Command, cs, config, o) {
|
|
1301
1304
|
return [
|
|
1302
|
-
|
|
1303
|
-
|
|
1305
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1306
|
+
getThrow200ExceptionsPlugin(config),
|
|
1304
1307
|
];
|
|
1305
1308
|
})
|
|
1306
1309
|
.s("AmazonS3", "ListBucketInventoryConfigurations", {})
|
|
1307
1310
|
.n("S3Client", "ListBucketInventoryConfigurationsCommand")
|
|
1308
|
-
.sc(
|
|
1311
|
+
.sc(ListBucketInventoryConfigurations$)
|
|
1309
1312
|
.build() {
|
|
1310
1313
|
}
|
|
1311
1314
|
|
|
1312
|
-
class ListBucketMetricsConfigurationsCommand extends
|
|
1315
|
+
class ListBucketMetricsConfigurationsCommand extends Command
|
|
1313
1316
|
.classBuilder()
|
|
1314
1317
|
.ep({
|
|
1315
1318
|
...commonParams,
|
|
@@ -1318,32 +1321,32 @@ class ListBucketMetricsConfigurationsCommand extends client.Command
|
|
|
1318
1321
|
})
|
|
1319
1322
|
.m(function (Command, cs, config, o) {
|
|
1320
1323
|
return [
|
|
1321
|
-
|
|
1322
|
-
|
|
1324
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1325
|
+
getThrow200ExceptionsPlugin(config),
|
|
1323
1326
|
];
|
|
1324
1327
|
})
|
|
1325
1328
|
.s("AmazonS3", "ListBucketMetricsConfigurations", {})
|
|
1326
1329
|
.n("S3Client", "ListBucketMetricsConfigurationsCommand")
|
|
1327
|
-
.sc(
|
|
1330
|
+
.sc(ListBucketMetricsConfigurations$)
|
|
1328
1331
|
.build() {
|
|
1329
1332
|
}
|
|
1330
1333
|
|
|
1331
|
-
class ListBucketsCommand extends
|
|
1334
|
+
class ListBucketsCommand extends Command
|
|
1332
1335
|
.classBuilder()
|
|
1333
1336
|
.ep(commonParams)
|
|
1334
1337
|
.m(function (Command, cs, config, o) {
|
|
1335
1338
|
return [
|
|
1336
|
-
|
|
1337
|
-
|
|
1339
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1340
|
+
getThrow200ExceptionsPlugin(config),
|
|
1338
1341
|
];
|
|
1339
1342
|
})
|
|
1340
1343
|
.s("AmazonS3", "ListBuckets", {})
|
|
1341
1344
|
.n("S3Client", "ListBucketsCommand")
|
|
1342
|
-
.sc(
|
|
1345
|
+
.sc(ListBuckets$)
|
|
1343
1346
|
.build() {
|
|
1344
1347
|
}
|
|
1345
1348
|
|
|
1346
|
-
class ListDirectoryBucketsCommand extends
|
|
1349
|
+
class ListDirectoryBucketsCommand extends Command
|
|
1347
1350
|
.classBuilder()
|
|
1348
1351
|
.ep({
|
|
1349
1352
|
...commonParams,
|
|
@@ -1351,17 +1354,17 @@ class ListDirectoryBucketsCommand extends client.Command
|
|
|
1351
1354
|
})
|
|
1352
1355
|
.m(function (Command, cs, config, o) {
|
|
1353
1356
|
return [
|
|
1354
|
-
|
|
1355
|
-
|
|
1357
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1358
|
+
getThrow200ExceptionsPlugin(config),
|
|
1356
1359
|
];
|
|
1357
1360
|
})
|
|
1358
1361
|
.s("AmazonS3", "ListDirectoryBuckets", {})
|
|
1359
1362
|
.n("S3Client", "ListDirectoryBucketsCommand")
|
|
1360
|
-
.sc(
|
|
1363
|
+
.sc(ListDirectoryBuckets$)
|
|
1361
1364
|
.build() {
|
|
1362
1365
|
}
|
|
1363
1366
|
|
|
1364
|
-
class ListMultipartUploadsCommand extends
|
|
1367
|
+
class ListMultipartUploadsCommand extends Command
|
|
1365
1368
|
.classBuilder()
|
|
1366
1369
|
.ep({
|
|
1367
1370
|
...commonParams,
|
|
@@ -1370,17 +1373,17 @@ class ListMultipartUploadsCommand extends client.Command
|
|
|
1370
1373
|
})
|
|
1371
1374
|
.m(function (Command, cs, config, o) {
|
|
1372
1375
|
return [
|
|
1373
|
-
|
|
1374
|
-
|
|
1376
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1377
|
+
getThrow200ExceptionsPlugin(config),
|
|
1375
1378
|
];
|
|
1376
1379
|
})
|
|
1377
1380
|
.s("AmazonS3", "ListMultipartUploads", {})
|
|
1378
1381
|
.n("S3Client", "ListMultipartUploadsCommand")
|
|
1379
|
-
.sc(
|
|
1382
|
+
.sc(ListMultipartUploads$)
|
|
1380
1383
|
.build() {
|
|
1381
1384
|
}
|
|
1382
1385
|
|
|
1383
|
-
class ListObjectsCommand extends
|
|
1386
|
+
class ListObjectsCommand extends Command
|
|
1384
1387
|
.classBuilder()
|
|
1385
1388
|
.ep({
|
|
1386
1389
|
...commonParams,
|
|
@@ -1389,17 +1392,17 @@ class ListObjectsCommand extends client.Command
|
|
|
1389
1392
|
})
|
|
1390
1393
|
.m(function (Command, cs, config, o) {
|
|
1391
1394
|
return [
|
|
1392
|
-
|
|
1393
|
-
|
|
1395
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1396
|
+
getThrow200ExceptionsPlugin(config),
|
|
1394
1397
|
];
|
|
1395
1398
|
})
|
|
1396
1399
|
.s("AmazonS3", "ListObjects", {})
|
|
1397
1400
|
.n("S3Client", "ListObjectsCommand")
|
|
1398
|
-
.sc(
|
|
1401
|
+
.sc(ListObjects$)
|
|
1399
1402
|
.build() {
|
|
1400
1403
|
}
|
|
1401
1404
|
|
|
1402
|
-
class ListObjectsV2Command extends
|
|
1405
|
+
class ListObjectsV2Command extends Command
|
|
1403
1406
|
.classBuilder()
|
|
1404
1407
|
.ep({
|
|
1405
1408
|
...commonParams,
|
|
@@ -1408,17 +1411,17 @@ class ListObjectsV2Command extends client.Command
|
|
|
1408
1411
|
})
|
|
1409
1412
|
.m(function (Command, cs, config, o) {
|
|
1410
1413
|
return [
|
|
1411
|
-
|
|
1412
|
-
|
|
1414
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1415
|
+
getThrow200ExceptionsPlugin(config),
|
|
1413
1416
|
];
|
|
1414
1417
|
})
|
|
1415
1418
|
.s("AmazonS3", "ListObjectsV2", {})
|
|
1416
1419
|
.n("S3Client", "ListObjectsV2Command")
|
|
1417
|
-
.sc(
|
|
1420
|
+
.sc(ListObjectsV2$)
|
|
1418
1421
|
.build() {
|
|
1419
1422
|
}
|
|
1420
1423
|
|
|
1421
|
-
class ListObjectVersionsCommand extends
|
|
1424
|
+
class ListObjectVersionsCommand extends Command
|
|
1422
1425
|
.classBuilder()
|
|
1423
1426
|
.ep({
|
|
1424
1427
|
...commonParams,
|
|
@@ -1427,17 +1430,17 @@ class ListObjectVersionsCommand extends client.Command
|
|
|
1427
1430
|
})
|
|
1428
1431
|
.m(function (Command, cs, config, o) {
|
|
1429
1432
|
return [
|
|
1430
|
-
|
|
1431
|
-
|
|
1433
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1434
|
+
getThrow200ExceptionsPlugin(config),
|
|
1432
1435
|
];
|
|
1433
1436
|
})
|
|
1434
1437
|
.s("AmazonS3", "ListObjectVersions", {})
|
|
1435
1438
|
.n("S3Client", "ListObjectVersionsCommand")
|
|
1436
|
-
.sc(
|
|
1439
|
+
.sc(ListObjectVersions$)
|
|
1437
1440
|
.build() {
|
|
1438
1441
|
}
|
|
1439
1442
|
|
|
1440
|
-
class ListPartsCommand extends
|
|
1443
|
+
class ListPartsCommand extends Command
|
|
1441
1444
|
.classBuilder()
|
|
1442
1445
|
.ep({
|
|
1443
1446
|
...commonParams,
|
|
@@ -1446,18 +1449,18 @@ class ListPartsCommand extends client.Command
|
|
|
1446
1449
|
})
|
|
1447
1450
|
.m(function (Command, cs, config, o) {
|
|
1448
1451
|
return [
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1453
|
+
getThrow200ExceptionsPlugin(config),
|
|
1454
|
+
getSsecPlugin(config),
|
|
1452
1455
|
];
|
|
1453
1456
|
})
|
|
1454
1457
|
.s("AmazonS3", "ListParts", {})
|
|
1455
1458
|
.n("S3Client", "ListPartsCommand")
|
|
1456
|
-
.sc(
|
|
1459
|
+
.sc(ListParts$)
|
|
1457
1460
|
.build() {
|
|
1458
1461
|
}
|
|
1459
1462
|
|
|
1460
|
-
class PutBucketAbacCommand extends
|
|
1463
|
+
class PutBucketAbacCommand extends Command
|
|
1461
1464
|
.classBuilder()
|
|
1462
1465
|
.ep({
|
|
1463
1466
|
...commonParams,
|
|
@@ -1465,8 +1468,8 @@ class PutBucketAbacCommand extends client.Command
|
|
|
1465
1468
|
})
|
|
1466
1469
|
.m(function (Command, cs, config, o) {
|
|
1467
1470
|
return [
|
|
1468
|
-
|
|
1469
|
-
|
|
1471
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1472
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1470
1473
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1471
1474
|
requestChecksumRequired: false,
|
|
1472
1475
|
}),
|
|
@@ -1474,11 +1477,11 @@ class PutBucketAbacCommand extends client.Command
|
|
|
1474
1477
|
})
|
|
1475
1478
|
.s("AmazonS3", "PutBucketAbac", {})
|
|
1476
1479
|
.n("S3Client", "PutBucketAbacCommand")
|
|
1477
|
-
.sc(
|
|
1480
|
+
.sc(PutBucketAbac$)
|
|
1478
1481
|
.build() {
|
|
1479
1482
|
}
|
|
1480
1483
|
|
|
1481
|
-
class PutBucketAccelerateConfigurationCommand extends
|
|
1484
|
+
class PutBucketAccelerateConfigurationCommand extends Command
|
|
1482
1485
|
.classBuilder()
|
|
1483
1486
|
.ep({
|
|
1484
1487
|
...commonParams,
|
|
@@ -1487,8 +1490,8 @@ class PutBucketAccelerateConfigurationCommand extends client.Command
|
|
|
1487
1490
|
})
|
|
1488
1491
|
.m(function (Command, cs, config, o) {
|
|
1489
1492
|
return [
|
|
1490
|
-
|
|
1491
|
-
|
|
1493
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1494
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1492
1495
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1493
1496
|
requestChecksumRequired: false,
|
|
1494
1497
|
}),
|
|
@@ -1496,11 +1499,11 @@ class PutBucketAccelerateConfigurationCommand extends client.Command
|
|
|
1496
1499
|
})
|
|
1497
1500
|
.s("AmazonS3", "PutBucketAccelerateConfiguration", {})
|
|
1498
1501
|
.n("S3Client", "PutBucketAccelerateConfigurationCommand")
|
|
1499
|
-
.sc(
|
|
1502
|
+
.sc(PutBucketAccelerateConfiguration$)
|
|
1500
1503
|
.build() {
|
|
1501
1504
|
}
|
|
1502
1505
|
|
|
1503
|
-
class PutBucketAclCommand extends
|
|
1506
|
+
class PutBucketAclCommand extends Command
|
|
1504
1507
|
.classBuilder()
|
|
1505
1508
|
.ep({
|
|
1506
1509
|
...commonParams,
|
|
@@ -1509,8 +1512,8 @@ class PutBucketAclCommand extends client.Command
|
|
|
1509
1512
|
})
|
|
1510
1513
|
.m(function (Command, cs, config, o) {
|
|
1511
1514
|
return [
|
|
1512
|
-
|
|
1513
|
-
|
|
1515
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1516
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1514
1517
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1515
1518
|
requestChecksumRequired: true,
|
|
1516
1519
|
}),
|
|
@@ -1518,11 +1521,11 @@ class PutBucketAclCommand extends client.Command
|
|
|
1518
1521
|
})
|
|
1519
1522
|
.s("AmazonS3", "PutBucketAcl", {})
|
|
1520
1523
|
.n("S3Client", "PutBucketAclCommand")
|
|
1521
|
-
.sc(
|
|
1524
|
+
.sc(PutBucketAcl$)
|
|
1522
1525
|
.build() {
|
|
1523
1526
|
}
|
|
1524
1527
|
|
|
1525
|
-
class PutBucketAnalyticsConfigurationCommand extends
|
|
1528
|
+
class PutBucketAnalyticsConfigurationCommand extends Command
|
|
1526
1529
|
.classBuilder()
|
|
1527
1530
|
.ep({
|
|
1528
1531
|
...commonParams,
|
|
@@ -1530,15 +1533,15 @@ class PutBucketAnalyticsConfigurationCommand extends client.Command
|
|
|
1530
1533
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1531
1534
|
})
|
|
1532
1535
|
.m(function (Command, cs, config, o) {
|
|
1533
|
-
return [
|
|
1536
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1534
1537
|
})
|
|
1535
1538
|
.s("AmazonS3", "PutBucketAnalyticsConfiguration", {})
|
|
1536
1539
|
.n("S3Client", "PutBucketAnalyticsConfigurationCommand")
|
|
1537
|
-
.sc(
|
|
1540
|
+
.sc(PutBucketAnalyticsConfiguration$)
|
|
1538
1541
|
.build() {
|
|
1539
1542
|
}
|
|
1540
1543
|
|
|
1541
|
-
class PutBucketCorsCommand extends
|
|
1544
|
+
class PutBucketCorsCommand extends Command
|
|
1542
1545
|
.classBuilder()
|
|
1543
1546
|
.ep({
|
|
1544
1547
|
...commonParams,
|
|
@@ -1547,8 +1550,8 @@ class PutBucketCorsCommand extends client.Command
|
|
|
1547
1550
|
})
|
|
1548
1551
|
.m(function (Command, cs, config, o) {
|
|
1549
1552
|
return [
|
|
1550
|
-
|
|
1551
|
-
|
|
1553
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1554
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1552
1555
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1553
1556
|
requestChecksumRequired: true,
|
|
1554
1557
|
}),
|
|
@@ -1556,11 +1559,11 @@ class PutBucketCorsCommand extends client.Command
|
|
|
1556
1559
|
})
|
|
1557
1560
|
.s("AmazonS3", "PutBucketCors", {})
|
|
1558
1561
|
.n("S3Client", "PutBucketCorsCommand")
|
|
1559
|
-
.sc(
|
|
1562
|
+
.sc(PutBucketCors$)
|
|
1560
1563
|
.build() {
|
|
1561
1564
|
}
|
|
1562
1565
|
|
|
1563
|
-
class PutBucketEncryptionCommand extends
|
|
1566
|
+
class PutBucketEncryptionCommand extends Command
|
|
1564
1567
|
.classBuilder()
|
|
1565
1568
|
.ep({
|
|
1566
1569
|
...commonParams,
|
|
@@ -1569,8 +1572,8 @@ class PutBucketEncryptionCommand extends client.Command
|
|
|
1569
1572
|
})
|
|
1570
1573
|
.m(function (Command, cs, config, o) {
|
|
1571
1574
|
return [
|
|
1572
|
-
|
|
1573
|
-
|
|
1575
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1576
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1574
1577
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1575
1578
|
requestChecksumRequired: true,
|
|
1576
1579
|
}),
|
|
@@ -1578,11 +1581,11 @@ class PutBucketEncryptionCommand extends client.Command
|
|
|
1578
1581
|
})
|
|
1579
1582
|
.s("AmazonS3", "PutBucketEncryption", {})
|
|
1580
1583
|
.n("S3Client", "PutBucketEncryptionCommand")
|
|
1581
|
-
.sc(
|
|
1584
|
+
.sc(PutBucketEncryption$)
|
|
1582
1585
|
.build() {
|
|
1583
1586
|
}
|
|
1584
1587
|
|
|
1585
|
-
class PutBucketIntelligentTieringConfigurationCommand extends
|
|
1588
|
+
class PutBucketIntelligentTieringConfigurationCommand extends Command
|
|
1586
1589
|
.classBuilder()
|
|
1587
1590
|
.ep({
|
|
1588
1591
|
...commonParams,
|
|
@@ -1590,15 +1593,15 @@ class PutBucketIntelligentTieringConfigurationCommand extends client.Command
|
|
|
1590
1593
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1591
1594
|
})
|
|
1592
1595
|
.m(function (Command, cs, config, o) {
|
|
1593
|
-
return [
|
|
1596
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1594
1597
|
})
|
|
1595
1598
|
.s("AmazonS3", "PutBucketIntelligentTieringConfiguration", {})
|
|
1596
1599
|
.n("S3Client", "PutBucketIntelligentTieringConfigurationCommand")
|
|
1597
|
-
.sc(
|
|
1600
|
+
.sc(PutBucketIntelligentTieringConfiguration$)
|
|
1598
1601
|
.build() {
|
|
1599
1602
|
}
|
|
1600
1603
|
|
|
1601
|
-
class PutBucketInventoryConfigurationCommand extends
|
|
1604
|
+
class PutBucketInventoryConfigurationCommand extends Command
|
|
1602
1605
|
.classBuilder()
|
|
1603
1606
|
.ep({
|
|
1604
1607
|
...commonParams,
|
|
@@ -1606,15 +1609,15 @@ class PutBucketInventoryConfigurationCommand extends client.Command
|
|
|
1606
1609
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1607
1610
|
})
|
|
1608
1611
|
.m(function (Command, cs, config, o) {
|
|
1609
|
-
return [
|
|
1612
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1610
1613
|
})
|
|
1611
1614
|
.s("AmazonS3", "PutBucketInventoryConfiguration", {})
|
|
1612
1615
|
.n("S3Client", "PutBucketInventoryConfigurationCommand")
|
|
1613
|
-
.sc(
|
|
1616
|
+
.sc(PutBucketInventoryConfiguration$)
|
|
1614
1617
|
.build() {
|
|
1615
1618
|
}
|
|
1616
1619
|
|
|
1617
|
-
class PutBucketLifecycleConfigurationCommand extends
|
|
1620
|
+
class PutBucketLifecycleConfigurationCommand extends Command
|
|
1618
1621
|
.classBuilder()
|
|
1619
1622
|
.ep({
|
|
1620
1623
|
...commonParams,
|
|
@@ -1623,21 +1626,21 @@ class PutBucketLifecycleConfigurationCommand extends client.Command
|
|
|
1623
1626
|
})
|
|
1624
1627
|
.m(function (Command, cs, config, o) {
|
|
1625
1628
|
return [
|
|
1626
|
-
|
|
1627
|
-
|
|
1629
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1630
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1628
1631
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1629
1632
|
requestChecksumRequired: true,
|
|
1630
1633
|
}),
|
|
1631
|
-
|
|
1634
|
+
getThrow200ExceptionsPlugin(config),
|
|
1632
1635
|
];
|
|
1633
1636
|
})
|
|
1634
1637
|
.s("AmazonS3", "PutBucketLifecycleConfiguration", {})
|
|
1635
1638
|
.n("S3Client", "PutBucketLifecycleConfigurationCommand")
|
|
1636
|
-
.sc(
|
|
1639
|
+
.sc(PutBucketLifecycleConfiguration$)
|
|
1637
1640
|
.build() {
|
|
1638
1641
|
}
|
|
1639
1642
|
|
|
1640
|
-
class PutBucketLoggingCommand extends
|
|
1643
|
+
class PutBucketLoggingCommand extends Command
|
|
1641
1644
|
.classBuilder()
|
|
1642
1645
|
.ep({
|
|
1643
1646
|
...commonParams,
|
|
@@ -1646,8 +1649,8 @@ class PutBucketLoggingCommand extends client.Command
|
|
|
1646
1649
|
})
|
|
1647
1650
|
.m(function (Command, cs, config, o) {
|
|
1648
1651
|
return [
|
|
1649
|
-
|
|
1650
|
-
|
|
1652
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1653
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1651
1654
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1652
1655
|
requestChecksumRequired: true,
|
|
1653
1656
|
}),
|
|
@@ -1655,11 +1658,11 @@ class PutBucketLoggingCommand extends client.Command
|
|
|
1655
1658
|
})
|
|
1656
1659
|
.s("AmazonS3", "PutBucketLogging", {})
|
|
1657
1660
|
.n("S3Client", "PutBucketLoggingCommand")
|
|
1658
|
-
.sc(
|
|
1661
|
+
.sc(PutBucketLogging$)
|
|
1659
1662
|
.build() {
|
|
1660
1663
|
}
|
|
1661
1664
|
|
|
1662
|
-
class PutBucketMetricsConfigurationCommand extends
|
|
1665
|
+
class PutBucketMetricsConfigurationCommand extends Command
|
|
1663
1666
|
.classBuilder()
|
|
1664
1667
|
.ep({
|
|
1665
1668
|
...commonParams,
|
|
@@ -1667,15 +1670,15 @@ class PutBucketMetricsConfigurationCommand extends client.Command
|
|
|
1667
1670
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1668
1671
|
})
|
|
1669
1672
|
.m(function (Command, cs, config, o) {
|
|
1670
|
-
return [
|
|
1673
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1671
1674
|
})
|
|
1672
1675
|
.s("AmazonS3", "PutBucketMetricsConfiguration", {})
|
|
1673
1676
|
.n("S3Client", "PutBucketMetricsConfigurationCommand")
|
|
1674
|
-
.sc(
|
|
1677
|
+
.sc(PutBucketMetricsConfiguration$)
|
|
1675
1678
|
.build() {
|
|
1676
1679
|
}
|
|
1677
1680
|
|
|
1678
|
-
class PutBucketNotificationConfigurationCommand extends
|
|
1681
|
+
class PutBucketNotificationConfigurationCommand extends Command
|
|
1679
1682
|
.classBuilder()
|
|
1680
1683
|
.ep({
|
|
1681
1684
|
...commonParams,
|
|
@@ -1683,15 +1686,15 @@ class PutBucketNotificationConfigurationCommand extends client.Command
|
|
|
1683
1686
|
Bucket: { type: "contextParams", name: "Bucket" },
|
|
1684
1687
|
})
|
|
1685
1688
|
.m(function (Command, cs, config, o) {
|
|
1686
|
-
return [
|
|
1689
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1687
1690
|
})
|
|
1688
1691
|
.s("AmazonS3", "PutBucketNotificationConfiguration", {})
|
|
1689
1692
|
.n("S3Client", "PutBucketNotificationConfigurationCommand")
|
|
1690
|
-
.sc(
|
|
1693
|
+
.sc(PutBucketNotificationConfiguration$)
|
|
1691
1694
|
.build() {
|
|
1692
1695
|
}
|
|
1693
1696
|
|
|
1694
|
-
class PutBucketOwnershipControlsCommand extends
|
|
1697
|
+
class PutBucketOwnershipControlsCommand extends Command
|
|
1695
1698
|
.classBuilder()
|
|
1696
1699
|
.ep({
|
|
1697
1700
|
...commonParams,
|
|
@@ -1700,8 +1703,8 @@ class PutBucketOwnershipControlsCommand extends client.Command
|
|
|
1700
1703
|
})
|
|
1701
1704
|
.m(function (Command, cs, config, o) {
|
|
1702
1705
|
return [
|
|
1703
|
-
|
|
1704
|
-
|
|
1706
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1707
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1705
1708
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1706
1709
|
requestChecksumRequired: true,
|
|
1707
1710
|
}),
|
|
@@ -1709,11 +1712,11 @@ class PutBucketOwnershipControlsCommand extends client.Command
|
|
|
1709
1712
|
})
|
|
1710
1713
|
.s("AmazonS3", "PutBucketOwnershipControls", {})
|
|
1711
1714
|
.n("S3Client", "PutBucketOwnershipControlsCommand")
|
|
1712
|
-
.sc(
|
|
1715
|
+
.sc(PutBucketOwnershipControls$)
|
|
1713
1716
|
.build() {
|
|
1714
1717
|
}
|
|
1715
1718
|
|
|
1716
|
-
class PutBucketPolicyCommand extends
|
|
1719
|
+
class PutBucketPolicyCommand extends Command
|
|
1717
1720
|
.classBuilder()
|
|
1718
1721
|
.ep({
|
|
1719
1722
|
...commonParams,
|
|
@@ -1722,8 +1725,8 @@ class PutBucketPolicyCommand extends client.Command
|
|
|
1722
1725
|
})
|
|
1723
1726
|
.m(function (Command, cs, config, o) {
|
|
1724
1727
|
return [
|
|
1725
|
-
|
|
1726
|
-
|
|
1728
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1729
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1727
1730
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1728
1731
|
requestChecksumRequired: true,
|
|
1729
1732
|
}),
|
|
@@ -1731,11 +1734,11 @@ class PutBucketPolicyCommand extends client.Command
|
|
|
1731
1734
|
})
|
|
1732
1735
|
.s("AmazonS3", "PutBucketPolicy", {})
|
|
1733
1736
|
.n("S3Client", "PutBucketPolicyCommand")
|
|
1734
|
-
.sc(
|
|
1737
|
+
.sc(PutBucketPolicy$)
|
|
1735
1738
|
.build() {
|
|
1736
1739
|
}
|
|
1737
1740
|
|
|
1738
|
-
class PutBucketReplicationCommand extends
|
|
1741
|
+
class PutBucketReplicationCommand extends Command
|
|
1739
1742
|
.classBuilder()
|
|
1740
1743
|
.ep({
|
|
1741
1744
|
...commonParams,
|
|
@@ -1744,8 +1747,8 @@ class PutBucketReplicationCommand extends client.Command
|
|
|
1744
1747
|
})
|
|
1745
1748
|
.m(function (Command, cs, config, o) {
|
|
1746
1749
|
return [
|
|
1747
|
-
|
|
1748
|
-
|
|
1750
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1751
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1749
1752
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1750
1753
|
requestChecksumRequired: true,
|
|
1751
1754
|
}),
|
|
@@ -1753,11 +1756,11 @@ class PutBucketReplicationCommand extends client.Command
|
|
|
1753
1756
|
})
|
|
1754
1757
|
.s("AmazonS3", "PutBucketReplication", {})
|
|
1755
1758
|
.n("S3Client", "PutBucketReplicationCommand")
|
|
1756
|
-
.sc(
|
|
1759
|
+
.sc(PutBucketReplication$)
|
|
1757
1760
|
.build() {
|
|
1758
1761
|
}
|
|
1759
1762
|
|
|
1760
|
-
class PutBucketRequestPaymentCommand extends
|
|
1763
|
+
class PutBucketRequestPaymentCommand extends Command
|
|
1761
1764
|
.classBuilder()
|
|
1762
1765
|
.ep({
|
|
1763
1766
|
...commonParams,
|
|
@@ -1766,8 +1769,8 @@ class PutBucketRequestPaymentCommand extends client.Command
|
|
|
1766
1769
|
})
|
|
1767
1770
|
.m(function (Command, cs, config, o) {
|
|
1768
1771
|
return [
|
|
1769
|
-
|
|
1770
|
-
|
|
1772
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1773
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1771
1774
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1772
1775
|
requestChecksumRequired: true,
|
|
1773
1776
|
}),
|
|
@@ -1775,11 +1778,11 @@ class PutBucketRequestPaymentCommand extends client.Command
|
|
|
1775
1778
|
})
|
|
1776
1779
|
.s("AmazonS3", "PutBucketRequestPayment", {})
|
|
1777
1780
|
.n("S3Client", "PutBucketRequestPaymentCommand")
|
|
1778
|
-
.sc(
|
|
1781
|
+
.sc(PutBucketRequestPayment$)
|
|
1779
1782
|
.build() {
|
|
1780
1783
|
}
|
|
1781
1784
|
|
|
1782
|
-
class PutBucketTaggingCommand extends
|
|
1785
|
+
class PutBucketTaggingCommand extends Command
|
|
1783
1786
|
.classBuilder()
|
|
1784
1787
|
.ep({
|
|
1785
1788
|
...commonParams,
|
|
@@ -1788,8 +1791,8 @@ class PutBucketTaggingCommand extends client.Command
|
|
|
1788
1791
|
})
|
|
1789
1792
|
.m(function (Command, cs, config, o) {
|
|
1790
1793
|
return [
|
|
1791
|
-
|
|
1792
|
-
|
|
1794
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1795
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1793
1796
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1794
1797
|
requestChecksumRequired: true,
|
|
1795
1798
|
}),
|
|
@@ -1797,11 +1800,11 @@ class PutBucketTaggingCommand extends client.Command
|
|
|
1797
1800
|
})
|
|
1798
1801
|
.s("AmazonS3", "PutBucketTagging", {})
|
|
1799
1802
|
.n("S3Client", "PutBucketTaggingCommand")
|
|
1800
|
-
.sc(
|
|
1803
|
+
.sc(PutBucketTagging$)
|
|
1801
1804
|
.build() {
|
|
1802
1805
|
}
|
|
1803
1806
|
|
|
1804
|
-
class PutBucketVersioningCommand extends
|
|
1807
|
+
class PutBucketVersioningCommand extends Command
|
|
1805
1808
|
.classBuilder()
|
|
1806
1809
|
.ep({
|
|
1807
1810
|
...commonParams,
|
|
@@ -1810,8 +1813,8 @@ class PutBucketVersioningCommand extends client.Command
|
|
|
1810
1813
|
})
|
|
1811
1814
|
.m(function (Command, cs, config, o) {
|
|
1812
1815
|
return [
|
|
1813
|
-
|
|
1814
|
-
|
|
1816
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1817
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1815
1818
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1816
1819
|
requestChecksumRequired: true,
|
|
1817
1820
|
}),
|
|
@@ -1819,11 +1822,11 @@ class PutBucketVersioningCommand extends client.Command
|
|
|
1819
1822
|
})
|
|
1820
1823
|
.s("AmazonS3", "PutBucketVersioning", {})
|
|
1821
1824
|
.n("S3Client", "PutBucketVersioningCommand")
|
|
1822
|
-
.sc(
|
|
1825
|
+
.sc(PutBucketVersioning$)
|
|
1823
1826
|
.build() {
|
|
1824
1827
|
}
|
|
1825
1828
|
|
|
1826
|
-
class PutBucketWebsiteCommand extends
|
|
1829
|
+
class PutBucketWebsiteCommand extends Command
|
|
1827
1830
|
.classBuilder()
|
|
1828
1831
|
.ep({
|
|
1829
1832
|
...commonParams,
|
|
@@ -1832,8 +1835,8 @@ class PutBucketWebsiteCommand extends client.Command
|
|
|
1832
1835
|
})
|
|
1833
1836
|
.m(function (Command, cs, config, o) {
|
|
1834
1837
|
return [
|
|
1835
|
-
|
|
1836
|
-
|
|
1838
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1839
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1837
1840
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1838
1841
|
requestChecksumRequired: true,
|
|
1839
1842
|
}),
|
|
@@ -1841,11 +1844,11 @@ class PutBucketWebsiteCommand extends client.Command
|
|
|
1841
1844
|
})
|
|
1842
1845
|
.s("AmazonS3", "PutBucketWebsite", {})
|
|
1843
1846
|
.n("S3Client", "PutBucketWebsiteCommand")
|
|
1844
|
-
.sc(
|
|
1847
|
+
.sc(PutBucketWebsite$)
|
|
1845
1848
|
.build() {
|
|
1846
1849
|
}
|
|
1847
1850
|
|
|
1848
|
-
class PutObjectAclCommand extends
|
|
1851
|
+
class PutObjectAclCommand extends Command
|
|
1849
1852
|
.classBuilder()
|
|
1850
1853
|
.ep({
|
|
1851
1854
|
...commonParams,
|
|
@@ -1854,21 +1857,21 @@ class PutObjectAclCommand extends client.Command
|
|
|
1854
1857
|
})
|
|
1855
1858
|
.m(function (Command, cs, config, o) {
|
|
1856
1859
|
return [
|
|
1857
|
-
|
|
1858
|
-
|
|
1860
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1861
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1859
1862
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1860
1863
|
requestChecksumRequired: true,
|
|
1861
1864
|
}),
|
|
1862
|
-
|
|
1865
|
+
getThrow200ExceptionsPlugin(config),
|
|
1863
1866
|
];
|
|
1864
1867
|
})
|
|
1865
1868
|
.s("AmazonS3", "PutObjectAcl", {})
|
|
1866
1869
|
.n("S3Client", "PutObjectAclCommand")
|
|
1867
|
-
.sc(
|
|
1870
|
+
.sc(PutObjectAcl$)
|
|
1868
1871
|
.build() {
|
|
1869
1872
|
}
|
|
1870
1873
|
|
|
1871
|
-
class PutObjectCommand extends
|
|
1874
|
+
class PutObjectCommand extends Command
|
|
1872
1875
|
.classBuilder()
|
|
1873
1876
|
.ep({
|
|
1874
1877
|
...commonParams,
|
|
@@ -1877,23 +1880,23 @@ class PutObjectCommand extends client.Command
|
|
|
1877
1880
|
})
|
|
1878
1881
|
.m(function (Command, cs, config, o) {
|
|
1879
1882
|
return [
|
|
1880
|
-
|
|
1881
|
-
|
|
1883
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1884
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1882
1885
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1883
1886
|
requestChecksumRequired: false,
|
|
1884
1887
|
}),
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
+
getCheckContentLengthHeaderPlugin(config),
|
|
1889
|
+
getThrow200ExceptionsPlugin(config),
|
|
1890
|
+
getSsecPlugin(config),
|
|
1888
1891
|
];
|
|
1889
1892
|
})
|
|
1890
1893
|
.s("AmazonS3", "PutObject", {})
|
|
1891
1894
|
.n("S3Client", "PutObjectCommand")
|
|
1892
|
-
.sc(
|
|
1895
|
+
.sc(PutObject$)
|
|
1893
1896
|
.build() {
|
|
1894
1897
|
}
|
|
1895
1898
|
|
|
1896
|
-
class PutObjectLegalHoldCommand extends
|
|
1899
|
+
class PutObjectLegalHoldCommand extends Command
|
|
1897
1900
|
.classBuilder()
|
|
1898
1901
|
.ep({
|
|
1899
1902
|
...commonParams,
|
|
@@ -1901,21 +1904,21 @@ class PutObjectLegalHoldCommand extends client.Command
|
|
|
1901
1904
|
})
|
|
1902
1905
|
.m(function (Command, cs, config, o) {
|
|
1903
1906
|
return [
|
|
1904
|
-
|
|
1905
|
-
|
|
1907
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1908
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1906
1909
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1907
1910
|
requestChecksumRequired: true,
|
|
1908
1911
|
}),
|
|
1909
|
-
|
|
1912
|
+
getThrow200ExceptionsPlugin(config),
|
|
1910
1913
|
];
|
|
1911
1914
|
})
|
|
1912
1915
|
.s("AmazonS3", "PutObjectLegalHold", {})
|
|
1913
1916
|
.n("S3Client", "PutObjectLegalHoldCommand")
|
|
1914
|
-
.sc(
|
|
1917
|
+
.sc(PutObjectLegalHold$)
|
|
1915
1918
|
.build() {
|
|
1916
1919
|
}
|
|
1917
1920
|
|
|
1918
|
-
class PutObjectLockConfigurationCommand extends
|
|
1921
|
+
class PutObjectLockConfigurationCommand extends Command
|
|
1919
1922
|
.classBuilder()
|
|
1920
1923
|
.ep({
|
|
1921
1924
|
...commonParams,
|
|
@@ -1923,21 +1926,21 @@ class PutObjectLockConfigurationCommand extends client.Command
|
|
|
1923
1926
|
})
|
|
1924
1927
|
.m(function (Command, cs, config, o) {
|
|
1925
1928
|
return [
|
|
1926
|
-
|
|
1927
|
-
|
|
1929
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1930
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1928
1931
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1929
1932
|
requestChecksumRequired: true,
|
|
1930
1933
|
}),
|
|
1931
|
-
|
|
1934
|
+
getThrow200ExceptionsPlugin(config),
|
|
1932
1935
|
];
|
|
1933
1936
|
})
|
|
1934
1937
|
.s("AmazonS3", "PutObjectLockConfiguration", {})
|
|
1935
1938
|
.n("S3Client", "PutObjectLockConfigurationCommand")
|
|
1936
|
-
.sc(
|
|
1939
|
+
.sc(PutObjectLockConfiguration$)
|
|
1937
1940
|
.build() {
|
|
1938
1941
|
}
|
|
1939
1942
|
|
|
1940
|
-
class PutObjectRetentionCommand extends
|
|
1943
|
+
class PutObjectRetentionCommand extends Command
|
|
1941
1944
|
.classBuilder()
|
|
1942
1945
|
.ep({
|
|
1943
1946
|
...commonParams,
|
|
@@ -1945,21 +1948,21 @@ class PutObjectRetentionCommand extends client.Command
|
|
|
1945
1948
|
})
|
|
1946
1949
|
.m(function (Command, cs, config, o) {
|
|
1947
1950
|
return [
|
|
1948
|
-
|
|
1949
|
-
|
|
1951
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1952
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1950
1953
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1951
1954
|
requestChecksumRequired: true,
|
|
1952
1955
|
}),
|
|
1953
|
-
|
|
1956
|
+
getThrow200ExceptionsPlugin(config),
|
|
1954
1957
|
];
|
|
1955
1958
|
})
|
|
1956
1959
|
.s("AmazonS3", "PutObjectRetention", {})
|
|
1957
1960
|
.n("S3Client", "PutObjectRetentionCommand")
|
|
1958
|
-
.sc(
|
|
1961
|
+
.sc(PutObjectRetention$)
|
|
1959
1962
|
.build() {
|
|
1960
1963
|
}
|
|
1961
1964
|
|
|
1962
|
-
class PutObjectTaggingCommand extends
|
|
1965
|
+
class PutObjectTaggingCommand extends Command
|
|
1963
1966
|
.classBuilder()
|
|
1964
1967
|
.ep({
|
|
1965
1968
|
...commonParams,
|
|
@@ -1967,21 +1970,21 @@ class PutObjectTaggingCommand extends client.Command
|
|
|
1967
1970
|
})
|
|
1968
1971
|
.m(function (Command, cs, config, o) {
|
|
1969
1972
|
return [
|
|
1970
|
-
|
|
1971
|
-
|
|
1973
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1974
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1972
1975
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1973
1976
|
requestChecksumRequired: true,
|
|
1974
1977
|
}),
|
|
1975
|
-
|
|
1978
|
+
getThrow200ExceptionsPlugin(config),
|
|
1976
1979
|
];
|
|
1977
1980
|
})
|
|
1978
1981
|
.s("AmazonS3", "PutObjectTagging", {})
|
|
1979
1982
|
.n("S3Client", "PutObjectTaggingCommand")
|
|
1980
|
-
.sc(
|
|
1983
|
+
.sc(PutObjectTagging$)
|
|
1981
1984
|
.build() {
|
|
1982
1985
|
}
|
|
1983
1986
|
|
|
1984
|
-
class PutPublicAccessBlockCommand extends
|
|
1987
|
+
class PutPublicAccessBlockCommand extends Command
|
|
1985
1988
|
.classBuilder()
|
|
1986
1989
|
.ep({
|
|
1987
1990
|
...commonParams,
|
|
@@ -1990,8 +1993,8 @@ class PutPublicAccessBlockCommand extends client.Command
|
|
|
1990
1993
|
})
|
|
1991
1994
|
.m(function (Command, cs, config, o) {
|
|
1992
1995
|
return [
|
|
1993
|
-
|
|
1994
|
-
|
|
1996
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1997
|
+
getFlexibleChecksumsPlugin(config, {
|
|
1995
1998
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1996
1999
|
requestChecksumRequired: true,
|
|
1997
2000
|
}),
|
|
@@ -1999,11 +2002,11 @@ class PutPublicAccessBlockCommand extends client.Command
|
|
|
1999
2002
|
})
|
|
2000
2003
|
.s("AmazonS3", "PutPublicAccessBlock", {})
|
|
2001
2004
|
.n("S3Client", "PutPublicAccessBlockCommand")
|
|
2002
|
-
.sc(
|
|
2005
|
+
.sc(PutPublicAccessBlock$)
|
|
2003
2006
|
.build() {
|
|
2004
2007
|
}
|
|
2005
2008
|
|
|
2006
|
-
class RenameObjectCommand extends
|
|
2009
|
+
class RenameObjectCommand extends Command
|
|
2007
2010
|
.classBuilder()
|
|
2008
2011
|
.ep({
|
|
2009
2012
|
...commonParams,
|
|
@@ -2012,17 +2015,17 @@ class RenameObjectCommand extends client.Command
|
|
|
2012
2015
|
})
|
|
2013
2016
|
.m(function (Command, cs, config, o) {
|
|
2014
2017
|
return [
|
|
2015
|
-
|
|
2016
|
-
|
|
2018
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2019
|
+
getThrow200ExceptionsPlugin(config),
|
|
2017
2020
|
];
|
|
2018
2021
|
})
|
|
2019
2022
|
.s("AmazonS3", "RenameObject", {})
|
|
2020
2023
|
.n("S3Client", "RenameObjectCommand")
|
|
2021
|
-
.sc(
|
|
2024
|
+
.sc(RenameObject$)
|
|
2022
2025
|
.build() {
|
|
2023
2026
|
}
|
|
2024
2027
|
|
|
2025
|
-
class RestoreObjectCommand extends
|
|
2028
|
+
class RestoreObjectCommand extends Command
|
|
2026
2029
|
.classBuilder()
|
|
2027
2030
|
.ep({
|
|
2028
2031
|
...commonParams,
|
|
@@ -2030,21 +2033,21 @@ class RestoreObjectCommand extends client.Command
|
|
|
2030
2033
|
})
|
|
2031
2034
|
.m(function (Command, cs, config, o) {
|
|
2032
2035
|
return [
|
|
2033
|
-
|
|
2034
|
-
|
|
2036
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2037
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2035
2038
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2036
2039
|
requestChecksumRequired: false,
|
|
2037
2040
|
}),
|
|
2038
|
-
|
|
2041
|
+
getThrow200ExceptionsPlugin(config),
|
|
2039
2042
|
];
|
|
2040
2043
|
})
|
|
2041
2044
|
.s("AmazonS3", "RestoreObject", {})
|
|
2042
2045
|
.n("S3Client", "RestoreObjectCommand")
|
|
2043
|
-
.sc(
|
|
2046
|
+
.sc(RestoreObject$)
|
|
2044
2047
|
.build() {
|
|
2045
2048
|
}
|
|
2046
2049
|
|
|
2047
|
-
class SelectObjectContentCommand extends
|
|
2050
|
+
class SelectObjectContentCommand extends Command
|
|
2048
2051
|
.classBuilder()
|
|
2049
2052
|
.ep({
|
|
2050
2053
|
...commonParams,
|
|
@@ -2052,8 +2055,8 @@ class SelectObjectContentCommand extends client.Command
|
|
|
2052
2055
|
})
|
|
2053
2056
|
.m(function (Command, cs, config, o) {
|
|
2054
2057
|
return [
|
|
2055
|
-
|
|
2056
|
-
|
|
2058
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2059
|
+
getSsecPlugin(config),
|
|
2057
2060
|
];
|
|
2058
2061
|
})
|
|
2059
2062
|
.s("AmazonS3", "SelectObjectContent", {
|
|
@@ -2062,11 +2065,11 @@ class SelectObjectContentCommand extends client.Command
|
|
|
2062
2065
|
},
|
|
2063
2066
|
})
|
|
2064
2067
|
.n("S3Client", "SelectObjectContentCommand")
|
|
2065
|
-
.sc(
|
|
2068
|
+
.sc(SelectObjectContent$)
|
|
2066
2069
|
.build() {
|
|
2067
2070
|
}
|
|
2068
2071
|
|
|
2069
|
-
class UpdateBucketMetadataInventoryTableConfigurationCommand extends
|
|
2072
|
+
class UpdateBucketMetadataInventoryTableConfigurationCommand extends Command
|
|
2070
2073
|
.classBuilder()
|
|
2071
2074
|
.ep({
|
|
2072
2075
|
...commonParams,
|
|
@@ -2075,8 +2078,8 @@ class UpdateBucketMetadataInventoryTableConfigurationCommand extends client.Comm
|
|
|
2075
2078
|
})
|
|
2076
2079
|
.m(function (Command, cs, config, o) {
|
|
2077
2080
|
return [
|
|
2078
|
-
|
|
2079
|
-
|
|
2081
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2082
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2080
2083
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2081
2084
|
requestChecksumRequired: true,
|
|
2082
2085
|
}),
|
|
@@ -2084,11 +2087,11 @@ class UpdateBucketMetadataInventoryTableConfigurationCommand extends client.Comm
|
|
|
2084
2087
|
})
|
|
2085
2088
|
.s("AmazonS3", "UpdateBucketMetadataInventoryTableConfiguration", {})
|
|
2086
2089
|
.n("S3Client", "UpdateBucketMetadataInventoryTableConfigurationCommand")
|
|
2087
|
-
.sc(
|
|
2090
|
+
.sc(UpdateBucketMetadataInventoryTableConfiguration$)
|
|
2088
2091
|
.build() {
|
|
2089
2092
|
}
|
|
2090
2093
|
|
|
2091
|
-
class UpdateBucketMetadataJournalTableConfigurationCommand extends
|
|
2094
|
+
class UpdateBucketMetadataJournalTableConfigurationCommand extends Command
|
|
2092
2095
|
.classBuilder()
|
|
2093
2096
|
.ep({
|
|
2094
2097
|
...commonParams,
|
|
@@ -2097,8 +2100,8 @@ class UpdateBucketMetadataJournalTableConfigurationCommand extends client.Comman
|
|
|
2097
2100
|
})
|
|
2098
2101
|
.m(function (Command, cs, config, o) {
|
|
2099
2102
|
return [
|
|
2100
|
-
|
|
2101
|
-
|
|
2103
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2104
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2102
2105
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2103
2106
|
requestChecksumRequired: true,
|
|
2104
2107
|
}),
|
|
@@ -2106,11 +2109,11 @@ class UpdateBucketMetadataJournalTableConfigurationCommand extends client.Comman
|
|
|
2106
2109
|
})
|
|
2107
2110
|
.s("AmazonS3", "UpdateBucketMetadataJournalTableConfiguration", {})
|
|
2108
2111
|
.n("S3Client", "UpdateBucketMetadataJournalTableConfigurationCommand")
|
|
2109
|
-
.sc(
|
|
2112
|
+
.sc(UpdateBucketMetadataJournalTableConfiguration$)
|
|
2110
2113
|
.build() {
|
|
2111
2114
|
}
|
|
2112
2115
|
|
|
2113
|
-
class UpdateObjectEncryptionCommand extends
|
|
2116
|
+
class UpdateObjectEncryptionCommand extends Command
|
|
2114
2117
|
.classBuilder()
|
|
2115
2118
|
.ep({
|
|
2116
2119
|
...commonParams,
|
|
@@ -2118,21 +2121,21 @@ class UpdateObjectEncryptionCommand extends client.Command
|
|
|
2118
2121
|
})
|
|
2119
2122
|
.m(function (Command, cs, config, o) {
|
|
2120
2123
|
return [
|
|
2121
|
-
|
|
2122
|
-
|
|
2124
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2125
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2123
2126
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2124
2127
|
requestChecksumRequired: true,
|
|
2125
2128
|
}),
|
|
2126
|
-
|
|
2129
|
+
getThrow200ExceptionsPlugin(config),
|
|
2127
2130
|
];
|
|
2128
2131
|
})
|
|
2129
2132
|
.s("AmazonS3", "UpdateObjectEncryption", {})
|
|
2130
2133
|
.n("S3Client", "UpdateObjectEncryptionCommand")
|
|
2131
|
-
.sc(
|
|
2134
|
+
.sc(UpdateObjectEncryption$)
|
|
2132
2135
|
.build() {
|
|
2133
2136
|
}
|
|
2134
2137
|
|
|
2135
|
-
class UploadPartCommand extends
|
|
2138
|
+
class UploadPartCommand extends Command
|
|
2136
2139
|
.classBuilder()
|
|
2137
2140
|
.ep({
|
|
2138
2141
|
...commonParams,
|
|
@@ -2141,22 +2144,22 @@ class UploadPartCommand extends client.Command
|
|
|
2141
2144
|
})
|
|
2142
2145
|
.m(function (Command, cs, config, o) {
|
|
2143
2146
|
return [
|
|
2144
|
-
|
|
2145
|
-
|
|
2147
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2148
|
+
getFlexibleChecksumsPlugin(config, {
|
|
2146
2149
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2147
2150
|
requestChecksumRequired: false,
|
|
2148
2151
|
}),
|
|
2149
|
-
|
|
2150
|
-
|
|
2152
|
+
getThrow200ExceptionsPlugin(config),
|
|
2153
|
+
getSsecPlugin(config),
|
|
2151
2154
|
];
|
|
2152
2155
|
})
|
|
2153
2156
|
.s("AmazonS3", "UploadPart", {})
|
|
2154
2157
|
.n("S3Client", "UploadPartCommand")
|
|
2155
|
-
.sc(
|
|
2158
|
+
.sc(UploadPart$)
|
|
2156
2159
|
.build() {
|
|
2157
2160
|
}
|
|
2158
2161
|
|
|
2159
|
-
class UploadPartCopyCommand extends
|
|
2162
|
+
class UploadPartCopyCommand extends Command
|
|
2160
2163
|
.classBuilder()
|
|
2161
2164
|
.ep({
|
|
2162
2165
|
...commonParams,
|
|
@@ -2165,136 +2168,136 @@ class UploadPartCopyCommand extends client.Command
|
|
|
2165
2168
|
})
|
|
2166
2169
|
.m(function (Command, cs, config, o) {
|
|
2167
2170
|
return [
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2172
|
+
getThrow200ExceptionsPlugin(config),
|
|
2173
|
+
getSsecPlugin(config),
|
|
2171
2174
|
];
|
|
2172
2175
|
})
|
|
2173
2176
|
.s("AmazonS3", "UploadPartCopy", {})
|
|
2174
2177
|
.n("S3Client", "UploadPartCopyCommand")
|
|
2175
|
-
.sc(
|
|
2178
|
+
.sc(UploadPartCopy$)
|
|
2176
2179
|
.build() {
|
|
2177
2180
|
}
|
|
2178
2181
|
|
|
2179
|
-
class WriteGetObjectResponseCommand extends
|
|
2182
|
+
class WriteGetObjectResponseCommand extends Command
|
|
2180
2183
|
.classBuilder()
|
|
2181
2184
|
.ep({
|
|
2182
2185
|
...commonParams,
|
|
2183
2186
|
UseObjectLambdaEndpoint: { type: "staticContextParams", value: true },
|
|
2184
2187
|
})
|
|
2185
2188
|
.m(function (Command, cs, config, o) {
|
|
2186
|
-
return [
|
|
2189
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2187
2190
|
})
|
|
2188
2191
|
.s("AmazonS3", "WriteGetObjectResponse", {})
|
|
2189
2192
|
.n("S3Client", "WriteGetObjectResponseCommand")
|
|
2190
|
-
.sc(
|
|
2193
|
+
.sc(WriteGetObjectResponse$)
|
|
2191
2194
|
.build() {
|
|
2192
2195
|
}
|
|
2193
2196
|
|
|
2194
|
-
const paginateListBuckets =
|
|
2197
|
+
const paginateListBuckets = createPaginator(S3Client, ListBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxBuckets");
|
|
2195
2198
|
|
|
2196
|
-
const paginateListDirectoryBuckets =
|
|
2199
|
+
const paginateListDirectoryBuckets = createPaginator(S3Client, ListDirectoryBucketsCommand, "ContinuationToken", "ContinuationToken", "MaxDirectoryBuckets");
|
|
2197
2200
|
|
|
2198
|
-
const paginateListObjectsV2 =
|
|
2201
|
+
const paginateListObjectsV2 = createPaginator(S3Client, ListObjectsV2Command, "ContinuationToken", "NextContinuationToken", "MaxKeys");
|
|
2199
2202
|
|
|
2200
|
-
const paginateListParts =
|
|
2203
|
+
const paginateListParts = createPaginator(S3Client, ListPartsCommand, "PartNumberMarker", "NextPartNumberMarker", "MaxParts");
|
|
2201
2204
|
|
|
2202
|
-
const checkState$3 = async (client
|
|
2205
|
+
const checkState$3 = async (client, input) => {
|
|
2203
2206
|
let reason;
|
|
2204
2207
|
try {
|
|
2205
|
-
let result = await client
|
|
2208
|
+
let result = await client.send(new HeadBucketCommand(input));
|
|
2206
2209
|
reason = result;
|
|
2207
|
-
return { state:
|
|
2210
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
2208
2211
|
}
|
|
2209
2212
|
catch (exception) {
|
|
2210
2213
|
reason = exception;
|
|
2211
2214
|
if (exception.name === "NotFound") {
|
|
2212
|
-
return { state:
|
|
2215
|
+
return { state: WaiterState.RETRY, reason };
|
|
2213
2216
|
}
|
|
2214
2217
|
}
|
|
2215
|
-
return { state:
|
|
2218
|
+
return { state: WaiterState.RETRY, reason };
|
|
2216
2219
|
};
|
|
2217
2220
|
const waitForBucketExists = async (params, input) => {
|
|
2218
2221
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2219
|
-
return
|
|
2222
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
2220
2223
|
};
|
|
2221
2224
|
const waitUntilBucketExists = async (params, input) => {
|
|
2222
2225
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2223
|
-
const result = await
|
|
2224
|
-
return
|
|
2226
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
2227
|
+
return checkExceptions(result);
|
|
2225
2228
|
};
|
|
2226
2229
|
|
|
2227
|
-
const checkState$2 = async (client
|
|
2230
|
+
const checkState$2 = async (client, input) => {
|
|
2228
2231
|
let reason;
|
|
2229
2232
|
try {
|
|
2230
|
-
let result = await client
|
|
2233
|
+
let result = await client.send(new HeadBucketCommand(input));
|
|
2231
2234
|
reason = result;
|
|
2232
2235
|
}
|
|
2233
2236
|
catch (exception) {
|
|
2234
2237
|
reason = exception;
|
|
2235
2238
|
if (exception.name === "NotFound") {
|
|
2236
|
-
return { state:
|
|
2239
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
2237
2240
|
}
|
|
2238
2241
|
}
|
|
2239
|
-
return { state:
|
|
2242
|
+
return { state: WaiterState.RETRY, reason };
|
|
2240
2243
|
};
|
|
2241
2244
|
const waitForBucketNotExists = async (params, input) => {
|
|
2242
2245
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2243
|
-
return
|
|
2246
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
2244
2247
|
};
|
|
2245
2248
|
const waitUntilBucketNotExists = async (params, input) => {
|
|
2246
2249
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2247
|
-
const result = await
|
|
2248
|
-
return
|
|
2250
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
2251
|
+
return checkExceptions(result);
|
|
2249
2252
|
};
|
|
2250
2253
|
|
|
2251
|
-
const checkState$1 = async (client
|
|
2254
|
+
const checkState$1 = async (client, input) => {
|
|
2252
2255
|
let reason;
|
|
2253
2256
|
try {
|
|
2254
|
-
let result = await client
|
|
2257
|
+
let result = await client.send(new HeadObjectCommand(input));
|
|
2255
2258
|
reason = result;
|
|
2256
|
-
return { state:
|
|
2259
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
2257
2260
|
}
|
|
2258
2261
|
catch (exception) {
|
|
2259
2262
|
reason = exception;
|
|
2260
2263
|
if (exception.name === "NotFound") {
|
|
2261
|
-
return { state:
|
|
2264
|
+
return { state: WaiterState.RETRY, reason };
|
|
2262
2265
|
}
|
|
2263
2266
|
}
|
|
2264
|
-
return { state:
|
|
2267
|
+
return { state: WaiterState.RETRY, reason };
|
|
2265
2268
|
};
|
|
2266
2269
|
const waitForObjectExists = async (params, input) => {
|
|
2267
2270
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2268
|
-
return
|
|
2271
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
2269
2272
|
};
|
|
2270
2273
|
const waitUntilObjectExists = async (params, input) => {
|
|
2271
2274
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2272
|
-
const result = await
|
|
2273
|
-
return
|
|
2275
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
2276
|
+
return checkExceptions(result);
|
|
2274
2277
|
};
|
|
2275
2278
|
|
|
2276
|
-
const checkState = async (client
|
|
2279
|
+
const checkState = async (client, input) => {
|
|
2277
2280
|
let reason;
|
|
2278
2281
|
try {
|
|
2279
|
-
let result = await client
|
|
2282
|
+
let result = await client.send(new HeadObjectCommand(input));
|
|
2280
2283
|
reason = result;
|
|
2281
2284
|
}
|
|
2282
2285
|
catch (exception) {
|
|
2283
2286
|
reason = exception;
|
|
2284
2287
|
if (exception.name === "NotFound") {
|
|
2285
|
-
return { state:
|
|
2288
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
2286
2289
|
}
|
|
2287
2290
|
}
|
|
2288
|
-
return { state:
|
|
2291
|
+
return { state: WaiterState.RETRY, reason };
|
|
2289
2292
|
};
|
|
2290
2293
|
const waitForObjectNotExists = async (params, input) => {
|
|
2291
2294
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2292
|
-
return
|
|
2295
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
2293
2296
|
};
|
|
2294
2297
|
const waitUntilObjectNotExists = async (params, input) => {
|
|
2295
2298
|
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
2296
|
-
const result = await
|
|
2297
|
-
return
|
|
2299
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
2300
|
+
return checkExceptions(result);
|
|
2298
2301
|
};
|
|
2299
2302
|
|
|
2300
2303
|
const commands = {
|
|
@@ -2420,7 +2423,7 @@ const waiters = {
|
|
|
2420
2423
|
};
|
|
2421
2424
|
class S3 extends S3Client {
|
|
2422
2425
|
}
|
|
2423
|
-
|
|
2426
|
+
createAggregatedClient(commands, S3, { paginators, waiters });
|
|
2424
2427
|
|
|
2425
2428
|
const BucketAbacStatus = {
|
|
2426
2429
|
Disabled: "Disabled",
|
|
@@ -2836,9 +2839,6 @@ const RestoreRequestType = {
|
|
|
2836
2839
|
SELECT: "SELECT",
|
|
2837
2840
|
};
|
|
2838
2841
|
|
|
2839
|
-
exports.$Command = client.Command;
|
|
2840
|
-
exports.__Client = client.Client;
|
|
2841
|
-
exports.S3ServiceException = S3ServiceException.S3ServiceException;
|
|
2842
2842
|
exports.AbortMultipartUploadCommand = AbortMultipartUploadCommand;
|
|
2843
2843
|
exports.AnalyticsS3ExportFileFormat = AnalyticsS3ExportFileFormat;
|
|
2844
2844
|
exports.ArchiveStatus = ArchiveStatus;
|
|
@@ -3033,23 +3033,3 @@ exports.waitUntilBucketExists = waitUntilBucketExists;
|
|
|
3033
3033
|
exports.waitUntilBucketNotExists = waitUntilBucketNotExists;
|
|
3034
3034
|
exports.waitUntilObjectExists = waitUntilObjectExists;
|
|
3035
3035
|
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
|
-
});
|