@aws-sdk/client-license-manager-linux-subscriptions 3.303.0 → 3.309.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/commands/GetServiceSettingsCommand.js +2 -2
- package/dist-cjs/commands/ListLinuxSubscriptionInstancesCommand.js +2 -2
- package/dist-cjs/commands/ListLinuxSubscriptionsCommand.js +2 -2
- package/dist-cjs/commands/UpdateServiceSettingsCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +70 -72
- package/dist-es/commands/GetServiceSettingsCommand.js +3 -3
- package/dist-es/commands/ListLinuxSubscriptionInstancesCommand.js +3 -3
- package/dist-es/commands/ListLinuxSubscriptionsCommand.js +3 -3
- package/dist-es/commands/UpdateServiceSettingsCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +61 -63
- package/dist-types/protocols/Aws_restJson1.d.ts +32 -8
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +8 -8
- package/package.json +29 -29
|
@@ -36,10 +36,10 @@ class GetServiceSettingsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetServiceSettingsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetServiceSettingsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetServiceSettingsCommand = GetServiceSettingsCommand;
|
|
@@ -36,10 +36,10 @@ class ListLinuxSubscriptionInstancesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListLinuxSubscriptionInstancesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListLinuxSubscriptionInstancesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListLinuxSubscriptionInstancesCommand = ListLinuxSubscriptionInstancesCommand;
|
|
@@ -36,10 +36,10 @@ class ListLinuxSubscriptionsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListLinuxSubscriptionsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListLinuxSubscriptionsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListLinuxSubscriptionsCommand = ListLinuxSubscriptionsCommand;
|
|
@@ -36,10 +36,10 @@ class UpdateServiceSettingsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_UpdateServiceSettingsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_UpdateServiceSettingsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UpdateServiceSettingsCommand = UpdateServiceSettingsCommand;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.de_UpdateServiceSettingsCommand = exports.de_ListLinuxSubscriptionsCommand = exports.de_ListLinuxSubscriptionInstancesCommand = exports.de_GetServiceSettingsCommand = exports.se_UpdateServiceSettingsCommand = exports.se_ListLinuxSubscriptionsCommand = exports.se_ListLinuxSubscriptionInstancesCommand = exports.se_GetServiceSettingsCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const LicenseManagerLinuxSubscriptionsServiceException_1 = require("../models/LicenseManagerLinuxSubscriptionsServiceException");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
|
-
const
|
|
8
|
+
const se_GetServiceSettingsCommand = async (input, context) => {
|
|
9
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
10
10
|
const headers = {
|
|
11
11
|
"content-type": "application/json",
|
|
@@ -23,8 +23,8 @@ const serializeAws_restJson1GetServiceSettingsCommand = async (input, context) =
|
|
|
23
23
|
body,
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
|
-
exports.
|
|
27
|
-
const
|
|
26
|
+
exports.se_GetServiceSettingsCommand = se_GetServiceSettingsCommand;
|
|
27
|
+
const se_ListLinuxSubscriptionInstancesCommand = async (input, context) => {
|
|
28
28
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
29
29
|
const headers = {
|
|
30
30
|
"content-type": "application/json",
|
|
@@ -33,7 +33,7 @@ const serializeAws_restJson1ListLinuxSubscriptionInstancesCommand = async (input
|
|
|
33
33
|
"/subscription/ListLinuxSubscriptionInstances";
|
|
34
34
|
let body;
|
|
35
35
|
body = JSON.stringify({
|
|
36
|
-
...(input.Filters != null && { Filters:
|
|
36
|
+
...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
|
|
37
37
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
38
38
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
39
39
|
});
|
|
@@ -47,8 +47,8 @@ const serializeAws_restJson1ListLinuxSubscriptionInstancesCommand = async (input
|
|
|
47
47
|
body,
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
|
-
exports.
|
|
51
|
-
const
|
|
50
|
+
exports.se_ListLinuxSubscriptionInstancesCommand = se_ListLinuxSubscriptionInstancesCommand;
|
|
51
|
+
const se_ListLinuxSubscriptionsCommand = async (input, context) => {
|
|
52
52
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
53
53
|
const headers = {
|
|
54
54
|
"content-type": "application/json",
|
|
@@ -56,7 +56,7 @@ const serializeAws_restJson1ListLinuxSubscriptionsCommand = async (input, contex
|
|
|
56
56
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/subscription/ListLinuxSubscriptions";
|
|
57
57
|
let body;
|
|
58
58
|
body = JSON.stringify({
|
|
59
|
-
...(input.Filters != null && { Filters:
|
|
59
|
+
...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
|
|
60
60
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
61
61
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
62
62
|
});
|
|
@@ -70,8 +70,8 @@ const serializeAws_restJson1ListLinuxSubscriptionsCommand = async (input, contex
|
|
|
70
70
|
body,
|
|
71
71
|
});
|
|
72
72
|
};
|
|
73
|
-
exports.
|
|
74
|
-
const
|
|
73
|
+
exports.se_ListLinuxSubscriptionsCommand = se_ListLinuxSubscriptionsCommand;
|
|
74
|
+
const se_UpdateServiceSettingsCommand = async (input, context) => {
|
|
75
75
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
76
76
|
const headers = {
|
|
77
77
|
"content-type": "application/json",
|
|
@@ -84,7 +84,7 @@ const serializeAws_restJson1UpdateServiceSettingsCommand = async (input, context
|
|
|
84
84
|
LinuxSubscriptionsDiscovery: input.LinuxSubscriptionsDiscovery,
|
|
85
85
|
}),
|
|
86
86
|
...(input.LinuxSubscriptionsDiscoverySettings != null && {
|
|
87
|
-
LinuxSubscriptionsDiscoverySettings:
|
|
87
|
+
LinuxSubscriptionsDiscoverySettings: se_LinuxSubscriptionsDiscoverySettings(input.LinuxSubscriptionsDiscoverySettings, context),
|
|
88
88
|
}),
|
|
89
89
|
});
|
|
90
90
|
return new protocol_http_1.HttpRequest({
|
|
@@ -97,34 +97,34 @@ const serializeAws_restJson1UpdateServiceSettingsCommand = async (input, context
|
|
|
97
97
|
body,
|
|
98
98
|
});
|
|
99
99
|
};
|
|
100
|
-
exports.
|
|
101
|
-
const
|
|
100
|
+
exports.se_UpdateServiceSettingsCommand = se_UpdateServiceSettingsCommand;
|
|
101
|
+
const de_GetServiceSettingsCommand = async (output, context) => {
|
|
102
102
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
103
|
-
return
|
|
103
|
+
return de_GetServiceSettingsCommandError(output, context);
|
|
104
104
|
}
|
|
105
105
|
const contents = map({
|
|
106
106
|
$metadata: deserializeMetadata(output),
|
|
107
107
|
});
|
|
108
108
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
109
109
|
if (data.HomeRegions != null) {
|
|
110
|
-
contents.HomeRegions =
|
|
110
|
+
contents.HomeRegions = de_StringList(data.HomeRegions, context);
|
|
111
111
|
}
|
|
112
112
|
if (data.LinuxSubscriptionsDiscovery != null) {
|
|
113
113
|
contents.LinuxSubscriptionsDiscovery = (0, smithy_client_1.expectString)(data.LinuxSubscriptionsDiscovery);
|
|
114
114
|
}
|
|
115
115
|
if (data.LinuxSubscriptionsDiscoverySettings != null) {
|
|
116
|
-
contents.LinuxSubscriptionsDiscoverySettings =
|
|
116
|
+
contents.LinuxSubscriptionsDiscoverySettings = de_LinuxSubscriptionsDiscoverySettings(data.LinuxSubscriptionsDiscoverySettings, context);
|
|
117
117
|
}
|
|
118
118
|
if (data.Status != null) {
|
|
119
119
|
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
120
120
|
}
|
|
121
121
|
if (data.StatusMessage != null) {
|
|
122
|
-
contents.StatusMessage =
|
|
122
|
+
contents.StatusMessage = de_StringMap(data.StatusMessage, context);
|
|
123
123
|
}
|
|
124
124
|
return contents;
|
|
125
125
|
};
|
|
126
|
-
exports.
|
|
127
|
-
const
|
|
126
|
+
exports.de_GetServiceSettingsCommand = de_GetServiceSettingsCommand;
|
|
127
|
+
const de_GetServiceSettingsCommandError = async (output, context) => {
|
|
128
128
|
const parsedOutput = {
|
|
129
129
|
...output,
|
|
130
130
|
body: await parseErrorBody(output.body, context),
|
|
@@ -133,13 +133,13 @@ const deserializeAws_restJson1GetServiceSettingsCommandError = async (output, co
|
|
|
133
133
|
switch (errorCode) {
|
|
134
134
|
case "InternalServerException":
|
|
135
135
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
|
|
136
|
-
throw await
|
|
136
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
137
137
|
case "ThrottlingException":
|
|
138
138
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
|
|
139
|
-
throw await
|
|
139
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
140
140
|
case "ValidationException":
|
|
141
141
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
|
|
142
|
-
throw await
|
|
142
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
143
143
|
default:
|
|
144
144
|
const parsedBody = parsedOutput.body;
|
|
145
145
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -150,24 +150,24 @@ const deserializeAws_restJson1GetServiceSettingsCommandError = async (output, co
|
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
|
-
const
|
|
153
|
+
const de_ListLinuxSubscriptionInstancesCommand = async (output, context) => {
|
|
154
154
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
155
|
-
return
|
|
155
|
+
return de_ListLinuxSubscriptionInstancesCommandError(output, context);
|
|
156
156
|
}
|
|
157
157
|
const contents = map({
|
|
158
158
|
$metadata: deserializeMetadata(output),
|
|
159
159
|
});
|
|
160
160
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
161
161
|
if (data.Instances != null) {
|
|
162
|
-
contents.Instances =
|
|
162
|
+
contents.Instances = de_InstanceList(data.Instances, context);
|
|
163
163
|
}
|
|
164
164
|
if (data.NextToken != null) {
|
|
165
165
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
166
166
|
}
|
|
167
167
|
return contents;
|
|
168
168
|
};
|
|
169
|
-
exports.
|
|
170
|
-
const
|
|
169
|
+
exports.de_ListLinuxSubscriptionInstancesCommand = de_ListLinuxSubscriptionInstancesCommand;
|
|
170
|
+
const de_ListLinuxSubscriptionInstancesCommandError = async (output, context) => {
|
|
171
171
|
const parsedOutput = {
|
|
172
172
|
...output,
|
|
173
173
|
body: await parseErrorBody(output.body, context),
|
|
@@ -176,13 +176,13 @@ const deserializeAws_restJson1ListLinuxSubscriptionInstancesCommandError = async
|
|
|
176
176
|
switch (errorCode) {
|
|
177
177
|
case "InternalServerException":
|
|
178
178
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
|
|
179
|
-
throw await
|
|
179
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
180
180
|
case "ThrottlingException":
|
|
181
181
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
|
|
182
|
-
throw await
|
|
182
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
183
183
|
case "ValidationException":
|
|
184
184
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
|
|
185
|
-
throw await
|
|
185
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
186
186
|
default:
|
|
187
187
|
const parsedBody = parsedOutput.body;
|
|
188
188
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -193,9 +193,9 @@ const deserializeAws_restJson1ListLinuxSubscriptionInstancesCommandError = async
|
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
195
|
};
|
|
196
|
-
const
|
|
196
|
+
const de_ListLinuxSubscriptionsCommand = async (output, context) => {
|
|
197
197
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
198
|
-
return
|
|
198
|
+
return de_ListLinuxSubscriptionsCommandError(output, context);
|
|
199
199
|
}
|
|
200
200
|
const contents = map({
|
|
201
201
|
$metadata: deserializeMetadata(output),
|
|
@@ -205,12 +205,12 @@ const deserializeAws_restJson1ListLinuxSubscriptionsCommand = async (output, con
|
|
|
205
205
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
206
206
|
}
|
|
207
207
|
if (data.Subscriptions != null) {
|
|
208
|
-
contents.Subscriptions =
|
|
208
|
+
contents.Subscriptions = de_SubscriptionList(data.Subscriptions, context);
|
|
209
209
|
}
|
|
210
210
|
return contents;
|
|
211
211
|
};
|
|
212
|
-
exports.
|
|
213
|
-
const
|
|
212
|
+
exports.de_ListLinuxSubscriptionsCommand = de_ListLinuxSubscriptionsCommand;
|
|
213
|
+
const de_ListLinuxSubscriptionsCommandError = async (output, context) => {
|
|
214
214
|
const parsedOutput = {
|
|
215
215
|
...output,
|
|
216
216
|
body: await parseErrorBody(output.body, context),
|
|
@@ -219,13 +219,13 @@ const deserializeAws_restJson1ListLinuxSubscriptionsCommandError = async (output
|
|
|
219
219
|
switch (errorCode) {
|
|
220
220
|
case "InternalServerException":
|
|
221
221
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
|
|
222
|
-
throw await
|
|
222
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
223
223
|
case "ThrottlingException":
|
|
224
224
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
|
|
225
|
-
throw await
|
|
225
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
226
226
|
case "ValidationException":
|
|
227
227
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
|
|
228
|
-
throw await
|
|
228
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
229
229
|
default:
|
|
230
230
|
const parsedBody = parsedOutput.body;
|
|
231
231
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -236,33 +236,33 @@ const deserializeAws_restJson1ListLinuxSubscriptionsCommandError = async (output
|
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
};
|
|
239
|
-
const
|
|
239
|
+
const de_UpdateServiceSettingsCommand = async (output, context) => {
|
|
240
240
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
241
|
-
return
|
|
241
|
+
return de_UpdateServiceSettingsCommandError(output, context);
|
|
242
242
|
}
|
|
243
243
|
const contents = map({
|
|
244
244
|
$metadata: deserializeMetadata(output),
|
|
245
245
|
});
|
|
246
246
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
247
247
|
if (data.HomeRegions != null) {
|
|
248
|
-
contents.HomeRegions =
|
|
248
|
+
contents.HomeRegions = de_StringList(data.HomeRegions, context);
|
|
249
249
|
}
|
|
250
250
|
if (data.LinuxSubscriptionsDiscovery != null) {
|
|
251
251
|
contents.LinuxSubscriptionsDiscovery = (0, smithy_client_1.expectString)(data.LinuxSubscriptionsDiscovery);
|
|
252
252
|
}
|
|
253
253
|
if (data.LinuxSubscriptionsDiscoverySettings != null) {
|
|
254
|
-
contents.LinuxSubscriptionsDiscoverySettings =
|
|
254
|
+
contents.LinuxSubscriptionsDiscoverySettings = de_LinuxSubscriptionsDiscoverySettings(data.LinuxSubscriptionsDiscoverySettings, context);
|
|
255
255
|
}
|
|
256
256
|
if (data.Status != null) {
|
|
257
257
|
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
258
258
|
}
|
|
259
259
|
if (data.StatusMessage != null) {
|
|
260
|
-
contents.StatusMessage =
|
|
260
|
+
contents.StatusMessage = de_StringMap(data.StatusMessage, context);
|
|
261
261
|
}
|
|
262
262
|
return contents;
|
|
263
263
|
};
|
|
264
|
-
exports.
|
|
265
|
-
const
|
|
264
|
+
exports.de_UpdateServiceSettingsCommand = de_UpdateServiceSettingsCommand;
|
|
265
|
+
const de_UpdateServiceSettingsCommandError = async (output, context) => {
|
|
266
266
|
const parsedOutput = {
|
|
267
267
|
...output,
|
|
268
268
|
body: await parseErrorBody(output.body, context),
|
|
@@ -271,13 +271,13 @@ const deserializeAws_restJson1UpdateServiceSettingsCommandError = async (output,
|
|
|
271
271
|
switch (errorCode) {
|
|
272
272
|
case "InternalServerException":
|
|
273
273
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
|
|
274
|
-
throw await
|
|
274
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
275
275
|
case "ThrottlingException":
|
|
276
276
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
|
|
277
|
-
throw await
|
|
277
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
278
278
|
case "ValidationException":
|
|
279
279
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
|
|
280
|
-
throw await
|
|
280
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
281
281
|
default:
|
|
282
282
|
const parsedBody = parsedOutput.body;
|
|
283
283
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -289,7 +289,7 @@ const deserializeAws_restJson1UpdateServiceSettingsCommandError = async (output,
|
|
|
289
289
|
}
|
|
290
290
|
};
|
|
291
291
|
const map = smithy_client_1.map;
|
|
292
|
-
const
|
|
292
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
293
293
|
const contents = map({});
|
|
294
294
|
const data = parsedOutput.body;
|
|
295
295
|
if (data.message != null) {
|
|
@@ -301,7 +301,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
301
301
|
});
|
|
302
302
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
303
303
|
};
|
|
304
|
-
const
|
|
304
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
305
305
|
const contents = map({});
|
|
306
306
|
const data = parsedOutput.body;
|
|
307
307
|
if (data.message != null) {
|
|
@@ -313,7 +313,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
313
313
|
});
|
|
314
314
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
315
315
|
};
|
|
316
|
-
const
|
|
316
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
317
317
|
const contents = map({});
|
|
318
318
|
const data = parsedOutput.body;
|
|
319
319
|
if (data.message != null) {
|
|
@@ -325,67 +325,65 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
325
325
|
});
|
|
326
326
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
327
327
|
};
|
|
328
|
-
const
|
|
328
|
+
const se_Filter = (input, context) => {
|
|
329
329
|
return {
|
|
330
330
|
...(input.Name != null && { Name: input.Name }),
|
|
331
331
|
...(input.Operator != null && { Operator: input.Operator }),
|
|
332
|
-
...(input.Values != null && { Values:
|
|
332
|
+
...(input.Values != null && { Values: se_StringList(input.Values, context) }),
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
|
-
const
|
|
335
|
+
const se_FilterList = (input, context) => {
|
|
336
336
|
return input
|
|
337
337
|
.filter((e) => e != null)
|
|
338
338
|
.map((entry) => {
|
|
339
|
-
return
|
|
339
|
+
return se_Filter(entry, context);
|
|
340
340
|
});
|
|
341
341
|
};
|
|
342
|
-
const
|
|
342
|
+
const se_LinuxSubscriptionsDiscoverySettings = (input, context) => {
|
|
343
343
|
return {
|
|
344
344
|
...(input.OrganizationIntegration != null && { OrganizationIntegration: input.OrganizationIntegration }),
|
|
345
|
-
...(input.SourceRegions != null && {
|
|
346
|
-
SourceRegions: serializeAws_restJson1StringList(input.SourceRegions, context),
|
|
347
|
-
}),
|
|
345
|
+
...(input.SourceRegions != null && { SourceRegions: se_StringList(input.SourceRegions, context) }),
|
|
348
346
|
};
|
|
349
347
|
};
|
|
350
|
-
const
|
|
348
|
+
const se_StringList = (input, context) => {
|
|
351
349
|
return input
|
|
352
350
|
.filter((e) => e != null)
|
|
353
351
|
.map((entry) => {
|
|
354
352
|
return entry;
|
|
355
353
|
});
|
|
356
354
|
};
|
|
357
|
-
const
|
|
355
|
+
const de_Instance = (output, context) => {
|
|
358
356
|
return {
|
|
359
357
|
AccountID: (0, smithy_client_1.expectString)(output.AccountID),
|
|
360
358
|
AmiId: (0, smithy_client_1.expectString)(output.AmiId),
|
|
361
359
|
InstanceID: (0, smithy_client_1.expectString)(output.InstanceID),
|
|
362
360
|
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
363
361
|
LastUpdatedTime: (0, smithy_client_1.expectString)(output.LastUpdatedTime),
|
|
364
|
-
ProductCode: output.ProductCode != null ?
|
|
362
|
+
ProductCode: output.ProductCode != null ? de_ProductCodeList(output.ProductCode, context) : undefined,
|
|
365
363
|
Region: (0, smithy_client_1.expectString)(output.Region),
|
|
366
364
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
367
365
|
SubscriptionName: (0, smithy_client_1.expectString)(output.SubscriptionName),
|
|
368
366
|
UsageOperation: (0, smithy_client_1.expectString)(output.UsageOperation),
|
|
369
367
|
};
|
|
370
368
|
};
|
|
371
|
-
const
|
|
369
|
+
const de_InstanceList = (output, context) => {
|
|
372
370
|
const retVal = (output || [])
|
|
373
371
|
.filter((e) => e != null)
|
|
374
372
|
.map((entry) => {
|
|
375
373
|
if (entry === null) {
|
|
376
374
|
return null;
|
|
377
375
|
}
|
|
378
|
-
return
|
|
376
|
+
return de_Instance(entry, context);
|
|
379
377
|
});
|
|
380
378
|
return retVal;
|
|
381
379
|
};
|
|
382
|
-
const
|
|
380
|
+
const de_LinuxSubscriptionsDiscoverySettings = (output, context) => {
|
|
383
381
|
return {
|
|
384
382
|
OrganizationIntegration: (0, smithy_client_1.expectString)(output.OrganizationIntegration),
|
|
385
|
-
SourceRegions: output.SourceRegions != null ?
|
|
383
|
+
SourceRegions: output.SourceRegions != null ? de_StringList(output.SourceRegions, context) : undefined,
|
|
386
384
|
};
|
|
387
385
|
};
|
|
388
|
-
const
|
|
386
|
+
const de_ProductCodeList = (output, context) => {
|
|
389
387
|
const retVal = (output || [])
|
|
390
388
|
.filter((e) => e != null)
|
|
391
389
|
.map((entry) => {
|
|
@@ -396,7 +394,7 @@ const deserializeAws_restJson1ProductCodeList = (output, context) => {
|
|
|
396
394
|
});
|
|
397
395
|
return retVal;
|
|
398
396
|
};
|
|
399
|
-
const
|
|
397
|
+
const de_StringList = (output, context) => {
|
|
400
398
|
const retVal = (output || [])
|
|
401
399
|
.filter((e) => e != null)
|
|
402
400
|
.map((entry) => {
|
|
@@ -407,7 +405,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
407
405
|
});
|
|
408
406
|
return retVal;
|
|
409
407
|
};
|
|
410
|
-
const
|
|
408
|
+
const de_StringMap = (output, context) => {
|
|
411
409
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
412
410
|
if (value === null) {
|
|
413
411
|
return acc;
|
|
@@ -416,21 +414,21 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
416
414
|
return acc;
|
|
417
415
|
}, {});
|
|
418
416
|
};
|
|
419
|
-
const
|
|
417
|
+
const de_Subscription = (output, context) => {
|
|
420
418
|
return {
|
|
421
419
|
InstanceCount: (0, smithy_client_1.expectLong)(output.InstanceCount),
|
|
422
420
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
423
421
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
424
422
|
};
|
|
425
423
|
};
|
|
426
|
-
const
|
|
424
|
+
const de_SubscriptionList = (output, context) => {
|
|
427
425
|
const retVal = (output || [])
|
|
428
426
|
.filter((e) => e != null)
|
|
429
427
|
.map((entry) => {
|
|
430
428
|
if (entry === null) {
|
|
431
429
|
return null;
|
|
432
430
|
}
|
|
433
|
-
return
|
|
431
|
+
return de_Subscription(entry, context);
|
|
434
432
|
});
|
|
435
433
|
return retVal;
|
|
436
434
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_GetServiceSettingsCommand, se_GetServiceSettingsCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class GetServiceSettingsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class GetServiceSettingsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_GetServiceSettingsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_GetServiceSettingsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_ListLinuxSubscriptionInstancesCommand, se_ListLinuxSubscriptionInstancesCommand, } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class ListLinuxSubscriptionInstancesCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class ListLinuxSubscriptionInstancesCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_ListLinuxSubscriptionInstancesCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_ListLinuxSubscriptionInstancesCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_ListLinuxSubscriptionsCommand, se_ListLinuxSubscriptionsCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class ListLinuxSubscriptionsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class ListLinuxSubscriptionsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_ListLinuxSubscriptionsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_ListLinuxSubscriptionsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { de_UpdateServiceSettingsCommand, se_UpdateServiceSettingsCommand } from "../protocols/Aws_restJson1";
|
|
5
5
|
export class UpdateServiceSettingsCommand extends $Command {
|
|
6
6
|
static getEndpointParameterInstructions() {
|
|
7
7
|
return {
|
|
@@ -33,9 +33,9 @@ export class UpdateServiceSettingsCommand extends $Command {
|
|
|
33
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
34
|
}
|
|
35
35
|
serialize(input, context) {
|
|
36
|
-
return
|
|
36
|
+
return se_UpdateServiceSettingsCommand(input, context);
|
|
37
37
|
}
|
|
38
38
|
deserialize(output, context) {
|
|
39
|
-
return
|
|
39
|
+
return de_UpdateServiceSettingsCommand(output, context);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map as __map, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { LicenseManagerLinuxSubscriptionsServiceException as __BaseException } from "../models/LicenseManagerLinuxSubscriptionsServiceException";
|
|
4
4
|
import { InternalServerException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_GetServiceSettingsCommand = async (input, context) => {
|
|
6
6
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
@@ -20,7 +20,7 @@ export const serializeAws_restJson1GetServiceSettingsCommand = async (input, con
|
|
|
20
20
|
body,
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_ListLinuxSubscriptionInstancesCommand = async (input, context) => {
|
|
24
24
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
25
25
|
const headers = {
|
|
26
26
|
"content-type": "application/json",
|
|
@@ -29,7 +29,7 @@ export const serializeAws_restJson1ListLinuxSubscriptionInstancesCommand = async
|
|
|
29
29
|
"/subscription/ListLinuxSubscriptionInstances";
|
|
30
30
|
let body;
|
|
31
31
|
body = JSON.stringify({
|
|
32
|
-
...(input.Filters != null && { Filters:
|
|
32
|
+
...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
|
|
33
33
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
34
34
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
35
35
|
});
|
|
@@ -43,7 +43,7 @@ export const serializeAws_restJson1ListLinuxSubscriptionInstancesCommand = async
|
|
|
43
43
|
body,
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
export const
|
|
46
|
+
export const se_ListLinuxSubscriptionsCommand = async (input, context) => {
|
|
47
47
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
48
48
|
const headers = {
|
|
49
49
|
"content-type": "application/json",
|
|
@@ -51,7 +51,7 @@ export const serializeAws_restJson1ListLinuxSubscriptionsCommand = async (input,
|
|
|
51
51
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/subscription/ListLinuxSubscriptions";
|
|
52
52
|
let body;
|
|
53
53
|
body = JSON.stringify({
|
|
54
|
-
...(input.Filters != null && { Filters:
|
|
54
|
+
...(input.Filters != null && { Filters: se_FilterList(input.Filters, context) }),
|
|
55
55
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
56
56
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
57
57
|
});
|
|
@@ -65,7 +65,7 @@ export const serializeAws_restJson1ListLinuxSubscriptionsCommand = async (input,
|
|
|
65
65
|
body,
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_UpdateServiceSettingsCommand = async (input, context) => {
|
|
69
69
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
70
70
|
const headers = {
|
|
71
71
|
"content-type": "application/json",
|
|
@@ -78,7 +78,7 @@ export const serializeAws_restJson1UpdateServiceSettingsCommand = async (input,
|
|
|
78
78
|
LinuxSubscriptionsDiscovery: input.LinuxSubscriptionsDiscovery,
|
|
79
79
|
}),
|
|
80
80
|
...(input.LinuxSubscriptionsDiscoverySettings != null && {
|
|
81
|
-
LinuxSubscriptionsDiscoverySettings:
|
|
81
|
+
LinuxSubscriptionsDiscoverySettings: se_LinuxSubscriptionsDiscoverySettings(input.LinuxSubscriptionsDiscoverySettings, context),
|
|
82
82
|
}),
|
|
83
83
|
});
|
|
84
84
|
return new __HttpRequest({
|
|
@@ -91,32 +91,32 @@ export const serializeAws_restJson1UpdateServiceSettingsCommand = async (input,
|
|
|
91
91
|
body,
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
|
-
export const
|
|
94
|
+
export const de_GetServiceSettingsCommand = async (output, context) => {
|
|
95
95
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
96
|
-
return
|
|
96
|
+
return de_GetServiceSettingsCommandError(output, context);
|
|
97
97
|
}
|
|
98
98
|
const contents = map({
|
|
99
99
|
$metadata: deserializeMetadata(output),
|
|
100
100
|
});
|
|
101
101
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
102
102
|
if (data.HomeRegions != null) {
|
|
103
|
-
contents.HomeRegions =
|
|
103
|
+
contents.HomeRegions = de_StringList(data.HomeRegions, context);
|
|
104
104
|
}
|
|
105
105
|
if (data.LinuxSubscriptionsDiscovery != null) {
|
|
106
106
|
contents.LinuxSubscriptionsDiscovery = __expectString(data.LinuxSubscriptionsDiscovery);
|
|
107
107
|
}
|
|
108
108
|
if (data.LinuxSubscriptionsDiscoverySettings != null) {
|
|
109
|
-
contents.LinuxSubscriptionsDiscoverySettings =
|
|
109
|
+
contents.LinuxSubscriptionsDiscoverySettings = de_LinuxSubscriptionsDiscoverySettings(data.LinuxSubscriptionsDiscoverySettings, context);
|
|
110
110
|
}
|
|
111
111
|
if (data.Status != null) {
|
|
112
112
|
contents.Status = __expectString(data.Status);
|
|
113
113
|
}
|
|
114
114
|
if (data.StatusMessage != null) {
|
|
115
|
-
contents.StatusMessage =
|
|
115
|
+
contents.StatusMessage = de_StringMap(data.StatusMessage, context);
|
|
116
116
|
}
|
|
117
117
|
return contents;
|
|
118
118
|
};
|
|
119
|
-
const
|
|
119
|
+
const de_GetServiceSettingsCommandError = async (output, context) => {
|
|
120
120
|
const parsedOutput = {
|
|
121
121
|
...output,
|
|
122
122
|
body: await parseErrorBody(output.body, context),
|
|
@@ -125,13 +125,13 @@ const deserializeAws_restJson1GetServiceSettingsCommandError = async (output, co
|
|
|
125
125
|
switch (errorCode) {
|
|
126
126
|
case "InternalServerException":
|
|
127
127
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
|
|
128
|
-
throw await
|
|
128
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
129
129
|
case "ThrottlingException":
|
|
130
130
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
|
|
131
|
-
throw await
|
|
131
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
132
132
|
case "ValidationException":
|
|
133
133
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
|
|
134
|
-
throw await
|
|
134
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
135
135
|
default:
|
|
136
136
|
const parsedBody = parsedOutput.body;
|
|
137
137
|
throwDefaultError({
|
|
@@ -142,23 +142,23 @@ const deserializeAws_restJson1GetServiceSettingsCommandError = async (output, co
|
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
|
-
export const
|
|
145
|
+
export const de_ListLinuxSubscriptionInstancesCommand = async (output, context) => {
|
|
146
146
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
147
|
-
return
|
|
147
|
+
return de_ListLinuxSubscriptionInstancesCommandError(output, context);
|
|
148
148
|
}
|
|
149
149
|
const contents = map({
|
|
150
150
|
$metadata: deserializeMetadata(output),
|
|
151
151
|
});
|
|
152
152
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
153
153
|
if (data.Instances != null) {
|
|
154
|
-
contents.Instances =
|
|
154
|
+
contents.Instances = de_InstanceList(data.Instances, context);
|
|
155
155
|
}
|
|
156
156
|
if (data.NextToken != null) {
|
|
157
157
|
contents.NextToken = __expectString(data.NextToken);
|
|
158
158
|
}
|
|
159
159
|
return contents;
|
|
160
160
|
};
|
|
161
|
-
const
|
|
161
|
+
const de_ListLinuxSubscriptionInstancesCommandError = async (output, context) => {
|
|
162
162
|
const parsedOutput = {
|
|
163
163
|
...output,
|
|
164
164
|
body: await parseErrorBody(output.body, context),
|
|
@@ -167,13 +167,13 @@ const deserializeAws_restJson1ListLinuxSubscriptionInstancesCommandError = async
|
|
|
167
167
|
switch (errorCode) {
|
|
168
168
|
case "InternalServerException":
|
|
169
169
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
|
|
170
|
-
throw await
|
|
170
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
171
171
|
case "ThrottlingException":
|
|
172
172
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
|
|
173
|
-
throw await
|
|
173
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
174
174
|
case "ValidationException":
|
|
175
175
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
|
|
176
|
-
throw await
|
|
176
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
177
177
|
default:
|
|
178
178
|
const parsedBody = parsedOutput.body;
|
|
179
179
|
throwDefaultError({
|
|
@@ -184,9 +184,9 @@ const deserializeAws_restJson1ListLinuxSubscriptionInstancesCommandError = async
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
|
-
export const
|
|
187
|
+
export const de_ListLinuxSubscriptionsCommand = async (output, context) => {
|
|
188
188
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
189
|
-
return
|
|
189
|
+
return de_ListLinuxSubscriptionsCommandError(output, context);
|
|
190
190
|
}
|
|
191
191
|
const contents = map({
|
|
192
192
|
$metadata: deserializeMetadata(output),
|
|
@@ -196,11 +196,11 @@ export const deserializeAws_restJson1ListLinuxSubscriptionsCommand = async (outp
|
|
|
196
196
|
contents.NextToken = __expectString(data.NextToken);
|
|
197
197
|
}
|
|
198
198
|
if (data.Subscriptions != null) {
|
|
199
|
-
contents.Subscriptions =
|
|
199
|
+
contents.Subscriptions = de_SubscriptionList(data.Subscriptions, context);
|
|
200
200
|
}
|
|
201
201
|
return contents;
|
|
202
202
|
};
|
|
203
|
-
const
|
|
203
|
+
const de_ListLinuxSubscriptionsCommandError = async (output, context) => {
|
|
204
204
|
const parsedOutput = {
|
|
205
205
|
...output,
|
|
206
206
|
body: await parseErrorBody(output.body, context),
|
|
@@ -209,13 +209,13 @@ const deserializeAws_restJson1ListLinuxSubscriptionsCommandError = async (output
|
|
|
209
209
|
switch (errorCode) {
|
|
210
210
|
case "InternalServerException":
|
|
211
211
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
|
|
212
|
-
throw await
|
|
212
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
213
213
|
case "ThrottlingException":
|
|
214
214
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
|
|
215
|
-
throw await
|
|
215
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
216
216
|
case "ValidationException":
|
|
217
217
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
|
|
218
|
-
throw await
|
|
218
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
219
219
|
default:
|
|
220
220
|
const parsedBody = parsedOutput.body;
|
|
221
221
|
throwDefaultError({
|
|
@@ -226,32 +226,32 @@ const deserializeAws_restJson1ListLinuxSubscriptionsCommandError = async (output
|
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
|
-
export const
|
|
229
|
+
export const de_UpdateServiceSettingsCommand = async (output, context) => {
|
|
230
230
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
231
|
-
return
|
|
231
|
+
return de_UpdateServiceSettingsCommandError(output, context);
|
|
232
232
|
}
|
|
233
233
|
const contents = map({
|
|
234
234
|
$metadata: deserializeMetadata(output),
|
|
235
235
|
});
|
|
236
236
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
237
237
|
if (data.HomeRegions != null) {
|
|
238
|
-
contents.HomeRegions =
|
|
238
|
+
contents.HomeRegions = de_StringList(data.HomeRegions, context);
|
|
239
239
|
}
|
|
240
240
|
if (data.LinuxSubscriptionsDiscovery != null) {
|
|
241
241
|
contents.LinuxSubscriptionsDiscovery = __expectString(data.LinuxSubscriptionsDiscovery);
|
|
242
242
|
}
|
|
243
243
|
if (data.LinuxSubscriptionsDiscoverySettings != null) {
|
|
244
|
-
contents.LinuxSubscriptionsDiscoverySettings =
|
|
244
|
+
contents.LinuxSubscriptionsDiscoverySettings = de_LinuxSubscriptionsDiscoverySettings(data.LinuxSubscriptionsDiscoverySettings, context);
|
|
245
245
|
}
|
|
246
246
|
if (data.Status != null) {
|
|
247
247
|
contents.Status = __expectString(data.Status);
|
|
248
248
|
}
|
|
249
249
|
if (data.StatusMessage != null) {
|
|
250
|
-
contents.StatusMessage =
|
|
250
|
+
contents.StatusMessage = de_StringMap(data.StatusMessage, context);
|
|
251
251
|
}
|
|
252
252
|
return contents;
|
|
253
253
|
};
|
|
254
|
-
const
|
|
254
|
+
const de_UpdateServiceSettingsCommandError = async (output, context) => {
|
|
255
255
|
const parsedOutput = {
|
|
256
256
|
...output,
|
|
257
257
|
body: await parseErrorBody(output.body, context),
|
|
@@ -260,13 +260,13 @@ const deserializeAws_restJson1UpdateServiceSettingsCommandError = async (output,
|
|
|
260
260
|
switch (errorCode) {
|
|
261
261
|
case "InternalServerException":
|
|
262
262
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#InternalServerException":
|
|
263
|
-
throw await
|
|
263
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
264
264
|
case "ThrottlingException":
|
|
265
265
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ThrottlingException":
|
|
266
|
-
throw await
|
|
266
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
267
267
|
case "ValidationException":
|
|
268
268
|
case "com.amazonaws.licensemanagerlinuxsubscriptions#ValidationException":
|
|
269
|
-
throw await
|
|
269
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
270
270
|
default:
|
|
271
271
|
const parsedBody = parsedOutput.body;
|
|
272
272
|
throwDefaultError({
|
|
@@ -278,7 +278,7 @@ const deserializeAws_restJson1UpdateServiceSettingsCommandError = async (output,
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
const map = __map;
|
|
281
|
-
const
|
|
281
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
282
282
|
const contents = map({});
|
|
283
283
|
const data = parsedOutput.body;
|
|
284
284
|
if (data.message != null) {
|
|
@@ -290,7 +290,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
290
290
|
});
|
|
291
291
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
292
292
|
};
|
|
293
|
-
const
|
|
293
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
294
294
|
const contents = map({});
|
|
295
295
|
const data = parsedOutput.body;
|
|
296
296
|
if (data.message != null) {
|
|
@@ -302,7 +302,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
302
302
|
});
|
|
303
303
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
304
304
|
};
|
|
305
|
-
const
|
|
305
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
306
306
|
const contents = map({});
|
|
307
307
|
const data = parsedOutput.body;
|
|
308
308
|
if (data.message != null) {
|
|
@@ -314,67 +314,65 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
314
314
|
});
|
|
315
315
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
316
316
|
};
|
|
317
|
-
const
|
|
317
|
+
const se_Filter = (input, context) => {
|
|
318
318
|
return {
|
|
319
319
|
...(input.Name != null && { Name: input.Name }),
|
|
320
320
|
...(input.Operator != null && { Operator: input.Operator }),
|
|
321
|
-
...(input.Values != null && { Values:
|
|
321
|
+
...(input.Values != null && { Values: se_StringList(input.Values, context) }),
|
|
322
322
|
};
|
|
323
323
|
};
|
|
324
|
-
const
|
|
324
|
+
const se_FilterList = (input, context) => {
|
|
325
325
|
return input
|
|
326
326
|
.filter((e) => e != null)
|
|
327
327
|
.map((entry) => {
|
|
328
|
-
return
|
|
328
|
+
return se_Filter(entry, context);
|
|
329
329
|
});
|
|
330
330
|
};
|
|
331
|
-
const
|
|
331
|
+
const se_LinuxSubscriptionsDiscoverySettings = (input, context) => {
|
|
332
332
|
return {
|
|
333
333
|
...(input.OrganizationIntegration != null && { OrganizationIntegration: input.OrganizationIntegration }),
|
|
334
|
-
...(input.SourceRegions != null && {
|
|
335
|
-
SourceRegions: serializeAws_restJson1StringList(input.SourceRegions, context),
|
|
336
|
-
}),
|
|
334
|
+
...(input.SourceRegions != null && { SourceRegions: se_StringList(input.SourceRegions, context) }),
|
|
337
335
|
};
|
|
338
336
|
};
|
|
339
|
-
const
|
|
337
|
+
const se_StringList = (input, context) => {
|
|
340
338
|
return input
|
|
341
339
|
.filter((e) => e != null)
|
|
342
340
|
.map((entry) => {
|
|
343
341
|
return entry;
|
|
344
342
|
});
|
|
345
343
|
};
|
|
346
|
-
const
|
|
344
|
+
const de_Instance = (output, context) => {
|
|
347
345
|
return {
|
|
348
346
|
AccountID: __expectString(output.AccountID),
|
|
349
347
|
AmiId: __expectString(output.AmiId),
|
|
350
348
|
InstanceID: __expectString(output.InstanceID),
|
|
351
349
|
InstanceType: __expectString(output.InstanceType),
|
|
352
350
|
LastUpdatedTime: __expectString(output.LastUpdatedTime),
|
|
353
|
-
ProductCode: output.ProductCode != null ?
|
|
351
|
+
ProductCode: output.ProductCode != null ? de_ProductCodeList(output.ProductCode, context) : undefined,
|
|
354
352
|
Region: __expectString(output.Region),
|
|
355
353
|
Status: __expectString(output.Status),
|
|
356
354
|
SubscriptionName: __expectString(output.SubscriptionName),
|
|
357
355
|
UsageOperation: __expectString(output.UsageOperation),
|
|
358
356
|
};
|
|
359
357
|
};
|
|
360
|
-
const
|
|
358
|
+
const de_InstanceList = (output, context) => {
|
|
361
359
|
const retVal = (output || [])
|
|
362
360
|
.filter((e) => e != null)
|
|
363
361
|
.map((entry) => {
|
|
364
362
|
if (entry === null) {
|
|
365
363
|
return null;
|
|
366
364
|
}
|
|
367
|
-
return
|
|
365
|
+
return de_Instance(entry, context);
|
|
368
366
|
});
|
|
369
367
|
return retVal;
|
|
370
368
|
};
|
|
371
|
-
const
|
|
369
|
+
const de_LinuxSubscriptionsDiscoverySettings = (output, context) => {
|
|
372
370
|
return {
|
|
373
371
|
OrganizationIntegration: __expectString(output.OrganizationIntegration),
|
|
374
|
-
SourceRegions: output.SourceRegions != null ?
|
|
372
|
+
SourceRegions: output.SourceRegions != null ? de_StringList(output.SourceRegions, context) : undefined,
|
|
375
373
|
};
|
|
376
374
|
};
|
|
377
|
-
const
|
|
375
|
+
const de_ProductCodeList = (output, context) => {
|
|
378
376
|
const retVal = (output || [])
|
|
379
377
|
.filter((e) => e != null)
|
|
380
378
|
.map((entry) => {
|
|
@@ -385,7 +383,7 @@ const deserializeAws_restJson1ProductCodeList = (output, context) => {
|
|
|
385
383
|
});
|
|
386
384
|
return retVal;
|
|
387
385
|
};
|
|
388
|
-
const
|
|
386
|
+
const de_StringList = (output, context) => {
|
|
389
387
|
const retVal = (output || [])
|
|
390
388
|
.filter((e) => e != null)
|
|
391
389
|
.map((entry) => {
|
|
@@ -396,7 +394,7 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
396
394
|
});
|
|
397
395
|
return retVal;
|
|
398
396
|
};
|
|
399
|
-
const
|
|
397
|
+
const de_StringMap = (output, context) => {
|
|
400
398
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
401
399
|
if (value === null) {
|
|
402
400
|
return acc;
|
|
@@ -405,21 +403,21 @@ const deserializeAws_restJson1StringMap = (output, context) => {
|
|
|
405
403
|
return acc;
|
|
406
404
|
}, {});
|
|
407
405
|
};
|
|
408
|
-
const
|
|
406
|
+
const de_Subscription = (output, context) => {
|
|
409
407
|
return {
|
|
410
408
|
InstanceCount: __expectLong(output.InstanceCount),
|
|
411
409
|
Name: __expectString(output.Name),
|
|
412
410
|
Type: __expectString(output.Type),
|
|
413
411
|
};
|
|
414
412
|
};
|
|
415
|
-
const
|
|
413
|
+
const de_SubscriptionList = (output, context) => {
|
|
416
414
|
const retVal = (output || [])
|
|
417
415
|
.filter((e) => e != null)
|
|
418
416
|
.map((entry) => {
|
|
419
417
|
if (entry === null) {
|
|
420
418
|
return null;
|
|
421
419
|
}
|
|
422
|
-
return
|
|
420
|
+
return de_Subscription(entry, context);
|
|
423
421
|
});
|
|
424
422
|
return retVal;
|
|
425
423
|
};
|
|
@@ -4,11 +4,35 @@ import { GetServiceSettingsCommandInput, GetServiceSettingsCommandOutput } from
|
|
|
4
4
|
import { ListLinuxSubscriptionInstancesCommandInput, ListLinuxSubscriptionInstancesCommandOutput } from "../commands/ListLinuxSubscriptionInstancesCommand";
|
|
5
5
|
import { ListLinuxSubscriptionsCommandInput, ListLinuxSubscriptionsCommandOutput } from "../commands/ListLinuxSubscriptionsCommand";
|
|
6
6
|
import { UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput } from "../commands/UpdateServiceSettingsCommand";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
7
|
+
/**
|
|
8
|
+
* serializeAws_restJson1GetServiceSettingsCommand
|
|
9
|
+
*/
|
|
10
|
+
export declare const se_GetServiceSettingsCommand: (input: GetServiceSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
/**
|
|
12
|
+
* serializeAws_restJson1ListLinuxSubscriptionInstancesCommand
|
|
13
|
+
*/
|
|
14
|
+
export declare const se_ListLinuxSubscriptionInstancesCommand: (input: ListLinuxSubscriptionInstancesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
/**
|
|
16
|
+
* serializeAws_restJson1ListLinuxSubscriptionsCommand
|
|
17
|
+
*/
|
|
18
|
+
export declare const se_ListLinuxSubscriptionsCommand: (input: ListLinuxSubscriptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
/**
|
|
20
|
+
* serializeAws_restJson1UpdateServiceSettingsCommand
|
|
21
|
+
*/
|
|
22
|
+
export declare const se_UpdateServiceSettingsCommand: (input: UpdateServiceSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* deserializeAws_restJson1GetServiceSettingsCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const de_GetServiceSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetServiceSettingsCommandOutput>;
|
|
27
|
+
/**
|
|
28
|
+
* deserializeAws_restJson1ListLinuxSubscriptionInstancesCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const de_ListLinuxSubscriptionInstancesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLinuxSubscriptionInstancesCommandOutput>;
|
|
31
|
+
/**
|
|
32
|
+
* deserializeAws_restJson1ListLinuxSubscriptionsCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const de_ListLinuxSubscriptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLinuxSubscriptionsCommandOutput>;
|
|
35
|
+
/**
|
|
36
|
+
* deserializeAws_restJson1UpdateServiceSettingsCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const de_UpdateServiceSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateServiceSettingsCommandOutput>;
|
|
@@ -19,35 +19,35 @@ import {
|
|
|
19
19
|
UpdateServiceSettingsCommandInput,
|
|
20
20
|
UpdateServiceSettingsCommandOutput,
|
|
21
21
|
} from "../commands/UpdateServiceSettingsCommand";
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const se_GetServiceSettingsCommand: (
|
|
23
23
|
input: GetServiceSettingsCommandInput,
|
|
24
24
|
context: __SerdeContext
|
|
25
25
|
) => Promise<__HttpRequest>;
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const se_ListLinuxSubscriptionInstancesCommand: (
|
|
27
27
|
input: ListLinuxSubscriptionInstancesCommandInput,
|
|
28
28
|
context: __SerdeContext
|
|
29
29
|
) => Promise<__HttpRequest>;
|
|
30
|
-
export declare const
|
|
30
|
+
export declare const se_ListLinuxSubscriptionsCommand: (
|
|
31
31
|
input: ListLinuxSubscriptionsCommandInput,
|
|
32
32
|
context: __SerdeContext
|
|
33
33
|
) => Promise<__HttpRequest>;
|
|
34
|
-
export declare const
|
|
34
|
+
export declare const se_UpdateServiceSettingsCommand: (
|
|
35
35
|
input: UpdateServiceSettingsCommandInput,
|
|
36
36
|
context: __SerdeContext
|
|
37
37
|
) => Promise<__HttpRequest>;
|
|
38
|
-
export declare const
|
|
38
|
+
export declare const de_GetServiceSettingsCommand: (
|
|
39
39
|
output: __HttpResponse,
|
|
40
40
|
context: __SerdeContext
|
|
41
41
|
) => Promise<GetServiceSettingsCommandOutput>;
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const de_ListLinuxSubscriptionInstancesCommand: (
|
|
43
43
|
output: __HttpResponse,
|
|
44
44
|
context: __SerdeContext
|
|
45
45
|
) => Promise<ListLinuxSubscriptionInstancesCommandOutput>;
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const de_ListLinuxSubscriptionsCommand: (
|
|
47
47
|
output: __HttpResponse,
|
|
48
48
|
context: __SerdeContext
|
|
49
49
|
) => Promise<ListLinuxSubscriptionsCommandOutput>;
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const de_UpdateServiceSettingsCommand: (
|
|
51
51
|
output: __HttpResponse,
|
|
52
52
|
context: __SerdeContext
|
|
53
53
|
) => Promise<UpdateServiceSettingsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-license-manager-linux-subscriptions",
|
|
3
3
|
"description": "AWS SDK for JavaScript License Manager Linux Subscriptions Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.309.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,37 +21,37 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.309.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.309.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.309.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.303.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.309.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.309.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|