@aws-sdk/client-fms 3.315.0 → 3.318.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/README.md +33 -1
- package/dist-cjs/FMS.js +50 -532
- package/dist-cjs/commands/GetAdminScopeCommand.js +45 -0
- package/dist-cjs/commands/ListAdminAccountsForOrganizationCommand.js +45 -0
- package/dist-cjs/commands/ListAdminsManagingAccountCommand.js +45 -0
- package/dist-cjs/commands/PutAdminAccountCommand.js +45 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +27 -13
- package/dist-cjs/pagination/ListAdminAccountsForOrganizationPaginator.js +29 -0
- package/dist-cjs/pagination/ListAdminsManagingAccountPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +192 -2
- package/dist-es/FMS.js +50 -532
- package/dist-es/commands/GetAdminScopeCommand.js +41 -0
- package/dist-es/commands/ListAdminAccountsForOrganizationCommand.js +41 -0
- package/dist-es/commands/ListAdminsManagingAccountCommand.js +41 -0
- package/dist-es/commands/PutAdminAccountCommand.js +41 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +26 -12
- package/dist-es/pagination/ListAdminAccountsForOrganizationPaginator.js +25 -0
- package/dist-es/pagination/ListAdminsManagingAccountPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +182 -0
- package/dist-types/FMS.d.ts +79 -162
- package/dist-types/FMSClient.d.ts +7 -3
- package/dist-types/commands/AssociateAdminAccountCommand.d.ts +2 -4
- package/dist-types/commands/DisassociateAdminAccountCommand.d.ts +2 -3
- package/dist-types/commands/GetAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetAdminScopeCommand.d.ts +80 -0
- package/dist-types/commands/GetComplianceDetailCommand.d.ts +4 -4
- package/dist-types/commands/ListAdminAccountsForOrganizationCommand.d.ts +79 -0
- package/dist-types/commands/ListAdminsManagingAccountCommand.d.ts +74 -0
- package/dist-types/commands/ListMemberAccountsCommand.d.ts +1 -2
- package/dist-types/commands/PutAdminAccountCommand.d.ts +112 -0
- package/dist-types/commands/PutNotificationChannelCommand.d.ts +2 -3
- package/dist-types/commands/PutPolicyCommand.d.ts +1 -0
- package/dist-types/commands/PutResourceSetCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +436 -59
- package/dist-types/pagination/ListAdminAccountsForOrganizationPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAdminsManagingAccountPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/FMS.d.ts +70 -1
- package/dist-types/ts3.4/FMSClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetAdminScopeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListAdminAccountsForOrganizationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListAdminsManagingAccountCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutAdminAccountCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +94 -14
- package/dist-types/ts3.4/pagination/ListAdminAccountsForOrganizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAdminsManagingAccountPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ developers who need detailed information about the Firewall Manager API actions,
|
|
|
14
14
|
types, and errors. For detailed information about Firewall Manager features, see the
|
|
15
15
|
<a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html">Firewall Manager Developer Guide</a>.</p>
|
|
16
16
|
<p>Some API actions require explicit resource permissions. For information, see the developer guide topic
|
|
17
|
-
<a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-
|
|
17
|
+
<a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-security_iam_service-with-iam.html#fms-security_iam_service-with-iam-roles-service">Service roles for Firewall Manager</a>.
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
## Installing
|
|
@@ -307,6 +307,14 @@ GetAdminAccount
|
|
|
307
307
|
|
|
308
308
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/classes/getadminaccountcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/getadminaccountcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/getadminaccountcommandoutput.html)
|
|
309
309
|
|
|
310
|
+
</details>
|
|
311
|
+
<details>
|
|
312
|
+
<summary>
|
|
313
|
+
GetAdminScope
|
|
314
|
+
</summary>
|
|
315
|
+
|
|
316
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/classes/getadminscopecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/getadminscopecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/getadminscopecommandoutput.html)
|
|
317
|
+
|
|
310
318
|
</details>
|
|
311
319
|
<details>
|
|
312
320
|
<summary>
|
|
@@ -379,6 +387,22 @@ GetViolationDetails
|
|
|
379
387
|
|
|
380
388
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/classes/getviolationdetailscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/getviolationdetailscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/getviolationdetailscommandoutput.html)
|
|
381
389
|
|
|
390
|
+
</details>
|
|
391
|
+
<details>
|
|
392
|
+
<summary>
|
|
393
|
+
ListAdminAccountsForOrganization
|
|
394
|
+
</summary>
|
|
395
|
+
|
|
396
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/classes/listadminaccountsfororganizationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/listadminaccountsfororganizationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/listadminaccountsfororganizationcommandoutput.html)
|
|
397
|
+
|
|
398
|
+
</details>
|
|
399
|
+
<details>
|
|
400
|
+
<summary>
|
|
401
|
+
ListAdminsManagingAccount
|
|
402
|
+
</summary>
|
|
403
|
+
|
|
404
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/classes/listadminsmanagingaccountcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/listadminsmanagingaccountcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/listadminsmanagingaccountcommandoutput.html)
|
|
405
|
+
|
|
382
406
|
</details>
|
|
383
407
|
<details>
|
|
384
408
|
<summary>
|
|
@@ -459,6 +483,14 @@ ListThirdPartyFirewallFirewallPolicies
|
|
|
459
483
|
|
|
460
484
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/classes/listthirdpartyfirewallfirewallpoliciescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/listthirdpartyfirewallfirewallpoliciescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/listthirdpartyfirewallfirewallpoliciescommandoutput.html)
|
|
461
485
|
|
|
486
|
+
</details>
|
|
487
|
+
<details>
|
|
488
|
+
<summary>
|
|
489
|
+
PutAdminAccount
|
|
490
|
+
</summary>
|
|
491
|
+
|
|
492
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/classes/putadminaccountcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/putadminaccountcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fms/interfaces/putadminaccountcommandoutput.html)
|
|
493
|
+
|
|
462
494
|
</details>
|
|
463
495
|
<details>
|
|
464
496
|
<summary>
|
package/dist-cjs/FMS.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FMS = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AssociateAdminAccountCommand_1 = require("./commands/AssociateAdminAccountCommand");
|
|
5
6
|
const AssociateThirdPartyFirewallCommand_1 = require("./commands/AssociateThirdPartyFirewallCommand");
|
|
6
7
|
const BatchAssociateResourceCommand_1 = require("./commands/BatchAssociateResourceCommand");
|
|
@@ -13,6 +14,7 @@ const DeleteResourceSetCommand_1 = require("./commands/DeleteResourceSetCommand"
|
|
|
13
14
|
const DisassociateAdminAccountCommand_1 = require("./commands/DisassociateAdminAccountCommand");
|
|
14
15
|
const DisassociateThirdPartyFirewallCommand_1 = require("./commands/DisassociateThirdPartyFirewallCommand");
|
|
15
16
|
const GetAdminAccountCommand_1 = require("./commands/GetAdminAccountCommand");
|
|
17
|
+
const GetAdminScopeCommand_1 = require("./commands/GetAdminScopeCommand");
|
|
16
18
|
const GetAppsListCommand_1 = require("./commands/GetAppsListCommand");
|
|
17
19
|
const GetComplianceDetailCommand_1 = require("./commands/GetComplianceDetailCommand");
|
|
18
20
|
const GetNotificationChannelCommand_1 = require("./commands/GetNotificationChannelCommand");
|
|
@@ -22,6 +24,8 @@ const GetProtocolsListCommand_1 = require("./commands/GetProtocolsListCommand");
|
|
|
22
24
|
const GetResourceSetCommand_1 = require("./commands/GetResourceSetCommand");
|
|
23
25
|
const GetThirdPartyFirewallAssociationStatusCommand_1 = require("./commands/GetThirdPartyFirewallAssociationStatusCommand");
|
|
24
26
|
const GetViolationDetailsCommand_1 = require("./commands/GetViolationDetailsCommand");
|
|
27
|
+
const ListAdminAccountsForOrganizationCommand_1 = require("./commands/ListAdminAccountsForOrganizationCommand");
|
|
28
|
+
const ListAdminsManagingAccountCommand_1 = require("./commands/ListAdminsManagingAccountCommand");
|
|
25
29
|
const ListAppsListsCommand_1 = require("./commands/ListAppsListsCommand");
|
|
26
30
|
const ListComplianceStatusCommand_1 = require("./commands/ListComplianceStatusCommand");
|
|
27
31
|
const ListDiscoveredResourcesCommand_1 = require("./commands/ListDiscoveredResourcesCommand");
|
|
@@ -32,6 +36,7 @@ const ListResourceSetResourcesCommand_1 = require("./commands/ListResourceSetRes
|
|
|
32
36
|
const ListResourceSetsCommand_1 = require("./commands/ListResourceSetsCommand");
|
|
33
37
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
34
38
|
const ListThirdPartyFirewallFirewallPoliciesCommand_1 = require("./commands/ListThirdPartyFirewallFirewallPoliciesCommand");
|
|
39
|
+
const PutAdminAccountCommand_1 = require("./commands/PutAdminAccountCommand");
|
|
35
40
|
const PutAppsListCommand_1 = require("./commands/PutAppsListCommand");
|
|
36
41
|
const PutNotificationChannelCommand_1 = require("./commands/PutNotificationChannelCommand");
|
|
37
42
|
const PutPolicyCommand_1 = require("./commands/PutPolicyCommand");
|
|
@@ -40,538 +45,51 @@ const PutResourceSetCommand_1 = require("./commands/PutResourceSetCommand");
|
|
|
40
45
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
41
46
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
42
47
|
const FMSClient_1 = require("./FMSClient");
|
|
48
|
+
const commands = {
|
|
49
|
+
AssociateAdminAccountCommand: AssociateAdminAccountCommand_1.AssociateAdminAccountCommand,
|
|
50
|
+
AssociateThirdPartyFirewallCommand: AssociateThirdPartyFirewallCommand_1.AssociateThirdPartyFirewallCommand,
|
|
51
|
+
BatchAssociateResourceCommand: BatchAssociateResourceCommand_1.BatchAssociateResourceCommand,
|
|
52
|
+
BatchDisassociateResourceCommand: BatchDisassociateResourceCommand_1.BatchDisassociateResourceCommand,
|
|
53
|
+
DeleteAppsListCommand: DeleteAppsListCommand_1.DeleteAppsListCommand,
|
|
54
|
+
DeleteNotificationChannelCommand: DeleteNotificationChannelCommand_1.DeleteNotificationChannelCommand,
|
|
55
|
+
DeletePolicyCommand: DeletePolicyCommand_1.DeletePolicyCommand,
|
|
56
|
+
DeleteProtocolsListCommand: DeleteProtocolsListCommand_1.DeleteProtocolsListCommand,
|
|
57
|
+
DeleteResourceSetCommand: DeleteResourceSetCommand_1.DeleteResourceSetCommand,
|
|
58
|
+
DisassociateAdminAccountCommand: DisassociateAdminAccountCommand_1.DisassociateAdminAccountCommand,
|
|
59
|
+
DisassociateThirdPartyFirewallCommand: DisassociateThirdPartyFirewallCommand_1.DisassociateThirdPartyFirewallCommand,
|
|
60
|
+
GetAdminAccountCommand: GetAdminAccountCommand_1.GetAdminAccountCommand,
|
|
61
|
+
GetAdminScopeCommand: GetAdminScopeCommand_1.GetAdminScopeCommand,
|
|
62
|
+
GetAppsListCommand: GetAppsListCommand_1.GetAppsListCommand,
|
|
63
|
+
GetComplianceDetailCommand: GetComplianceDetailCommand_1.GetComplianceDetailCommand,
|
|
64
|
+
GetNotificationChannelCommand: GetNotificationChannelCommand_1.GetNotificationChannelCommand,
|
|
65
|
+
GetPolicyCommand: GetPolicyCommand_1.GetPolicyCommand,
|
|
66
|
+
GetProtectionStatusCommand: GetProtectionStatusCommand_1.GetProtectionStatusCommand,
|
|
67
|
+
GetProtocolsListCommand: GetProtocolsListCommand_1.GetProtocolsListCommand,
|
|
68
|
+
GetResourceSetCommand: GetResourceSetCommand_1.GetResourceSetCommand,
|
|
69
|
+
GetThirdPartyFirewallAssociationStatusCommand: GetThirdPartyFirewallAssociationStatusCommand_1.GetThirdPartyFirewallAssociationStatusCommand,
|
|
70
|
+
GetViolationDetailsCommand: GetViolationDetailsCommand_1.GetViolationDetailsCommand,
|
|
71
|
+
ListAdminAccountsForOrganizationCommand: ListAdminAccountsForOrganizationCommand_1.ListAdminAccountsForOrganizationCommand,
|
|
72
|
+
ListAdminsManagingAccountCommand: ListAdminsManagingAccountCommand_1.ListAdminsManagingAccountCommand,
|
|
73
|
+
ListAppsListsCommand: ListAppsListsCommand_1.ListAppsListsCommand,
|
|
74
|
+
ListComplianceStatusCommand: ListComplianceStatusCommand_1.ListComplianceStatusCommand,
|
|
75
|
+
ListDiscoveredResourcesCommand: ListDiscoveredResourcesCommand_1.ListDiscoveredResourcesCommand,
|
|
76
|
+
ListMemberAccountsCommand: ListMemberAccountsCommand_1.ListMemberAccountsCommand,
|
|
77
|
+
ListPoliciesCommand: ListPoliciesCommand_1.ListPoliciesCommand,
|
|
78
|
+
ListProtocolsListsCommand: ListProtocolsListsCommand_1.ListProtocolsListsCommand,
|
|
79
|
+
ListResourceSetResourcesCommand: ListResourceSetResourcesCommand_1.ListResourceSetResourcesCommand,
|
|
80
|
+
ListResourceSetsCommand: ListResourceSetsCommand_1.ListResourceSetsCommand,
|
|
81
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
82
|
+
ListThirdPartyFirewallFirewallPoliciesCommand: ListThirdPartyFirewallFirewallPoliciesCommand_1.ListThirdPartyFirewallFirewallPoliciesCommand,
|
|
83
|
+
PutAdminAccountCommand: PutAdminAccountCommand_1.PutAdminAccountCommand,
|
|
84
|
+
PutAppsListCommand: PutAppsListCommand_1.PutAppsListCommand,
|
|
85
|
+
PutNotificationChannelCommand: PutNotificationChannelCommand_1.PutNotificationChannelCommand,
|
|
86
|
+
PutPolicyCommand: PutPolicyCommand_1.PutPolicyCommand,
|
|
87
|
+
PutProtocolsListCommand: PutProtocolsListCommand_1.PutProtocolsListCommand,
|
|
88
|
+
PutResourceSetCommand: PutResourceSetCommand_1.PutResourceSetCommand,
|
|
89
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
90
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
91
|
+
};
|
|
43
92
|
class FMS extends FMSClient_1.FMSClient {
|
|
44
|
-
associateAdminAccount(args, optionsOrCb, cb) {
|
|
45
|
-
const command = new AssociateAdminAccountCommand_1.AssociateAdminAccountCommand(args);
|
|
46
|
-
if (typeof optionsOrCb === "function") {
|
|
47
|
-
this.send(command, optionsOrCb);
|
|
48
|
-
}
|
|
49
|
-
else if (typeof cb === "function") {
|
|
50
|
-
if (typeof optionsOrCb !== "object")
|
|
51
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
52
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
return this.send(command, optionsOrCb);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
associateThirdPartyFirewall(args, optionsOrCb, cb) {
|
|
59
|
-
const command = new AssociateThirdPartyFirewallCommand_1.AssociateThirdPartyFirewallCommand(args);
|
|
60
|
-
if (typeof optionsOrCb === "function") {
|
|
61
|
-
this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
else if (typeof cb === "function") {
|
|
64
|
-
if (typeof optionsOrCb !== "object")
|
|
65
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
66
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
return this.send(command, optionsOrCb);
|
|
70
|
-
}
|
|
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
|
-
}
|
|
100
|
-
deleteAppsList(args, optionsOrCb, cb) {
|
|
101
|
-
const command = new DeleteAppsListCommand_1.DeleteAppsListCommand(args);
|
|
102
|
-
if (typeof optionsOrCb === "function") {
|
|
103
|
-
this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
else if (typeof cb === "function") {
|
|
106
|
-
if (typeof optionsOrCb !== "object")
|
|
107
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
return this.send(command, optionsOrCb);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
deleteNotificationChannel(args, optionsOrCb, cb) {
|
|
115
|
-
const command = new DeleteNotificationChannelCommand_1.DeleteNotificationChannelCommand(args);
|
|
116
|
-
if (typeof optionsOrCb === "function") {
|
|
117
|
-
this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
else if (typeof cb === "function") {
|
|
120
|
-
if (typeof optionsOrCb !== "object")
|
|
121
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
123
|
-
}
|
|
124
|
-
else {
|
|
125
|
-
return this.send(command, optionsOrCb);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
deletePolicy(args, optionsOrCb, cb) {
|
|
129
|
-
const command = new DeletePolicyCommand_1.DeletePolicyCommand(args);
|
|
130
|
-
if (typeof optionsOrCb === "function") {
|
|
131
|
-
this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
else if (typeof cb === "function") {
|
|
134
|
-
if (typeof optionsOrCb !== "object")
|
|
135
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
136
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
return this.send(command, optionsOrCb);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
deleteProtocolsList(args, optionsOrCb, cb) {
|
|
143
|
-
const command = new DeleteProtocolsListCommand_1.DeleteProtocolsListCommand(args);
|
|
144
|
-
if (typeof optionsOrCb === "function") {
|
|
145
|
-
this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
else if (typeof cb === "function") {
|
|
148
|
-
if (typeof optionsOrCb !== "object")
|
|
149
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
150
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
return this.send(command, optionsOrCb);
|
|
154
|
-
}
|
|
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
|
-
}
|
|
170
|
-
disassociateAdminAccount(args, optionsOrCb, cb) {
|
|
171
|
-
const command = new DisassociateAdminAccountCommand_1.DisassociateAdminAccountCommand(args);
|
|
172
|
-
if (typeof optionsOrCb === "function") {
|
|
173
|
-
this.send(command, optionsOrCb);
|
|
174
|
-
}
|
|
175
|
-
else if (typeof cb === "function") {
|
|
176
|
-
if (typeof optionsOrCb !== "object")
|
|
177
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
178
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
179
|
-
}
|
|
180
|
-
else {
|
|
181
|
-
return this.send(command, optionsOrCb);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
disassociateThirdPartyFirewall(args, optionsOrCb, cb) {
|
|
185
|
-
const command = new DisassociateThirdPartyFirewallCommand_1.DisassociateThirdPartyFirewallCommand(args);
|
|
186
|
-
if (typeof optionsOrCb === "function") {
|
|
187
|
-
this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
else if (typeof cb === "function") {
|
|
190
|
-
if (typeof optionsOrCb !== "object")
|
|
191
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
return this.send(command, optionsOrCb);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
getAdminAccount(args, optionsOrCb, cb) {
|
|
199
|
-
const command = new GetAdminAccountCommand_1.GetAdminAccountCommand(args);
|
|
200
|
-
if (typeof optionsOrCb === "function") {
|
|
201
|
-
this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
else if (typeof cb === "function") {
|
|
204
|
-
if (typeof optionsOrCb !== "object")
|
|
205
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
206
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
207
|
-
}
|
|
208
|
-
else {
|
|
209
|
-
return this.send(command, optionsOrCb);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
getAppsList(args, optionsOrCb, cb) {
|
|
213
|
-
const command = new GetAppsListCommand_1.GetAppsListCommand(args);
|
|
214
|
-
if (typeof optionsOrCb === "function") {
|
|
215
|
-
this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
else if (typeof cb === "function") {
|
|
218
|
-
if (typeof optionsOrCb !== "object")
|
|
219
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
221
|
-
}
|
|
222
|
-
else {
|
|
223
|
-
return this.send(command, optionsOrCb);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
getComplianceDetail(args, optionsOrCb, cb) {
|
|
227
|
-
const command = new GetComplianceDetailCommand_1.GetComplianceDetailCommand(args);
|
|
228
|
-
if (typeof optionsOrCb === "function") {
|
|
229
|
-
this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
else if (typeof cb === "function") {
|
|
232
|
-
if (typeof optionsOrCb !== "object")
|
|
233
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
234
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
return this.send(command, optionsOrCb);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
getNotificationChannel(args, optionsOrCb, cb) {
|
|
241
|
-
const command = new GetNotificationChannelCommand_1.GetNotificationChannelCommand(args);
|
|
242
|
-
if (typeof optionsOrCb === "function") {
|
|
243
|
-
this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
else if (typeof cb === "function") {
|
|
246
|
-
if (typeof optionsOrCb !== "object")
|
|
247
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
248
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
return this.send(command, optionsOrCb);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
getPolicy(args, optionsOrCb, cb) {
|
|
255
|
-
const command = new GetPolicyCommand_1.GetPolicyCommand(args);
|
|
256
|
-
if (typeof optionsOrCb === "function") {
|
|
257
|
-
this.send(command, optionsOrCb);
|
|
258
|
-
}
|
|
259
|
-
else if (typeof cb === "function") {
|
|
260
|
-
if (typeof optionsOrCb !== "object")
|
|
261
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
262
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
return this.send(command, optionsOrCb);
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
getProtectionStatus(args, optionsOrCb, cb) {
|
|
269
|
-
const command = new GetProtectionStatusCommand_1.GetProtectionStatusCommand(args);
|
|
270
|
-
if (typeof optionsOrCb === "function") {
|
|
271
|
-
this.send(command, optionsOrCb);
|
|
272
|
-
}
|
|
273
|
-
else if (typeof cb === "function") {
|
|
274
|
-
if (typeof optionsOrCb !== "object")
|
|
275
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
276
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
277
|
-
}
|
|
278
|
-
else {
|
|
279
|
-
return this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
getProtocolsList(args, optionsOrCb, cb) {
|
|
283
|
-
const command = new GetProtocolsListCommand_1.GetProtocolsListCommand(args);
|
|
284
|
-
if (typeof optionsOrCb === "function") {
|
|
285
|
-
this.send(command, optionsOrCb);
|
|
286
|
-
}
|
|
287
|
-
else if (typeof cb === "function") {
|
|
288
|
-
if (typeof optionsOrCb !== "object")
|
|
289
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
290
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
291
|
-
}
|
|
292
|
-
else {
|
|
293
|
-
return this.send(command, optionsOrCb);
|
|
294
|
-
}
|
|
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
|
-
}
|
|
310
|
-
getThirdPartyFirewallAssociationStatus(args, optionsOrCb, cb) {
|
|
311
|
-
const command = new GetThirdPartyFirewallAssociationStatusCommand_1.GetThirdPartyFirewallAssociationStatusCommand(args);
|
|
312
|
-
if (typeof optionsOrCb === "function") {
|
|
313
|
-
this.send(command, optionsOrCb);
|
|
314
|
-
}
|
|
315
|
-
else if (typeof cb === "function") {
|
|
316
|
-
if (typeof optionsOrCb !== "object")
|
|
317
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
318
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
319
|
-
}
|
|
320
|
-
else {
|
|
321
|
-
return this.send(command, optionsOrCb);
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
getViolationDetails(args, optionsOrCb, cb) {
|
|
325
|
-
const command = new GetViolationDetailsCommand_1.GetViolationDetailsCommand(args);
|
|
326
|
-
if (typeof optionsOrCb === "function") {
|
|
327
|
-
this.send(command, optionsOrCb);
|
|
328
|
-
}
|
|
329
|
-
else if (typeof cb === "function") {
|
|
330
|
-
if (typeof optionsOrCb !== "object")
|
|
331
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
332
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
333
|
-
}
|
|
334
|
-
else {
|
|
335
|
-
return this.send(command, optionsOrCb);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
listAppsLists(args, optionsOrCb, cb) {
|
|
339
|
-
const command = new ListAppsListsCommand_1.ListAppsListsCommand(args);
|
|
340
|
-
if (typeof optionsOrCb === "function") {
|
|
341
|
-
this.send(command, optionsOrCb);
|
|
342
|
-
}
|
|
343
|
-
else if (typeof cb === "function") {
|
|
344
|
-
if (typeof optionsOrCb !== "object")
|
|
345
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
346
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
347
|
-
}
|
|
348
|
-
else {
|
|
349
|
-
return this.send(command, optionsOrCb);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
listComplianceStatus(args, optionsOrCb, cb) {
|
|
353
|
-
const command = new ListComplianceStatusCommand_1.ListComplianceStatusCommand(args);
|
|
354
|
-
if (typeof optionsOrCb === "function") {
|
|
355
|
-
this.send(command, optionsOrCb);
|
|
356
|
-
}
|
|
357
|
-
else if (typeof cb === "function") {
|
|
358
|
-
if (typeof optionsOrCb !== "object")
|
|
359
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
360
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
361
|
-
}
|
|
362
|
-
else {
|
|
363
|
-
return this.send(command, optionsOrCb);
|
|
364
|
-
}
|
|
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
|
-
}
|
|
380
|
-
listMemberAccounts(args, optionsOrCb, cb) {
|
|
381
|
-
const command = new ListMemberAccountsCommand_1.ListMemberAccountsCommand(args);
|
|
382
|
-
if (typeof optionsOrCb === "function") {
|
|
383
|
-
this.send(command, optionsOrCb);
|
|
384
|
-
}
|
|
385
|
-
else if (typeof cb === "function") {
|
|
386
|
-
if (typeof optionsOrCb !== "object")
|
|
387
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
388
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
389
|
-
}
|
|
390
|
-
else {
|
|
391
|
-
return this.send(command, optionsOrCb);
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
listPolicies(args, optionsOrCb, cb) {
|
|
395
|
-
const command = new ListPoliciesCommand_1.ListPoliciesCommand(args);
|
|
396
|
-
if (typeof optionsOrCb === "function") {
|
|
397
|
-
this.send(command, optionsOrCb);
|
|
398
|
-
}
|
|
399
|
-
else if (typeof cb === "function") {
|
|
400
|
-
if (typeof optionsOrCb !== "object")
|
|
401
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
402
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
403
|
-
}
|
|
404
|
-
else {
|
|
405
|
-
return this.send(command, optionsOrCb);
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
listProtocolsLists(args, optionsOrCb, cb) {
|
|
409
|
-
const command = new ListProtocolsListsCommand_1.ListProtocolsListsCommand(args);
|
|
410
|
-
if (typeof optionsOrCb === "function") {
|
|
411
|
-
this.send(command, optionsOrCb);
|
|
412
|
-
}
|
|
413
|
-
else if (typeof cb === "function") {
|
|
414
|
-
if (typeof optionsOrCb !== "object")
|
|
415
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
416
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
417
|
-
}
|
|
418
|
-
else {
|
|
419
|
-
return this.send(command, optionsOrCb);
|
|
420
|
-
}
|
|
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
|
-
}
|
|
450
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
451
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
452
|
-
if (typeof optionsOrCb === "function") {
|
|
453
|
-
this.send(command, optionsOrCb);
|
|
454
|
-
}
|
|
455
|
-
else if (typeof cb === "function") {
|
|
456
|
-
if (typeof optionsOrCb !== "object")
|
|
457
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
458
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
459
|
-
}
|
|
460
|
-
else {
|
|
461
|
-
return this.send(command, optionsOrCb);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
listThirdPartyFirewallFirewallPolicies(args, optionsOrCb, cb) {
|
|
465
|
-
const command = new ListThirdPartyFirewallFirewallPoliciesCommand_1.ListThirdPartyFirewallFirewallPoliciesCommand(args);
|
|
466
|
-
if (typeof optionsOrCb === "function") {
|
|
467
|
-
this.send(command, optionsOrCb);
|
|
468
|
-
}
|
|
469
|
-
else if (typeof cb === "function") {
|
|
470
|
-
if (typeof optionsOrCb !== "object")
|
|
471
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
472
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
473
|
-
}
|
|
474
|
-
else {
|
|
475
|
-
return this.send(command, optionsOrCb);
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
putAppsList(args, optionsOrCb, cb) {
|
|
479
|
-
const command = new PutAppsListCommand_1.PutAppsListCommand(args);
|
|
480
|
-
if (typeof optionsOrCb === "function") {
|
|
481
|
-
this.send(command, optionsOrCb);
|
|
482
|
-
}
|
|
483
|
-
else if (typeof cb === "function") {
|
|
484
|
-
if (typeof optionsOrCb !== "object")
|
|
485
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
486
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
487
|
-
}
|
|
488
|
-
else {
|
|
489
|
-
return this.send(command, optionsOrCb);
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
putNotificationChannel(args, optionsOrCb, cb) {
|
|
493
|
-
const command = new PutNotificationChannelCommand_1.PutNotificationChannelCommand(args);
|
|
494
|
-
if (typeof optionsOrCb === "function") {
|
|
495
|
-
this.send(command, optionsOrCb);
|
|
496
|
-
}
|
|
497
|
-
else if (typeof cb === "function") {
|
|
498
|
-
if (typeof optionsOrCb !== "object")
|
|
499
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
500
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
501
|
-
}
|
|
502
|
-
else {
|
|
503
|
-
return this.send(command, optionsOrCb);
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
putPolicy(args, optionsOrCb, cb) {
|
|
507
|
-
const command = new PutPolicyCommand_1.PutPolicyCommand(args);
|
|
508
|
-
if (typeof optionsOrCb === "function") {
|
|
509
|
-
this.send(command, optionsOrCb);
|
|
510
|
-
}
|
|
511
|
-
else if (typeof cb === "function") {
|
|
512
|
-
if (typeof optionsOrCb !== "object")
|
|
513
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
514
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
515
|
-
}
|
|
516
|
-
else {
|
|
517
|
-
return this.send(command, optionsOrCb);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
putProtocolsList(args, optionsOrCb, cb) {
|
|
521
|
-
const command = new PutProtocolsListCommand_1.PutProtocolsListCommand(args);
|
|
522
|
-
if (typeof optionsOrCb === "function") {
|
|
523
|
-
this.send(command, optionsOrCb);
|
|
524
|
-
}
|
|
525
|
-
else if (typeof cb === "function") {
|
|
526
|
-
if (typeof optionsOrCb !== "object")
|
|
527
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
528
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
529
|
-
}
|
|
530
|
-
else {
|
|
531
|
-
return this.send(command, optionsOrCb);
|
|
532
|
-
}
|
|
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
|
-
}
|
|
548
|
-
tagResource(args, optionsOrCb, cb) {
|
|
549
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
550
|
-
if (typeof optionsOrCb === "function") {
|
|
551
|
-
this.send(command, optionsOrCb);
|
|
552
|
-
}
|
|
553
|
-
else if (typeof cb === "function") {
|
|
554
|
-
if (typeof optionsOrCb !== "object")
|
|
555
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
556
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
557
|
-
}
|
|
558
|
-
else {
|
|
559
|
-
return this.send(command, optionsOrCb);
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
untagResource(args, optionsOrCb, cb) {
|
|
563
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
564
|
-
if (typeof optionsOrCb === "function") {
|
|
565
|
-
this.send(command, optionsOrCb);
|
|
566
|
-
}
|
|
567
|
-
else if (typeof cb === "function") {
|
|
568
|
-
if (typeof optionsOrCb !== "object")
|
|
569
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
570
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
571
|
-
}
|
|
572
|
-
else {
|
|
573
|
-
return this.send(command, optionsOrCb);
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
93
|
}
|
|
577
94
|
exports.FMS = FMS;
|
|
95
|
+
(0, smithy_client_1.createAggregatedClient)(commands, FMS);
|