@aws-sdk/client-fms 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/FMS.js +0 -1
- package/dist-cjs/FMSClient.js +0 -1
- package/dist-cjs/commands/AssociateAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/DeleteAppsListCommand.js +0 -1
- package/dist-cjs/commands/DeleteNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/DeletePolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/DisassociateAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/GetAdminAccountCommand.js +0 -1
- package/dist-cjs/commands/GetAppsListCommand.js +0 -1
- package/dist-cjs/commands/GetComplianceDetailCommand.js +0 -1
- package/dist-cjs/commands/GetNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetProtectionStatusCommand.js +0 -1
- package/dist-cjs/commands/GetProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/GetViolationDetailsCommand.js +0 -1
- package/dist-cjs/commands/ListAppsListsCommand.js +0 -1
- package/dist-cjs/commands/ListComplianceStatusCommand.js +0 -1
- package/dist-cjs/commands/ListMemberAccountsCommand.js +0 -1
- package/dist-cjs/commands/ListPoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListProtocolsListsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/PutAppsListCommand.js +0 -1
- package/dist-cjs/commands/PutNotificationChannelCommand.js +0 -1
- package/dist-cjs/commands/PutPolicyCommand.js +0 -1
- package/dist-cjs/commands/PutProtocolsListCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAppsListsPaginator.js +0 -1
- package/dist-cjs/pagination/ListComplianceStatusPaginator.js +0 -1
- package/dist-cjs/pagination/ListMemberAccountsPaginator.js +0 -1
- package/dist-cjs/pagination/ListPoliciesPaginator.js +0 -1
- package/dist-cjs/pagination/ListProtocolsListsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/FMS.js +0 -1
- package/dist-es/FMSClient.js +0 -1
- package/dist-es/commands/AssociateAdminAccountCommand.js +0 -1
- package/dist-es/commands/DeleteAppsListCommand.js +0 -1
- package/dist-es/commands/DeleteNotificationChannelCommand.js +0 -1
- package/dist-es/commands/DeletePolicyCommand.js +0 -1
- package/dist-es/commands/DeleteProtocolsListCommand.js +0 -1
- package/dist-es/commands/DisassociateAdminAccountCommand.js +0 -1
- package/dist-es/commands/GetAdminAccountCommand.js +0 -1
- package/dist-es/commands/GetAppsListCommand.js +0 -1
- package/dist-es/commands/GetComplianceDetailCommand.js +0 -1
- package/dist-es/commands/GetNotificationChannelCommand.js +0 -1
- package/dist-es/commands/GetPolicyCommand.js +0 -1
- package/dist-es/commands/GetProtectionStatusCommand.js +0 -1
- package/dist-es/commands/GetProtocolsListCommand.js +0 -1
- package/dist-es/commands/GetViolationDetailsCommand.js +0 -1
- package/dist-es/commands/ListAppsListsCommand.js +0 -1
- package/dist-es/commands/ListComplianceStatusCommand.js +0 -1
- package/dist-es/commands/ListMemberAccountsCommand.js +0 -1
- package/dist-es/commands/ListPoliciesCommand.js +0 -1
- package/dist-es/commands/ListProtocolsListsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutAppsListCommand.js +0 -1
- package/dist-es/commands/PutNotificationChannelCommand.js +0 -1
- package/dist-es/commands/PutPolicyCommand.js +0 -1
- package/dist-es/commands/PutProtocolsListCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAppsListsPaginator.js +0 -1
- package/dist-es/pagination/ListComplianceStatusPaginator.js +0 -1
- package/dist-es/pagination/ListMemberAccountsPaginator.js +0 -1
- package/dist-es/pagination/ListPoliciesPaginator.js +0 -1
- package/dist-es/pagination/ListProtocolsListsPaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/FMS.js.map +0 -1
- package/dist-cjs/FMSClient.js.map +0 -1
- package/dist-cjs/commands/AssociateAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAppsListCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteNotificationChannelCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProtocolsListCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/GetAdminAccountCommand.js.map +0 -1
- package/dist-cjs/commands/GetAppsListCommand.js.map +0 -1
- package/dist-cjs/commands/GetComplianceDetailCommand.js.map +0 -1
- package/dist-cjs/commands/GetNotificationChannelCommand.js.map +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetProtectionStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetProtocolsListCommand.js.map +0 -1
- package/dist-cjs/commands/GetViolationDetailsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAppsListsCommand.js.map +0 -1
- package/dist-cjs/commands/ListComplianceStatusCommand.js.map +0 -1
- package/dist-cjs/commands/ListMemberAccountsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListProtocolsListsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutAppsListCommand.js.map +0 -1
- package/dist-cjs/commands/PutNotificationChannelCommand.js.map +0 -1
- package/dist-cjs/commands/PutPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutProtocolsListCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAppsListsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListComplianceStatusPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListMemberAccountsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPoliciesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProtocolsListsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/FMS.js.map +0 -1
- package/dist-es/FMSClient.js.map +0 -1
- package/dist-es/commands/AssociateAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/DeleteAppsListCommand.js.map +0 -1
- package/dist-es/commands/DeleteNotificationChannelCommand.js.map +0 -1
- package/dist-es/commands/DeletePolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteProtocolsListCommand.js.map +0 -1
- package/dist-es/commands/DisassociateAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/GetAdminAccountCommand.js.map +0 -1
- package/dist-es/commands/GetAppsListCommand.js.map +0 -1
- package/dist-es/commands/GetComplianceDetailCommand.js.map +0 -1
- package/dist-es/commands/GetNotificationChannelCommand.js.map +0 -1
- package/dist-es/commands/GetPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetProtectionStatusCommand.js.map +0 -1
- package/dist-es/commands/GetProtocolsListCommand.js.map +0 -1
- package/dist-es/commands/GetViolationDetailsCommand.js.map +0 -1
- package/dist-es/commands/ListAppsListsCommand.js.map +0 -1
- package/dist-es/commands/ListComplianceStatusCommand.js.map +0 -1
- package/dist-es/commands/ListMemberAccountsCommand.js.map +0 -1
- package/dist-es/commands/ListPoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListProtocolsListsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutAppsListCommand.js.map +0 -1
- package/dist-es/commands/PutNotificationChannelCommand.js.map +0 -1
- package/dist-es/commands/PutPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutProtocolsListCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAppsListsPaginator.js.map +0 -1
- package/dist-es/pagination/ListComplianceStatusPaginator.js.map +0 -1
- package/dist-es/pagination/ListMemberAccountsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPoliciesPaginator.js.map +0 -1
- package/dist-es/pagination/ListProtocolsListsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/FMS.ts +0 -994
- package/src/FMSClient.ts +0 -353
- package/src/commands/AssociateAdminAccountCommand.ts +0 -98
- package/src/commands/DeleteAppsListCommand.ts +0 -95
- package/src/commands/DeleteNotificationChannelCommand.ts +0 -99
- package/src/commands/DeletePolicyCommand.ts +0 -95
- package/src/commands/DeleteProtocolsListCommand.ts +0 -95
- package/src/commands/DisassociateAdminAccountCommand.ts +0 -97
- package/src/commands/GetAdminAccountCommand.ts +0 -96
- package/src/commands/GetAppsListCommand.ts +0 -95
- package/src/commands/GetComplianceDetailCommand.ts +0 -118
- package/src/commands/GetNotificationChannelCommand.ts +0 -97
- package/src/commands/GetPolicyCommand.ts +0 -88
- package/src/commands/GetProtectionStatusCommand.ts +0 -96
- package/src/commands/GetProtocolsListCommand.ts +0 -95
- package/src/commands/GetViolationDetailsCommand.ts +0 -95
- package/src/commands/ListAppsListsCommand.ts +0 -95
- package/src/commands/ListComplianceStatusCommand.ts +0 -97
- package/src/commands/ListMemberAccountsCommand.ts +0 -98
- package/src/commands/ListPoliciesCommand.ts +0 -95
- package/src/commands/ListProtocolsListsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutAppsListCommand.ts +0 -95
- package/src/commands/PutNotificationChannelCommand.ts +0 -99
- package/src/commands/PutPolicyCommand.ts +0 -120
- package/src/commands/PutProtocolsListCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/endpoints.ts +0 -161
- package/src/index.ts +0 -35
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3424
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAppsListsPaginator.ts +0 -59
- package/src/pagination/ListComplianceStatusPaginator.ts +0 -59
- package/src/pagination/ListMemberAccountsPaginator.ts +0 -59
- package/src/pagination/ListPoliciesPaginator.ts +0 -59
- package/src/pagination/ListProtocolsListsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -4652
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/FMS.ts
DELETED
|
@@ -1,994 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
AssociateAdminAccountCommand,
|
|
5
|
-
AssociateAdminAccountCommandInput,
|
|
6
|
-
AssociateAdminAccountCommandOutput,
|
|
7
|
-
} from "./commands/AssociateAdminAccountCommand";
|
|
8
|
-
import {
|
|
9
|
-
DeleteAppsListCommand,
|
|
10
|
-
DeleteAppsListCommandInput,
|
|
11
|
-
DeleteAppsListCommandOutput,
|
|
12
|
-
} from "./commands/DeleteAppsListCommand";
|
|
13
|
-
import {
|
|
14
|
-
DeleteNotificationChannelCommand,
|
|
15
|
-
DeleteNotificationChannelCommandInput,
|
|
16
|
-
DeleteNotificationChannelCommandOutput,
|
|
17
|
-
} from "./commands/DeleteNotificationChannelCommand";
|
|
18
|
-
import {
|
|
19
|
-
DeletePolicyCommand,
|
|
20
|
-
DeletePolicyCommandInput,
|
|
21
|
-
DeletePolicyCommandOutput,
|
|
22
|
-
} from "./commands/DeletePolicyCommand";
|
|
23
|
-
import {
|
|
24
|
-
DeleteProtocolsListCommand,
|
|
25
|
-
DeleteProtocolsListCommandInput,
|
|
26
|
-
DeleteProtocolsListCommandOutput,
|
|
27
|
-
} from "./commands/DeleteProtocolsListCommand";
|
|
28
|
-
import {
|
|
29
|
-
DisassociateAdminAccountCommand,
|
|
30
|
-
DisassociateAdminAccountCommandInput,
|
|
31
|
-
DisassociateAdminAccountCommandOutput,
|
|
32
|
-
} from "./commands/DisassociateAdminAccountCommand";
|
|
33
|
-
import {
|
|
34
|
-
GetAdminAccountCommand,
|
|
35
|
-
GetAdminAccountCommandInput,
|
|
36
|
-
GetAdminAccountCommandOutput,
|
|
37
|
-
} from "./commands/GetAdminAccountCommand";
|
|
38
|
-
import { GetAppsListCommand, GetAppsListCommandInput, GetAppsListCommandOutput } from "./commands/GetAppsListCommand";
|
|
39
|
-
import {
|
|
40
|
-
GetComplianceDetailCommand,
|
|
41
|
-
GetComplianceDetailCommandInput,
|
|
42
|
-
GetComplianceDetailCommandOutput,
|
|
43
|
-
} from "./commands/GetComplianceDetailCommand";
|
|
44
|
-
import {
|
|
45
|
-
GetNotificationChannelCommand,
|
|
46
|
-
GetNotificationChannelCommandInput,
|
|
47
|
-
GetNotificationChannelCommandOutput,
|
|
48
|
-
} from "./commands/GetNotificationChannelCommand";
|
|
49
|
-
import { GetPolicyCommand, GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
50
|
-
import {
|
|
51
|
-
GetProtectionStatusCommand,
|
|
52
|
-
GetProtectionStatusCommandInput,
|
|
53
|
-
GetProtectionStatusCommandOutput,
|
|
54
|
-
} from "./commands/GetProtectionStatusCommand";
|
|
55
|
-
import {
|
|
56
|
-
GetProtocolsListCommand,
|
|
57
|
-
GetProtocolsListCommandInput,
|
|
58
|
-
GetProtocolsListCommandOutput,
|
|
59
|
-
} from "./commands/GetProtocolsListCommand";
|
|
60
|
-
import {
|
|
61
|
-
GetViolationDetailsCommand,
|
|
62
|
-
GetViolationDetailsCommandInput,
|
|
63
|
-
GetViolationDetailsCommandOutput,
|
|
64
|
-
} from "./commands/GetViolationDetailsCommand";
|
|
65
|
-
import {
|
|
66
|
-
ListAppsListsCommand,
|
|
67
|
-
ListAppsListsCommandInput,
|
|
68
|
-
ListAppsListsCommandOutput,
|
|
69
|
-
} from "./commands/ListAppsListsCommand";
|
|
70
|
-
import {
|
|
71
|
-
ListComplianceStatusCommand,
|
|
72
|
-
ListComplianceStatusCommandInput,
|
|
73
|
-
ListComplianceStatusCommandOutput,
|
|
74
|
-
} from "./commands/ListComplianceStatusCommand";
|
|
75
|
-
import {
|
|
76
|
-
ListMemberAccountsCommand,
|
|
77
|
-
ListMemberAccountsCommandInput,
|
|
78
|
-
ListMemberAccountsCommandOutput,
|
|
79
|
-
} from "./commands/ListMemberAccountsCommand";
|
|
80
|
-
import {
|
|
81
|
-
ListPoliciesCommand,
|
|
82
|
-
ListPoliciesCommandInput,
|
|
83
|
-
ListPoliciesCommandOutput,
|
|
84
|
-
} from "./commands/ListPoliciesCommand";
|
|
85
|
-
import {
|
|
86
|
-
ListProtocolsListsCommand,
|
|
87
|
-
ListProtocolsListsCommandInput,
|
|
88
|
-
ListProtocolsListsCommandOutput,
|
|
89
|
-
} from "./commands/ListProtocolsListsCommand";
|
|
90
|
-
import {
|
|
91
|
-
ListTagsForResourceCommand,
|
|
92
|
-
ListTagsForResourceCommandInput,
|
|
93
|
-
ListTagsForResourceCommandOutput,
|
|
94
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
95
|
-
import { PutAppsListCommand, PutAppsListCommandInput, PutAppsListCommandOutput } from "./commands/PutAppsListCommand";
|
|
96
|
-
import {
|
|
97
|
-
PutNotificationChannelCommand,
|
|
98
|
-
PutNotificationChannelCommandInput,
|
|
99
|
-
PutNotificationChannelCommandOutput,
|
|
100
|
-
} from "./commands/PutNotificationChannelCommand";
|
|
101
|
-
import { PutPolicyCommand, PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
|
|
102
|
-
import {
|
|
103
|
-
PutProtocolsListCommand,
|
|
104
|
-
PutProtocolsListCommandInput,
|
|
105
|
-
PutProtocolsListCommandOutput,
|
|
106
|
-
} from "./commands/PutProtocolsListCommand";
|
|
107
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
108
|
-
import {
|
|
109
|
-
UntagResourceCommand,
|
|
110
|
-
UntagResourceCommandInput,
|
|
111
|
-
UntagResourceCommandOutput,
|
|
112
|
-
} from "./commands/UntagResourceCommand";
|
|
113
|
-
import { FMSClient } from "./FMSClient";
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* <p>This is the <i>Firewall Manager API Reference</i>. This guide is for
|
|
117
|
-
* developers who need detailed information about the Firewall Manager API actions, data
|
|
118
|
-
* types, and errors. For detailed information about Firewall Manager features, see the
|
|
119
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-chapter.html">Firewall Manager Developer Guide</a>.</p>
|
|
120
|
-
* <p>Some API actions require explicit resource permissions. For information, see the developer guide topic
|
|
121
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html">Firewall Manager required permissions for API actions</a>.
|
|
122
|
-
* </p>
|
|
123
|
-
*/
|
|
124
|
-
export class FMS extends FMSClient {
|
|
125
|
-
/**
|
|
126
|
-
* <p>Sets the Firewall Manager administrator account. The account must be
|
|
127
|
-
* a member of the organization in Organizations whose resources you want to protect.
|
|
128
|
-
* Firewall Manager sets the permissions that allow the account to administer your Firewall Manager policies.</p>
|
|
129
|
-
* <p>The account that you associate with Firewall Manager is called the Firewall Manager administrator account. </p>
|
|
130
|
-
*/
|
|
131
|
-
public associateAdminAccount(
|
|
132
|
-
args: AssociateAdminAccountCommandInput,
|
|
133
|
-
options?: __HttpHandlerOptions
|
|
134
|
-
): Promise<AssociateAdminAccountCommandOutput>;
|
|
135
|
-
public associateAdminAccount(
|
|
136
|
-
args: AssociateAdminAccountCommandInput,
|
|
137
|
-
cb: (err: any, data?: AssociateAdminAccountCommandOutput) => void
|
|
138
|
-
): void;
|
|
139
|
-
public associateAdminAccount(
|
|
140
|
-
args: AssociateAdminAccountCommandInput,
|
|
141
|
-
options: __HttpHandlerOptions,
|
|
142
|
-
cb: (err: any, data?: AssociateAdminAccountCommandOutput) => void
|
|
143
|
-
): void;
|
|
144
|
-
public associateAdminAccount(
|
|
145
|
-
args: AssociateAdminAccountCommandInput,
|
|
146
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateAdminAccountCommandOutput) => void),
|
|
147
|
-
cb?: (err: any, data?: AssociateAdminAccountCommandOutput) => void
|
|
148
|
-
): Promise<AssociateAdminAccountCommandOutput> | void {
|
|
149
|
-
const command = new AssociateAdminAccountCommand(args);
|
|
150
|
-
if (typeof optionsOrCb === "function") {
|
|
151
|
-
this.send(command, optionsOrCb);
|
|
152
|
-
} else if (typeof cb === "function") {
|
|
153
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
154
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
155
|
-
} else {
|
|
156
|
-
return this.send(command, optionsOrCb);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* <p>Permanently deletes an Firewall Manager applications list.</p>
|
|
162
|
-
*/
|
|
163
|
-
public deleteAppsList(
|
|
164
|
-
args: DeleteAppsListCommandInput,
|
|
165
|
-
options?: __HttpHandlerOptions
|
|
166
|
-
): Promise<DeleteAppsListCommandOutput>;
|
|
167
|
-
public deleteAppsList(
|
|
168
|
-
args: DeleteAppsListCommandInput,
|
|
169
|
-
cb: (err: any, data?: DeleteAppsListCommandOutput) => void
|
|
170
|
-
): void;
|
|
171
|
-
public deleteAppsList(
|
|
172
|
-
args: DeleteAppsListCommandInput,
|
|
173
|
-
options: __HttpHandlerOptions,
|
|
174
|
-
cb: (err: any, data?: DeleteAppsListCommandOutput) => void
|
|
175
|
-
): void;
|
|
176
|
-
public deleteAppsList(
|
|
177
|
-
args: DeleteAppsListCommandInput,
|
|
178
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAppsListCommandOutput) => void),
|
|
179
|
-
cb?: (err: any, data?: DeleteAppsListCommandOutput) => void
|
|
180
|
-
): Promise<DeleteAppsListCommandOutput> | void {
|
|
181
|
-
const command = new DeleteAppsListCommand(args);
|
|
182
|
-
if (typeof optionsOrCb === "function") {
|
|
183
|
-
this.send(command, optionsOrCb);
|
|
184
|
-
} else if (typeof cb === "function") {
|
|
185
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
186
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
187
|
-
} else {
|
|
188
|
-
return this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* <p>Deletes an Firewall Manager association with the IAM role and the Amazon Simple
|
|
194
|
-
* Notification Service (SNS) topic that is used to record Firewall Manager SNS logs.</p>
|
|
195
|
-
*/
|
|
196
|
-
public deleteNotificationChannel(
|
|
197
|
-
args: DeleteNotificationChannelCommandInput,
|
|
198
|
-
options?: __HttpHandlerOptions
|
|
199
|
-
): Promise<DeleteNotificationChannelCommandOutput>;
|
|
200
|
-
public deleteNotificationChannel(
|
|
201
|
-
args: DeleteNotificationChannelCommandInput,
|
|
202
|
-
cb: (err: any, data?: DeleteNotificationChannelCommandOutput) => void
|
|
203
|
-
): void;
|
|
204
|
-
public deleteNotificationChannel(
|
|
205
|
-
args: DeleteNotificationChannelCommandInput,
|
|
206
|
-
options: __HttpHandlerOptions,
|
|
207
|
-
cb: (err: any, data?: DeleteNotificationChannelCommandOutput) => void
|
|
208
|
-
): void;
|
|
209
|
-
public deleteNotificationChannel(
|
|
210
|
-
args: DeleteNotificationChannelCommandInput,
|
|
211
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteNotificationChannelCommandOutput) => void),
|
|
212
|
-
cb?: (err: any, data?: DeleteNotificationChannelCommandOutput) => void
|
|
213
|
-
): Promise<DeleteNotificationChannelCommandOutput> | void {
|
|
214
|
-
const command = new DeleteNotificationChannelCommand(args);
|
|
215
|
-
if (typeof optionsOrCb === "function") {
|
|
216
|
-
this.send(command, optionsOrCb);
|
|
217
|
-
} else if (typeof cb === "function") {
|
|
218
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
-
} else {
|
|
221
|
-
return this.send(command, optionsOrCb);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* <p>Permanently deletes an Firewall Manager policy. </p>
|
|
227
|
-
*/
|
|
228
|
-
public deletePolicy(
|
|
229
|
-
args: DeletePolicyCommandInput,
|
|
230
|
-
options?: __HttpHandlerOptions
|
|
231
|
-
): Promise<DeletePolicyCommandOutput>;
|
|
232
|
-
public deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void;
|
|
233
|
-
public deletePolicy(
|
|
234
|
-
args: DeletePolicyCommandInput,
|
|
235
|
-
options: __HttpHandlerOptions,
|
|
236
|
-
cb: (err: any, data?: DeletePolicyCommandOutput) => void
|
|
237
|
-
): void;
|
|
238
|
-
public deletePolicy(
|
|
239
|
-
args: DeletePolicyCommandInput,
|
|
240
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePolicyCommandOutput) => void),
|
|
241
|
-
cb?: (err: any, data?: DeletePolicyCommandOutput) => void
|
|
242
|
-
): Promise<DeletePolicyCommandOutput> | void {
|
|
243
|
-
const command = new DeletePolicyCommand(args);
|
|
244
|
-
if (typeof optionsOrCb === "function") {
|
|
245
|
-
this.send(command, optionsOrCb);
|
|
246
|
-
} else if (typeof cb === "function") {
|
|
247
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
248
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
249
|
-
} else {
|
|
250
|
-
return this.send(command, optionsOrCb);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* <p>Permanently deletes an Firewall Manager protocols list.</p>
|
|
256
|
-
*/
|
|
257
|
-
public deleteProtocolsList(
|
|
258
|
-
args: DeleteProtocolsListCommandInput,
|
|
259
|
-
options?: __HttpHandlerOptions
|
|
260
|
-
): Promise<DeleteProtocolsListCommandOutput>;
|
|
261
|
-
public deleteProtocolsList(
|
|
262
|
-
args: DeleteProtocolsListCommandInput,
|
|
263
|
-
cb: (err: any, data?: DeleteProtocolsListCommandOutput) => void
|
|
264
|
-
): void;
|
|
265
|
-
public deleteProtocolsList(
|
|
266
|
-
args: DeleteProtocolsListCommandInput,
|
|
267
|
-
options: __HttpHandlerOptions,
|
|
268
|
-
cb: (err: any, data?: DeleteProtocolsListCommandOutput) => void
|
|
269
|
-
): void;
|
|
270
|
-
public deleteProtocolsList(
|
|
271
|
-
args: DeleteProtocolsListCommandInput,
|
|
272
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteProtocolsListCommandOutput) => void),
|
|
273
|
-
cb?: (err: any, data?: DeleteProtocolsListCommandOutput) => void
|
|
274
|
-
): Promise<DeleteProtocolsListCommandOutput> | void {
|
|
275
|
-
const command = new DeleteProtocolsListCommand(args);
|
|
276
|
-
if (typeof optionsOrCb === "function") {
|
|
277
|
-
this.send(command, optionsOrCb);
|
|
278
|
-
} else if (typeof cb === "function") {
|
|
279
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
280
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
281
|
-
} else {
|
|
282
|
-
return this.send(command, optionsOrCb);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* <p>Disassociates the account that has been set as the Firewall Manager administrator
|
|
288
|
-
* account. To set a different account as the administrator account, you must submit an
|
|
289
|
-
* <code>AssociateAdminAccount</code> request.</p>
|
|
290
|
-
*/
|
|
291
|
-
public disassociateAdminAccount(
|
|
292
|
-
args: DisassociateAdminAccountCommandInput,
|
|
293
|
-
options?: __HttpHandlerOptions
|
|
294
|
-
): Promise<DisassociateAdminAccountCommandOutput>;
|
|
295
|
-
public disassociateAdminAccount(
|
|
296
|
-
args: DisassociateAdminAccountCommandInput,
|
|
297
|
-
cb: (err: any, data?: DisassociateAdminAccountCommandOutput) => void
|
|
298
|
-
): void;
|
|
299
|
-
public disassociateAdminAccount(
|
|
300
|
-
args: DisassociateAdminAccountCommandInput,
|
|
301
|
-
options: __HttpHandlerOptions,
|
|
302
|
-
cb: (err: any, data?: DisassociateAdminAccountCommandOutput) => void
|
|
303
|
-
): void;
|
|
304
|
-
public disassociateAdminAccount(
|
|
305
|
-
args: DisassociateAdminAccountCommandInput,
|
|
306
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateAdminAccountCommandOutput) => void),
|
|
307
|
-
cb?: (err: any, data?: DisassociateAdminAccountCommandOutput) => void
|
|
308
|
-
): Promise<DisassociateAdminAccountCommandOutput> | void {
|
|
309
|
-
const command = new DisassociateAdminAccountCommand(args);
|
|
310
|
-
if (typeof optionsOrCb === "function") {
|
|
311
|
-
this.send(command, optionsOrCb);
|
|
312
|
-
} else if (typeof cb === "function") {
|
|
313
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
314
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
315
|
-
} else {
|
|
316
|
-
return this.send(command, optionsOrCb);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* <p>Returns the Organizations account that is associated with Firewall Manager
|
|
322
|
-
* as the Firewall Manager administrator.</p>
|
|
323
|
-
*/
|
|
324
|
-
public getAdminAccount(
|
|
325
|
-
args: GetAdminAccountCommandInput,
|
|
326
|
-
options?: __HttpHandlerOptions
|
|
327
|
-
): Promise<GetAdminAccountCommandOutput>;
|
|
328
|
-
public getAdminAccount(
|
|
329
|
-
args: GetAdminAccountCommandInput,
|
|
330
|
-
cb: (err: any, data?: GetAdminAccountCommandOutput) => void
|
|
331
|
-
): void;
|
|
332
|
-
public getAdminAccount(
|
|
333
|
-
args: GetAdminAccountCommandInput,
|
|
334
|
-
options: __HttpHandlerOptions,
|
|
335
|
-
cb: (err: any, data?: GetAdminAccountCommandOutput) => void
|
|
336
|
-
): void;
|
|
337
|
-
public getAdminAccount(
|
|
338
|
-
args: GetAdminAccountCommandInput,
|
|
339
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAdminAccountCommandOutput) => void),
|
|
340
|
-
cb?: (err: any, data?: GetAdminAccountCommandOutput) => void
|
|
341
|
-
): Promise<GetAdminAccountCommandOutput> | void {
|
|
342
|
-
const command = new GetAdminAccountCommand(args);
|
|
343
|
-
if (typeof optionsOrCb === "function") {
|
|
344
|
-
this.send(command, optionsOrCb);
|
|
345
|
-
} else if (typeof cb === "function") {
|
|
346
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
347
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
348
|
-
} else {
|
|
349
|
-
return this.send(command, optionsOrCb);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
/**
|
|
354
|
-
* <p>Returns information about the specified Firewall Manager applications list.</p>
|
|
355
|
-
*/
|
|
356
|
-
public getAppsList(args: GetAppsListCommandInput, options?: __HttpHandlerOptions): Promise<GetAppsListCommandOutput>;
|
|
357
|
-
public getAppsList(args: GetAppsListCommandInput, cb: (err: any, data?: GetAppsListCommandOutput) => void): void;
|
|
358
|
-
public getAppsList(
|
|
359
|
-
args: GetAppsListCommandInput,
|
|
360
|
-
options: __HttpHandlerOptions,
|
|
361
|
-
cb: (err: any, data?: GetAppsListCommandOutput) => void
|
|
362
|
-
): void;
|
|
363
|
-
public getAppsList(
|
|
364
|
-
args: GetAppsListCommandInput,
|
|
365
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAppsListCommandOutput) => void),
|
|
366
|
-
cb?: (err: any, data?: GetAppsListCommandOutput) => void
|
|
367
|
-
): Promise<GetAppsListCommandOutput> | void {
|
|
368
|
-
const command = new GetAppsListCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
} else if (typeof cb === "function") {
|
|
372
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
373
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
374
|
-
} else {
|
|
375
|
-
return this.send(command, optionsOrCb);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* <p>Returns detailed compliance information about the specified member account. Details
|
|
381
|
-
* include resources that are in and out of compliance with the specified policy. </p>
|
|
382
|
-
* <ul>
|
|
383
|
-
* <li>
|
|
384
|
-
* <p>Resources are
|
|
385
|
-
* considered noncompliant for WAF and Shield Advanced policies if the specified policy has
|
|
386
|
-
* not been applied to them.</p>
|
|
387
|
-
* </li>
|
|
388
|
-
* <li>
|
|
389
|
-
* <p>Resources are considered noncompliant for security group policies if
|
|
390
|
-
* they are in scope of the policy, they violate one or more of the policy rules, and remediation
|
|
391
|
-
* is disabled or not possible.</p>
|
|
392
|
-
* </li>
|
|
393
|
-
* <li>
|
|
394
|
-
* <p>Resources are considered noncompliant for Network Firewall policies
|
|
395
|
-
* if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet,
|
|
396
|
-
* if a subnet created by the Firewall Manager doesn't have the expected route table,
|
|
397
|
-
* and for modifications to a firewall policy that violate the Firewall Manager policy's rules.</p>
|
|
398
|
-
* </li>
|
|
399
|
-
* <li>
|
|
400
|
-
* <p>Resources are considered noncompliant for DNS Firewall policies
|
|
401
|
-
* if a DNS Firewall rule group is missing from the rule group associations for the VPC. </p>
|
|
402
|
-
* </li>
|
|
403
|
-
* </ul>
|
|
404
|
-
*/
|
|
405
|
-
public getComplianceDetail(
|
|
406
|
-
args: GetComplianceDetailCommandInput,
|
|
407
|
-
options?: __HttpHandlerOptions
|
|
408
|
-
): Promise<GetComplianceDetailCommandOutput>;
|
|
409
|
-
public getComplianceDetail(
|
|
410
|
-
args: GetComplianceDetailCommandInput,
|
|
411
|
-
cb: (err: any, data?: GetComplianceDetailCommandOutput) => void
|
|
412
|
-
): void;
|
|
413
|
-
public getComplianceDetail(
|
|
414
|
-
args: GetComplianceDetailCommandInput,
|
|
415
|
-
options: __HttpHandlerOptions,
|
|
416
|
-
cb: (err: any, data?: GetComplianceDetailCommandOutput) => void
|
|
417
|
-
): void;
|
|
418
|
-
public getComplianceDetail(
|
|
419
|
-
args: GetComplianceDetailCommandInput,
|
|
420
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetComplianceDetailCommandOutput) => void),
|
|
421
|
-
cb?: (err: any, data?: GetComplianceDetailCommandOutput) => void
|
|
422
|
-
): Promise<GetComplianceDetailCommandOutput> | void {
|
|
423
|
-
const command = new GetComplianceDetailCommand(args);
|
|
424
|
-
if (typeof optionsOrCb === "function") {
|
|
425
|
-
this.send(command, optionsOrCb);
|
|
426
|
-
} else if (typeof cb === "function") {
|
|
427
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
428
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
429
|
-
} else {
|
|
430
|
-
return this.send(command, optionsOrCb);
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* <p>Information
|
|
436
|
-
* about the Amazon Simple Notification Service (SNS) topic that is used to
|
|
437
|
-
* record Firewall Manager SNS logs.</p>
|
|
438
|
-
*/
|
|
439
|
-
public getNotificationChannel(
|
|
440
|
-
args: GetNotificationChannelCommandInput,
|
|
441
|
-
options?: __HttpHandlerOptions
|
|
442
|
-
): Promise<GetNotificationChannelCommandOutput>;
|
|
443
|
-
public getNotificationChannel(
|
|
444
|
-
args: GetNotificationChannelCommandInput,
|
|
445
|
-
cb: (err: any, data?: GetNotificationChannelCommandOutput) => void
|
|
446
|
-
): void;
|
|
447
|
-
public getNotificationChannel(
|
|
448
|
-
args: GetNotificationChannelCommandInput,
|
|
449
|
-
options: __HttpHandlerOptions,
|
|
450
|
-
cb: (err: any, data?: GetNotificationChannelCommandOutput) => void
|
|
451
|
-
): void;
|
|
452
|
-
public getNotificationChannel(
|
|
453
|
-
args: GetNotificationChannelCommandInput,
|
|
454
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetNotificationChannelCommandOutput) => void),
|
|
455
|
-
cb?: (err: any, data?: GetNotificationChannelCommandOutput) => void
|
|
456
|
-
): Promise<GetNotificationChannelCommandOutput> | void {
|
|
457
|
-
const command = new GetNotificationChannelCommand(args);
|
|
458
|
-
if (typeof optionsOrCb === "function") {
|
|
459
|
-
this.send(command, optionsOrCb);
|
|
460
|
-
} else if (typeof cb === "function") {
|
|
461
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
462
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
463
|
-
} else {
|
|
464
|
-
return this.send(command, optionsOrCb);
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* <p>Returns information about the specified Firewall Manager policy.</p>
|
|
470
|
-
*/
|
|
471
|
-
public getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
|
|
472
|
-
public getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
|
|
473
|
-
public getPolicy(
|
|
474
|
-
args: GetPolicyCommandInput,
|
|
475
|
-
options: __HttpHandlerOptions,
|
|
476
|
-
cb: (err: any, data?: GetPolicyCommandOutput) => void
|
|
477
|
-
): void;
|
|
478
|
-
public getPolicy(
|
|
479
|
-
args: GetPolicyCommandInput,
|
|
480
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPolicyCommandOutput) => void),
|
|
481
|
-
cb?: (err: any, data?: GetPolicyCommandOutput) => void
|
|
482
|
-
): Promise<GetPolicyCommandOutput> | void {
|
|
483
|
-
const command = new GetPolicyCommand(args);
|
|
484
|
-
if (typeof optionsOrCb === "function") {
|
|
485
|
-
this.send(command, optionsOrCb);
|
|
486
|
-
} else if (typeof cb === "function") {
|
|
487
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
488
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
489
|
-
} else {
|
|
490
|
-
return this.send(command, optionsOrCb);
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* <p>If you created a Shield Advanced policy, returns policy-level attack summary information
|
|
496
|
-
* in the event of a potential DDoS attack. Other policy types are currently unsupported.</p>
|
|
497
|
-
*/
|
|
498
|
-
public getProtectionStatus(
|
|
499
|
-
args: GetProtectionStatusCommandInput,
|
|
500
|
-
options?: __HttpHandlerOptions
|
|
501
|
-
): Promise<GetProtectionStatusCommandOutput>;
|
|
502
|
-
public getProtectionStatus(
|
|
503
|
-
args: GetProtectionStatusCommandInput,
|
|
504
|
-
cb: (err: any, data?: GetProtectionStatusCommandOutput) => void
|
|
505
|
-
): void;
|
|
506
|
-
public getProtectionStatus(
|
|
507
|
-
args: GetProtectionStatusCommandInput,
|
|
508
|
-
options: __HttpHandlerOptions,
|
|
509
|
-
cb: (err: any, data?: GetProtectionStatusCommandOutput) => void
|
|
510
|
-
): void;
|
|
511
|
-
public getProtectionStatus(
|
|
512
|
-
args: GetProtectionStatusCommandInput,
|
|
513
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetProtectionStatusCommandOutput) => void),
|
|
514
|
-
cb?: (err: any, data?: GetProtectionStatusCommandOutput) => void
|
|
515
|
-
): Promise<GetProtectionStatusCommandOutput> | void {
|
|
516
|
-
const command = new GetProtectionStatusCommand(args);
|
|
517
|
-
if (typeof optionsOrCb === "function") {
|
|
518
|
-
this.send(command, optionsOrCb);
|
|
519
|
-
} else if (typeof cb === "function") {
|
|
520
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
521
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
522
|
-
} else {
|
|
523
|
-
return this.send(command, optionsOrCb);
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* <p>Returns information about the specified Firewall Manager protocols list.</p>
|
|
529
|
-
*/
|
|
530
|
-
public getProtocolsList(
|
|
531
|
-
args: GetProtocolsListCommandInput,
|
|
532
|
-
options?: __HttpHandlerOptions
|
|
533
|
-
): Promise<GetProtocolsListCommandOutput>;
|
|
534
|
-
public getProtocolsList(
|
|
535
|
-
args: GetProtocolsListCommandInput,
|
|
536
|
-
cb: (err: any, data?: GetProtocolsListCommandOutput) => void
|
|
537
|
-
): void;
|
|
538
|
-
public getProtocolsList(
|
|
539
|
-
args: GetProtocolsListCommandInput,
|
|
540
|
-
options: __HttpHandlerOptions,
|
|
541
|
-
cb: (err: any, data?: GetProtocolsListCommandOutput) => void
|
|
542
|
-
): void;
|
|
543
|
-
public getProtocolsList(
|
|
544
|
-
args: GetProtocolsListCommandInput,
|
|
545
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetProtocolsListCommandOutput) => void),
|
|
546
|
-
cb?: (err: any, data?: GetProtocolsListCommandOutput) => void
|
|
547
|
-
): Promise<GetProtocolsListCommandOutput> | void {
|
|
548
|
-
const command = new GetProtocolsListCommand(args);
|
|
549
|
-
if (typeof optionsOrCb === "function") {
|
|
550
|
-
this.send(command, optionsOrCb);
|
|
551
|
-
} else if (typeof cb === "function") {
|
|
552
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
553
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
554
|
-
} else {
|
|
555
|
-
return this.send(command, optionsOrCb);
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* <p>Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.</p>
|
|
561
|
-
*/
|
|
562
|
-
public getViolationDetails(
|
|
563
|
-
args: GetViolationDetailsCommandInput,
|
|
564
|
-
options?: __HttpHandlerOptions
|
|
565
|
-
): Promise<GetViolationDetailsCommandOutput>;
|
|
566
|
-
public getViolationDetails(
|
|
567
|
-
args: GetViolationDetailsCommandInput,
|
|
568
|
-
cb: (err: any, data?: GetViolationDetailsCommandOutput) => void
|
|
569
|
-
): void;
|
|
570
|
-
public getViolationDetails(
|
|
571
|
-
args: GetViolationDetailsCommandInput,
|
|
572
|
-
options: __HttpHandlerOptions,
|
|
573
|
-
cb: (err: any, data?: GetViolationDetailsCommandOutput) => void
|
|
574
|
-
): void;
|
|
575
|
-
public getViolationDetails(
|
|
576
|
-
args: GetViolationDetailsCommandInput,
|
|
577
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetViolationDetailsCommandOutput) => void),
|
|
578
|
-
cb?: (err: any, data?: GetViolationDetailsCommandOutput) => void
|
|
579
|
-
): Promise<GetViolationDetailsCommandOutput> | void {
|
|
580
|
-
const command = new GetViolationDetailsCommand(args);
|
|
581
|
-
if (typeof optionsOrCb === "function") {
|
|
582
|
-
this.send(command, optionsOrCb);
|
|
583
|
-
} else if (typeof cb === "function") {
|
|
584
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
585
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
586
|
-
} else {
|
|
587
|
-
return this.send(command, optionsOrCb);
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* <p>Returns an array of <code>AppsListDataSummary</code> objects.</p>
|
|
593
|
-
*/
|
|
594
|
-
public listAppsLists(
|
|
595
|
-
args: ListAppsListsCommandInput,
|
|
596
|
-
options?: __HttpHandlerOptions
|
|
597
|
-
): Promise<ListAppsListsCommandOutput>;
|
|
598
|
-
public listAppsLists(
|
|
599
|
-
args: ListAppsListsCommandInput,
|
|
600
|
-
cb: (err: any, data?: ListAppsListsCommandOutput) => void
|
|
601
|
-
): void;
|
|
602
|
-
public listAppsLists(
|
|
603
|
-
args: ListAppsListsCommandInput,
|
|
604
|
-
options: __HttpHandlerOptions,
|
|
605
|
-
cb: (err: any, data?: ListAppsListsCommandOutput) => void
|
|
606
|
-
): void;
|
|
607
|
-
public listAppsLists(
|
|
608
|
-
args: ListAppsListsCommandInput,
|
|
609
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppsListsCommandOutput) => void),
|
|
610
|
-
cb?: (err: any, data?: ListAppsListsCommandOutput) => void
|
|
611
|
-
): Promise<ListAppsListsCommandOutput> | void {
|
|
612
|
-
const command = new ListAppsListsCommand(args);
|
|
613
|
-
if (typeof optionsOrCb === "function") {
|
|
614
|
-
this.send(command, optionsOrCb);
|
|
615
|
-
} else if (typeof cb === "function") {
|
|
616
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
617
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
618
|
-
} else {
|
|
619
|
-
return this.send(command, optionsOrCb);
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* <p>Returns an array of <code>PolicyComplianceStatus</code> objects. Use
|
|
625
|
-
* <code>PolicyComplianceStatus</code> to get a summary of which member accounts are protected
|
|
626
|
-
* by the specified policy. </p>
|
|
627
|
-
*/
|
|
628
|
-
public listComplianceStatus(
|
|
629
|
-
args: ListComplianceStatusCommandInput,
|
|
630
|
-
options?: __HttpHandlerOptions
|
|
631
|
-
): Promise<ListComplianceStatusCommandOutput>;
|
|
632
|
-
public listComplianceStatus(
|
|
633
|
-
args: ListComplianceStatusCommandInput,
|
|
634
|
-
cb: (err: any, data?: ListComplianceStatusCommandOutput) => void
|
|
635
|
-
): void;
|
|
636
|
-
public listComplianceStatus(
|
|
637
|
-
args: ListComplianceStatusCommandInput,
|
|
638
|
-
options: __HttpHandlerOptions,
|
|
639
|
-
cb: (err: any, data?: ListComplianceStatusCommandOutput) => void
|
|
640
|
-
): void;
|
|
641
|
-
public listComplianceStatus(
|
|
642
|
-
args: ListComplianceStatusCommandInput,
|
|
643
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListComplianceStatusCommandOutput) => void),
|
|
644
|
-
cb?: (err: any, data?: ListComplianceStatusCommandOutput) => void
|
|
645
|
-
): Promise<ListComplianceStatusCommandOutput> | void {
|
|
646
|
-
const command = new ListComplianceStatusCommand(args);
|
|
647
|
-
if (typeof optionsOrCb === "function") {
|
|
648
|
-
this.send(command, optionsOrCb);
|
|
649
|
-
} else if (typeof cb === "function") {
|
|
650
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
651
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
652
|
-
} else {
|
|
653
|
-
return this.send(command, optionsOrCb);
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* <p>Returns a <code>MemberAccounts</code> object that lists the member accounts in the
|
|
659
|
-
* administrator's Amazon Web Services organization.</p>
|
|
660
|
-
* <p>The <code>ListMemberAccounts</code> must be submitted by the account that is set as the
|
|
661
|
-
* Firewall Manager administrator.</p>
|
|
662
|
-
*/
|
|
663
|
-
public listMemberAccounts(
|
|
664
|
-
args: ListMemberAccountsCommandInput,
|
|
665
|
-
options?: __HttpHandlerOptions
|
|
666
|
-
): Promise<ListMemberAccountsCommandOutput>;
|
|
667
|
-
public listMemberAccounts(
|
|
668
|
-
args: ListMemberAccountsCommandInput,
|
|
669
|
-
cb: (err: any, data?: ListMemberAccountsCommandOutput) => void
|
|
670
|
-
): void;
|
|
671
|
-
public listMemberAccounts(
|
|
672
|
-
args: ListMemberAccountsCommandInput,
|
|
673
|
-
options: __HttpHandlerOptions,
|
|
674
|
-
cb: (err: any, data?: ListMemberAccountsCommandOutput) => void
|
|
675
|
-
): void;
|
|
676
|
-
public listMemberAccounts(
|
|
677
|
-
args: ListMemberAccountsCommandInput,
|
|
678
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMemberAccountsCommandOutput) => void),
|
|
679
|
-
cb?: (err: any, data?: ListMemberAccountsCommandOutput) => void
|
|
680
|
-
): Promise<ListMemberAccountsCommandOutput> | void {
|
|
681
|
-
const command = new ListMemberAccountsCommand(args);
|
|
682
|
-
if (typeof optionsOrCb === "function") {
|
|
683
|
-
this.send(command, optionsOrCb);
|
|
684
|
-
} else if (typeof cb === "function") {
|
|
685
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
686
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
687
|
-
} else {
|
|
688
|
-
return this.send(command, optionsOrCb);
|
|
689
|
-
}
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* <p>Returns an array of <code>PolicySummary</code> objects.</p>
|
|
694
|
-
*/
|
|
695
|
-
public listPolicies(
|
|
696
|
-
args: ListPoliciesCommandInput,
|
|
697
|
-
options?: __HttpHandlerOptions
|
|
698
|
-
): Promise<ListPoliciesCommandOutput>;
|
|
699
|
-
public listPolicies(args: ListPoliciesCommandInput, cb: (err: any, data?: ListPoliciesCommandOutput) => void): void;
|
|
700
|
-
public listPolicies(
|
|
701
|
-
args: ListPoliciesCommandInput,
|
|
702
|
-
options: __HttpHandlerOptions,
|
|
703
|
-
cb: (err: any, data?: ListPoliciesCommandOutput) => void
|
|
704
|
-
): void;
|
|
705
|
-
public listPolicies(
|
|
706
|
-
args: ListPoliciesCommandInput,
|
|
707
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPoliciesCommandOutput) => void),
|
|
708
|
-
cb?: (err: any, data?: ListPoliciesCommandOutput) => void
|
|
709
|
-
): Promise<ListPoliciesCommandOutput> | void {
|
|
710
|
-
const command = new ListPoliciesCommand(args);
|
|
711
|
-
if (typeof optionsOrCb === "function") {
|
|
712
|
-
this.send(command, optionsOrCb);
|
|
713
|
-
} else if (typeof cb === "function") {
|
|
714
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
715
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
716
|
-
} else {
|
|
717
|
-
return this.send(command, optionsOrCb);
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
/**
|
|
722
|
-
* <p>Returns an array of <code>ProtocolsListDataSummary</code> objects.</p>
|
|
723
|
-
*/
|
|
724
|
-
public listProtocolsLists(
|
|
725
|
-
args: ListProtocolsListsCommandInput,
|
|
726
|
-
options?: __HttpHandlerOptions
|
|
727
|
-
): Promise<ListProtocolsListsCommandOutput>;
|
|
728
|
-
public listProtocolsLists(
|
|
729
|
-
args: ListProtocolsListsCommandInput,
|
|
730
|
-
cb: (err: any, data?: ListProtocolsListsCommandOutput) => void
|
|
731
|
-
): void;
|
|
732
|
-
public listProtocolsLists(
|
|
733
|
-
args: ListProtocolsListsCommandInput,
|
|
734
|
-
options: __HttpHandlerOptions,
|
|
735
|
-
cb: (err: any, data?: ListProtocolsListsCommandOutput) => void
|
|
736
|
-
): void;
|
|
737
|
-
public listProtocolsLists(
|
|
738
|
-
args: ListProtocolsListsCommandInput,
|
|
739
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListProtocolsListsCommandOutput) => void),
|
|
740
|
-
cb?: (err: any, data?: ListProtocolsListsCommandOutput) => void
|
|
741
|
-
): Promise<ListProtocolsListsCommandOutput> | void {
|
|
742
|
-
const command = new ListProtocolsListsCommand(args);
|
|
743
|
-
if (typeof optionsOrCb === "function") {
|
|
744
|
-
this.send(command, optionsOrCb);
|
|
745
|
-
} else if (typeof cb === "function") {
|
|
746
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
747
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
748
|
-
} else {
|
|
749
|
-
return this.send(command, optionsOrCb);
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
/**
|
|
754
|
-
* <p>Retrieves the list of tags for the specified Amazon Web Services resource. </p>
|
|
755
|
-
*/
|
|
756
|
-
public listTagsForResource(
|
|
757
|
-
args: ListTagsForResourceCommandInput,
|
|
758
|
-
options?: __HttpHandlerOptions
|
|
759
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
760
|
-
public listTagsForResource(
|
|
761
|
-
args: ListTagsForResourceCommandInput,
|
|
762
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
763
|
-
): void;
|
|
764
|
-
public listTagsForResource(
|
|
765
|
-
args: ListTagsForResourceCommandInput,
|
|
766
|
-
options: __HttpHandlerOptions,
|
|
767
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
768
|
-
): void;
|
|
769
|
-
public listTagsForResource(
|
|
770
|
-
args: ListTagsForResourceCommandInput,
|
|
771
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
772
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
773
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
774
|
-
const command = new ListTagsForResourceCommand(args);
|
|
775
|
-
if (typeof optionsOrCb === "function") {
|
|
776
|
-
this.send(command, optionsOrCb);
|
|
777
|
-
} else if (typeof cb === "function") {
|
|
778
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
779
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
780
|
-
} else {
|
|
781
|
-
return this.send(command, optionsOrCb);
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
/**
|
|
786
|
-
* <p>Creates an Firewall Manager applications list.</p>
|
|
787
|
-
*/
|
|
788
|
-
public putAppsList(args: PutAppsListCommandInput, options?: __HttpHandlerOptions): Promise<PutAppsListCommandOutput>;
|
|
789
|
-
public putAppsList(args: PutAppsListCommandInput, cb: (err: any, data?: PutAppsListCommandOutput) => void): void;
|
|
790
|
-
public putAppsList(
|
|
791
|
-
args: PutAppsListCommandInput,
|
|
792
|
-
options: __HttpHandlerOptions,
|
|
793
|
-
cb: (err: any, data?: PutAppsListCommandOutput) => void
|
|
794
|
-
): void;
|
|
795
|
-
public putAppsList(
|
|
796
|
-
args: PutAppsListCommandInput,
|
|
797
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutAppsListCommandOutput) => void),
|
|
798
|
-
cb?: (err: any, data?: PutAppsListCommandOutput) => void
|
|
799
|
-
): Promise<PutAppsListCommandOutput> | void {
|
|
800
|
-
const command = new PutAppsListCommand(args);
|
|
801
|
-
if (typeof optionsOrCb === "function") {
|
|
802
|
-
this.send(command, optionsOrCb);
|
|
803
|
-
} else if (typeof cb === "function") {
|
|
804
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
805
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
806
|
-
} else {
|
|
807
|
-
return this.send(command, optionsOrCb);
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
/**
|
|
812
|
-
* <p>Designates the IAM role and Amazon Simple Notification Service (SNS) topic that
|
|
813
|
-
* Firewall Manager uses to record SNS logs.</p>
|
|
814
|
-
* <p>To perform this action outside of the console, you must configure the SNS topic to allow the Firewall Manager
|
|
815
|
-
* role <code>AWSServiceRoleForFMS</code> to publish SNS logs. For more information, see
|
|
816
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/developerguide/fms-api-permissions-ref.html">Firewall Manager required permissions for API actions</a> in the <i>Firewall Manager Developer Guide</i>.</p>
|
|
817
|
-
*/
|
|
818
|
-
public putNotificationChannel(
|
|
819
|
-
args: PutNotificationChannelCommandInput,
|
|
820
|
-
options?: __HttpHandlerOptions
|
|
821
|
-
): Promise<PutNotificationChannelCommandOutput>;
|
|
822
|
-
public putNotificationChannel(
|
|
823
|
-
args: PutNotificationChannelCommandInput,
|
|
824
|
-
cb: (err: any, data?: PutNotificationChannelCommandOutput) => void
|
|
825
|
-
): void;
|
|
826
|
-
public putNotificationChannel(
|
|
827
|
-
args: PutNotificationChannelCommandInput,
|
|
828
|
-
options: __HttpHandlerOptions,
|
|
829
|
-
cb: (err: any, data?: PutNotificationChannelCommandOutput) => void
|
|
830
|
-
): void;
|
|
831
|
-
public putNotificationChannel(
|
|
832
|
-
args: PutNotificationChannelCommandInput,
|
|
833
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutNotificationChannelCommandOutput) => void),
|
|
834
|
-
cb?: (err: any, data?: PutNotificationChannelCommandOutput) => void
|
|
835
|
-
): Promise<PutNotificationChannelCommandOutput> | void {
|
|
836
|
-
const command = new PutNotificationChannelCommand(args);
|
|
837
|
-
if (typeof optionsOrCb === "function") {
|
|
838
|
-
this.send(command, optionsOrCb);
|
|
839
|
-
} else if (typeof cb === "function") {
|
|
840
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
841
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
842
|
-
} else {
|
|
843
|
-
return this.send(command, optionsOrCb);
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* <p>Creates an Firewall Manager policy.</p>
|
|
849
|
-
* <p>Firewall Manager provides the following types of policies: </p>
|
|
850
|
-
* <ul>
|
|
851
|
-
* <li>
|
|
852
|
-
* <p>An WAF policy (type WAFV2), which defines rule groups to run first in the
|
|
853
|
-
* corresponding WAF web ACL and rule groups to run last in the web ACL.</p>
|
|
854
|
-
* </li>
|
|
855
|
-
* <li>
|
|
856
|
-
* <p>An WAF Classic policy (type WAF), which defines a rule group. </p>
|
|
857
|
-
* </li>
|
|
858
|
-
* <li>
|
|
859
|
-
* <p>A Shield Advanced policy, which applies Shield Advanced protection to specified
|
|
860
|
-
* accounts and resources.</p>
|
|
861
|
-
* </li>
|
|
862
|
-
* <li>
|
|
863
|
-
* <p>A security group policy, which manages VPC security groups across your Amazon Web Services
|
|
864
|
-
* organization. </p>
|
|
865
|
-
* </li>
|
|
866
|
-
* <li>
|
|
867
|
-
* <p>An Network Firewall policy, which provides firewall rules to filter network traffic in specified
|
|
868
|
-
* Amazon VPCs.</p>
|
|
869
|
-
* </li>
|
|
870
|
-
* <li>
|
|
871
|
-
* <p>A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall rules to filter DNS queries for
|
|
872
|
-
* specified VPCs.</p>
|
|
873
|
-
* </li>
|
|
874
|
-
* </ul>
|
|
875
|
-
* <p>Each policy is specific to one of the types. If you want to enforce more than one
|
|
876
|
-
* policy type across accounts, create multiple policies. You can create multiple
|
|
877
|
-
* policies for each type.</p>
|
|
878
|
-
* <p>You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more
|
|
879
|
-
* information about subscribing to Shield Advanced, see
|
|
880
|
-
* <a href="https://docs.aws.amazon.com/waf/latest/DDOSAPIReference/API_CreateSubscription.html">CreateSubscription</a>.</p>
|
|
881
|
-
*/
|
|
882
|
-
public putPolicy(args: PutPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutPolicyCommandOutput>;
|
|
883
|
-
public putPolicy(args: PutPolicyCommandInput, cb: (err: any, data?: PutPolicyCommandOutput) => void): void;
|
|
884
|
-
public putPolicy(
|
|
885
|
-
args: PutPolicyCommandInput,
|
|
886
|
-
options: __HttpHandlerOptions,
|
|
887
|
-
cb: (err: any, data?: PutPolicyCommandOutput) => void
|
|
888
|
-
): void;
|
|
889
|
-
public putPolicy(
|
|
890
|
-
args: PutPolicyCommandInput,
|
|
891
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPolicyCommandOutput) => void),
|
|
892
|
-
cb?: (err: any, data?: PutPolicyCommandOutput) => void
|
|
893
|
-
): Promise<PutPolicyCommandOutput> | void {
|
|
894
|
-
const command = new PutPolicyCommand(args);
|
|
895
|
-
if (typeof optionsOrCb === "function") {
|
|
896
|
-
this.send(command, optionsOrCb);
|
|
897
|
-
} else if (typeof cb === "function") {
|
|
898
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
899
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
900
|
-
} else {
|
|
901
|
-
return this.send(command, optionsOrCb);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* <p>Creates an Firewall Manager protocols list.</p>
|
|
907
|
-
*/
|
|
908
|
-
public putProtocolsList(
|
|
909
|
-
args: PutProtocolsListCommandInput,
|
|
910
|
-
options?: __HttpHandlerOptions
|
|
911
|
-
): Promise<PutProtocolsListCommandOutput>;
|
|
912
|
-
public putProtocolsList(
|
|
913
|
-
args: PutProtocolsListCommandInput,
|
|
914
|
-
cb: (err: any, data?: PutProtocolsListCommandOutput) => void
|
|
915
|
-
): void;
|
|
916
|
-
public putProtocolsList(
|
|
917
|
-
args: PutProtocolsListCommandInput,
|
|
918
|
-
options: __HttpHandlerOptions,
|
|
919
|
-
cb: (err: any, data?: PutProtocolsListCommandOutput) => void
|
|
920
|
-
): void;
|
|
921
|
-
public putProtocolsList(
|
|
922
|
-
args: PutProtocolsListCommandInput,
|
|
923
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutProtocolsListCommandOutput) => void),
|
|
924
|
-
cb?: (err: any, data?: PutProtocolsListCommandOutput) => void
|
|
925
|
-
): Promise<PutProtocolsListCommandOutput> | void {
|
|
926
|
-
const command = new PutProtocolsListCommand(args);
|
|
927
|
-
if (typeof optionsOrCb === "function") {
|
|
928
|
-
this.send(command, optionsOrCb);
|
|
929
|
-
} else if (typeof cb === "function") {
|
|
930
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
931
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
932
|
-
} else {
|
|
933
|
-
return this.send(command, optionsOrCb);
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* <p>Adds one or more tags to an Amazon Web Services resource.</p>
|
|
939
|
-
*/
|
|
940
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
941
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
942
|
-
public tagResource(
|
|
943
|
-
args: TagResourceCommandInput,
|
|
944
|
-
options: __HttpHandlerOptions,
|
|
945
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
946
|
-
): void;
|
|
947
|
-
public tagResource(
|
|
948
|
-
args: TagResourceCommandInput,
|
|
949
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
950
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
951
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
952
|
-
const command = new TagResourceCommand(args);
|
|
953
|
-
if (typeof optionsOrCb === "function") {
|
|
954
|
-
this.send(command, optionsOrCb);
|
|
955
|
-
} else if (typeof cb === "function") {
|
|
956
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
957
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
958
|
-
} else {
|
|
959
|
-
return this.send(command, optionsOrCb);
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* <p>Removes one or more tags from an Amazon Web Services resource.</p>
|
|
965
|
-
*/
|
|
966
|
-
public untagResource(
|
|
967
|
-
args: UntagResourceCommandInput,
|
|
968
|
-
options?: __HttpHandlerOptions
|
|
969
|
-
): Promise<UntagResourceCommandOutput>;
|
|
970
|
-
public untagResource(
|
|
971
|
-
args: UntagResourceCommandInput,
|
|
972
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
973
|
-
): void;
|
|
974
|
-
public untagResource(
|
|
975
|
-
args: UntagResourceCommandInput,
|
|
976
|
-
options: __HttpHandlerOptions,
|
|
977
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
978
|
-
): void;
|
|
979
|
-
public untagResource(
|
|
980
|
-
args: UntagResourceCommandInput,
|
|
981
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
982
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
983
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
984
|
-
const command = new UntagResourceCommand(args);
|
|
985
|
-
if (typeof optionsOrCb === "function") {
|
|
986
|
-
this.send(command, optionsOrCb);
|
|
987
|
-
} else if (typeof cb === "function") {
|
|
988
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
989
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
990
|
-
} else {
|
|
991
|
-
return this.send(command, optionsOrCb);
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|