@aws-sdk/client-fms 3.204.0 → 3.206.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/FMS.js +120 -0
- package/dist-cjs/commands/BatchAssociateResourceCommand.js +46 -0
- package/dist-cjs/commands/BatchDisassociateResourceCommand.js +46 -0
- package/dist-cjs/commands/DeleteResourceSetCommand.js +46 -0
- package/dist-cjs/commands/GetResourceSetCommand.js +46 -0
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +46 -0
- package/dist-cjs/commands/ListResourceSetResourcesCommand.js +46 -0
- package/dist-cjs/commands/ListResourceSetsCommand.js +46 -0
- package/dist-cjs/commands/PutResourceSetCommand.js +46 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +94 -3
- package/dist-cjs/protocols/Aws_json1_1.js +653 -2
- package/dist-es/FMS.js +120 -0
- package/dist-es/commands/BatchAssociateResourceCommand.js +42 -0
- package/dist-es/commands/BatchDisassociateResourceCommand.js +42 -0
- package/dist-es/commands/DeleteResourceSetCommand.js +42 -0
- package/dist-es/commands/GetResourceSetCommand.js +42 -0
- package/dist-es/commands/ListDiscoveredResourcesCommand.js +42 -0
- package/dist-es/commands/ListResourceSetResourcesCommand.js +42 -0
- package/dist-es/commands/ListResourceSetsCommand.js +42 -0
- package/dist-es/commands/PutResourceSetCommand.js +42 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +70 -0
- package/dist-es/protocols/Aws_json1_1.js +635 -0
- package/dist-types/FMS.d.ts +57 -0
- package/dist-types/FMSClient.d.ts +10 -2
- package/dist-types/commands/BatchAssociateResourceCommand.d.ts +37 -0
- package/dist-types/commands/BatchDisassociateResourceCommand.d.ts +37 -0
- package/dist-types/commands/DeleteResourceSetCommand.d.ts +37 -0
- package/dist-types/commands/GetResourceSetCommand.d.ts +37 -0
- package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +37 -0
- package/dist-types/commands/ListResourceSetResourcesCommand.d.ts +37 -0
- package/dist-types/commands/ListResourceSetsCommand.d.ts +37 -0
- package/dist-types/commands/PutResourceSetCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +375 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/FMS.d.ts +136 -0
- package/dist-types/ts3.4/FMSClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/BatchAssociateResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchDisassociateResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteResourceSetCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/GetResourceSetCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListResourceSetResourcesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListResourceSetsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/PutResourceSetCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +154 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -0
- package/package.json +1 -1
package/dist-cjs/FMS.js
CHANGED
|
@@ -3,10 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.FMS = void 0;
|
|
4
4
|
const AssociateAdminAccountCommand_1 = require("./commands/AssociateAdminAccountCommand");
|
|
5
5
|
const AssociateThirdPartyFirewallCommand_1 = require("./commands/AssociateThirdPartyFirewallCommand");
|
|
6
|
+
const BatchAssociateResourceCommand_1 = require("./commands/BatchAssociateResourceCommand");
|
|
7
|
+
const BatchDisassociateResourceCommand_1 = require("./commands/BatchDisassociateResourceCommand");
|
|
6
8
|
const DeleteAppsListCommand_1 = require("./commands/DeleteAppsListCommand");
|
|
7
9
|
const DeleteNotificationChannelCommand_1 = require("./commands/DeleteNotificationChannelCommand");
|
|
8
10
|
const DeletePolicyCommand_1 = require("./commands/DeletePolicyCommand");
|
|
9
11
|
const DeleteProtocolsListCommand_1 = require("./commands/DeleteProtocolsListCommand");
|
|
12
|
+
const DeleteResourceSetCommand_1 = require("./commands/DeleteResourceSetCommand");
|
|
10
13
|
const DisassociateAdminAccountCommand_1 = require("./commands/DisassociateAdminAccountCommand");
|
|
11
14
|
const DisassociateThirdPartyFirewallCommand_1 = require("./commands/DisassociateThirdPartyFirewallCommand");
|
|
12
15
|
const GetAdminAccountCommand_1 = require("./commands/GetAdminAccountCommand");
|
|
@@ -16,19 +19,24 @@ const GetNotificationChannelCommand_1 = require("./commands/GetNotificationChann
|
|
|
16
19
|
const GetPolicyCommand_1 = require("./commands/GetPolicyCommand");
|
|
17
20
|
const GetProtectionStatusCommand_1 = require("./commands/GetProtectionStatusCommand");
|
|
18
21
|
const GetProtocolsListCommand_1 = require("./commands/GetProtocolsListCommand");
|
|
22
|
+
const GetResourceSetCommand_1 = require("./commands/GetResourceSetCommand");
|
|
19
23
|
const GetThirdPartyFirewallAssociationStatusCommand_1 = require("./commands/GetThirdPartyFirewallAssociationStatusCommand");
|
|
20
24
|
const GetViolationDetailsCommand_1 = require("./commands/GetViolationDetailsCommand");
|
|
21
25
|
const ListAppsListsCommand_1 = require("./commands/ListAppsListsCommand");
|
|
22
26
|
const ListComplianceStatusCommand_1 = require("./commands/ListComplianceStatusCommand");
|
|
27
|
+
const ListDiscoveredResourcesCommand_1 = require("./commands/ListDiscoveredResourcesCommand");
|
|
23
28
|
const ListMemberAccountsCommand_1 = require("./commands/ListMemberAccountsCommand");
|
|
24
29
|
const ListPoliciesCommand_1 = require("./commands/ListPoliciesCommand");
|
|
25
30
|
const ListProtocolsListsCommand_1 = require("./commands/ListProtocolsListsCommand");
|
|
31
|
+
const ListResourceSetResourcesCommand_1 = require("./commands/ListResourceSetResourcesCommand");
|
|
32
|
+
const ListResourceSetsCommand_1 = require("./commands/ListResourceSetsCommand");
|
|
26
33
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
27
34
|
const ListThirdPartyFirewallFirewallPoliciesCommand_1 = require("./commands/ListThirdPartyFirewallFirewallPoliciesCommand");
|
|
28
35
|
const PutAppsListCommand_1 = require("./commands/PutAppsListCommand");
|
|
29
36
|
const PutNotificationChannelCommand_1 = require("./commands/PutNotificationChannelCommand");
|
|
30
37
|
const PutPolicyCommand_1 = require("./commands/PutPolicyCommand");
|
|
31
38
|
const PutProtocolsListCommand_1 = require("./commands/PutProtocolsListCommand");
|
|
39
|
+
const PutResourceSetCommand_1 = require("./commands/PutResourceSetCommand");
|
|
32
40
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
33
41
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
34
42
|
const FMSClient_1 = require("./FMSClient");
|
|
@@ -61,6 +69,34 @@ class FMS extends FMSClient_1.FMSClient {
|
|
|
61
69
|
return this.send(command, optionsOrCb);
|
|
62
70
|
}
|
|
63
71
|
}
|
|
72
|
+
batchAssociateResource(args, optionsOrCb, cb) {
|
|
73
|
+
const command = new BatchAssociateResourceCommand_1.BatchAssociateResourceCommand(args);
|
|
74
|
+
if (typeof optionsOrCb === "function") {
|
|
75
|
+
this.send(command, optionsOrCb);
|
|
76
|
+
}
|
|
77
|
+
else if (typeof cb === "function") {
|
|
78
|
+
if (typeof optionsOrCb !== "object")
|
|
79
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
80
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
return this.send(command, optionsOrCb);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
batchDisassociateResource(args, optionsOrCb, cb) {
|
|
87
|
+
const command = new BatchDisassociateResourceCommand_1.BatchDisassociateResourceCommand(args);
|
|
88
|
+
if (typeof optionsOrCb === "function") {
|
|
89
|
+
this.send(command, optionsOrCb);
|
|
90
|
+
}
|
|
91
|
+
else if (typeof cb === "function") {
|
|
92
|
+
if (typeof optionsOrCb !== "object")
|
|
93
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
94
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
return this.send(command, optionsOrCb);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
64
100
|
deleteAppsList(args, optionsOrCb, cb) {
|
|
65
101
|
const command = new DeleteAppsListCommand_1.DeleteAppsListCommand(args);
|
|
66
102
|
if (typeof optionsOrCb === "function") {
|
|
@@ -117,6 +153,20 @@ class FMS extends FMSClient_1.FMSClient {
|
|
|
117
153
|
return this.send(command, optionsOrCb);
|
|
118
154
|
}
|
|
119
155
|
}
|
|
156
|
+
deleteResourceSet(args, optionsOrCb, cb) {
|
|
157
|
+
const command = new DeleteResourceSetCommand_1.DeleteResourceSetCommand(args);
|
|
158
|
+
if (typeof optionsOrCb === "function") {
|
|
159
|
+
this.send(command, optionsOrCb);
|
|
160
|
+
}
|
|
161
|
+
else if (typeof cb === "function") {
|
|
162
|
+
if (typeof optionsOrCb !== "object")
|
|
163
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
164
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
return this.send(command, optionsOrCb);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
120
170
|
disassociateAdminAccount(args, optionsOrCb, cb) {
|
|
121
171
|
const command = new DisassociateAdminAccountCommand_1.DisassociateAdminAccountCommand(args);
|
|
122
172
|
if (typeof optionsOrCb === "function") {
|
|
@@ -243,6 +293,20 @@ class FMS extends FMSClient_1.FMSClient {
|
|
|
243
293
|
return this.send(command, optionsOrCb);
|
|
244
294
|
}
|
|
245
295
|
}
|
|
296
|
+
getResourceSet(args, optionsOrCb, cb) {
|
|
297
|
+
const command = new GetResourceSetCommand_1.GetResourceSetCommand(args);
|
|
298
|
+
if (typeof optionsOrCb === "function") {
|
|
299
|
+
this.send(command, optionsOrCb);
|
|
300
|
+
}
|
|
301
|
+
else if (typeof cb === "function") {
|
|
302
|
+
if (typeof optionsOrCb !== "object")
|
|
303
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
304
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
return this.send(command, optionsOrCb);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
246
310
|
getThirdPartyFirewallAssociationStatus(args, optionsOrCb, cb) {
|
|
247
311
|
const command = new GetThirdPartyFirewallAssociationStatusCommand_1.GetThirdPartyFirewallAssociationStatusCommand(args);
|
|
248
312
|
if (typeof optionsOrCb === "function") {
|
|
@@ -299,6 +363,20 @@ class FMS extends FMSClient_1.FMSClient {
|
|
|
299
363
|
return this.send(command, optionsOrCb);
|
|
300
364
|
}
|
|
301
365
|
}
|
|
366
|
+
listDiscoveredResources(args, optionsOrCb, cb) {
|
|
367
|
+
const command = new ListDiscoveredResourcesCommand_1.ListDiscoveredResourcesCommand(args);
|
|
368
|
+
if (typeof optionsOrCb === "function") {
|
|
369
|
+
this.send(command, optionsOrCb);
|
|
370
|
+
}
|
|
371
|
+
else if (typeof cb === "function") {
|
|
372
|
+
if (typeof optionsOrCb !== "object")
|
|
373
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
374
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
375
|
+
}
|
|
376
|
+
else {
|
|
377
|
+
return this.send(command, optionsOrCb);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
302
380
|
listMemberAccounts(args, optionsOrCb, cb) {
|
|
303
381
|
const command = new ListMemberAccountsCommand_1.ListMemberAccountsCommand(args);
|
|
304
382
|
if (typeof optionsOrCb === "function") {
|
|
@@ -341,6 +419,34 @@ class FMS extends FMSClient_1.FMSClient {
|
|
|
341
419
|
return this.send(command, optionsOrCb);
|
|
342
420
|
}
|
|
343
421
|
}
|
|
422
|
+
listResourceSetResources(args, optionsOrCb, cb) {
|
|
423
|
+
const command = new ListResourceSetResourcesCommand_1.ListResourceSetResourcesCommand(args);
|
|
424
|
+
if (typeof optionsOrCb === "function") {
|
|
425
|
+
this.send(command, optionsOrCb);
|
|
426
|
+
}
|
|
427
|
+
else if (typeof cb === "function") {
|
|
428
|
+
if (typeof optionsOrCb !== "object")
|
|
429
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
430
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
431
|
+
}
|
|
432
|
+
else {
|
|
433
|
+
return this.send(command, optionsOrCb);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
listResourceSets(args, optionsOrCb, cb) {
|
|
437
|
+
const command = new ListResourceSetsCommand_1.ListResourceSetsCommand(args);
|
|
438
|
+
if (typeof optionsOrCb === "function") {
|
|
439
|
+
this.send(command, optionsOrCb);
|
|
440
|
+
}
|
|
441
|
+
else if (typeof cb === "function") {
|
|
442
|
+
if (typeof optionsOrCb !== "object")
|
|
443
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
444
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
return this.send(command, optionsOrCb);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
344
450
|
listTagsForResource(args, optionsOrCb, cb) {
|
|
345
451
|
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
346
452
|
if (typeof optionsOrCb === "function") {
|
|
@@ -425,6 +531,20 @@ class FMS extends FMSClient_1.FMSClient {
|
|
|
425
531
|
return this.send(command, optionsOrCb);
|
|
426
532
|
}
|
|
427
533
|
}
|
|
534
|
+
putResourceSet(args, optionsOrCb, cb) {
|
|
535
|
+
const command = new PutResourceSetCommand_1.PutResourceSetCommand(args);
|
|
536
|
+
if (typeof optionsOrCb === "function") {
|
|
537
|
+
this.send(command, optionsOrCb);
|
|
538
|
+
}
|
|
539
|
+
else if (typeof cb === "function") {
|
|
540
|
+
if (typeof optionsOrCb !== "object")
|
|
541
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
542
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
543
|
+
}
|
|
544
|
+
else {
|
|
545
|
+
return this.send(command, optionsOrCb);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
428
548
|
tagResource(args, optionsOrCb, cb) {
|
|
429
549
|
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
430
550
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchAssociateResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class BatchAssociateResourceCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchAssociateResourceCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FMSClient";
|
|
28
|
+
const commandName = "BatchAssociateResourceCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.BatchAssociateResourceRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.BatchAssociateResourceResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1BatchAssociateResourceCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1BatchAssociateResourceCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.BatchAssociateResourceCommand = BatchAssociateResourceCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchDisassociateResourceCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class BatchDisassociateResourceCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchDisassociateResourceCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FMSClient";
|
|
28
|
+
const commandName = "BatchDisassociateResourceCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.BatchDisassociateResourceRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.BatchDisassociateResourceResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1BatchDisassociateResourceCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1BatchDisassociateResourceCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.BatchDisassociateResourceCommand = BatchDisassociateResourceCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteResourceSetCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DeleteResourceSetCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteResourceSetCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FMSClient";
|
|
28
|
+
const commandName = "DeleteResourceSetCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DeleteResourceSetRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: (output) => output,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteResourceSetCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteResourceSetCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteResourceSetCommand = DeleteResourceSetCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResourceSetCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class GetResourceSetCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetResourceSetCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FMSClient";
|
|
28
|
+
const commandName = "GetResourceSetCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetResourceSetRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetResourceSetResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetResourceSetCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetResourceSetCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetResourceSetCommand = GetResourceSetCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListDiscoveredResourcesCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class ListDiscoveredResourcesCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDiscoveredResourcesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FMSClient";
|
|
28
|
+
const commandName = "ListDiscoveredResourcesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListDiscoveredResourcesRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListDiscoveredResourcesResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListDiscoveredResourcesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListDiscoveredResourcesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListDiscoveredResourcesCommand = ListDiscoveredResourcesCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListResourceSetResourcesCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class ListResourceSetResourcesCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListResourceSetResourcesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FMSClient";
|
|
28
|
+
const commandName = "ListResourceSetResourcesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListResourceSetResourcesRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListResourceSetResourcesResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListResourceSetResourcesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListResourceSetResourcesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListResourceSetResourcesCommand = ListResourceSetResourcesCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListResourceSetsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class ListResourceSetsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListResourceSetsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FMSClient";
|
|
28
|
+
const commandName = "ListResourceSetsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListResourceSetsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListResourceSetsResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListResourceSetsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListResourceSetsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListResourceSetsCommand = ListResourceSetsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutResourceSetCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class PutResourceSetCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutResourceSetCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FMSClient";
|
|
28
|
+
const commandName = "PutResourceSetCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.PutResourceSetRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.PutResourceSetResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1PutResourceSetCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1PutResourceSetCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.PutResourceSetCommand = PutResourceSetCommand;
|
|
@@ -3,10 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./AssociateAdminAccountCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./AssociateThirdPartyFirewallCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./BatchAssociateResourceCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./BatchDisassociateResourceCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./DeleteAppsListCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./DeleteNotificationChannelCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./DeletePolicyCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./DeleteProtocolsListCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteResourceSetCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./DisassociateAdminAccountCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./DisassociateThirdPartyFirewallCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./GetAdminAccountCommand"), exports);
|
|
@@ -16,18 +19,23 @@ tslib_1.__exportStar(require("./GetNotificationChannelCommand"), exports);
|
|
|
16
19
|
tslib_1.__exportStar(require("./GetPolicyCommand"), exports);
|
|
17
20
|
tslib_1.__exportStar(require("./GetProtectionStatusCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./GetProtocolsListCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./GetResourceSetCommand"), exports);
|
|
19
23
|
tslib_1.__exportStar(require("./GetThirdPartyFirewallAssociationStatusCommand"), exports);
|
|
20
24
|
tslib_1.__exportStar(require("./GetViolationDetailsCommand"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./ListAppsListsCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./ListComplianceStatusCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./ListDiscoveredResourcesCommand"), exports);
|
|
23
28
|
tslib_1.__exportStar(require("./ListMemberAccountsCommand"), exports);
|
|
24
29
|
tslib_1.__exportStar(require("./ListPoliciesCommand"), exports);
|
|
25
30
|
tslib_1.__exportStar(require("./ListProtocolsListsCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./ListResourceSetResourcesCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./ListResourceSetsCommand"), exports);
|
|
26
33
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
27
34
|
tslib_1.__exportStar(require("./ListThirdPartyFirewallFirewallPoliciesCommand"), exports);
|
|
28
35
|
tslib_1.__exportStar(require("./PutAppsListCommand"), exports);
|
|
29
36
|
tslib_1.__exportStar(require("./PutNotificationChannelCommand"), exports);
|
|
30
37
|
tslib_1.__exportStar(require("./PutPolicyCommand"), exports);
|
|
31
38
|
tslib_1.__exportStar(require("./PutProtocolsListCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./PutResourceSetCommand"), exports);
|
|
32
40
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
33
41
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|