@aws-sdk/client-resiliencehub 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/ResiliencehubClient.js +13 -13
- package/dist-cjs/commands/AddDraftAppVersionResourceMappingsCommand.js +3 -3
- package/dist-cjs/commands/CreateAppCommand.js +3 -3
- package/dist-cjs/commands/CreateRecommendationTemplateCommand.js +3 -3
- package/dist-cjs/commands/CreateResiliencyPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppAssessmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteAppCommand.js +3 -3
- package/dist-cjs/commands/DeleteRecommendationTemplateCommand.js +3 -3
- package/dist-cjs/commands/DeleteResiliencyPolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppAssessmentCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppVersionResourcesResolutionStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeAppVersionTemplateCommand.js +3 -3
- package/dist-cjs/commands/DescribeDraftAppVersionResourcesImportStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeResiliencyPolicyCommand.js +3 -3
- package/dist-cjs/commands/ImportResourcesToDraftAppVersionCommand.js +3 -3
- package/dist-cjs/commands/ListAlarmRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ListAppAssessmentsCommand.js +3 -3
- package/dist-cjs/commands/ListAppComponentCompliancesCommand.js +3 -3
- package/dist-cjs/commands/ListAppComponentRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ListAppVersionResourceMappingsCommand.js +3 -3
- package/dist-cjs/commands/ListAppVersionResourcesCommand.js +3 -3
- package/dist-cjs/commands/ListAppVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListAppsCommand.js +3 -3
- package/dist-cjs/commands/ListRecommendationTemplatesCommand.js +3 -3
- package/dist-cjs/commands/ListResiliencyPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListSopRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ListSuggestedResiliencyPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTestRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ListUnsupportedAppVersionResourcesCommand.js +3 -3
- package/dist-cjs/commands/PublishAppVersionCommand.js +3 -3
- package/dist-cjs/commands/PutDraftAppVersionTemplateCommand.js +3 -3
- package/dist-cjs/commands/RemoveDraftAppVersionResourceMappingsCommand.js +3 -3
- package/dist-cjs/commands/ResolveAppVersionResourcesCommand.js +3 -3
- package/dist-cjs/commands/StartAppAssessmentCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAppCommand.js +3 -3
- package/dist-cjs/commands/UpdateResiliencyPolicyCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +295 -295
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Resiliencehub.js +39 -39
- package/dist-es/pagination/ListAlarmRecommendationsPaginator.js +4 -4
- package/dist-es/pagination/ListAppAssessmentsPaginator.js +4 -4
- package/dist-es/pagination/ListAppComponentCompliancesPaginator.js +4 -4
- package/dist-es/pagination/ListAppComponentRecommendationsPaginator.js +4 -4
- package/dist-es/pagination/ListAppVersionResourceMappingsPaginator.js +4 -4
- package/dist-es/pagination/ListAppVersionResourcesPaginator.js +4 -4
- package/dist-es/pagination/ListAppVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListAppsPaginator.js +4 -4
- package/dist-es/pagination/ListRecommendationTemplatesPaginator.js +4 -4
- package/dist-es/pagination/ListResiliencyPoliciesPaginator.js +4 -4
- package/dist-es/pagination/ListSopRecommendationsPaginator.js +4 -4
- package/dist-es/pagination/ListSuggestedResiliencyPoliciesPaginator.js +4 -4
- package/dist-es/pagination/ListTestRecommendationsPaginator.js +4 -4
- package/dist-es/pagination/ListUnsupportedAppVersionResourcesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +39 -39
- package/dist-types/ResiliencehubClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -14,7 +14,7 @@ export var serializeAws_restJson1AddDraftAppVersionResourceMappingsCommand = fun
|
|
|
14
14
|
headers = {
|
|
15
15
|
"content-type": "application/json",
|
|
16
16
|
};
|
|
17
|
-
resolvedPath = ""
|
|
17
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/add-draft-app-version-resource-mappings";
|
|
18
18
|
body = JSON.stringify(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.resourceMappings !== undefined &&
|
|
19
19
|
input.resourceMappings !== null && {
|
|
20
20
|
resourceMappings: serializeAws_restJson1ResourceMappingList(input.resourceMappings, context),
|
|
@@ -42,7 +42,7 @@ export var serializeAws_restJson1CreateAppCommand = function (input, context) {
|
|
|
42
42
|
headers = {
|
|
43
43
|
"content-type": "application/json",
|
|
44
44
|
};
|
|
45
|
-
resolvedPath = ""
|
|
45
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/create-app";
|
|
46
46
|
body = JSON.stringify(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.description !== undefined && input.description !== null && { description: input.description })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
|
|
47
47
|
return [2, new __HttpRequest({
|
|
48
48
|
protocol: protocol,
|
|
@@ -67,7 +67,7 @@ export var serializeAws_restJson1CreateRecommendationTemplateCommand = function
|
|
|
67
67
|
headers = {
|
|
68
68
|
"content-type": "application/json",
|
|
69
69
|
};
|
|
70
|
-
resolvedPath = ""
|
|
70
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/create-recommendation-template";
|
|
71
71
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn })), (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.format !== undefined && input.format !== null && { format: input.format })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.recommendationIds !== undefined &&
|
|
72
72
|
input.recommendationIds !== null && {
|
|
73
73
|
recommendationIds: serializeAws_restJson1RecommendationIdList(input.recommendationIds, context),
|
|
@@ -98,7 +98,7 @@ export var serializeAws_restJson1CreateResiliencyPolicyCommand = function (input
|
|
|
98
98
|
headers = {
|
|
99
99
|
"content-type": "application/json",
|
|
100
100
|
};
|
|
101
|
-
resolvedPath = ""
|
|
101
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/create-resiliency-policy";
|
|
102
102
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.dataLocationConstraint !== undefined &&
|
|
103
103
|
input.dataLocationConstraint !== null && { dataLocationConstraint: input.dataLocationConstraint })), (input.policy !== undefined &&
|
|
104
104
|
input.policy !== null && { policy: serializeAws_restJson1DisruptionPolicy(input.policy, context) })), (input.policyDescription !== undefined &&
|
|
@@ -126,7 +126,7 @@ export var serializeAws_restJson1DeleteAppCommand = function (input, context) {
|
|
|
126
126
|
headers = {
|
|
127
127
|
"content-type": "application/json",
|
|
128
128
|
};
|
|
129
|
-
resolvedPath = ""
|
|
129
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/delete-app";
|
|
130
130
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete })));
|
|
131
131
|
return [2, new __HttpRequest({
|
|
132
132
|
protocol: protocol,
|
|
@@ -151,7 +151,7 @@ export var serializeAws_restJson1DeleteAppAssessmentCommand = function (input, c
|
|
|
151
151
|
headers = {
|
|
152
152
|
"content-type": "application/json",
|
|
153
153
|
};
|
|
154
|
-
resolvedPath = ""
|
|
154
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/delete-app-assessment";
|
|
155
155
|
body = JSON.stringify(__assign(__assign({}, (input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }));
|
|
156
156
|
return [2, new __HttpRequest({
|
|
157
157
|
protocol: protocol,
|
|
@@ -176,7 +176,7 @@ export var serializeAws_restJson1DeleteRecommendationTemplateCommand = function
|
|
|
176
176
|
headers = {
|
|
177
177
|
"content-type": "application/json",
|
|
178
178
|
};
|
|
179
|
-
resolvedPath = ""
|
|
179
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/delete-recommendation-template";
|
|
180
180
|
body = JSON.stringify(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.recommendationTemplateArn !== undefined &&
|
|
181
181
|
input.recommendationTemplateArn !== null && { recommendationTemplateArn: input.recommendationTemplateArn })));
|
|
182
182
|
return [2, new __HttpRequest({
|
|
@@ -202,7 +202,7 @@ export var serializeAws_restJson1DeleteResiliencyPolicyCommand = function (input
|
|
|
202
202
|
headers = {
|
|
203
203
|
"content-type": "application/json",
|
|
204
204
|
};
|
|
205
|
-
resolvedPath = ""
|
|
205
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/delete-resiliency-policy";
|
|
206
206
|
body = JSON.stringify(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn })));
|
|
207
207
|
return [2, new __HttpRequest({
|
|
208
208
|
protocol: protocol,
|
|
@@ -226,7 +226,7 @@ export var serializeAws_restJson1DescribeAppCommand = function (input, context)
|
|
|
226
226
|
headers = {
|
|
227
227
|
"content-type": "application/json",
|
|
228
228
|
};
|
|
229
|
-
resolvedPath = ""
|
|
229
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-app";
|
|
230
230
|
body = JSON.stringify(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })));
|
|
231
231
|
return [2, new __HttpRequest({
|
|
232
232
|
protocol: protocol,
|
|
@@ -250,7 +250,7 @@ export var serializeAws_restJson1DescribeAppAssessmentCommand = function (input,
|
|
|
250
250
|
headers = {
|
|
251
251
|
"content-type": "application/json",
|
|
252
252
|
};
|
|
253
|
-
resolvedPath = ""
|
|
253
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-app-assessment";
|
|
254
254
|
body = JSON.stringify(__assign({}, (input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn })));
|
|
255
255
|
return [2, new __HttpRequest({
|
|
256
256
|
protocol: protocol,
|
|
@@ -274,7 +274,7 @@ export var serializeAws_restJson1DescribeAppVersionResourcesResolutionStatusComm
|
|
|
274
274
|
headers = {
|
|
275
275
|
"content-type": "application/json",
|
|
276
276
|
};
|
|
277
|
-
resolvedPath = ""
|
|
277
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
278
278
|
"/describe-app-version-resources-resolution-status";
|
|
279
279
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion })), (input.resolutionId !== undefined && input.resolutionId !== null && { resolutionId: input.resolutionId })));
|
|
280
280
|
return [2, new __HttpRequest({
|
|
@@ -299,7 +299,7 @@ export var serializeAws_restJson1DescribeAppVersionTemplateCommand = function (i
|
|
|
299
299
|
headers = {
|
|
300
300
|
"content-type": "application/json",
|
|
301
301
|
};
|
|
302
|
-
resolvedPath = ""
|
|
302
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-app-version-template";
|
|
303
303
|
body = JSON.stringify(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion })));
|
|
304
304
|
return [2, new __HttpRequest({
|
|
305
305
|
protocol: protocol,
|
|
@@ -323,7 +323,7 @@ export var serializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCom
|
|
|
323
323
|
headers = {
|
|
324
324
|
"content-type": "application/json",
|
|
325
325
|
};
|
|
326
|
-
resolvedPath = ""
|
|
326
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
327
327
|
"/describe-draft-app-version-resources-import-status";
|
|
328
328
|
body = JSON.stringify(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })));
|
|
329
329
|
return [2, new __HttpRequest({
|
|
@@ -348,7 +348,7 @@ export var serializeAws_restJson1DescribeResiliencyPolicyCommand = function (inp
|
|
|
348
348
|
headers = {
|
|
349
349
|
"content-type": "application/json",
|
|
350
350
|
};
|
|
351
|
-
resolvedPath = ""
|
|
351
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/describe-resiliency-policy";
|
|
352
352
|
body = JSON.stringify(__assign({}, (input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn })));
|
|
353
353
|
return [2, new __HttpRequest({
|
|
354
354
|
protocol: protocol,
|
|
@@ -372,7 +372,7 @@ export var serializeAws_restJson1ImportResourcesToDraftAppVersionCommand = funct
|
|
|
372
372
|
headers = {
|
|
373
373
|
"content-type": "application/json",
|
|
374
374
|
};
|
|
375
|
-
resolvedPath = ""
|
|
375
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/import-resources-to-draft-app-version";
|
|
376
376
|
body = JSON.stringify(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.sourceArns !== undefined &&
|
|
377
377
|
input.sourceArns !== null && { sourceArns: serializeAws_restJson1ArnList(input.sourceArns, context) })));
|
|
378
378
|
return [2, new __HttpRequest({
|
|
@@ -397,7 +397,7 @@ export var serializeAws_restJson1ListAlarmRecommendationsCommand = function (inp
|
|
|
397
397
|
headers = {
|
|
398
398
|
"content-type": "application/json",
|
|
399
399
|
};
|
|
400
|
-
resolvedPath = ""
|
|
400
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-alarm-recommendations";
|
|
401
401
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
402
402
|
return [2, new __HttpRequest({
|
|
403
403
|
protocol: protocol,
|
|
@@ -419,7 +419,7 @@ export var serializeAws_restJson1ListAppAssessmentsCommand = function (input, co
|
|
|
419
419
|
case 1:
|
|
420
420
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
421
421
|
headers = {};
|
|
422
|
-
resolvedPath = ""
|
|
422
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-app-assessments";
|
|
423
423
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.appArn !== undefined && { appArn: input.appArn })), (input.assessmentName !== undefined && { assessmentName: input.assessmentName })), (input.assessmentStatus !== undefined && {
|
|
424
424
|
assessmentStatus: (input.assessmentStatus || []).map(function (_entry) { return _entry; }),
|
|
425
425
|
})), (input.complianceStatus !== undefined && { complianceStatus: input.complianceStatus })), (input.invoker !== undefined && { invoker: input.invoker })), (input.reverseOrder !== undefined && { reverseOrder: input.reverseOrder.toString() })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
@@ -446,7 +446,7 @@ export var serializeAws_restJson1ListAppComponentCompliancesCommand = function (
|
|
|
446
446
|
headers = {
|
|
447
447
|
"content-type": "application/json",
|
|
448
448
|
};
|
|
449
|
-
resolvedPath = ""
|
|
449
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-app-component-compliances";
|
|
450
450
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
451
451
|
return [2, new __HttpRequest({
|
|
452
452
|
protocol: protocol,
|
|
@@ -470,7 +470,7 @@ export var serializeAws_restJson1ListAppComponentRecommendationsCommand = functi
|
|
|
470
470
|
headers = {
|
|
471
471
|
"content-type": "application/json",
|
|
472
472
|
};
|
|
473
|
-
resolvedPath = ""
|
|
473
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-app-component-recommendations";
|
|
474
474
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
475
475
|
return [2, new __HttpRequest({
|
|
476
476
|
protocol: protocol,
|
|
@@ -492,7 +492,7 @@ export var serializeAws_restJson1ListAppsCommand = function (input, context) { r
|
|
|
492
492
|
case 1:
|
|
493
493
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
494
494
|
headers = {};
|
|
495
|
-
resolvedPath = ""
|
|
495
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-apps";
|
|
496
496
|
query = __assign(__assign(__assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() })), (input.name !== undefined && { name: input.name })), (input.appArn !== undefined && { appArn: input.appArn }));
|
|
497
497
|
return [2, new __HttpRequest({
|
|
498
498
|
protocol: protocol,
|
|
@@ -517,7 +517,7 @@ export var serializeAws_restJson1ListAppVersionResourceMappingsCommand = functio
|
|
|
517
517
|
headers = {
|
|
518
518
|
"content-type": "application/json",
|
|
519
519
|
};
|
|
520
|
-
resolvedPath = ""
|
|
520
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-app-version-resource-mappings";
|
|
521
521
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
522
522
|
return [2, new __HttpRequest({
|
|
523
523
|
protocol: protocol,
|
|
@@ -541,7 +541,7 @@ export var serializeAws_restJson1ListAppVersionResourcesCommand = function (inpu
|
|
|
541
541
|
headers = {
|
|
542
542
|
"content-type": "application/json",
|
|
543
543
|
};
|
|
544
|
-
resolvedPath = ""
|
|
544
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-app-version-resources";
|
|
545
545
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resolutionId !== undefined && input.resolutionId !== null && { resolutionId: input.resolutionId })));
|
|
546
546
|
return [2, new __HttpRequest({
|
|
547
547
|
protocol: protocol,
|
|
@@ -565,7 +565,7 @@ export var serializeAws_restJson1ListAppVersionsCommand = function (input, conte
|
|
|
565
565
|
headers = {
|
|
566
566
|
"content-type": "application/json",
|
|
567
567
|
};
|
|
568
|
-
resolvedPath = ""
|
|
568
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-app-versions";
|
|
569
569
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
570
570
|
return [2, new __HttpRequest({
|
|
571
571
|
protocol: protocol,
|
|
@@ -587,7 +587,7 @@ export var serializeAws_restJson1ListRecommendationTemplatesCommand = function (
|
|
|
587
587
|
case 1:
|
|
588
588
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
589
589
|
headers = {};
|
|
590
|
-
resolvedPath = ""
|
|
590
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-recommendation-templates";
|
|
591
591
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.assessmentArn !== undefined && { assessmentArn: input.assessmentArn })), (input.reverseOrder !== undefined && { reverseOrder: input.reverseOrder.toString() })), (input.status !== undefined && { status: (input.status || []).map(function (_entry) { return _entry; }) })), (input.recommendationTemplateArn !== undefined && {
|
|
592
592
|
recommendationTemplateArn: input.recommendationTemplateArn,
|
|
593
593
|
})), (input.name !== undefined && { name: input.name })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
@@ -612,7 +612,7 @@ export var serializeAws_restJson1ListResiliencyPoliciesCommand = function (input
|
|
|
612
612
|
case 1:
|
|
613
613
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
614
614
|
headers = {};
|
|
615
|
-
resolvedPath = ""
|
|
615
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-resiliency-policies";
|
|
616
616
|
query = __assign(__assign(__assign({}, (input.policyName !== undefined && { policyName: input.policyName })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
617
617
|
return [2, new __HttpRequest({
|
|
618
618
|
protocol: protocol,
|
|
@@ -637,7 +637,7 @@ export var serializeAws_restJson1ListSopRecommendationsCommand = function (input
|
|
|
637
637
|
headers = {
|
|
638
638
|
"content-type": "application/json",
|
|
639
639
|
};
|
|
640
|
-
resolvedPath = ""
|
|
640
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-sop-recommendations";
|
|
641
641
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
642
642
|
return [2, new __HttpRequest({
|
|
643
643
|
protocol: protocol,
|
|
@@ -659,7 +659,7 @@ export var serializeAws_restJson1ListSuggestedResiliencyPoliciesCommand = functi
|
|
|
659
659
|
case 1:
|
|
660
660
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
661
661
|
headers = {};
|
|
662
|
-
resolvedPath = ""
|
|
662
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-suggested-resiliency-policies";
|
|
663
663
|
query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
664
664
|
return [2, new __HttpRequest({
|
|
665
665
|
protocol: protocol,
|
|
@@ -682,7 +682,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
682
682
|
case 1:
|
|
683
683
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
684
684
|
headers = {};
|
|
685
|
-
resolvedPath = ""
|
|
685
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
686
686
|
if (input.resourceArn !== undefined) {
|
|
687
687
|
labelValue = input.resourceArn;
|
|
688
688
|
if (labelValue.length <= 0) {
|
|
@@ -715,7 +715,7 @@ export var serializeAws_restJson1ListTestRecommendationsCommand = function (inpu
|
|
|
715
715
|
headers = {
|
|
716
716
|
"content-type": "application/json",
|
|
717
717
|
};
|
|
718
|
-
resolvedPath = ""
|
|
718
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-test-recommendations";
|
|
719
719
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
720
720
|
return [2, new __HttpRequest({
|
|
721
721
|
protocol: protocol,
|
|
@@ -739,7 +739,7 @@ export var serializeAws_restJson1ListUnsupportedAppVersionResourcesCommand = fun
|
|
|
739
739
|
headers = {
|
|
740
740
|
"content-type": "application/json",
|
|
741
741
|
};
|
|
742
|
-
resolvedPath = ""
|
|
742
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/list-unsupported-app-version-resources";
|
|
743
743
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.resolutionId !== undefined && input.resolutionId !== null && { resolutionId: input.resolutionId })));
|
|
744
744
|
return [2, new __HttpRequest({
|
|
745
745
|
protocol: protocol,
|
|
@@ -763,7 +763,7 @@ export var serializeAws_restJson1PublishAppVersionCommand = function (input, con
|
|
|
763
763
|
headers = {
|
|
764
764
|
"content-type": "application/json",
|
|
765
765
|
};
|
|
766
|
-
resolvedPath = ""
|
|
766
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/publish-app-version";
|
|
767
767
|
body = JSON.stringify(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })));
|
|
768
768
|
return [2, new __HttpRequest({
|
|
769
769
|
protocol: protocol,
|
|
@@ -787,7 +787,7 @@ export var serializeAws_restJson1PutDraftAppVersionTemplateCommand = function (i
|
|
|
787
787
|
headers = {
|
|
788
788
|
"content-type": "application/json",
|
|
789
789
|
};
|
|
790
|
-
resolvedPath = ""
|
|
790
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/put-draft-app-version-template";
|
|
791
791
|
body = JSON.stringify(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appTemplateBody !== undefined &&
|
|
792
792
|
input.appTemplateBody !== null && { appTemplateBody: input.appTemplateBody })));
|
|
793
793
|
return [2, new __HttpRequest({
|
|
@@ -812,7 +812,7 @@ export var serializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand =
|
|
|
812
812
|
headers = {
|
|
813
813
|
"content-type": "application/json",
|
|
814
814
|
};
|
|
815
|
-
resolvedPath = ""
|
|
815
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
816
816
|
"/remove-draft-app-version-resource-mappings";
|
|
817
817
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appRegistryAppNames !== undefined &&
|
|
818
818
|
input.appRegistryAppNames !== null && {
|
|
@@ -849,7 +849,7 @@ export var serializeAws_restJson1ResolveAppVersionResourcesCommand = function (i
|
|
|
849
849
|
headers = {
|
|
850
850
|
"content-type": "application/json",
|
|
851
851
|
};
|
|
852
|
-
resolvedPath = ""
|
|
852
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/resolve-app-version-resources";
|
|
853
853
|
body = JSON.stringify(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion })));
|
|
854
854
|
return [2, new __HttpRequest({
|
|
855
855
|
protocol: protocol,
|
|
@@ -874,7 +874,7 @@ export var serializeAws_restJson1StartAppAssessmentCommand = function (input, co
|
|
|
874
874
|
headers = {
|
|
875
875
|
"content-type": "application/json",
|
|
876
876
|
};
|
|
877
|
-
resolvedPath = ""
|
|
877
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/start-app-assessment";
|
|
878
878
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion })), (input.assessmentName !== undefined &&
|
|
879
879
|
input.assessmentName !== null && { assessmentName: input.assessmentName })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
|
|
880
880
|
return [2, new __HttpRequest({
|
|
@@ -899,7 +899,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
899
899
|
headers = {
|
|
900
900
|
"content-type": "application/json",
|
|
901
901
|
};
|
|
902
|
-
resolvedPath = ""
|
|
902
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
903
903
|
if (input.resourceArn !== undefined) {
|
|
904
904
|
labelValue = input.resourceArn;
|
|
905
905
|
if (labelValue.length <= 0) {
|
|
@@ -931,7 +931,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
931
931
|
case 1:
|
|
932
932
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
933
933
|
headers = {};
|
|
934
|
-
resolvedPath = ""
|
|
934
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
935
935
|
if (input.resourceArn !== undefined) {
|
|
936
936
|
labelValue = input.resourceArn;
|
|
937
937
|
if (labelValue.length <= 0) {
|
|
@@ -966,7 +966,7 @@ export var serializeAws_restJson1UpdateAppCommand = function (input, context) {
|
|
|
966
966
|
headers = {
|
|
967
967
|
"content-type": "application/json",
|
|
968
968
|
};
|
|
969
|
-
resolvedPath = ""
|
|
969
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/update-app";
|
|
970
970
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn })), (input.clearResiliencyPolicyArn !== undefined &&
|
|
971
971
|
input.clearResiliencyPolicyArn !== null && { clearResiliencyPolicyArn: input.clearResiliencyPolicyArn })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn })));
|
|
972
972
|
return [2, new __HttpRequest({
|
|
@@ -991,7 +991,7 @@ export var serializeAws_restJson1UpdateResiliencyPolicyCommand = function (input
|
|
|
991
991
|
headers = {
|
|
992
992
|
"content-type": "application/json",
|
|
993
993
|
};
|
|
994
|
-
resolvedPath = ""
|
|
994
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/update-resiliency-policy";
|
|
995
995
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.dataLocationConstraint !== undefined &&
|
|
996
996
|
input.dataLocationConstraint !== null && { dataLocationConstraint: input.dataLocationConstraint })), (input.policy !== undefined &&
|
|
997
997
|
input.policy !== null && { policy: serializeAws_restJson1DisruptionPolicy(input.policy, context) })), (input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn })), (input.policyDescription !== undefined &&
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddDraftAppVersionResourceMappingsCommandInput, AddDraftAppVersionResourceMappingsCommandOutput } from "./commands/AddDraftAppVersionResourceMappingsCommand";
|
|
10
10
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
11
11
|
import { CreateRecommendationTemplateCommandInput, CreateRecommendationTemplateCommandOutput } from "./commands/CreateRecommendationTemplateCommand";
|
|
@@ -67,7 +67,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
67
67
|
* A function that can calculate the length of a request body.
|
|
68
68
|
* @internal
|
|
69
69
|
*/
|
|
70
|
-
bodyLengthChecker?:
|
|
70
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
71
71
|
/**
|
|
72
72
|
* A function that converts a stream into an array of bytes.
|
|
73
73
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddDraftAppVersionResourceMappingsCommandInput, AddDraftAppVersionResourceMappingsCommandOutput } from "./commands/AddDraftAppVersionResourceMappingsCommand";
|
|
10
10
|
import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand";
|
|
11
11
|
import { CreateRecommendationTemplateCommandInput, CreateRecommendationTemplateCommandOutput } from "./commands/CreateRecommendationTemplateCommand";
|
|
@@ -55,7 +55,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
55
55
|
|
|
56
56
|
urlParser?: __UrlParser;
|
|
57
57
|
|
|
58
|
-
bodyLengthChecker?:
|
|
58
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
59
59
|
|
|
60
60
|
streamCollector?: __StreamCollector;
|
|
61
61
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: ResiliencehubClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-resiliencehub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.55.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",
|
|
@@ -18,41 +18,41 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1",
|
|
52
52
|
"uuid": "^8.3.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
56
56
|
"@tsconfig/recommended": "1.0.1",
|
|
57
57
|
"@types/node": "^12.7.5",
|
|
58
58
|
"@types/uuid": "^8.3.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"downlevel-dts": "0.7.0",
|
|
61
61
|
"rimraf": "3.0.2",
|
|
62
62
|
"typedoc": "0.19.2",
|
|
63
|
-
"typescript": "~4.
|
|
63
|
+
"typescript": "~4.6.2"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">=12.0.0"
|