@aws-sdk/client-glacier 3.948.0 → 3.953.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 (92) hide show
  1. package/README.md +4 -4
  2. package/dist-cjs/index.js +424 -259
  3. package/dist-cjs/runtimeConfig.shared.js +7 -1
  4. package/dist-es/commands/AbortMultipartUploadCommand.js +2 -2
  5. package/dist-es/commands/AbortVaultLockCommand.js +2 -2
  6. package/dist-es/commands/AddTagsToVaultCommand.js +2 -2
  7. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
  8. package/dist-es/commands/CompleteVaultLockCommand.js +2 -2
  9. package/dist-es/commands/CreateVaultCommand.js +2 -2
  10. package/dist-es/commands/DeleteArchiveCommand.js +2 -2
  11. package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +2 -2
  12. package/dist-es/commands/DeleteVaultCommand.js +2 -2
  13. package/dist-es/commands/DeleteVaultNotificationsCommand.js +2 -2
  14. package/dist-es/commands/DescribeJobCommand.js +2 -2
  15. package/dist-es/commands/DescribeVaultCommand.js +2 -2
  16. package/dist-es/commands/GetDataRetrievalPolicyCommand.js +2 -2
  17. package/dist-es/commands/GetJobOutputCommand.js +2 -2
  18. package/dist-es/commands/GetVaultAccessPolicyCommand.js +2 -2
  19. package/dist-es/commands/GetVaultLockCommand.js +2 -2
  20. package/dist-es/commands/GetVaultNotificationsCommand.js +2 -2
  21. package/dist-es/commands/InitiateJobCommand.js +2 -2
  22. package/dist-es/commands/InitiateMultipartUploadCommand.js +2 -2
  23. package/dist-es/commands/InitiateVaultLockCommand.js +2 -2
  24. package/dist-es/commands/ListJobsCommand.js +2 -2
  25. package/dist-es/commands/ListMultipartUploadsCommand.js +2 -2
  26. package/dist-es/commands/ListPartsCommand.js +2 -2
  27. package/dist-es/commands/ListProvisionedCapacityCommand.js +2 -2
  28. package/dist-es/commands/ListTagsForVaultCommand.js +2 -2
  29. package/dist-es/commands/ListVaultsCommand.js +2 -2
  30. package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +2 -2
  31. package/dist-es/commands/RemoveTagsFromVaultCommand.js +2 -2
  32. package/dist-es/commands/SetDataRetrievalPolicyCommand.js +2 -2
  33. package/dist-es/commands/SetVaultAccessPolicyCommand.js +2 -2
  34. package/dist-es/commands/SetVaultNotificationsCommand.js +2 -2
  35. package/dist-es/commands/UploadArchiveCommand.js +2 -2
  36. package/dist-es/commands/UploadMultipartPartCommand.js +2 -2
  37. package/dist-es/index.js +1 -0
  38. package/dist-es/models/errors.js +16 -0
  39. package/dist-es/runtimeConfig.shared.js +7 -1
  40. package/dist-es/schemas/schemas_0.js +238 -207
  41. package/dist-types/Glacier.d.ts +4 -4
  42. package/dist-types/GlacierClient.d.ts +5 -14
  43. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +3 -1
  44. package/dist-types/commands/AbortVaultLockCommand.d.ts +2 -0
  45. package/dist-types/commands/AddTagsToVaultCommand.d.ts +3 -1
  46. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +3 -1
  47. package/dist-types/commands/CompleteVaultLockCommand.d.ts +2 -0
  48. package/dist-types/commands/CreateVaultCommand.d.ts +3 -1
  49. package/dist-types/commands/DeleteArchiveCommand.d.ts +4 -2
  50. package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +3 -1
  51. package/dist-types/commands/DeleteVaultCommand.d.ts +5 -3
  52. package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +5 -3
  53. package/dist-types/commands/DescribeJobCommand.d.ts +3 -1
  54. package/dist-types/commands/DescribeVaultCommand.d.ts +5 -3
  55. package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +2 -0
  56. package/dist-types/commands/GetJobOutputCommand.d.ts +4 -2
  57. package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +2 -0
  58. package/dist-types/commands/GetVaultLockCommand.d.ts +2 -0
  59. package/dist-types/commands/GetVaultNotificationsCommand.d.ts +4 -2
  60. package/dist-types/commands/InitiateJobCommand.d.ts +2 -0
  61. package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +5 -3
  62. package/dist-types/commands/InitiateVaultLockCommand.d.ts +2 -0
  63. package/dist-types/commands/ListJobsCommand.d.ts +2 -0
  64. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +3 -1
  65. package/dist-types/commands/ListPartsCommand.d.ts +3 -1
  66. package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +2 -0
  67. package/dist-types/commands/ListTagsForVaultCommand.d.ts +3 -1
  68. package/dist-types/commands/ListVaultsCommand.d.ts +28 -1
  69. package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +2 -0
  70. package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +3 -1
  71. package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +2 -0
  72. package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +2 -0
  73. package/dist-types/commands/SetVaultNotificationsCommand.d.ts +4 -2
  74. package/dist-types/commands/UploadArchiveCommand.d.ts +5 -3
  75. package/dist-types/commands/UploadMultipartPartCommand.d.ts +4 -2
  76. package/dist-types/index.d.ts +5 -4
  77. package/dist-types/models/errors.d.ts +14 -1
  78. package/dist-types/models/models_0.d.ts +63 -63
  79. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  80. package/dist-types/runtimeConfig.d.ts +6 -2
  81. package/dist-types/runtimeConfig.native.d.ts +6 -2
  82. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  83. package/dist-types/schemas/schemas_0.d.ts +118 -130
  84. package/dist-types/ts3.4/GlacierClient.d.ts +0 -4
  85. package/dist-types/ts3.4/index.d.ts +1 -0
  86. package/dist-types/ts3.4/models/errors.d.ts +9 -0
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  89. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  90. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  91. package/dist-types/ts3.4/schemas/schemas_0.d.ts +117 -131
  92. package/package.json +39 -39
