@aws-sdk/client-glacier 3.53.0 → 3.55.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 (57) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/GlacierClient.js +14 -14
  3. package/dist-cjs/commands/AbortMultipartUploadCommand.js +3 -3
  4. package/dist-cjs/commands/AbortVaultLockCommand.js +3 -3
  5. package/dist-cjs/commands/AddTagsToVaultCommand.js +3 -3
  6. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +3 -3
  7. package/dist-cjs/commands/CompleteVaultLockCommand.js +3 -3
  8. package/dist-cjs/commands/CreateVaultCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteArchiveCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteVaultAccessPolicyCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteVaultCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteVaultNotificationsCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeJobCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeVaultCommand.js +3 -3
  15. package/dist-cjs/commands/GetDataRetrievalPolicyCommand.js +3 -3
  16. package/dist-cjs/commands/GetJobOutputCommand.js +3 -3
  17. package/dist-cjs/commands/GetVaultAccessPolicyCommand.js +3 -3
  18. package/dist-cjs/commands/GetVaultLockCommand.js +3 -3
  19. package/dist-cjs/commands/GetVaultNotificationsCommand.js +3 -3
  20. package/dist-cjs/commands/InitiateJobCommand.js +3 -3
  21. package/dist-cjs/commands/InitiateMultipartUploadCommand.js +3 -3
  22. package/dist-cjs/commands/InitiateVaultLockCommand.js +3 -3
  23. package/dist-cjs/commands/ListJobsCommand.js +3 -3
  24. package/dist-cjs/commands/ListMultipartUploadsCommand.js +3 -3
  25. package/dist-cjs/commands/ListPartsCommand.js +3 -3
  26. package/dist-cjs/commands/ListProvisionedCapacityCommand.js +3 -3
  27. package/dist-cjs/commands/ListTagsForVaultCommand.js +3 -3
  28. package/dist-cjs/commands/ListVaultsCommand.js +3 -3
  29. package/dist-cjs/commands/PurchaseProvisionedCapacityCommand.js +3 -3
  30. package/dist-cjs/commands/RemoveTagsFromVaultCommand.js +3 -3
  31. package/dist-cjs/commands/SetDataRetrievalPolicyCommand.js +3 -3
  32. package/dist-cjs/commands/SetVaultAccessPolicyCommand.js +3 -3
  33. package/dist-cjs/commands/SetVaultNotificationsCommand.js +3 -3
  34. package/dist-cjs/commands/UploadArchiveCommand.js +3 -3
  35. package/dist-cjs/commands/UploadMultipartPartCommand.js +3 -3
  36. package/dist-cjs/endpoints.js +1 -1
  37. package/dist-cjs/protocols/Aws_restJson1.js +255 -255
  38. package/dist-cjs/runtimeConfig.browser.js +4 -4
  39. package/dist-cjs/runtimeConfig.js +9 -9
  40. package/dist-cjs/runtimeConfig.native.js +1 -1
  41. package/dist-cjs/waiters/waitForVaultExists.js +3 -3
  42. package/dist-cjs/waiters/waitForVaultNotExists.js +3 -3
  43. package/dist-es/Glacier.js +33 -33
  44. package/dist-es/pagination/ListJobsPaginator.js +4 -4
  45. package/dist-es/pagination/ListMultipartUploadsPaginator.js +4 -4
  46. package/dist-es/pagination/ListPartsPaginator.js +4 -4
  47. package/dist-es/pagination/ListVaultsPaginator.js +4 -4
  48. package/dist-es/protocols/Aws_restJson1.js +33 -33
  49. package/dist-types/GlacierClient.d.ts +2 -2
  50. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  51. package/dist-types/runtimeConfig.d.ts +1 -1
  52. package/dist-types/runtimeConfig.native.d.ts +3 -3
  53. package/dist-types/ts3.4/GlacierClient.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  57. package/package.json +38 -38
@@ -11,7 +11,7 @@ class ListTagsForVaultCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class ListTagsForVaultCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListTagsForVaultCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForVaultCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListTagsForVaultCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForVaultCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForVaultCommand = ListTagsForVaultCommand;
@@ -11,7 +11,7 @@ class ListVaultsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class ListVaultsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListVaultsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListVaultsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListVaultsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListVaultsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListVaultsCommand = ListVaultsCommand;
@@ -11,7 +11,7 @@ class PurchaseProvisionedCapacityCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class PurchaseProvisionedCapacityCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1PurchaseProvisionedCapacityCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1PurchaseProvisionedCapacityCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1PurchaseProvisionedCapacityCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1PurchaseProvisionedCapacityCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.PurchaseProvisionedCapacityCommand = PurchaseProvisionedCapacityCommand;
@@ -11,7 +11,7 @@ class RemoveTagsFromVaultCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class RemoveTagsFromVaultCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1RemoveTagsFromVaultCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1RemoveTagsFromVaultCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1RemoveTagsFromVaultCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1RemoveTagsFromVaultCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.RemoveTagsFromVaultCommand = RemoveTagsFromVaultCommand;
@@ -11,7 +11,7 @@ class SetDataRetrievalPolicyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class SetDataRetrievalPolicyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1SetDataRetrievalPolicyCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SetDataRetrievalPolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SetDataRetrievalPolicyCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SetDataRetrievalPolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetDataRetrievalPolicyCommand = SetDataRetrievalPolicyCommand;
@@ -11,7 +11,7 @@ class SetVaultAccessPolicyCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class SetVaultAccessPolicyCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1SetVaultAccessPolicyCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SetVaultAccessPolicyCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SetVaultAccessPolicyCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SetVaultAccessPolicyCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetVaultAccessPolicyCommand = SetVaultAccessPolicyCommand;
@@ -11,7 +11,7 @@ class SetVaultNotificationsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class SetVaultNotificationsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1SetVaultNotificationsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SetVaultNotificationsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SetVaultNotificationsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SetVaultNotificationsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SetVaultNotificationsCommand = SetVaultNotificationsCommand;
@@ -11,7 +11,7 @@ class UploadArchiveCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class UploadArchiveCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UploadArchiveCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UploadArchiveCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UploadArchiveCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UploadArchiveCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UploadArchiveCommand = UploadArchiveCommand;
@@ -11,7 +11,7 @@ class UploadMultipartPartCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "GlacierClient";
@@ -27,10 +27,10 @@ class UploadMultipartPartCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1UploadMultipartPartCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UploadMultipartPartCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UploadMultipartPartCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UploadMultipartPartCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UploadMultipartPartCommand = UploadMultipartPartCommand;
@@ -186,7 +186,7 @@ const partitionHash = {
186
186
  ],
187
187
  },
188
188
  };
189
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
189
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
190
190
  ...options,
191
191
  signingService: "glacier",
192
192
  regionHash,