@aws-sdk/client-s3 3.957.0 → 3.958.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.
Files changed (86) hide show
  1. package/README.md +1 -111
  2. package/dist-cjs/auth/httpAuthSchemeProvider.js +8 -9
  3. package/dist-cjs/endpoint/ruleset.js +1 -1
  4. package/dist-cjs/index.js +1860 -3950
  5. package/dist-cjs/runtimeConfig.browser.js +1 -2
  6. package/dist-cjs/runtimeConfig.js +4 -8
  7. package/dist-es/auth/httpAuthSchemeProvider.js +8 -9
  8. package/dist-es/commands/AbortMultipartUploadCommand.js +4 -1
  9. package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +1 -1
  10. package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +1 -1
  11. package/dist-es/commands/CreateSessionCommand.js +4 -1
  12. package/dist-es/commands/DeleteObjectCommand.js +4 -1
  13. package/dist-es/commands/DeleteObjectTaggingCommand.js +4 -1
  14. package/dist-es/commands/DeleteObjectsCommand.js +1 -1
  15. package/dist-es/commands/GetBucketAbacCommand.js +4 -1
  16. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +4 -1
  17. package/dist-es/commands/GetBucketAclCommand.js +4 -1
  18. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +4 -1
  19. package/dist-es/commands/GetBucketCorsCommand.js +4 -1
  20. package/dist-es/commands/GetBucketEncryptionCommand.js +4 -1
  21. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +4 -1
  22. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +4 -1
  23. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +4 -1
  24. package/dist-es/commands/GetBucketLocationCommand.js +4 -1
  25. package/dist-es/commands/GetBucketLoggingCommand.js +4 -1
  26. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +4 -1
  27. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +4 -1
  28. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +4 -1
  29. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +4 -1
  30. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +4 -1
  31. package/dist-es/commands/GetBucketPolicyCommand.js +4 -1
  32. package/dist-es/commands/GetBucketPolicyStatusCommand.js +4 -1
  33. package/dist-es/commands/GetBucketReplicationCommand.js +4 -1
  34. package/dist-es/commands/GetBucketRequestPaymentCommand.js +4 -1
  35. package/dist-es/commands/GetBucketTaggingCommand.js +4 -1
  36. package/dist-es/commands/GetBucketVersioningCommand.js +4 -1
  37. package/dist-es/commands/GetBucketWebsiteCommand.js +4 -1
  38. package/dist-es/commands/GetObjectAclCommand.js +4 -1
  39. package/dist-es/commands/GetObjectCommand.js +2 -2
  40. package/dist-es/commands/GetObjectLegalHoldCommand.js +4 -1
  41. package/dist-es/commands/GetObjectLockConfigurationCommand.js +4 -1
  42. package/dist-es/commands/GetObjectRetentionCommand.js +4 -1
  43. package/dist-es/commands/GetObjectTaggingCommand.js +4 -1
  44. package/dist-es/commands/GetPublicAccessBlockCommand.js +4 -1
  45. package/dist-es/commands/HeadBucketCommand.js +4 -1
  46. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +4 -1
  47. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +4 -1
  48. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +4 -1
  49. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +4 -1
  50. package/dist-es/commands/ListBucketsCommand.js +4 -1
  51. package/dist-es/commands/ListDirectoryBucketsCommand.js +4 -1
  52. package/dist-es/commands/ListMultipartUploadsCommand.js +4 -1
  53. package/dist-es/commands/ListObjectVersionsCommand.js +4 -1
  54. package/dist-es/commands/ListObjectsCommand.js +4 -1
  55. package/dist-es/commands/ListObjectsV2Command.js +4 -1
  56. package/dist-es/commands/PutBucketAbacCommand.js +1 -1
  57. package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +1 -1
  58. package/dist-es/commands/PutBucketAclCommand.js +1 -1
  59. package/dist-es/commands/PutBucketCorsCommand.js +1 -1
  60. package/dist-es/commands/PutBucketEncryptionCommand.js +1 -1
  61. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -1
  62. package/dist-es/commands/PutBucketLoggingCommand.js +1 -1
  63. package/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -1
  64. package/dist-es/commands/PutBucketPolicyCommand.js +1 -1
  65. package/dist-es/commands/PutBucketReplicationCommand.js +1 -1
  66. package/dist-es/commands/PutBucketRequestPaymentCommand.js +1 -1
  67. package/dist-es/commands/PutBucketTaggingCommand.js +1 -1
  68. package/dist-es/commands/PutBucketVersioningCommand.js +1 -1
  69. package/dist-es/commands/PutBucketWebsiteCommand.js +1 -1
  70. package/dist-es/commands/PutObjectAclCommand.js +1 -1
  71. package/dist-es/commands/PutObjectCommand.js +1 -1
  72. package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -1
  73. package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -1
  74. package/dist-es/commands/PutObjectRetentionCommand.js +1 -1
  75. package/dist-es/commands/PutObjectTaggingCommand.js +1 -1
  76. package/dist-es/commands/PutPublicAccessBlockCommand.js +1 -1
  77. package/dist-es/commands/RenameObjectCommand.js +4 -1
  78. package/dist-es/commands/RestoreObjectCommand.js +1 -1
  79. package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +1 -1
  80. package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +1 -1
  81. package/dist-es/commands/UploadPartCommand.js +1 -1
  82. package/dist-es/endpoint/ruleset.js +1 -1
  83. package/dist-es/runtimeConfig.browser.js +1 -2
  84. package/dist-es/runtimeConfig.js +6 -10
  85. package/dist-es/schemas/schemas_0.js +1574 -3799
  86. package/package.json +2 -2