@@ -27,7 +27,13 @@ const getRuntimeConfig = (config) => {
27
27
  },
28
28
  ],
29
29
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
30
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.glacier" }),
30
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
31
+ protocolSettings: config?.protocolSettings ?? {
32
+ defaultNamespace: "com.amazonaws.glacier",
33
+ xmlNamespace: "http://glacier.amazonaws.com/doc/2012-06-01/",
34
+ version: "2012-06-01",
35
+ serviceTarget: "Glacier",
36
+ },
31
37
  sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
32
38
  serviceId: config?.serviceId ?? "Glacier",
33
39
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AbortMultipartUpload } from "../schemas/schemas_0";
4
+ import { AbortMultipartUpload$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AbortMultipartUploadCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AbortMultipartUploadCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "AbortMultipartUpload", {})
13
13
  .n("GlacierClient", "AbortMultipartUploadCommand")
14
- .sc(AbortMultipartUpload)
14
+ .sc(AbortMultipartUpload$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AbortVaultLock } from "../schemas/schemas_0";
4
+ import { AbortVaultLock$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AbortVaultLockCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AbortVaultLockCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "AbortVaultLock", {})
13
13
  .n("GlacierClient", "AbortVaultLockCommand")
14
- .sc(AbortVaultLock)
14
+ .sc(AbortVaultLock$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AddTagsToVault } from "../schemas/schemas_0";
4
+ import { AddTagsToVault$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AddTagsToVaultCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AddTagsToVaultCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "AddTagsToVault", {})
13
13
  .n("GlacierClient", "AddTagsToVaultCommand")
14
- .sc(AddTagsToVault)
14
+ .sc(AddTagsToVault$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CompleteMultipartUpload } from "../schemas/schemas_0";
4
+ import { CompleteMultipartUpload$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CompleteMultipartUploadCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CompleteMultipartUploadCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "CompleteMultipartUpload", {})
13
13
  .n("GlacierClient", "CompleteMultipartUploadCommand")
14
- .sc(CompleteMultipartUpload)
14
+ .sc(CompleteMultipartUpload$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CompleteVaultLock } from "../schemas/schemas_0";
4
+ import { CompleteVaultLock$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CompleteVaultLockCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CompleteVaultLockCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "CompleteVaultLock", {})
13
13
  .n("GlacierClient", "CompleteVaultLockCommand")
14
- .sc(CompleteVaultLock)
14
+ .sc(CompleteVaultLock$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateVault } from "../schemas/schemas_0";
4
+ import { CreateVault$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateVaultCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateVaultCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "CreateVault", {})
13
13
  .n("GlacierClient", "CreateVaultCommand")
14
- .sc(CreateVault)
14
+ .sc(CreateVault$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteArchive } from "../schemas/schemas_0";
4
+ import { DeleteArchive$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteArchiveCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteArchiveCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "DeleteArchive", {})
13
13
  .n("GlacierClient", "DeleteArchiveCommand")
14
- .sc(DeleteArchive)
14
+ .sc(DeleteArchive$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteVaultAccessPolicy } from "../schemas/schemas_0";
4
+ import { DeleteVaultAccessPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteVaultAccessPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteVaultAccessPolicyCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "DeleteVaultAccessPolicy", {})
13
13
  .n("GlacierClient", "DeleteVaultAccessPolicyCommand")
