@aws-sdk/client-glacier 3.1077.0 → 3.1078.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 (107) hide show
  1. package/dist-cjs/index.js +41 -333
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AbortMultipartUploadCommand.js +2 -14
  4. package/dist-es/commands/AbortVaultLockCommand.js +2 -14
  5. package/dist-es/commands/AddTagsToVaultCommand.js +2 -14
  6. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -14
  7. package/dist-es/commands/CompleteVaultLockCommand.js +2 -14
  8. package/dist-es/commands/CreateVaultCommand.js +2 -14
  9. package/dist-es/commands/DeleteArchiveCommand.js +2 -14
  10. package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +2 -14
  11. package/dist-es/commands/DeleteVaultCommand.js +2 -14
  12. package/dist-es/commands/DeleteVaultNotificationsCommand.js +2 -14
  13. package/dist-es/commands/DescribeJobCommand.js +2 -14
  14. package/dist-es/commands/DescribeVaultCommand.js +2 -14
  15. package/dist-es/commands/GetDataRetrievalPolicyCommand.js +2 -14
  16. package/dist-es/commands/GetJobOutputCommand.js +2 -14
  17. package/dist-es/commands/GetVaultAccessPolicyCommand.js +2 -14
  18. package/dist-es/commands/GetVaultLockCommand.js +2 -14
  19. package/dist-es/commands/GetVaultNotificationsCommand.js +2 -14
  20. package/dist-es/commands/InitiateJobCommand.js +2 -14
  21. package/dist-es/commands/InitiateMultipartUploadCommand.js +2 -14
  22. package/dist-es/commands/InitiateVaultLockCommand.js +2 -14
  23. package/dist-es/commands/ListJobsCommand.js +2 -14
  24. package/dist-es/commands/ListMultipartUploadsCommand.js +2 -14
  25. package/dist-es/commands/ListPartsCommand.js +2 -14
  26. package/dist-es/commands/ListProvisionedCapacityCommand.js +2 -14
  27. package/dist-es/commands/ListTagsForVaultCommand.js +2 -14
  28. package/dist-es/commands/ListVaultsCommand.js +2 -14
  29. package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +2 -14
  30. package/dist-es/commands/RemoveTagsFromVaultCommand.js +2 -14
  31. package/dist-es/commands/SetDataRetrievalPolicyCommand.js +2 -14
  32. package/dist-es/commands/SetVaultAccessPolicyCommand.js +2 -14
  33. package/dist-es/commands/SetVaultNotificationsCommand.js +2 -14
  34. package/dist-es/commands/UploadArchiveCommand.js +2 -14
  35. package/dist-es/commands/UploadMultipartPartCommand.js +2 -14
  36. package/dist-es/index.js +1 -0
  37. package/dist-types/commandBuilder.d.ts +18 -0
  38. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +3 -8
  39. package/dist-types/commands/AbortVaultLockCommand.d.ts +3 -8
  40. package/dist-types/commands/AddTagsToVaultCommand.d.ts +3 -8
  41. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -8
  42. package/dist-types/commands/CompleteVaultLockCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateVaultCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteArchiveCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteVaultCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +3 -8
  48. package/dist-types/commands/DescribeJobCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeVaultCommand.d.ts +3 -8
  50. package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +3 -8
  51. package/dist-types/commands/GetJobOutputCommand.d.ts +3 -8
  52. package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +3 -8
  53. package/dist-types/commands/GetVaultLockCommand.d.ts +3 -8
  54. package/dist-types/commands/GetVaultNotificationsCommand.d.ts +3 -8
  55. package/dist-types/commands/InitiateJobCommand.d.ts +3 -8
  56. package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +3 -8
  57. package/dist-types/commands/InitiateVaultLockCommand.d.ts +3 -8
  58. package/dist-types/commands/ListJobsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListPartsCommand.d.ts +3 -8
  61. package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +3 -8
  62. package/dist-types/commands/ListTagsForVaultCommand.d.ts +3 -8
  63. package/dist-types/commands/ListVaultsCommand.d.ts +3 -8
  64. package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +3 -8
  65. package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +3 -8
  66. package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +3 -8
  67. package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +3 -8
  68. package/dist-types/commands/SetVaultNotificationsCommand.d.ts +3 -8
  69. package/dist-types/commands/UploadArchiveCommand.d.ts +3 -8
  70. package/dist-types/commands/UploadMultipartPartCommand.d.ts +3 -8
  71. package/dist-types/index.d.ts +1 -0
  72. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  73. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/AbortVaultLockCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/AddTagsToVaultCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/CompleteVaultLockCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateVaultCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DeleteVaultCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DescribeVaultCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetJobOutputCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetVaultLockCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetVaultNotificationsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/InitiateJobCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/InitiateVaultLockCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListTagsForVaultCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListVaultsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/SetVaultNotificationsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/index.d.ts +1 -0
  107. package/package.json +11 -11
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "DescribeJob", {})
13
- .n("GlacierClient", "DescribeJobCommand")
14
- .sc(DescribeJob$)
15
- .build() {
3
+ export class DescribeJobCommand extends command(_ep0, _mw0, "DescribeJob", DescribeJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeVault$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeVaultCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "DescribeVault", {})
13
- .n("GlacierClient", "DescribeVaultCommand")
14
- .sc(DescribeVault$)
15
- .build() {
3
+ export class DescribeVaultCommand extends command(_ep0, _mw0, "DescribeVault", DescribeVault$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDataRetrievalPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDataRetrievalPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "GetDataRetrievalPolicy", {})
13
- .n("GlacierClient", "GetDataRetrievalPolicyCommand")
14
- .sc(GetDataRetrievalPolicy$)
15
- .build() {
3
+ export class GetDataRetrievalPolicyCommand extends command(_ep0, _mw0, "GetDataRetrievalPolicy", GetDataRetrievalPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetJobOutput$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetJobOutputCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "GetJobOutput", {})
13
- .n("GlacierClient", "GetJobOutputCommand")
14
- .sc(GetJobOutput$)
15
- .build() {
3
+ export class GetJobOutputCommand extends command(_ep0, _mw0, "GetJobOutput", GetJobOutput$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetVaultAccessPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVaultAccessPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "GetVaultAccessPolicy", {})
13
- .n("GlacierClient", "GetVaultAccessPolicyCommand")
14
- .sc(GetVaultAccessPolicy$)
15
- .build() {
3
+ export class GetVaultAccessPolicyCommand extends command(_ep0, _mw0, "GetVaultAccessPolicy", GetVaultAccessPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetVaultLock$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVaultLockCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "GetVaultLock", {})
13
- .n("GlacierClient", "GetVaultLockCommand")
14
- .sc(GetVaultLock$)
15
- .build() {
3
+ export class GetVaultLockCommand extends command(_ep0, _mw0, "GetVaultLock", GetVaultLock$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetVaultNotifications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetVaultNotificationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "GetVaultNotifications", {})
13
- .n("GlacierClient", "GetVaultNotificationsCommand")
14
- .sc(GetVaultNotifications$)
15
- .build() {
3
+ export class GetVaultNotificationsCommand extends command(_ep0, _mw0, "GetVaultNotifications", GetVaultNotifications$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { InitiateJob$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InitiateJobCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "InitiateJob", {})
13
- .n("GlacierClient", "InitiateJobCommand")
14
- .sc(InitiateJob$)
15
- .build() {
3
+ export class InitiateJobCommand extends command(_ep0, _mw0, "InitiateJob", InitiateJob$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { InitiateMultipartUpload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InitiateMultipartUploadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "InitiateMultipartUpload", {})
13
- .n("GlacierClient", "InitiateMultipartUploadCommand")
14
- .sc(InitiateMultipartUpload$)
15
- .build() {
3
+ export class InitiateMultipartUploadCommand extends command(_ep0, _mw0, "InitiateMultipartUpload", InitiateMultipartUpload$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { InitiateVaultLock$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InitiateVaultLockCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "InitiateVaultLock", {})
13
- .n("GlacierClient", "InitiateVaultLockCommand")
14
- .sc(InitiateVaultLock$)
15
- .build() {
3
+ export class InitiateVaultLockCommand extends command(_ep0, _mw0, "InitiateVaultLock", InitiateVaultLock$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListJobs$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListJobsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "ListJobs", {})
13
- .n("GlacierClient", "ListJobsCommand")
14
- .sc(ListJobs$)
15
- .build() {
3
+ export class ListJobsCommand extends command(_ep0, _mw0, "ListJobs", ListJobs$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListMultipartUploads$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMultipartUploadsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "ListMultipartUploads", {})
13
- .n("GlacierClient", "ListMultipartUploadsCommand")
14
- .sc(ListMultipartUploads$)
15
- .build() {
3
+ export class ListMultipartUploadsCommand extends command(_ep0, _mw0, "ListMultipartUploads", ListMultipartUploads$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListParts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPartsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "ListParts", {})
13
- .n("GlacierClient", "ListPartsCommand")
14
- .sc(ListParts$)
15
- .build() {
3
+ export class ListPartsCommand extends command(_ep0, _mw0, "ListParts", ListParts$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProvisionedCapacity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProvisionedCapacityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "ListProvisionedCapacity", {})
13
- .n("GlacierClient", "ListProvisionedCapacityCommand")
14
- .sc(ListProvisionedCapacity$)
15
- .build() {
3
+ export class ListProvisionedCapacityCommand extends command(_ep0, _mw0, "ListProvisionedCapacity", ListProvisionedCapacity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForVault$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForVaultCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "ListTagsForVault", {})
13
- .n("GlacierClient", "ListTagsForVaultCommand")
14
- .sc(ListTagsForVault$)
15
- .build() {
3
+ export class ListTagsForVaultCommand extends command(_ep0, _mw0, "ListTagsForVault", ListTagsForVault$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListVaults$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListVaultsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "ListVaults", {})
13
- .n("GlacierClient", "ListVaultsCommand")
14
- .sc(ListVaults$)
15
- .build() {
3
+ export class ListVaultsCommand extends command(_ep0, _mw0, "ListVaults", ListVaults$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PurchaseProvisionedCapacity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PurchaseProvisionedCapacityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "PurchaseProvisionedCapacity", {})
13
- .n("GlacierClient", "PurchaseProvisionedCapacityCommand")
14
- .sc(PurchaseProvisionedCapacity$)
15
- .build() {
3
+ export class PurchaseProvisionedCapacityCommand extends command(_ep0, _mw0, "PurchaseProvisionedCapacity", PurchaseProvisionedCapacity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemoveTagsFromVault$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveTagsFromVaultCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "RemoveTagsFromVault", {})
13
- .n("GlacierClient", "RemoveTagsFromVaultCommand")
14
- .sc(RemoveTagsFromVault$)
15
- .build() {
3
+ export class RemoveTagsFromVaultCommand extends command(_ep0, _mw0, "RemoveTagsFromVault", RemoveTagsFromVault$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SetDataRetrievalPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SetDataRetrievalPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "SetDataRetrievalPolicy", {})
13
- .n("GlacierClient", "SetDataRetrievalPolicyCommand")
14
- .sc(SetDataRetrievalPolicy$)
15
- .build() {
3
+ export class SetDataRetrievalPolicyCommand extends command(_ep0, _mw0, "SetDataRetrievalPolicy", SetDataRetrievalPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SetVaultAccessPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SetVaultAccessPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "SetVaultAccessPolicy", {})
13
- .n("GlacierClient", "SetVaultAccessPolicyCommand")
14
- .sc(SetVaultAccessPolicy$)
15
- .build() {
3
+ export class SetVaultAccessPolicyCommand extends command(_ep0, _mw0, "SetVaultAccessPolicy", SetVaultAccessPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SetVaultNotifications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SetVaultNotificationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "SetVaultNotifications", {})
13
- .n("GlacierClient", "SetVaultNotificationsCommand")
14
- .sc(SetVaultNotifications$)
15
- .build() {
3
+ export class SetVaultNotificationsCommand extends command(_ep0, _mw0, "SetVaultNotifications", SetVaultNotifications$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UploadArchive$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UploadArchiveCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "UploadArchive", {})
13
- .n("GlacierClient", "UploadArchiveCommand")
14
- .sc(UploadArchive$)
15
- .build() {
3
+ export class UploadArchiveCommand extends command(_ep0, _mw0, "UploadArchive", UploadArchive$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UploadMultipartPart$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UploadMultipartPartCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Glacier", "UploadMultipartPart", {})
13
- .n("GlacierClient", "UploadMultipartPartCommand")
14
- .sc(UploadMultipartPart$)
15
- .build() {
3
+ export class UploadMultipartPartCommand extends command(_ep0, _mw0, "UploadMultipartPart", UploadMultipartPart$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./GlacierClient";
2
2
  export * from "./Glacier";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./waiters";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./GlacierClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
4
2
  import type { AbortMultipartUploadInput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AbortMultipartUploadCommandInput extends AbortMultipartUploadIn
22
19
  export interface AbortMultipartUploadCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const AbortMultipartUploadCommand_base: {
25
- new (input: AbortMultipartUploadCommandInput): import("@smithy/core/client").CommandImpl<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AbortMultipartUploadCommandInput): import("@smithy/core/client").CommandImpl<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AbortMultipartUploadCommandInput): import("@smithy/core/client").CommandImpl<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, import("..").GlacierClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AbortMultipartUploadCommandInput): import("@smithy/core/client").CommandImpl<AbortMultipartUploadCommandInput, AbortMultipartUploadCommandOutput, import("..").GlacierClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation aborts a multipart upload identified by the upload ID.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
4
2
  import type { AbortVaultLockInput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AbortVaultLockCommandInput extends AbortVaultLockInput {
22
19
  export interface AbortVaultLockCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const AbortVaultLockCommand_base: {
25
- new (input: AbortVaultLockCommandInput): import("@smithy/core/client").CommandImpl<AbortVaultLockCommandInput, AbortVaultLockCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AbortVaultLockCommandInput): import("@smithy/core/client").CommandImpl<AbortVaultLockCommandInput, AbortVaultLockCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AbortVaultLockCommandInput): import("@smithy/core/client").CommandImpl<AbortVaultLockCommandInput, AbortVaultLockCommandOutput, import("..").GlacierClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AbortVaultLockCommandInput): import("@smithy/core/client").CommandImpl<AbortVaultLockCommandInput, AbortVaultLockCommandOutput, import("..").GlacierClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation aborts the vault locking process if the vault lock is not in the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
4
2
  import type { AddTagsToVaultInput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AddTagsToVaultCommandInput extends AddTagsToVaultInput {
22
19
  export interface AddTagsToVaultCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const AddTagsToVaultCommand_base: {
25
- new (input: AddTagsToVaultCommandInput): import("@smithy/core/client").CommandImpl<AddTagsToVaultCommandInput, AddTagsToVaultCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AddTagsToVaultCommandInput): import("@smithy/core/client").CommandImpl<AddTagsToVaultCommandInput, AddTagsToVaultCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AddTagsToVaultCommandInput): import("@smithy/core/client").CommandImpl<AddTagsToVaultCommandInput, AddTagsToVaultCommandOutput, import("..").GlacierClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AddTagsToVaultCommandInput): import("@smithy/core/client").CommandImpl<AddTagsToVaultCommandInput, AddTagsToVaultCommandOutput, import("..").GlacierClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>This operation adds the specified tags to a vault. Each tag is composed of a key and
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
4
2
  import type { ArchiveCreationOutput, CompleteMultipartUploadInput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CompleteMultipartUploadCommandInput extends CompleteMultipartUp
22
19
  export interface CompleteMultipartUploadCommandOutput extends ArchiveCreationOutput, __MetadataBearer {
23
20
  }
24
21
  declare const CompleteMultipartUploadCommand_base: {
25
- new (input: CompleteMultipartUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CompleteMultipartUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CompleteMultipartUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, import("..").GlacierClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CompleteMultipartUploadCommandInput): import("@smithy/core/client").CommandImpl<CompleteMultipartUploadCommandInput, CompleteMultipartUploadCommandOutput, import("..").GlacierClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>You call this operation to inform Amazon Glacier (Glacier) that all the archive parts have been