@@ -28,8 +28,7 @@ const getRuntimeConfig = (config) => {
28
28
  defaultsMode,
29
29
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
30
30
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
31
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
32
- (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
31
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
32
  eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider,
34
33
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
35
34
  md5: config?.md5 ?? md5_js_1.Md5,
@@ -39,19 +39,15 @@ const getRuntimeConfig = (config) => {
39
39
  authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
40
40
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
41
41
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
42
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
43
- (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
42
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
44
43
  disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, node_config_provider_1.loadConfig)(middleware_sdk_s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
45
44
  eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider,
46
45
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
47
46
  md5: config?.md5 ?? hash_node_1.Hash.bind(null, "md5"),
48
- region: config?.region ??
49
- (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
50
- requestChecksumCalculation: config?.requestChecksumCalculation ??
51
- (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, loaderConfig),
47
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
48
+ requestChecksumCalculation: config?.requestChecksumCalculation ?? (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, loaderConfig),
52
49
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
53
- responseChecksumValidation: config?.responseChecksumValidation ??
54
- (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, loaderConfig),
50
+ responseChecksumValidation: config?.responseChecksumValidation ?? (0, node_config_provider_1.loadConfig)(middleware_flexible_checksums_1.NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, loaderConfig),
55
51
  retryMode: config?.retryMode ??
56
52
  (0, node_config_provider_1.loadConfig)({
57
53
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -5,13 +5,13 @@ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
5
5
  import { defaultEndpointResolver } from "../endpoint/endpointResolver";
6
6
  const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
7
7
  if (!input) {
8
- throw new Error(`Could not find \`input\` for \`defaultEndpointRuleSetHttpAuthSchemeParametersProvider\``);
8
+ throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
9
9
  }
10
10
  const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
11
11
  const instructionsFn = getSmithyContext(context)?.commandInstance?.constructor
12
12
  ?.getEndpointParameterInstructions;
13
13
  if (!instructionsFn) {
14
- throw new Error(`getEndpointParameterInstructions() is not defined on \`${context.commandName}\``);
14
+ throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
15
15
  }
16
16
  const endpointParameters = await resolveParams(input, { getEndpointParameterInstructions: instructionsFn }, config);
17
17
  return Object.assign(defaultParameters, endpointParameters);
@@ -19,10 +19,9 @@ const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSc
19
19
  const _defaultS3HttpAuthSchemeParametersProvider = async (config, context, input) => {
20
20
  return {
21
21
  operation: getSmithyContext(context).operation,
22
- region: (await normalizeProvider(config.region)()) ||
23
- (() => {
24
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
25
- })(),
22
+ region: await normalizeProvider(config.region)() || (() => {
23
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
24
+ })(),
26
25
  };
27
26
  };
28
27
  export const defaultS3HttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultS3HttpAuthSchemeParametersProvider);
@@ -68,7 +67,7 @@ const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, de
68
67
  const { name: resolvedName, properties = {}, ...rest } = scheme;
69
68
  const name = resolvedName.toLowerCase();
70
69
  if (resolvedName !== name) {
71
- console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${resolvedName}\` to \`${name}\``);
70
+ console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
72
71
  }
73
72
  let schemeId;
74
73
  if (name === "sigv4a") {
@@ -85,11 +84,11 @@ const createEndpointRuleSetHttpAuthSchemeProvider = (defaultEndpointResolver, de
85
84
  schemeId = "aws.auth#sigv4";
86
85
  }
87
86
  else {
88
- throw new Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${name}\``);
87
+ throw new Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${name}'`);
89
88
  }
90
89
  const createOption = createHttpAuthOptionFunctions[schemeId];
91
90
  if (!createOption) {
92
- throw new Error(`Could not find HttpAuthOption create function for \`${schemeId}\``);
91
+ throw new Error(`Could not find HttpAuthOption create function for '${schemeId}'`);
93
92
  }
94
93
  const option = createOption(authParameters);
95
94
  option.schemeId = schemeId;
@@ -12,7 +12,10 @@ export class AbortMultipartUploadCommand extends $Command
12
12
  Key: { type: "contextParams", name: "Key" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "AbortMultipartUpload", {})
18
21
  .n("S3Client", "AbortMultipartUploadCommand")
@@ -15,7 +15,7 @@ export class CreateBucketMetadataConfigurationCommand extends $Command
15
15
  return [
16
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
17
  getFlexibleChecksumsPlugin(config, {
18
- requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
18
+ requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
19
19
  requestChecksumRequired: true,
20
20
  }),
21
21
  ];
@@ -15,7 +15,7 @@ export class CreateBucketMetadataTableConfigurationCommand extends $Command
15
15
  return [
16
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
17
  getFlexibleChecksumsPlugin(config, {
18
- requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
18
+ requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
19
19
  requestChecksumRequired: true,
20
20
  }),
21
21
  ];
@@ -12,7 +12,10 @@ export class CreateSessionCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "CreateSession", {})
18
21
  .n("S3Client", "CreateSessionCommand")
@@ -12,7 +12,10 @@ export class DeleteObjectCommand extends $Command
12
12
  Key: { type: "contextParams", name: "Key" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "DeleteObject", {})
18
21
  .n("S3Client", "DeleteObjectCommand")
@@ -11,7 +11,10 @@ export class DeleteObjectTaggingCommand extends $Command
11
11
  Bucket: { type: "contextParams", name: "Bucket" },
12
12
  })
13
13
  .m(function (Command, cs, config, o) {
14
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
14
+ return [
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ getThrow200ExceptionsPlugin(config),
17
+ ];
15
18
  })
16
19
  .s("AmazonS3", "DeleteObjectTagging", {})
17
20
  .n("S3Client", "DeleteObjectTaggingCommand")
@@ -15,7 +15,7 @@ export class DeleteObjectsCommand extends $Command
15
15
  return [
16
16
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
17
  getFlexibleChecksumsPlugin(config, {
18
- requestAlgorithmMember: { httpHeader: "x-amz-sdk-checksum-algorithm", name: "ChecksumAlgorithm" },
18
+ requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
19
19
  requestChecksumRequired: true,
20
20
  }),
21
21
  getThrow200ExceptionsPlugin(config),
@@ -11,7 +11,10 @@ export class GetBucketAbacCommand extends $Command
11
11
  Bucket: { type: "contextParams", name: "Bucket" },
12
12
  })
13
13
  .m(function (Command, cs, config, o) {
14
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
14
+ return [
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ getThrow200ExceptionsPlugin(config),
17
+ ];
15
18
  })
16
19
  .s("AmazonS3", "GetBucketAbac", {})
17
20
  .n("S3Client", "GetBucketAbacCommand")
@@ -12,7 +12,10 @@ export class GetBucketAccelerateConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketAccelerateConfiguration", {})
18
21
  .n("S3Client", "GetBucketAccelerateConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketAclCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketAcl", {})
18
21
  .n("S3Client", "GetBucketAclCommand")
@@ -12,7 +12,10 @@ export class GetBucketAnalyticsConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketAnalyticsConfiguration", {})
18
21
  .n("S3Client", "GetBucketAnalyticsConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketCorsCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketCors", {})
18
21
  .n("S3Client", "GetBucketCorsCommand")
@@ -12,7 +12,10 @@ export class GetBucketEncryptionCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketEncryption", {})
18
21
  .n("S3Client", "GetBucketEncryptionCommand")
@@ -12,7 +12,10 @@ export class GetBucketIntelligentTieringConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {})
18
21
  .n("S3Client", "GetBucketIntelligentTieringConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketInventoryConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketInventoryConfiguration", {})