14
- .sc(DeleteVaultAccessPolicy)
14
+ .sc(DeleteVaultAccessPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteVault } from "../schemas/schemas_0";
4
+ import { DeleteVault$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteVaultCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteVaultCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "DeleteVault", {})
13
13
  .n("GlacierClient", "DeleteVaultCommand")
14
- .sc(DeleteVault)
14
+ .sc(DeleteVault$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteVaultNotifications } from "../schemas/schemas_0";
4
+ import { DeleteVaultNotifications$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteVaultNotificationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteVaultNotificationsCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "DeleteVaultNotifications", {})
13
13
  .n("GlacierClient", "DeleteVaultNotificationsCommand")
14
- .sc(DeleteVaultNotifications)
14
+ .sc(DeleteVaultNotifications$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeJob } from "../schemas/schemas_0";
4
+ import { DescribeJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeJobCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "DescribeJob", {})
13
13
  .n("GlacierClient", "DescribeJobCommand")
14
- .sc(DescribeJob)
14
+ .sc(DescribeJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeVault } from "../schemas/schemas_0";
4
+ import { DescribeVault$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeVaultCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeVaultCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "DescribeVault", {})
13
13
  .n("GlacierClient", "DescribeVaultCommand")
14
- .sc(DescribeVault)
14
+ .sc(DescribeVault$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetDataRetrievalPolicy } from "../schemas/schemas_0";
4
+ import { GetDataRetrievalPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetDataRetrievalPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetDataRetrievalPolicyCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "GetDataRetrievalPolicy", {})
13
13
  .n("GlacierClient", "GetDataRetrievalPolicyCommand")
14
- .sc(GetDataRetrievalPolicy)
14
+ .sc(GetDataRetrievalPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetJobOutput } from "../schemas/schemas_0";
4
+ import { GetJobOutput$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetJobOutputCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetJobOutputCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "GetJobOutput", {})
13
13
  .n("GlacierClient", "GetJobOutputCommand")
14
- .sc(GetJobOutput)
14
+ .sc(GetJobOutput$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetVaultAccessPolicy } from "../schemas/schemas_0";
4
+ import { GetVaultAccessPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetVaultAccessPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetVaultAccessPolicyCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "GetVaultAccessPolicy", {})
13
13
  .n("GlacierClient", "GetVaultAccessPolicyCommand")
14
- .sc(GetVaultAccessPolicy)
14
+ .sc(GetVaultAccessPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetVaultLock } from "../schemas/schemas_0";
4
+ import { GetVaultLock$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetVaultLockCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetVaultLockCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "GetVaultLock", {})
13
13
  .n("GlacierClient", "GetVaultLockCommand")
14
- .sc(GetVaultLock)
14
+ .sc(GetVaultLock$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetVaultNotifications } from "../schemas/schemas_0";
4
+ import { GetVaultNotifications$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetVaultNotificationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetVaultNotificationsCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "GetVaultNotifications", {})
13
13
  .n("GlacierClient", "GetVaultNotificationsCommand")
