@aws-sdk/client-resiliencehub 3.272.0 → 3.276.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/Resiliencehub.js +195 -0
- package/dist-cjs/commands/CreateAppVersionAppComponentCommand.js +46 -0
- package/dist-cjs/commands/CreateAppVersionResourceCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppInputSourceCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppVersionAppComponentCommand.js +46 -0
- package/dist-cjs/commands/DeleteAppVersionResourceCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppVersionAppComponentCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppVersionCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppVersionResourceCommand.js +46 -0
- package/dist-cjs/commands/ListAppInputSourcesCommand.js +46 -0
- package/dist-cjs/commands/ListAppVersionAppComponentsCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppVersionAppComponentCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppVersionCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppVersionResourceCommand.js +46 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +129 -15
- package/dist-cjs/pagination/ListAppInputSourcesPaginator.js +36 -0
- package/dist-cjs/pagination/ListAppVersionAppComponentsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1293 -141
- package/dist-es/Resiliencehub.js +195 -0
- package/dist-es/commands/CreateAppVersionAppComponentCommand.js +42 -0
- package/dist-es/commands/CreateAppVersionResourceCommand.js +42 -0
- package/dist-es/commands/DeleteAppInputSourceCommand.js +42 -0
- package/dist-es/commands/DeleteAppVersionAppComponentCommand.js +42 -0
- package/dist-es/commands/DeleteAppVersionResourceCommand.js +42 -0
- package/dist-es/commands/DescribeAppVersionAppComponentCommand.js +42 -0
- package/dist-es/commands/DescribeAppVersionCommand.js +42 -0
- package/dist-es/commands/DescribeAppVersionResourceCommand.js +42 -0
- package/dist-es/commands/ListAppInputSourcesCommand.js +42 -0
- package/dist-es/commands/ListAppVersionAppComponentsCommand.js +42 -0
- package/dist-es/commands/UpdateAppVersionAppComponentCommand.js +42 -0
- package/dist-es/commands/UpdateAppVersionCommand.js +42 -0
- package/dist-es/commands/UpdateAppVersionResourceCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +94 -8
- package/dist-es/pagination/ListAppInputSourcesPaginator.js +32 -0
- package/dist-es/pagination/ListAppVersionAppComponentsPaginator.js +32 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1254 -129
- package/dist-types/Resiliencehub.d.ts +218 -23
- package/dist-types/ResiliencehubClient.d.ts +15 -2
- package/dist-types/commands/AddDraftAppVersionResourceMappingsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppCommand.d.ts +3 -3
- package/dist-types/commands/CreateAppVersionAppComponentCommand.d.ts +40 -0
- package/dist-types/commands/CreateAppVersionResourceCommand.d.ts +55 -0
- package/dist-types/commands/CreateRecommendationTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppInputSourceCommand.d.ts +37 -0
- package/dist-types/commands/DeleteAppVersionAppComponentCommand.d.ts +47 -0
- package/dist-types/commands/DeleteAppVersionResourceCommand.d.ts +50 -0
- package/dist-types/commands/DescribeAppVersionAppComponentCommand.d.ts +37 -0
- package/dist-types/commands/DescribeAppVersionCommand.d.ts +37 -0
- package/dist-types/commands/DescribeAppVersionResourceCommand.d.ts +57 -0
- package/dist-types/commands/DescribeAppVersionTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDraftAppVersionResourcesImportStatusCommand.d.ts +7 -0
- package/dist-types/commands/ImportResourcesToDraftAppVersionCommand.d.ts +2 -2
- package/dist-types/commands/ListAlarmRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppComponentCompliancesCommand.d.ts +1 -1
- package/dist-types/commands/ListAppComponentRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppInputSourcesCommand.d.ts +39 -0
- package/dist-types/commands/ListAppVersionAppComponentsCommand.d.ts +37 -0
- package/dist-types/commands/ListAppVersionResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListAppVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppsCommand.d.ts +10 -1
- package/dist-types/commands/ListRecommendationTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListResiliencyPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListSopRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSuggestedResiliencyPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTestRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListUnsupportedAppVersionResourcesCommand.d.ts +1 -1
- package/dist-types/commands/PublishAppVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutDraftAppVersionTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppVersionAppComponentCommand.d.ts +40 -0
- package/dist-types/commands/UpdateAppVersionCommand.d.ts +42 -0
- package/dist-types/commands/UpdateAppVersionResourceCommand.d.ts +51 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +1377 -209
- package/dist-types/pagination/ListAppInputSourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListAppVersionAppComponentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +39 -0
- package/dist-types/ts3.4/Resiliencehub.d.ts +221 -0
- package/dist-types/ts3.4/ResiliencehubClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateAppVersionAppComponentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateAppVersionResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAppInputSourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAppVersionAppComponentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAppVersionResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeAppVersionAppComponentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeAppVersionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeAppVersionResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListAppInputSourcesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAppVersionAppComponentsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateAppVersionAppComponentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateAppVersionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateAppVersionResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +278 -24
- package/dist-types/ts3.4/pagination/ListAppInputSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAppVersionAppComponentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +2 -2
package/dist-es/Resiliencehub.js
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { AddDraftAppVersionResourceMappingsCommand, } from "./commands/AddDraftAppVersionResourceMappingsCommand";
|
|
2
2
|
import { CreateAppCommand } from "./commands/CreateAppCommand";
|
|
3
|
+
import { CreateAppVersionAppComponentCommand, } from "./commands/CreateAppVersionAppComponentCommand";
|
|
4
|
+
import { CreateAppVersionResourceCommand, } from "./commands/CreateAppVersionResourceCommand";
|
|
3
5
|
import { CreateRecommendationTemplateCommand, } from "./commands/CreateRecommendationTemplateCommand";
|
|
4
6
|
import { CreateResiliencyPolicyCommand, } from "./commands/CreateResiliencyPolicyCommand";
|
|
5
7
|
import { DeleteAppAssessmentCommand, } from "./commands/DeleteAppAssessmentCommand";
|
|
6
8
|
import { DeleteAppCommand } from "./commands/DeleteAppCommand";
|
|
9
|
+
import { DeleteAppInputSourceCommand, } from "./commands/DeleteAppInputSourceCommand";
|
|
10
|
+
import { DeleteAppVersionAppComponentCommand, } from "./commands/DeleteAppVersionAppComponentCommand";
|
|
11
|
+
import { DeleteAppVersionResourceCommand, } from "./commands/DeleteAppVersionResourceCommand";
|
|
7
12
|
import { DeleteRecommendationTemplateCommand, } from "./commands/DeleteRecommendationTemplateCommand";
|
|
8
13
|
import { DeleteResiliencyPolicyCommand, } from "./commands/DeleteResiliencyPolicyCommand";
|
|
9
14
|
import { DescribeAppAssessmentCommand, } from "./commands/DescribeAppAssessmentCommand";
|
|
10
15
|
import { DescribeAppCommand } from "./commands/DescribeAppCommand";
|
|
16
|
+
import { DescribeAppVersionAppComponentCommand, } from "./commands/DescribeAppVersionAppComponentCommand";
|
|
17
|
+
import { DescribeAppVersionCommand, } from "./commands/DescribeAppVersionCommand";
|
|
18
|
+
import { DescribeAppVersionResourceCommand, } from "./commands/DescribeAppVersionResourceCommand";
|
|
11
19
|
import { DescribeAppVersionResourcesResolutionStatusCommand, } from "./commands/DescribeAppVersionResourcesResolutionStatusCommand";
|
|
12
20
|
import { DescribeAppVersionTemplateCommand, } from "./commands/DescribeAppVersionTemplateCommand";
|
|
13
21
|
import { DescribeDraftAppVersionResourcesImportStatusCommand, } from "./commands/DescribeDraftAppVersionResourcesImportStatusCommand";
|
|
@@ -17,7 +25,9 @@ import { ListAlarmRecommendationsCommand, } from "./commands/ListAlarmRecommenda
|
|
|
17
25
|
import { ListAppAssessmentsCommand, } from "./commands/ListAppAssessmentsCommand";
|
|
18
26
|
import { ListAppComponentCompliancesCommand, } from "./commands/ListAppComponentCompliancesCommand";
|
|
19
27
|
import { ListAppComponentRecommendationsCommand, } from "./commands/ListAppComponentRecommendationsCommand";
|
|
28
|
+
import { ListAppInputSourcesCommand, } from "./commands/ListAppInputSourcesCommand";
|
|
20
29
|
import { ListAppsCommand } from "./commands/ListAppsCommand";
|
|
30
|
+
import { ListAppVersionAppComponentsCommand, } from "./commands/ListAppVersionAppComponentsCommand";
|
|
21
31
|
import { ListAppVersionResourceMappingsCommand, } from "./commands/ListAppVersionResourceMappingsCommand";
|
|
22
32
|
import { ListAppVersionResourcesCommand, } from "./commands/ListAppVersionResourcesCommand";
|
|
23
33
|
import { ListAppVersionsCommand, } from "./commands/ListAppVersionsCommand";
|
|
@@ -36,6 +46,9 @@ import { StartAppAssessmentCommand, } from "./commands/StartAppAssessmentCommand
|
|
|
36
46
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
37
47
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
38
48
|
import { UpdateAppCommand } from "./commands/UpdateAppCommand";
|
|
49
|
+
import { UpdateAppVersionAppComponentCommand, } from "./commands/UpdateAppVersionAppComponentCommand";
|
|
50
|
+
import { UpdateAppVersionCommand, } from "./commands/UpdateAppVersionCommand";
|
|
51
|
+
import { UpdateAppVersionResourceCommand, } from "./commands/UpdateAppVersionResourceCommand";
|
|
39
52
|
import { UpdateResiliencyPolicyCommand, } from "./commands/UpdateResiliencyPolicyCommand";
|
|
40
53
|
import { ResiliencehubClient } from "./ResiliencehubClient";
|
|
41
54
|
export class Resiliencehub extends ResiliencehubClient {
|
|
@@ -67,6 +80,34 @@ export class Resiliencehub extends ResiliencehubClient {
|
|
|
67
80
|
return this.send(command, optionsOrCb);
|
|
68
81
|
}
|
|
69
82
|
}
|
|
83
|
+
createAppVersionAppComponent(args, optionsOrCb, cb) {
|
|
84
|
+
const command = new CreateAppVersionAppComponentCommand(args);
|
|
85
|
+
if (typeof optionsOrCb === "function") {
|
|
86
|
+
this.send(command, optionsOrCb);
|
|
87
|
+
}
|
|
88
|
+
else if (typeof cb === "function") {
|
|
89
|
+
if (typeof optionsOrCb !== "object")
|
|
90
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
91
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return this.send(command, optionsOrCb);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
createAppVersionResource(args, optionsOrCb, cb) {
|
|
98
|
+
const command = new CreateAppVersionResourceCommand(args);
|
|
99
|
+
if (typeof optionsOrCb === "function") {
|
|
100
|
+
this.send(command, optionsOrCb);
|
|
101
|
+
}
|
|
102
|
+
else if (typeof cb === "function") {
|
|
103
|
+
if (typeof optionsOrCb !== "object")
|
|
104
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
105
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
return this.send(command, optionsOrCb);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
70
111
|
createRecommendationTemplate(args, optionsOrCb, cb) {
|
|
71
112
|
const command = new CreateRecommendationTemplateCommand(args);
|
|
72
113
|
if (typeof optionsOrCb === "function") {
|
|
@@ -123,6 +164,48 @@ export class Resiliencehub extends ResiliencehubClient {
|
|
|
123
164
|
return this.send(command, optionsOrCb);
|
|
124
165
|
}
|
|
125
166
|
}
|
|
167
|
+
deleteAppInputSource(args, optionsOrCb, cb) {
|
|
168
|
+
const command = new DeleteAppInputSourceCommand(args);
|
|
169
|
+
if (typeof optionsOrCb === "function") {
|
|
170
|
+
this.send(command, optionsOrCb);
|
|
171
|
+
}
|
|
172
|
+
else if (typeof cb === "function") {
|
|
173
|
+
if (typeof optionsOrCb !== "object")
|
|
174
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
175
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
return this.send(command, optionsOrCb);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
deleteAppVersionAppComponent(args, optionsOrCb, cb) {
|
|
182
|
+
const command = new DeleteAppVersionAppComponentCommand(args);
|
|
183
|
+
if (typeof optionsOrCb === "function") {
|
|
184
|
+
this.send(command, optionsOrCb);
|
|
185
|
+
}
|
|
186
|
+
else if (typeof cb === "function") {
|
|
187
|
+
if (typeof optionsOrCb !== "object")
|
|
188
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
189
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
return this.send(command, optionsOrCb);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
deleteAppVersionResource(args, optionsOrCb, cb) {
|
|
196
|
+
const command = new DeleteAppVersionResourceCommand(args);
|
|
197
|
+
if (typeof optionsOrCb === "function") {
|
|
198
|
+
this.send(command, optionsOrCb);
|
|
199
|
+
}
|
|
200
|
+
else if (typeof cb === "function") {
|
|
201
|
+
if (typeof optionsOrCb !== "object")
|
|
202
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
203
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
return this.send(command, optionsOrCb);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
126
209
|
deleteRecommendationTemplate(args, optionsOrCb, cb) {
|
|
127
210
|
const command = new DeleteRecommendationTemplateCommand(args);
|
|
128
211
|
if (typeof optionsOrCb === "function") {
|
|
@@ -179,6 +262,48 @@ export class Resiliencehub extends ResiliencehubClient {
|
|
|
179
262
|
return this.send(command, optionsOrCb);
|
|
180
263
|
}
|
|
181
264
|
}
|
|
265
|
+
describeAppVersion(args, optionsOrCb, cb) {
|
|
266
|
+
const command = new DescribeAppVersionCommand(args);
|
|
267
|
+
if (typeof optionsOrCb === "function") {
|
|
268
|
+
this.send(command, optionsOrCb);
|
|
269
|
+
}
|
|
270
|
+
else if (typeof cb === "function") {
|
|
271
|
+
if (typeof optionsOrCb !== "object")
|
|
272
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
273
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
return this.send(command, optionsOrCb);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
describeAppVersionAppComponent(args, optionsOrCb, cb) {
|
|
280
|
+
const command = new DescribeAppVersionAppComponentCommand(args);
|
|
281
|
+
if (typeof optionsOrCb === "function") {
|
|
282
|
+
this.send(command, optionsOrCb);
|
|
283
|
+
}
|
|
284
|
+
else if (typeof cb === "function") {
|
|
285
|
+
if (typeof optionsOrCb !== "object")
|
|
286
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
287
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
288
|
+
}
|
|
289
|
+
else {
|
|
290
|
+
return this.send(command, optionsOrCb);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
describeAppVersionResource(args, optionsOrCb, cb) {
|
|
294
|
+
const command = new DescribeAppVersionResourceCommand(args);
|
|
295
|
+
if (typeof optionsOrCb === "function") {
|
|
296
|
+
this.send(command, optionsOrCb);
|
|
297
|
+
}
|
|
298
|
+
else if (typeof cb === "function") {
|
|
299
|
+
if (typeof optionsOrCb !== "object")
|
|
300
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
301
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
302
|
+
}
|
|
303
|
+
else {
|
|
304
|
+
return this.send(command, optionsOrCb);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
182
307
|
describeAppVersionResourcesResolutionStatus(args, optionsOrCb, cb) {
|
|
183
308
|
const command = new DescribeAppVersionResourcesResolutionStatusCommand(args);
|
|
184
309
|
if (typeof optionsOrCb === "function") {
|
|
@@ -305,6 +430,20 @@ export class Resiliencehub extends ResiliencehubClient {
|
|
|
305
430
|
return this.send(command, optionsOrCb);
|
|
306
431
|
}
|
|
307
432
|
}
|
|
433
|
+
listAppInputSources(args, optionsOrCb, cb) {
|
|
434
|
+
const command = new ListAppInputSourcesCommand(args);
|
|
435
|
+
if (typeof optionsOrCb === "function") {
|
|
436
|
+
this.send(command, optionsOrCb);
|
|
437
|
+
}
|
|
438
|
+
else if (typeof cb === "function") {
|
|
439
|
+
if (typeof optionsOrCb !== "object")
|
|
440
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
441
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
442
|
+
}
|
|
443
|
+
else {
|
|
444
|
+
return this.send(command, optionsOrCb);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
308
447
|
listApps(args, optionsOrCb, cb) {
|
|
309
448
|
const command = new ListAppsCommand(args);
|
|
310
449
|
if (typeof optionsOrCb === "function") {
|
|
@@ -319,6 +458,20 @@ export class Resiliencehub extends ResiliencehubClient {
|
|
|
319
458
|
return this.send(command, optionsOrCb);
|
|
320
459
|
}
|
|
321
460
|
}
|
|
461
|
+
listAppVersionAppComponents(args, optionsOrCb, cb) {
|
|
462
|
+
const command = new ListAppVersionAppComponentsCommand(args);
|
|
463
|
+
if (typeof optionsOrCb === "function") {
|
|
464
|
+
this.send(command, optionsOrCb);
|
|
465
|
+
}
|
|
466
|
+
else if (typeof cb === "function") {
|
|
467
|
+
if (typeof optionsOrCb !== "object")
|
|
468
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
469
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
470
|
+
}
|
|
471
|
+
else {
|
|
472
|
+
return this.send(command, optionsOrCb);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
322
475
|
listAppVersionResourceMappings(args, optionsOrCb, cb) {
|
|
323
476
|
const command = new ListAppVersionResourceMappingsCommand(args);
|
|
324
477
|
if (typeof optionsOrCb === "function") {
|
|
@@ -571,6 +724,48 @@ export class Resiliencehub extends ResiliencehubClient {
|
|
|
571
724
|
return this.send(command, optionsOrCb);
|
|
572
725
|
}
|
|
573
726
|
}
|
|
727
|
+
updateAppVersion(args, optionsOrCb, cb) {
|
|
728
|
+
const command = new UpdateAppVersionCommand(args);
|
|
729
|
+
if (typeof optionsOrCb === "function") {
|
|
730
|
+
this.send(command, optionsOrCb);
|
|
731
|
+
}
|
|
732
|
+
else if (typeof cb === "function") {
|
|
733
|
+
if (typeof optionsOrCb !== "object")
|
|
734
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
735
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
736
|
+
}
|
|
737
|
+
else {
|
|
738
|
+
return this.send(command, optionsOrCb);
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
updateAppVersionAppComponent(args, optionsOrCb, cb) {
|
|
742
|
+
const command = new UpdateAppVersionAppComponentCommand(args);
|
|
743
|
+
if (typeof optionsOrCb === "function") {
|
|
744
|
+
this.send(command, optionsOrCb);
|
|
745
|
+
}
|
|
746
|
+
else if (typeof cb === "function") {
|
|
747
|
+
if (typeof optionsOrCb !== "object")
|
|
748
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
749
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
750
|
+
}
|
|
751
|
+
else {
|
|
752
|
+
return this.send(command, optionsOrCb);
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
updateAppVersionResource(args, optionsOrCb, cb) {
|
|
756
|
+
const command = new UpdateAppVersionResourceCommand(args);
|
|
757
|
+
if (typeof optionsOrCb === "function") {
|
|
758
|
+
this.send(command, optionsOrCb);
|
|
759
|
+
}
|
|
760
|
+
else if (typeof cb === "function") {
|
|
761
|
+
if (typeof optionsOrCb !== "object")
|
|
762
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
763
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
764
|
+
}
|
|
765
|
+
else {
|
|
766
|
+
return this.send(command, optionsOrCb);
|
|
767
|
+
}
|
|
768
|
+
}
|
|
574
769
|
updateResiliencyPolicy(args, optionsOrCb, cb) {
|
|
575
770
|
const command = new UpdateResiliencyPolicyCommand(args);
|
|
576
771
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateAppVersionAppComponentRequestFilterSensitiveLog, CreateAppVersionAppComponentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateAppVersionAppComponentCommand, serializeAws_restJson1CreateAppVersionAppComponentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class CreateAppVersionAppComponentCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAppVersionAppComponentCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "CreateAppVersionAppComponentCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateAppVersionAppComponentRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateAppVersionAppComponentResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1CreateAppVersionAppComponentCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1CreateAppVersionAppComponentCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateAppVersionResourceRequestFilterSensitiveLog, CreateAppVersionResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateAppVersionResourceCommand, serializeAws_restJson1CreateAppVersionResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class CreateAppVersionResourceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAppVersionResourceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "CreateAppVersionResourceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateAppVersionResourceRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: CreateAppVersionResourceResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1CreateAppVersionResourceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1CreateAppVersionResourceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteAppInputSourceRequestFilterSensitiveLog, DeleteAppInputSourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteAppInputSourceCommand, serializeAws_restJson1DeleteAppInputSourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DeleteAppInputSourceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAppInputSourceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "DeleteAppInputSourceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteAppInputSourceRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeleteAppInputSourceResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DeleteAppInputSourceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DeleteAppInputSourceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteAppVersionAppComponentRequestFilterSensitiveLog, DeleteAppVersionAppComponentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteAppVersionAppComponentCommand, serializeAws_restJson1DeleteAppVersionAppComponentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DeleteAppVersionAppComponentCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAppVersionAppComponentCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "DeleteAppVersionAppComponentCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteAppVersionAppComponentRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeleteAppVersionAppComponentResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DeleteAppVersionAppComponentCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DeleteAppVersionAppComponentCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteAppVersionResourceRequestFilterSensitiveLog, DeleteAppVersionResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteAppVersionResourceCommand, serializeAws_restJson1DeleteAppVersionResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DeleteAppVersionResourceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAppVersionResourceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "DeleteAppVersionResourceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DeleteAppVersionResourceRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DeleteAppVersionResourceResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DeleteAppVersionResourceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DeleteAppVersionResourceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeAppVersionAppComponentRequestFilterSensitiveLog, DescribeAppVersionAppComponentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeAppVersionAppComponentCommand, serializeAws_restJson1DescribeAppVersionAppComponentCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DescribeAppVersionAppComponentCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAppVersionAppComponentCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "DescribeAppVersionAppComponentCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DescribeAppVersionAppComponentRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DescribeAppVersionAppComponentResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DescribeAppVersionAppComponentCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DescribeAppVersionAppComponentCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeAppVersionRequestFilterSensitiveLog, DescribeAppVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeAppVersionCommand, serializeAws_restJson1DescribeAppVersionCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DescribeAppVersionCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAppVersionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "DescribeAppVersionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DescribeAppVersionRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DescribeAppVersionResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DescribeAppVersionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DescribeAppVersionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeAppVersionResourceRequestFilterSensitiveLog, DescribeAppVersionResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeAppVersionResourceCommand, serializeAws_restJson1DescribeAppVersionResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DescribeAppVersionResourceCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAppVersionResourceCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "DescribeAppVersionResourceCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: DescribeAppVersionResourceRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: DescribeAppVersionResourceResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DescribeAppVersionResourceCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DescribeAppVersionResourceCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListAppInputSourcesRequestFilterSensitiveLog, ListAppInputSourcesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListAppInputSourcesCommand, serializeAws_restJson1ListAppInputSourcesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class ListAppInputSourcesCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListAppInputSourcesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ResiliencehubClient";
|
|
25
|
+
const commandName = "ListAppInputSourcesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListAppInputSourcesRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListAppInputSourcesResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1ListAppInputSourcesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1ListAppInputSourcesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|