18
21
  .n("S3Client", "GetBucketInventoryConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketLifecycleConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketLifecycleConfiguration", {})
18
21
  .n("S3Client", "GetBucketLifecycleConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketLocationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketLocation", {})
18
21
  .n("S3Client", "GetBucketLocationCommand")
@@ -12,7 +12,10 @@ export class GetBucketLoggingCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketLogging", {})
18
21
  .n("S3Client", "GetBucketLoggingCommand")
@@ -12,7 +12,10 @@ export class GetBucketMetadataConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketMetadataConfiguration", {})
18
21
  .n("S3Client", "GetBucketMetadataConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketMetadataTableConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketMetadataTableConfiguration", {})
18
21
  .n("S3Client", "GetBucketMetadataTableConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketMetricsConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketMetricsConfiguration", {})
18
21
  .n("S3Client", "GetBucketMetricsConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketNotificationConfigurationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketNotificationConfiguration", {})
18
21
  .n("S3Client", "GetBucketNotificationConfigurationCommand")
@@ -12,7 +12,10 @@ export class GetBucketOwnershipControlsCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketOwnershipControls", {})
18
21
  .n("S3Client", "GetBucketOwnershipControlsCommand")
@@ -12,7 +12,10 @@ export class GetBucketPolicyCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketPolicy", {})
18
21
  .n("S3Client", "GetBucketPolicyCommand")