14
- .sc(GetVaultNotifications)
14
+ .sc(GetVaultNotifications$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { InitiateJob } from "../schemas/schemas_0";
4
+ import { InitiateJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class InitiateJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class InitiateJobCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "InitiateJob", {})
13
13
  .n("GlacierClient", "InitiateJobCommand")
14
- .sc(InitiateJob)
14
+ .sc(InitiateJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { InitiateMultipartUpload } from "../schemas/schemas_0";
4
+ import { InitiateMultipartUpload$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class InitiateMultipartUploadCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class InitiateMultipartUploadCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "InitiateMultipartUpload", {})
13
13
  .n("GlacierClient", "InitiateMultipartUploadCommand")
14
- .sc(InitiateMultipartUpload)
14
+ .sc(InitiateMultipartUpload$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { InitiateVaultLock } from "../schemas/schemas_0";
4
+ import { InitiateVaultLock$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class InitiateVaultLockCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class InitiateVaultLockCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "InitiateVaultLock", {})
13
13
  .n("GlacierClient", "InitiateVaultLockCommand")
14
- .sc(InitiateVaultLock)
14
+ .sc(InitiateVaultLock$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListJobs } from "../schemas/schemas_0";
4
+ import { ListJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListJobsCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "ListJobs", {})
13
13
  .n("GlacierClient", "ListJobsCommand")
14
- .sc(ListJobs)
14
+ .sc(ListJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListMultipartUploads } from "../schemas/schemas_0";
4
+ import { ListMultipartUploads$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListMultipartUploadsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListMultipartUploadsCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "ListMultipartUploads", {})
13
13
  .n("GlacierClient", "ListMultipartUploadsCommand")
14
- .sc(ListMultipartUploads)
14
+ .sc(ListMultipartUploads$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListParts } from "../schemas/schemas_0";
4
+ import { ListParts$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListPartsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListPartsCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "ListParts", {})
13
13
  .n("GlacierClient", "ListPartsCommand")
14
- .sc(ListParts)
14
+ .sc(ListParts$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListProvisionedCapacity } from "../schemas/schemas_0";
4
+ import { ListProvisionedCapacity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListProvisionedCapacityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListProvisionedCapacityCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "ListProvisionedCapacity", {})
13
13
  .n("GlacierClient", "ListProvisionedCapacityCommand")
14
- .sc(ListProvisionedCapacity)
14
+ .sc(ListProvisionedCapacity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForVault } from "../schemas/schemas_0";
4
+ import { ListTagsForVault$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForVaultCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForVaultCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "ListTagsForVault", {})
13
13
  .n("GlacierClient", "ListTagsForVaultCommand")
14
- .sc(ListTagsForVault)
14
+ .sc(ListTagsForVault$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListVaults } from "../schemas/schemas_0";
4
+ import { ListVaults$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListVaultsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListVaultsCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "ListVaults", {})
13
13
  .n("GlacierClient", "ListVaultsCommand")
14
- .sc(ListVaults)
14
+ .sc(ListVaults$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PurchaseProvisionedCapacity } from "../schemas/schemas_0";
4
+ import { PurchaseProvisionedCapacity$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PurchaseProvisionedCapacityCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PurchaseProvisionedCapacityCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "PurchaseProvisionedCapacity", {})
13
13
  .n("GlacierClient", "PurchaseProvisionedCapacityCommand")
14
- .sc(PurchaseProvisionedCapacity)
14
+ .sc(PurchaseProvisionedCapacity$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RemoveTagsFromVault } from "../schemas/schemas_0";
4
+ import { RemoveTagsFromVault$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RemoveTagsFromVaultCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RemoveTagsFromVaultCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "RemoveTagsFromVault", {})
13
13
  .n("GlacierClient", "RemoveTagsFromVaultCommand")
14
- .sc(RemoveTagsFromVault)
14
+ .sc(RemoveTagsFromVault$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SetDataRetrievalPolicy } from "../schemas/schemas_0";
4
+ import { SetDataRetrievalPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SetDataRetrievalPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SetDataRetrievalPolicyCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "SetDataRetrievalPolicy", {})
13
13
  .n("GlacierClient", "SetDataRetrievalPolicyCommand")
14
- .sc(SetDataRetrievalPolicy)
14
+ .sc(SetDataRetrievalPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SetVaultAccessPolicy } from "../schemas/schemas_0";
4
+ import { SetVaultAccessPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SetVaultAccessPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SetVaultAccessPolicyCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "SetVaultAccessPolicy", {})
13
13
  .n("GlacierClient", "SetVaultAccessPolicyCommand")
14
- .sc(SetVaultAccessPolicy)
14
+ .sc(SetVaultAccessPolicy$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SetVaultNotifications } from "../schemas/schemas_0";
4
+ import { SetVaultNotifications$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SetVaultNotificationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SetVaultNotificationsCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "SetVaultNotifications", {})
13
13
  .n("GlacierClient", "SetVaultNotificationsCommand")
14
- .sc(SetVaultNotifications)
14
+ .sc(SetVaultNotifications$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UploadArchive } from "../schemas/schemas_0";
4
+ import { UploadArchive$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UploadArchiveCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UploadArchiveCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "UploadArchive", {})
13
13
  .n("GlacierClient", "UploadArchiveCommand")
14
- .sc(UploadArchive)
14
+ .sc(UploadArchive$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UploadMultipartPart } from "../schemas/schemas_0";
4
+ import { UploadMultipartPart$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UploadMultipartPartCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UploadMultipartPartCommand extends $Command
11
11
  })
12
12
  .s("Glacier", "UploadMultipartPart", {})
13
13
  .n("GlacierClient", "UploadMultipartPartCommand")
14
- .sc(UploadMultipartPart)
14
+ .sc(UploadMultipartPart$)
15
15
  .build() {
16
16
  }
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 * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -31,6 +31,22 @@ export class MissingParameterValueException extends __BaseException {
31
31
  this.code = opts.code;
32
32
  }
33
33
  }
34
+ export class NoLongerSupportedException extends __BaseException {
35
+ name = "NoLongerSupportedException";
36
+ $fault = "client";
37
+ type;
38
+ code;
39
+ constructor(opts) {
40
+ super({
41
+ name: "NoLongerSupportedException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, NoLongerSupportedException.prototype);
46
+ this.type = opts.type;
47
+ this.code = opts.code;
48
+ }
49
+ }
34
50
  export class ResourceNotFoundException extends __BaseException {
35
51
  name = "ResourceNotFoundException";
36
52
  $fault = "client";