@aws-sdk/client-glacier 3.1045.0 → 3.1047.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +98 -100
- package/dist-cjs/models/GlacierServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +10 -12
- package/dist-es/Glacier.js +1 -1
- package/dist-es/GlacierClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/AbortMultipartUploadCommand.js +2 -2
- package/dist-es/commands/AbortVaultLockCommand.js +2 -2
- package/dist-es/commands/AddTagsToVaultCommand.js +2 -2
- package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
- package/dist-es/commands/CompleteVaultLockCommand.js +2 -2
- package/dist-es/commands/CreateVaultCommand.js +2 -2
- package/dist-es/commands/DeleteArchiveCommand.js +2 -2
- package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteVaultCommand.js +2 -2
- package/dist-es/commands/DeleteVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/DescribeJobCommand.js +2 -2
- package/dist-es/commands/DescribeVaultCommand.js +2 -2
- package/dist-es/commands/GetDataRetrievalPolicyCommand.js +2 -2
- package/dist-es/commands/GetJobOutputCommand.js +2 -2
- package/dist-es/commands/GetVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/GetVaultLockCommand.js +2 -2
- package/dist-es/commands/GetVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/InitiateJobCommand.js +2 -2
- package/dist-es/commands/InitiateMultipartUploadCommand.js +2 -2
- package/dist-es/commands/InitiateVaultLockCommand.js +2 -2
- package/dist-es/commands/ListJobsCommand.js +2 -2
- package/dist-es/commands/ListMultipartUploadsCommand.js +2 -2
- package/dist-es/commands/ListPartsCommand.js +2 -2
- package/dist-es/commands/ListProvisionedCapacityCommand.js +2 -2
- package/dist-es/commands/ListTagsForVaultCommand.js +2 -2
- package/dist-es/commands/ListVaultsCommand.js +2 -2
- package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +2 -2
- package/dist-es/commands/RemoveTagsFromVaultCommand.js +2 -2
- package/dist-es/commands/SetDataRetrievalPolicyCommand.js +2 -2
- package/dist-es/commands/SetVaultAccessPolicyCommand.js +2 -2
- package/dist-es/commands/SetVaultNotificationsCommand.js +2 -2
- package/dist-es/commands/UploadArchiveCommand.js +2 -2
- package/dist-es/commands/UploadMultipartPartCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/GlacierServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -5
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/waiters/waitForVaultExists.js +1 -1
- package/dist-es/waiters/waitForVaultNotExists.js +1 -1
- package/dist-types/Glacier.d.ts +1 -1
- package/dist-types/GlacierClient.d.ts +5 -5
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/AbortVaultLockCommand.d.ts +6 -4
- package/dist-types/commands/AddTagsToVaultCommand.d.ts +6 -4
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/CompleteVaultLockCommand.d.ts +6 -4
- package/dist-types/commands/CreateVaultCommand.d.ts +6 -4
- package/dist-types/commands/DeleteArchiveCommand.d.ts +6 -4
- package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteVaultCommand.d.ts +6 -4
- package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/commands/DescribeJobCommand.d.ts +6 -4
- package/dist-types/commands/DescribeVaultCommand.d.ts +6 -4
- package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetJobOutputCommand.d.ts +6 -4
- package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetVaultLockCommand.d.ts +6 -4
- package/dist-types/commands/GetVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/commands/InitiateJobCommand.d.ts +6 -4
- package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/InitiateVaultLockCommand.d.ts +6 -4
- package/dist-types/commands/ListJobsCommand.d.ts +6 -4
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +6 -4
- package/dist-types/commands/ListPartsCommand.d.ts +6 -4
- package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForVaultCommand.d.ts +6 -4
- package/dist-types/commands/ListVaultsCommand.d.ts +6 -4
- package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +6 -4
- package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +6 -4
- package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +6 -4
- package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/commands/SetVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/commands/UploadArchiveCommand.d.ts +6 -4
- package/dist-types/commands/UploadMultipartPartCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/GlacierServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/Glacier.d.ts +1 -1
- package/dist-types/ts3.4/GlacierClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AbortVaultLockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/AddTagsToVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CompleteVaultLockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetJobOutputCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetVaultLockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateJobCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/InitiateVaultLockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListVaultsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetVaultNotificationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/GlacierServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/waiters/waitForVaultExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForVaultNotExists.d.ts +1 -1
- package/dist-types/waiters/waitForVaultExists.d.ts +1 -1
- package/dist-types/waiters/waitForVaultNotExists.d.ts +1 -1
- package/package.json +16 -39
package/dist-cjs/index.js
CHANGED
|
@@ -5,19 +5,17 @@ var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
|
5
5
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
6
|
var middlewareSdkGlacier = require('@aws-sdk/middleware-sdk-glacier');
|
|
7
7
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
8
|
-
var configResolver = require('@smithy/config-resolver');
|
|
9
8
|
var core = require('@smithy/core');
|
|
9
|
+
var client = require('@smithy/core/client');
|
|
10
|
+
var config = require('@smithy/core/config');
|
|
11
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
12
|
+
var protocols = require('@smithy/core/protocols');
|
|
13
|
+
var retry = require('@smithy/core/retry');
|
|
10
14
|
var schema = require('@smithy/core/schema');
|
|
11
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
12
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
13
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
14
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
15
15
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
16
16
|
var runtimeConfig = require('./runtimeConfig');
|
|
17
17
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
18
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
19
18
|
var schemas_0 = require('./schemas/schemas_0');
|
|
20
|
-
var utilWaiter = require('@smithy/util-waiter');
|
|
21
19
|
var errors = require('./models/errors');
|
|
22
20
|
var GlacierServiceException = require('./models/GlacierServiceException');
|
|
23
21
|
|
|
@@ -75,12 +73,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
75
73
|
};
|
|
76
74
|
|
|
77
75
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
78
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
76
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
79
77
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
80
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
78
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
81
79
|
};
|
|
82
80
|
|
|
83
|
-
class GlacierClient extends
|
|
81
|
+
class GlacierClient extends client.Client {
|
|
84
82
|
config;
|
|
85
83
|
constructor(...[configuration]) {
|
|
86
84
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -88,17 +86,17 @@ class GlacierClient extends smithyClient.Client {
|
|
|
88
86
|
this.initConfig = _config_0;
|
|
89
87
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
90
88
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
91
|
-
const _config_3 =
|
|
92
|
-
const _config_4 =
|
|
89
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
90
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
93
91
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
94
|
-
const _config_6 =
|
|
92
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
95
93
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
96
94
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
97
95
|
this.config = _config_8;
|
|
98
96
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
99
97
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
this.middlewareStack.use(
|
|
98
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
102
100
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
103
101
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
104
102
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -116,11 +114,11 @@ class GlacierClient extends smithyClient.Client {
|
|
|
116
114
|
}
|
|
117
115
|
}
|
|
118
116
|
|
|
119
|
-
class AbortMultipartUploadCommand extends
|
|
117
|
+
class AbortMultipartUploadCommand extends client.Command
|
|
120
118
|
.classBuilder()
|
|
121
119
|
.ep(commonParams)
|
|
122
120
|
.m(function (Command, cs, config, o) {
|
|
123
|
-
return [
|
|
121
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
124
122
|
})
|
|
125
123
|
.s("Glacier", "AbortMultipartUpload", {})
|
|
126
124
|
.n("GlacierClient", "AbortMultipartUploadCommand")
|
|
@@ -128,11 +126,11 @@ class AbortMultipartUploadCommand extends smithyClient.Command
|
|
|
128
126
|
.build() {
|
|
129
127
|
}
|
|
130
128
|
|
|
131
|
-
class AbortVaultLockCommand extends
|
|
129
|
+
class AbortVaultLockCommand extends client.Command
|
|
132
130
|
.classBuilder()
|
|
133
131
|
.ep(commonParams)
|
|
134
132
|
.m(function (Command, cs, config, o) {
|
|
135
|
-
return [
|
|
133
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
136
134
|
})
|
|
137
135
|
.s("Glacier", "AbortVaultLock", {})
|
|
138
136
|
.n("GlacierClient", "AbortVaultLockCommand")
|
|
@@ -140,11 +138,11 @@ class AbortVaultLockCommand extends smithyClient.Command
|
|
|
140
138
|
.build() {
|
|
141
139
|
}
|
|
142
140
|
|
|
143
|
-
class AddTagsToVaultCommand extends
|
|
141
|
+
class AddTagsToVaultCommand extends client.Command
|
|
144
142
|
.classBuilder()
|
|
145
143
|
.ep(commonParams)
|
|
146
144
|
.m(function (Command, cs, config, o) {
|
|
147
|
-
return [
|
|
145
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
148
146
|
})
|
|
149
147
|
.s("Glacier", "AddTagsToVault", {})
|
|
150
148
|
.n("GlacierClient", "AddTagsToVaultCommand")
|
|
@@ -152,11 +150,11 @@ class AddTagsToVaultCommand extends smithyClient.Command
|
|
|
152
150
|
.build() {
|
|
153
151
|
}
|
|
154
152
|
|
|
155
|
-
class CompleteMultipartUploadCommand extends
|
|
153
|
+
class CompleteMultipartUploadCommand extends client.Command
|
|
156
154
|
.classBuilder()
|
|
157
155
|
.ep(commonParams)
|
|
158
156
|
.m(function (Command, cs, config, o) {
|
|
159
|
-
return [
|
|
157
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
160
158
|
})
|
|
161
159
|
.s("Glacier", "CompleteMultipartUpload", {})
|
|
162
160
|
.n("GlacierClient", "CompleteMultipartUploadCommand")
|
|
@@ -164,11 +162,11 @@ class CompleteMultipartUploadCommand extends smithyClient.Command
|
|
|
164
162
|
.build() {
|
|
165
163
|
}
|
|
166
164
|
|
|
167
|
-
class CompleteVaultLockCommand extends
|
|
165
|
+
class CompleteVaultLockCommand extends client.Command
|
|
168
166
|
.classBuilder()
|
|
169
167
|
.ep(commonParams)
|
|
170
168
|
.m(function (Command, cs, config, o) {
|
|
171
|
-
return [
|
|
169
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
172
170
|
})
|
|
173
171
|
.s("Glacier", "CompleteVaultLock", {})
|
|
174
172
|
.n("GlacierClient", "CompleteVaultLockCommand")
|
|
@@ -176,11 +174,11 @@ class CompleteVaultLockCommand extends smithyClient.Command
|
|
|
176
174
|
.build() {
|
|
177
175
|
}
|
|
178
176
|
|
|
179
|
-
class CreateVaultCommand extends
|
|
177
|
+
class CreateVaultCommand extends client.Command
|
|
180
178
|
.classBuilder()
|
|
181
179
|
.ep(commonParams)
|
|
182
180
|
.m(function (Command, cs, config, o) {
|
|
183
|
-
return [
|
|
181
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
184
182
|
})
|
|
185
183
|
.s("Glacier", "CreateVault", {})
|
|
186
184
|
.n("GlacierClient", "CreateVaultCommand")
|
|
@@ -188,11 +186,11 @@ class CreateVaultCommand extends smithyClient.Command
|
|
|
188
186
|
.build() {
|
|
189
187
|
}
|
|
190
188
|
|
|
191
|
-
class DeleteArchiveCommand extends
|
|
189
|
+
class DeleteArchiveCommand extends client.Command
|
|
192
190
|
.classBuilder()
|
|
193
191
|
.ep(commonParams)
|
|
194
192
|
.m(function (Command, cs, config, o) {
|
|
195
|
-
return [
|
|
193
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
196
194
|
})
|
|
197
195
|
.s("Glacier", "DeleteArchive", {})
|
|
198
196
|
.n("GlacierClient", "DeleteArchiveCommand")
|
|
@@ -200,11 +198,11 @@ class DeleteArchiveCommand extends smithyClient.Command
|
|
|
200
198
|
.build() {
|
|
201
199
|
}
|
|
202
200
|
|
|
203
|
-
class DeleteVaultAccessPolicyCommand extends
|
|
201
|
+
class DeleteVaultAccessPolicyCommand extends client.Command
|
|
204
202
|
.classBuilder()
|
|
205
203
|
.ep(commonParams)
|
|
206
204
|
.m(function (Command, cs, config, o) {
|
|
207
|
-
return [
|
|
205
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
208
206
|
})
|
|
209
207
|
.s("Glacier", "DeleteVaultAccessPolicy", {})
|
|
210
208
|
.n("GlacierClient", "DeleteVaultAccessPolicyCommand")
|
|
@@ -212,11 +210,11 @@ class DeleteVaultAccessPolicyCommand extends smithyClient.Command
|
|
|
212
210
|
.build() {
|
|
213
211
|
}
|
|
214
212
|
|
|
215
|
-
class DeleteVaultCommand extends
|
|
213
|
+
class DeleteVaultCommand extends client.Command
|
|
216
214
|
.classBuilder()
|
|
217
215
|
.ep(commonParams)
|
|
218
216
|
.m(function (Command, cs, config, o) {
|
|
219
|
-
return [
|
|
217
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
220
218
|
})
|
|
221
219
|
.s("Glacier", "DeleteVault", {})
|
|
222
220
|
.n("GlacierClient", "DeleteVaultCommand")
|
|
@@ -224,11 +222,11 @@ class DeleteVaultCommand extends smithyClient.Command
|
|
|
224
222
|
.build() {
|
|
225
223
|
}
|
|
226
224
|
|
|
227
|
-
class DeleteVaultNotificationsCommand extends
|
|
225
|
+
class DeleteVaultNotificationsCommand extends client.Command
|
|
228
226
|
.classBuilder()
|
|
229
227
|
.ep(commonParams)
|
|
230
228
|
.m(function (Command, cs, config, o) {
|
|
231
|
-
return [
|
|
229
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
232
230
|
})
|
|
233
231
|
.s("Glacier", "DeleteVaultNotifications", {})
|
|
234
232
|
.n("GlacierClient", "DeleteVaultNotificationsCommand")
|
|
@@ -236,11 +234,11 @@ class DeleteVaultNotificationsCommand extends smithyClient.Command
|
|
|
236
234
|
.build() {
|
|
237
235
|
}
|
|
238
236
|
|
|
239
|
-
class DescribeJobCommand extends
|
|
237
|
+
class DescribeJobCommand extends client.Command
|
|
240
238
|
.classBuilder()
|
|
241
239
|
.ep(commonParams)
|
|
242
240
|
.m(function (Command, cs, config, o) {
|
|
243
|
-
return [
|
|
241
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
244
242
|
})
|
|
245
243
|
.s("Glacier", "DescribeJob", {})
|
|
246
244
|
.n("GlacierClient", "DescribeJobCommand")
|
|
@@ -248,11 +246,11 @@ class DescribeJobCommand extends smithyClient.Command
|
|
|
248
246
|
.build() {
|
|
249
247
|
}
|
|
250
248
|
|
|
251
|
-
class DescribeVaultCommand extends
|
|
249
|
+
class DescribeVaultCommand extends client.Command
|
|
252
250
|
.classBuilder()
|
|
253
251
|
.ep(commonParams)
|
|
254
252
|
.m(function (Command, cs, config, o) {
|
|
255
|
-
return [
|
|
253
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
256
254
|
})
|
|
257
255
|
.s("Glacier", "DescribeVault", {})
|
|
258
256
|
.n("GlacierClient", "DescribeVaultCommand")
|
|
@@ -260,11 +258,11 @@ class DescribeVaultCommand extends smithyClient.Command
|
|
|
260
258
|
.build() {
|
|
261
259
|
}
|
|
262
260
|
|
|
263
|
-
class GetDataRetrievalPolicyCommand extends
|
|
261
|
+
class GetDataRetrievalPolicyCommand extends client.Command
|
|
264
262
|
.classBuilder()
|
|
265
263
|
.ep(commonParams)
|
|
266
264
|
.m(function (Command, cs, config, o) {
|
|
267
|
-
return [
|
|
265
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
268
266
|
})
|
|
269
267
|
.s("Glacier", "GetDataRetrievalPolicy", {})
|
|
270
268
|
.n("GlacierClient", "GetDataRetrievalPolicyCommand")
|
|
@@ -272,11 +270,11 @@ class GetDataRetrievalPolicyCommand extends smithyClient.Command
|
|
|
272
270
|
.build() {
|
|
273
271
|
}
|
|
274
272
|
|
|
275
|
-
class GetJobOutputCommand extends
|
|
273
|
+
class GetJobOutputCommand extends client.Command
|
|
276
274
|
.classBuilder()
|
|
277
275
|
.ep(commonParams)
|
|
278
276
|
.m(function (Command, cs, config, o) {
|
|
279
|
-
return [
|
|
277
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
280
278
|
})
|
|
281
279
|
.s("Glacier", "GetJobOutput", {})
|
|
282
280
|
.n("GlacierClient", "GetJobOutputCommand")
|
|
@@ -284,11 +282,11 @@ class GetJobOutputCommand extends smithyClient.Command
|
|
|
284
282
|
.build() {
|
|
285
283
|
}
|
|
286
284
|
|
|
287
|
-
class GetVaultAccessPolicyCommand extends
|
|
285
|
+
class GetVaultAccessPolicyCommand extends client.Command
|
|
288
286
|
.classBuilder()
|
|
289
287
|
.ep(commonParams)
|
|
290
288
|
.m(function (Command, cs, config, o) {
|
|
291
|
-
return [
|
|
289
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
292
290
|
})
|
|
293
291
|
.s("Glacier", "GetVaultAccessPolicy", {})
|
|
294
292
|
.n("GlacierClient", "GetVaultAccessPolicyCommand")
|
|
@@ -296,11 +294,11 @@ class GetVaultAccessPolicyCommand extends smithyClient.Command
|
|
|
296
294
|
.build() {
|
|
297
295
|
}
|
|
298
296
|
|
|
299
|
-
class GetVaultLockCommand extends
|
|
297
|
+
class GetVaultLockCommand extends client.Command
|
|
300
298
|
.classBuilder()
|
|
301
299
|
.ep(commonParams)
|
|
302
300
|
.m(function (Command, cs, config, o) {
|
|
303
|
-
return [
|
|
301
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
304
302
|
})
|
|
305
303
|
.s("Glacier", "GetVaultLock", {})
|
|
306
304
|
.n("GlacierClient", "GetVaultLockCommand")
|
|
@@ -308,11 +306,11 @@ class GetVaultLockCommand extends smithyClient.Command
|
|
|
308
306
|
.build() {
|
|
309
307
|
}
|
|
310
308
|
|
|
311
|
-
class GetVaultNotificationsCommand extends
|
|
309
|
+
class GetVaultNotificationsCommand extends client.Command
|
|
312
310
|
.classBuilder()
|
|
313
311
|
.ep(commonParams)
|
|
314
312
|
.m(function (Command, cs, config, o) {
|
|
315
|
-
return [
|
|
313
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
316
314
|
})
|
|
317
315
|
.s("Glacier", "GetVaultNotifications", {})
|
|
318
316
|
.n("GlacierClient", "GetVaultNotificationsCommand")
|
|
@@ -320,11 +318,11 @@ class GetVaultNotificationsCommand extends smithyClient.Command
|
|
|
320
318
|
.build() {
|
|
321
319
|
}
|
|
322
320
|
|
|
323
|
-
class InitiateJobCommand extends
|
|
321
|
+
class InitiateJobCommand extends client.Command
|
|
324
322
|
.classBuilder()
|
|
325
323
|
.ep(commonParams)
|
|
326
324
|
.m(function (Command, cs, config, o) {
|
|
327
|
-
return [
|
|
325
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
328
326
|
})
|
|
329
327
|
.s("Glacier", "InitiateJob", {})
|
|
330
328
|
.n("GlacierClient", "InitiateJobCommand")
|
|
@@ -332,11 +330,11 @@ class InitiateJobCommand extends smithyClient.Command
|
|
|
332
330
|
.build() {
|
|
333
331
|
}
|
|
334
332
|
|
|
335
|
-
class InitiateMultipartUploadCommand extends
|
|
333
|
+
class InitiateMultipartUploadCommand extends client.Command
|
|
336
334
|
.classBuilder()
|
|
337
335
|
.ep(commonParams)
|
|
338
336
|
.m(function (Command, cs, config, o) {
|
|
339
|
-
return [
|
|
337
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
340
338
|
})
|
|
341
339
|
.s("Glacier", "InitiateMultipartUpload", {})
|
|
342
340
|
.n("GlacierClient", "InitiateMultipartUploadCommand")
|
|
@@ -344,11 +342,11 @@ class InitiateMultipartUploadCommand extends smithyClient.Command
|
|
|
344
342
|
.build() {
|
|
345
343
|
}
|
|
346
344
|
|
|
347
|
-
class InitiateVaultLockCommand extends
|
|
345
|
+
class InitiateVaultLockCommand extends client.Command
|
|
348
346
|
.classBuilder()
|
|
349
347
|
.ep(commonParams)
|
|
350
348
|
.m(function (Command, cs, config, o) {
|
|
351
|
-
return [
|
|
349
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
352
350
|
})
|
|
353
351
|
.s("Glacier", "InitiateVaultLock", {})
|
|
354
352
|
.n("GlacierClient", "InitiateVaultLockCommand")
|
|
@@ -356,11 +354,11 @@ class InitiateVaultLockCommand extends smithyClient.Command
|
|
|
356
354
|
.build() {
|
|
357
355
|
}
|
|
358
356
|
|
|
359
|
-
class ListJobsCommand extends
|
|
357
|
+
class ListJobsCommand extends client.Command
|
|
360
358
|
.classBuilder()
|
|
361
359
|
.ep(commonParams)
|
|
362
360
|
.m(function (Command, cs, config, o) {
|
|
363
|
-
return [
|
|
361
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
364
362
|
})
|
|
365
363
|
.s("Glacier", "ListJobs", {})
|
|
366
364
|
.n("GlacierClient", "ListJobsCommand")
|
|
@@ -368,11 +366,11 @@ class ListJobsCommand extends smithyClient.Command
|
|
|
368
366
|
.build() {
|
|
369
367
|
}
|
|
370
368
|
|
|
371
|
-
class ListMultipartUploadsCommand extends
|
|
369
|
+
class ListMultipartUploadsCommand extends client.Command
|
|
372
370
|
.classBuilder()
|
|
373
371
|
.ep(commonParams)
|
|
374
372
|
.m(function (Command, cs, config, o) {
|
|
375
|
-
return [
|
|
373
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
376
374
|
})
|
|
377
375
|
.s("Glacier", "ListMultipartUploads", {})
|
|
378
376
|
.n("GlacierClient", "ListMultipartUploadsCommand")
|
|
@@ -380,11 +378,11 @@ class ListMultipartUploadsCommand extends smithyClient.Command
|
|
|
380
378
|
.build() {
|
|
381
379
|
}
|
|
382
380
|
|
|
383
|
-
class ListPartsCommand extends
|
|
381
|
+
class ListPartsCommand extends client.Command
|
|
384
382
|
.classBuilder()
|
|
385
383
|
.ep(commonParams)
|
|
386
384
|
.m(function (Command, cs, config, o) {
|
|
387
|
-
return [
|
|
385
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
388
386
|
})
|
|
389
387
|
.s("Glacier", "ListParts", {})
|
|
390
388
|
.n("GlacierClient", "ListPartsCommand")
|
|
@@ -392,11 +390,11 @@ class ListPartsCommand extends smithyClient.Command
|
|
|
392
390
|
.build() {
|
|
393
391
|
}
|
|
394
392
|
|
|
395
|
-
class ListProvisionedCapacityCommand extends
|
|
393
|
+
class ListProvisionedCapacityCommand extends client.Command
|
|
396
394
|
.classBuilder()
|
|
397
395
|
.ep(commonParams)
|
|
398
396
|
.m(function (Command, cs, config, o) {
|
|
399
|
-
return [
|
|
397
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
400
398
|
})
|
|
401
399
|
.s("Glacier", "ListProvisionedCapacity", {})
|
|
402
400
|
.n("GlacierClient", "ListProvisionedCapacityCommand")
|
|
@@ -404,11 +402,11 @@ class ListProvisionedCapacityCommand extends smithyClient.Command
|
|
|
404
402
|
.build() {
|
|
405
403
|
}
|
|
406
404
|
|
|
407
|
-
class ListTagsForVaultCommand extends
|
|
405
|
+
class ListTagsForVaultCommand extends client.Command
|
|
408
406
|
.classBuilder()
|
|
409
407
|
.ep(commonParams)
|
|
410
408
|
.m(function (Command, cs, config, o) {
|
|
411
|
-
return [
|
|
409
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
412
410
|
})
|
|
413
411
|
.s("Glacier", "ListTagsForVault", {})
|
|
414
412
|
.n("GlacierClient", "ListTagsForVaultCommand")
|
|
@@ -416,11 +414,11 @@ class ListTagsForVaultCommand extends smithyClient.Command
|
|
|
416
414
|
.build() {
|
|
417
415
|
}
|
|
418
416
|
|
|
419
|
-
class ListVaultsCommand extends
|
|
417
|
+
class ListVaultsCommand extends client.Command
|
|
420
418
|
.classBuilder()
|
|
421
419
|
.ep(commonParams)
|
|
422
420
|
.m(function (Command, cs, config, o) {
|
|
423
|
-
return [
|
|
421
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
424
422
|
})
|
|
425
423
|
.s("Glacier", "ListVaults", {})
|
|
426
424
|
.n("GlacierClient", "ListVaultsCommand")
|
|
@@ -428,11 +426,11 @@ class ListVaultsCommand extends smithyClient.Command
|
|
|
428
426
|
.build() {
|
|
429
427
|
}
|
|
430
428
|
|
|
431
|
-
class PurchaseProvisionedCapacityCommand extends
|
|
429
|
+
class PurchaseProvisionedCapacityCommand extends client.Command
|
|
432
430
|
.classBuilder()
|
|
433
431
|
.ep(commonParams)
|
|
434
432
|
.m(function (Command, cs, config, o) {
|
|
435
|
-
return [
|
|
433
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
436
434
|
})
|
|
437
435
|
.s("Glacier", "PurchaseProvisionedCapacity", {})
|
|
438
436
|
.n("GlacierClient", "PurchaseProvisionedCapacityCommand")
|
|
@@ -440,11 +438,11 @@ class PurchaseProvisionedCapacityCommand extends smithyClient.Command
|
|
|
440
438
|
.build() {
|
|
441
439
|
}
|
|
442
440
|
|
|
443
|
-
class RemoveTagsFromVaultCommand extends
|
|
441
|
+
class RemoveTagsFromVaultCommand extends client.Command
|
|
444
442
|
.classBuilder()
|
|
445
443
|
.ep(commonParams)
|
|
446
444
|
.m(function (Command, cs, config, o) {
|
|
447
|
-
return [
|
|
445
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
448
446
|
})
|
|
449
447
|
.s("Glacier", "RemoveTagsFromVault", {})
|
|
450
448
|
.n("GlacierClient", "RemoveTagsFromVaultCommand")
|
|
@@ -452,11 +450,11 @@ class RemoveTagsFromVaultCommand extends smithyClient.Command
|
|
|
452
450
|
.build() {
|
|
453
451
|
}
|
|
454
452
|
|
|
455
|
-
class SetDataRetrievalPolicyCommand extends
|
|
453
|
+
class SetDataRetrievalPolicyCommand extends client.Command
|
|
456
454
|
.classBuilder()
|
|
457
455
|
.ep(commonParams)
|
|
458
456
|
.m(function (Command, cs, config, o) {
|
|
459
|
-
return [
|
|
457
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
460
458
|
})
|
|
461
459
|
.s("Glacier", "SetDataRetrievalPolicy", {})
|
|
462
460
|
.n("GlacierClient", "SetDataRetrievalPolicyCommand")
|
|
@@ -464,11 +462,11 @@ class SetDataRetrievalPolicyCommand extends smithyClient.Command
|
|
|
464
462
|
.build() {
|
|
465
463
|
}
|
|
466
464
|
|
|
467
|
-
class SetVaultAccessPolicyCommand extends
|
|
465
|
+
class SetVaultAccessPolicyCommand extends client.Command
|
|
468
466
|
.classBuilder()
|
|
469
467
|
.ep(commonParams)
|
|
470
468
|
.m(function (Command, cs, config, o) {
|
|
471
|
-
return [
|
|
469
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
472
470
|
})
|
|
473
471
|
.s("Glacier", "SetVaultAccessPolicy", {})
|
|
474
472
|
.n("GlacierClient", "SetVaultAccessPolicyCommand")
|
|
@@ -476,11 +474,11 @@ class SetVaultAccessPolicyCommand extends smithyClient.Command
|
|
|
476
474
|
.build() {
|
|
477
475
|
}
|
|
478
476
|
|
|
479
|
-
class SetVaultNotificationsCommand extends
|
|
477
|
+
class SetVaultNotificationsCommand extends client.Command
|
|
480
478
|
.classBuilder()
|
|
481
479
|
.ep(commonParams)
|
|
482
480
|
.m(function (Command, cs, config, o) {
|
|
483
|
-
return [
|
|
481
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
484
482
|
})
|
|
485
483
|
.s("Glacier", "SetVaultNotifications", {})
|
|
486
484
|
.n("GlacierClient", "SetVaultNotificationsCommand")
|
|
@@ -488,11 +486,11 @@ class SetVaultNotificationsCommand extends smithyClient.Command
|
|
|
488
486
|
.build() {
|
|
489
487
|
}
|
|
490
488
|
|
|
491
|
-
class UploadArchiveCommand extends
|
|
489
|
+
class UploadArchiveCommand extends client.Command
|
|
492
490
|
.classBuilder()
|
|
493
491
|
.ep(commonParams)
|
|
494
492
|
.m(function (Command, cs, config, o) {
|
|
495
|
-
return [
|
|
493
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
496
494
|
})
|
|
497
495
|
.s("Glacier", "UploadArchive", {})
|
|
498
496
|
.n("GlacierClient", "UploadArchiveCommand")
|
|
@@ -500,11 +498,11 @@ class UploadArchiveCommand extends smithyClient.Command
|
|
|
500
498
|
.build() {
|
|
501
499
|
}
|
|
502
500
|
|
|
503
|
-
class UploadMultipartPartCommand extends
|
|
501
|
+
class UploadMultipartPartCommand extends client.Command
|
|
504
502
|
.classBuilder()
|
|
505
503
|
.ep(commonParams)
|
|
506
504
|
.m(function (Command, cs, config, o) {
|
|
507
|
-
return [
|
|
505
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
508
506
|
})
|
|
509
507
|
.s("Glacier", "UploadMultipartPart", {})
|
|
510
508
|
.n("GlacierClient", "UploadMultipartPartCommand")
|
|
@@ -520,54 +518,54 @@ const paginateListParts = core.createPaginator(GlacierClient, ListPartsCommand,
|
|
|
520
518
|
|
|
521
519
|
const paginateListVaults = core.createPaginator(GlacierClient, ListVaultsCommand, "marker", "Marker", "limit");
|
|
522
520
|
|
|
523
|
-
const checkState$1 = async (client, input) => {
|
|
521
|
+
const checkState$1 = async (client$1, input) => {
|
|
524
522
|
let reason;
|
|
525
523
|
try {
|
|
526
|
-
let result = await client.send(new DescribeVaultCommand(input));
|
|
524
|
+
let result = await client$1.send(new DescribeVaultCommand(input));
|
|
527
525
|
reason = result;
|
|
528
|
-
return { state:
|
|
526
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
529
527
|
}
|
|
530
528
|
catch (exception) {
|
|
531
529
|
reason = exception;
|
|
532
530
|
if (exception.name === "ResourceNotFoundException") {
|
|
533
|
-
return { state:
|
|
531
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
534
532
|
}
|
|
535
533
|
}
|
|
536
|
-
return { state:
|
|
534
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
537
535
|
};
|
|
538
536
|
const waitForVaultExists = async (params, input) => {
|
|
539
537
|
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
540
|
-
return
|
|
538
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
541
539
|
};
|
|
542
540
|
const waitUntilVaultExists = async (params, input) => {
|
|
543
541
|
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
544
|
-
const result = await
|
|
545
|
-
return
|
|
542
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
543
|
+
return client.checkExceptions(result);
|
|
546
544
|
};
|
|
547
545
|
|
|
548
|
-
const checkState = async (client, input) => {
|
|
546
|
+
const checkState = async (client$1, input) => {
|
|
549
547
|
let reason;
|
|
550
548
|
try {
|
|
551
|
-
let result = await client.send(new DescribeVaultCommand(input));
|
|
549
|
+
let result = await client$1.send(new DescribeVaultCommand(input));
|
|
552
550
|
reason = result;
|
|
553
|
-
return { state:
|
|
551
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
554
552
|
}
|
|
555
553
|
catch (exception) {
|
|
556
554
|
reason = exception;
|
|
557
555
|
if (exception.name === "ResourceNotFoundException") {
|
|
558
|
-
return { state:
|
|
556
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
559
557
|
}
|
|
560
558
|
}
|
|
561
|
-
return { state:
|
|
559
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
562
560
|
};
|
|
563
561
|
const waitForVaultNotExists = async (params, input) => {
|
|
564
562
|
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
565
|
-
return
|
|
563
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
566
564
|
};
|
|
567
565
|
const waitUntilVaultNotExists = async (params, input) => {
|
|
568
566
|
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
569
|
-
const result = await
|
|
570
|
-
return
|
|
567
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
568
|
+
return client.checkExceptions(result);
|
|
571
569
|
};
|
|
572
570
|
|
|
573
571
|
const commands = {
|
|
@@ -617,7 +615,7 @@ const waiters = {
|
|
|
617
615
|
};
|
|
618
616
|
class Glacier extends GlacierClient {
|
|
619
617
|
}
|
|
620
|
-
|
|
618
|
+
client.createAggregatedClient(commands, Glacier, { paginators, waiters });
|
|
621
619
|
|
|
622
620
|
const Type = {
|
|
623
621
|
AmazonCustomerByEmail: "AmazonCustomerByEmail",
|
|
@@ -672,8 +670,8 @@ const StatusCode = {
|
|
|
672
670
|
Succeeded: "Succeeded",
|
|
673
671
|
};
|
|
674
672
|
|
|
675
|
-
exports.$Command =
|
|
676
|
-
exports.__Client =
|
|
673
|
+
exports.$Command = client.Command;
|
|
674
|
+
exports.__Client = client.Client;
|
|
677
675
|
exports.GlacierServiceException = GlacierServiceException.GlacierServiceException;
|
|
678
676
|
exports.AbortMultipartUploadCommand = AbortMultipartUploadCommand;
|
|
679
677
|
exports.AbortVaultLockCommand = AbortVaultLockCommand;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GlacierServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class GlacierServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class GlacierServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, GlacierServiceException.prototype);
|