@@ -12,7 +12,10 @@ export class GetBucketPolicyStatusCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketPolicyStatus", {})
18
21
  .n("S3Client", "GetBucketPolicyStatusCommand")
@@ -12,7 +12,10 @@ export class GetBucketReplicationCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketReplication", {})
18
21
  .n("S3Client", "GetBucketReplicationCommand")
@@ -12,7 +12,10 @@ export class GetBucketRequestPaymentCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketRequestPayment", {})
18
21
  .n("S3Client", "GetBucketRequestPaymentCommand")
@@ -12,7 +12,10 @@ export class GetBucketTaggingCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketTagging", {})
18
21
  .n("S3Client", "GetBucketTaggingCommand")
@@ -12,7 +12,10 @@ export class GetBucketVersioningCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketVersioning", {})
18
21
  .n("S3Client", "GetBucketVersioningCommand")
@@ -12,7 +12,10 @@ export class GetBucketWebsiteCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetBucketWebsite", {})
18
21
  .n("S3Client", "GetBucketWebsiteCommand")
@@ -12,7 +12,10 @@ export class GetObjectAclCommand extends $Command
12
12
  Key: { type: "contextParams", name: "Key" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetObjectAcl", {})
18
21
  .n("S3Client", "GetObjectAclCommand")
@@ -18,8 +18,8 @@ export class GetObjectCommand extends $Command
18
18
  getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
19
19
  getFlexibleChecksumsPlugin(config, {
20
20
  requestChecksumRequired: false,
21
- requestValidationModeMember: "ChecksumMode",
22
- responseAlgorithms: ["CRC64NVME", "CRC32", "CRC32C", "SHA256", "SHA1"],
21
+ requestValidationModeMember: 'ChecksumMode',
22
+ 'responseAlgorithms': ['CRC64NVME', 'CRC32', 'CRC32C', 'SHA256', 'SHA1'],
23
23
  }),
24
24
  getSsecPlugin(config),
25
25
  getS3ExpiresMiddlewarePlugin(config),
@@ -11,7 +11,10 @@ export class GetObjectLegalHoldCommand extends $Command
11
11
  Bucket: { type: "contextParams", name: "Bucket" },
12
12
  })
13
13
  .m(function (Command, cs, config, o) {
14
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
14
+ return [
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ getThrow200ExceptionsPlugin(config),
17
+ ];
15
18
  })
16
19
  .s("AmazonS3", "GetObjectLegalHold", {})
17
20
  .n("S3Client", "GetObjectLegalHoldCommand")
@@ -11,7 +11,10 @@ export class GetObjectLockConfigurationCommand extends $Command
11
11
  Bucket: { type: "contextParams", name: "Bucket" },
12
12
  })
13
13
  .m(function (Command, cs, config, o) {
14
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
14
+ return [
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ getThrow200ExceptionsPlugin(config),
17
+ ];
15
18
  })
16
19
  .s("AmazonS3", "GetObjectLockConfiguration", {})
17
20
  .n("S3Client", "GetObjectLockConfigurationCommand")
@@ -11,7 +11,10 @@ export class GetObjectRetentionCommand extends $Command
11
11
  Bucket: { type: "contextParams", name: "Bucket" },
12
12
  })
13
13
  .m(function (Command, cs, config, o) {
14
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
14
+ return [
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ getThrow200ExceptionsPlugin(config),
17
+ ];
15
18
  })
16
19
  .s("AmazonS3", "GetObjectRetention", {})
17
20
  .n("S3Client", "GetObjectRetentionCommand")
@@ -11,7 +11,10 @@ export class GetObjectTaggingCommand extends $Command
11
11
  Bucket: { type: "contextParams", name: "Bucket" },
12
12
  })
13
13
  .m(function (Command, cs, config, o) {
14
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
14
+ return [
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ getThrow200ExceptionsPlugin(config),
17
+ ];
15
18
  })
16
19
  .s("AmazonS3", "GetObjectTagging", {})
17
20
  .n("S3Client", "GetObjectTaggingCommand")
@@ -12,7 +12,10 @@ export class GetPublicAccessBlockCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "GetPublicAccessBlock", {})
18
21
  .n("S3Client", "GetPublicAccessBlockCommand")
@@ -11,7 +11,10 @@ export class HeadBucketCommand extends $Command
11
11
  Bucket: { type: "contextParams", name: "Bucket" },
12
12
  })
13
13
  .m(function (Command, cs, config, o) {
14
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
14
+ return [
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ getThrow200ExceptionsPlugin(config),
17
+ ];
15
18
  })
16
19
  .s("AmazonS3", "HeadBucket", {})
17
20
  .n("S3Client", "HeadBucketCommand")
@@ -12,7 +12,10 @@ export class ListBucketAnalyticsConfigurationsCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "ListBucketAnalyticsConfigurations", {})
18
21
  .n("S3Client", "ListBucketAnalyticsConfigurationsCommand")
@@ -12,7 +12,10 @@ export class ListBucketIntelligentTieringConfigurationsCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {})
18
21
  .n("S3Client", "ListBucketIntelligentTieringConfigurationsCommand")
@@ -12,7 +12,10 @@ export class ListBucketInventoryConfigurationsCommand extends $Command
12
12
  Bucket: { type: "contextParams", name: "Bucket" },
13
13
  })
14
14
  .m(function (Command, cs, config, o) {
15
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions()), getThrow200ExceptionsPlugin(config)];
15
+ return [
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getThrow200ExceptionsPlugin(config),
18
+ ];
16
19
  })
17
20
  .s("AmazonS3", "ListBucketInventoryConfigurations", {})
18
21
  .n("S3Client", "ListBucketInventoryConfigurationsCommand")