@aws-sdk/client-fms 3.202.0 → 3.206.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/FMS.js +120 -0
- package/dist-cjs/commands/BatchAssociateResourceCommand.js +46 -0
- package/dist-cjs/commands/BatchDisassociateResourceCommand.js +46 -0
- package/dist-cjs/commands/DeleteResourceSetCommand.js +46 -0
- package/dist-cjs/commands/GetResourceSetCommand.js +46 -0
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +46 -0
- package/dist-cjs/commands/ListResourceSetResourcesCommand.js +46 -0
- package/dist-cjs/commands/ListResourceSetsCommand.js +46 -0
- package/dist-cjs/commands/PutResourceSetCommand.js +46 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +94 -3
- package/dist-cjs/protocols/Aws_json1_1.js +653 -2
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/FMS.js +120 -0
- package/dist-es/commands/BatchAssociateResourceCommand.js +42 -0
- package/dist-es/commands/BatchDisassociateResourceCommand.js +42 -0
- package/dist-es/commands/DeleteResourceSetCommand.js +42 -0
- package/dist-es/commands/GetResourceSetCommand.js +42 -0
- package/dist-es/commands/ListDiscoveredResourcesCommand.js +42 -0
- package/dist-es/commands/ListResourceSetResourcesCommand.js +42 -0
- package/dist-es/commands/ListResourceSetsCommand.js +42 -0
- package/dist-es/commands/PutResourceSetCommand.js +42 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +70 -0
- package/dist-es/protocols/Aws_json1_1.js +635 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/FMS.d.ts +57 -0
- package/dist-types/FMSClient.d.ts +10 -2
- package/dist-types/commands/BatchAssociateResourceCommand.d.ts +37 -0
- package/dist-types/commands/BatchDisassociateResourceCommand.d.ts +37 -0
- package/dist-types/commands/DeleteResourceSetCommand.d.ts +37 -0
- package/dist-types/commands/GetResourceSetCommand.d.ts +37 -0
- package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +37 -0
- package/dist-types/commands/ListResourceSetResourcesCommand.d.ts +37 -0
- package/dist-types/commands/ListResourceSetsCommand.d.ts +37 -0
- package/dist-types/commands/PutResourceSetCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +375 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/FMS.d.ts +136 -0
- package/dist-types/ts3.4/FMSClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/BatchAssociateResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchDisassociateResourceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteResourceSetCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/GetResourceSetCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListResourceSetResourcesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListResourceSetsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/PutResourceSetCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +154 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
- package/CHANGELOG.md +0 -4333
|
@@ -4,7 +4,6 @@ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-
|
|
|
4
4
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
8
7
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
9
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
@@ -20,8 +19,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
20
19
|
...config,
|
|
21
20
|
runtime: "browser",
|
|
22
21
|
defaultsMode,
|
|
23
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
22
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
23
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
24
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
6
6
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
10
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
11
10
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
@@ -24,8 +23,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
23
|
...config,
|
|
25
24
|
runtime: "node",
|
|
26
25
|
defaultsMode,
|
|
27
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
2
3
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
4
|
export const getRuntimeConfig = (config) => ({
|
|
4
5
|
apiVersion: "2018-01-01",
|
|
6
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
7
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
5
8
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
9
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
7
10
|
logger: config?.logger ?? {},
|
package/dist-types/FMS.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AssociateAdminAccountCommandInput, AssociateAdminAccountCommandOutput } from "./commands/AssociateAdminAccountCommand";
|
|
3
3
|
import { AssociateThirdPartyFirewallCommandInput, AssociateThirdPartyFirewallCommandOutput } from "./commands/AssociateThirdPartyFirewallCommand";
|
|
4
|
+
import { BatchAssociateResourceCommandInput, BatchAssociateResourceCommandOutput } from "./commands/BatchAssociateResourceCommand";
|
|
5
|
+
import { BatchDisassociateResourceCommandInput, BatchDisassociateResourceCommandOutput } from "./commands/BatchDisassociateResourceCommand";
|
|
4
6
|
import { DeleteAppsListCommandInput, DeleteAppsListCommandOutput } from "./commands/DeleteAppsListCommand";
|
|
5
7
|
import { DeleteNotificationChannelCommandInput, DeleteNotificationChannelCommandOutput } from "./commands/DeleteNotificationChannelCommand";
|
|
6
8
|
import { DeletePolicyCommandInput, DeletePolicyCommandOutput } from "./commands/DeletePolicyCommand";
|
|
7
9
|
import { DeleteProtocolsListCommandInput, DeleteProtocolsListCommandOutput } from "./commands/DeleteProtocolsListCommand";
|
|
10
|
+
import { DeleteResourceSetCommandInput, DeleteResourceSetCommandOutput } from "./commands/DeleteResourceSetCommand";
|
|
8
11
|
import { DisassociateAdminAccountCommandInput, DisassociateAdminAccountCommandOutput } from "./commands/DisassociateAdminAccountCommand";
|
|
9
12
|
import { DisassociateThirdPartyFirewallCommandInput, DisassociateThirdPartyFirewallCommandOutput } from "./commands/DisassociateThirdPartyFirewallCommand";
|
|
10
13
|
import { GetAdminAccountCommandInput, GetAdminAccountCommandOutput } from "./commands/GetAdminAccountCommand";
|
|
@@ -14,19 +17,24 @@ import { GetNotificationChannelCommandInput, GetNotificationChannelCommandOutput
|
|
|
14
17
|
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
15
18
|
import { GetProtectionStatusCommandInput, GetProtectionStatusCommandOutput } from "./commands/GetProtectionStatusCommand";
|
|
16
19
|
import { GetProtocolsListCommandInput, GetProtocolsListCommandOutput } from "./commands/GetProtocolsListCommand";
|
|
20
|
+
import { GetResourceSetCommandInput, GetResourceSetCommandOutput } from "./commands/GetResourceSetCommand";
|
|
17
21
|
import { GetThirdPartyFirewallAssociationStatusCommandInput, GetThirdPartyFirewallAssociationStatusCommandOutput } from "./commands/GetThirdPartyFirewallAssociationStatusCommand";
|
|
18
22
|
import { GetViolationDetailsCommandInput, GetViolationDetailsCommandOutput } from "./commands/GetViolationDetailsCommand";
|
|
19
23
|
import { ListAppsListsCommandInput, ListAppsListsCommandOutput } from "./commands/ListAppsListsCommand";
|
|
20
24
|
import { ListComplianceStatusCommandInput, ListComplianceStatusCommandOutput } from "./commands/ListComplianceStatusCommand";
|
|
25
|
+
import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
|
|
21
26
|
import { ListMemberAccountsCommandInput, ListMemberAccountsCommandOutput } from "./commands/ListMemberAccountsCommand";
|
|
22
27
|
import { ListPoliciesCommandInput, ListPoliciesCommandOutput } from "./commands/ListPoliciesCommand";
|
|
23
28
|
import { ListProtocolsListsCommandInput, ListProtocolsListsCommandOutput } from "./commands/ListProtocolsListsCommand";
|
|
29
|
+
import { ListResourceSetResourcesCommandInput, ListResourceSetResourcesCommandOutput } from "./commands/ListResourceSetResourcesCommand";
|
|
30
|
+
import { ListResourceSetsCommandInput, ListResourceSetsCommandOutput } from "./commands/ListResourceSetsCommand";
|
|
24
31
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
25
32
|
import { ListThirdPartyFirewallFirewallPoliciesCommandInput, ListThirdPartyFirewallFirewallPoliciesCommandOutput } from "./commands/ListThirdPartyFirewallFirewallPoliciesCommand";
|
|
26
33
|
import { PutAppsListCommandInput, PutAppsListCommandOutput } from "./commands/PutAppsListCommand";
|
|
27
34
|
import { PutNotificationChannelCommandInput, PutNotificationChannelCommandOutput } from "./commands/PutNotificationChannelCommand";
|
|
28
35
|
import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
|
|
29
36
|
import { PutProtocolsListCommandInput, PutProtocolsListCommandOutput } from "./commands/PutProtocolsListCommand";
|
|
37
|
+
import { PutResourceSetCommandInput, PutResourceSetCommandOutput } from "./commands/PutResourceSetCommand";
|
|
30
38
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
31
39
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
32
40
|
import { FMSClient } from "./FMSClient";
|
|
@@ -55,6 +63,18 @@ export declare class FMS extends FMSClient {
|
|
|
55
63
|
associateThirdPartyFirewall(args: AssociateThirdPartyFirewallCommandInput, options?: __HttpHandlerOptions): Promise<AssociateThirdPartyFirewallCommandOutput>;
|
|
56
64
|
associateThirdPartyFirewall(args: AssociateThirdPartyFirewallCommandInput, cb: (err: any, data?: AssociateThirdPartyFirewallCommandOutput) => void): void;
|
|
57
65
|
associateThirdPartyFirewall(args: AssociateThirdPartyFirewallCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateThirdPartyFirewallCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* <p>Associate resources to a Firewall Manager resource set.</p>
|
|
68
|
+
*/
|
|
69
|
+
batchAssociateResource(args: BatchAssociateResourceCommandInput, options?: __HttpHandlerOptions): Promise<BatchAssociateResourceCommandOutput>;
|
|
70
|
+
batchAssociateResource(args: BatchAssociateResourceCommandInput, cb: (err: any, data?: BatchAssociateResourceCommandOutput) => void): void;
|
|
71
|
+
batchAssociateResource(args: BatchAssociateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAssociateResourceCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* <p>Disassociates resources from a Firewall Manager resource set.</p>
|
|
74
|
+
*/
|
|
75
|
+
batchDisassociateResource(args: BatchDisassociateResourceCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisassociateResourceCommandOutput>;
|
|
76
|
+
batchDisassociateResource(args: BatchDisassociateResourceCommandInput, cb: (err: any, data?: BatchDisassociateResourceCommandOutput) => void): void;
|
|
77
|
+
batchDisassociateResource(args: BatchDisassociateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisassociateResourceCommandOutput) => void): void;
|
|
58
78
|
/**
|
|
59
79
|
* <p>Permanently deletes an Firewall Manager applications list.</p>
|
|
60
80
|
*/
|
|
@@ -80,6 +100,12 @@ export declare class FMS extends FMSClient {
|
|
|
80
100
|
deleteProtocolsList(args: DeleteProtocolsListCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProtocolsListCommandOutput>;
|
|
81
101
|
deleteProtocolsList(args: DeleteProtocolsListCommandInput, cb: (err: any, data?: DeleteProtocolsListCommandOutput) => void): void;
|
|
82
102
|
deleteProtocolsList(args: DeleteProtocolsListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProtocolsListCommandOutput) => void): void;
|
|
103
|
+
/**
|
|
104
|
+
* <p>Deletes the specified <a>ResourceSet</a>.</p>
|
|
105
|
+
*/
|
|
106
|
+
deleteResourceSet(args: DeleteResourceSetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceSetCommandOutput>;
|
|
107
|
+
deleteResourceSet(args: DeleteResourceSetCommandInput, cb: (err: any, data?: DeleteResourceSetCommandOutput) => void): void;
|
|
108
|
+
deleteResourceSet(args: DeleteResourceSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceSetCommandOutput) => void): void;
|
|
83
109
|
/**
|
|
84
110
|
* <p>Disassociates the account that has been set as the Firewall Manager administrator
|
|
85
111
|
* account. To set a different account as the administrator account, you must submit an
|
|
@@ -163,6 +189,12 @@ export declare class FMS extends FMSClient {
|
|
|
163
189
|
getProtocolsList(args: GetProtocolsListCommandInput, options?: __HttpHandlerOptions): Promise<GetProtocolsListCommandOutput>;
|
|
164
190
|
getProtocolsList(args: GetProtocolsListCommandInput, cb: (err: any, data?: GetProtocolsListCommandOutput) => void): void;
|
|
165
191
|
getProtocolsList(args: GetProtocolsListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProtocolsListCommandOutput) => void): void;
|
|
192
|
+
/**
|
|
193
|
+
* <p>Gets information about a specific resource set.</p>
|
|
194
|
+
*/
|
|
195
|
+
getResourceSet(args: GetResourceSetCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceSetCommandOutput>;
|
|
196
|
+
getResourceSet(args: GetResourceSetCommandInput, cb: (err: any, data?: GetResourceSetCommandOutput) => void): void;
|
|
197
|
+
getResourceSet(args: GetResourceSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceSetCommandOutput) => void): void;
|
|
166
198
|
/**
|
|
167
199
|
* <p>The onboarding status of a Firewall Manager admin account to third-party firewall vendor tenant.</p>
|
|
168
200
|
*/
|
|
@@ -189,6 +221,12 @@ export declare class FMS extends FMSClient {
|
|
|
189
221
|
listComplianceStatus(args: ListComplianceStatusCommandInput, options?: __HttpHandlerOptions): Promise<ListComplianceStatusCommandOutput>;
|
|
190
222
|
listComplianceStatus(args: ListComplianceStatusCommandInput, cb: (err: any, data?: ListComplianceStatusCommandOutput) => void): void;
|
|
191
223
|
listComplianceStatus(args: ListComplianceStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComplianceStatusCommandOutput) => void): void;
|
|
224
|
+
/**
|
|
225
|
+
* <p>Returns an array of resources in the organization's accounts that are available to be associated with a resource set.</p>
|
|
226
|
+
*/
|
|
227
|
+
listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListDiscoveredResourcesCommandOutput>;
|
|
228
|
+
listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void): void;
|
|
229
|
+
listDiscoveredResources(args: ListDiscoveredResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDiscoveredResourcesCommandOutput) => void): void;
|
|
192
230
|
/**
|
|
193
231
|
* <p>Returns a <code>MemberAccounts</code> object that lists the member accounts in the
|
|
194
232
|
* administrator's Amazon Web Services organization.</p>
|
|
@@ -210,6 +248,18 @@ export declare class FMS extends FMSClient {
|
|
|
210
248
|
listProtocolsLists(args: ListProtocolsListsCommandInput, options?: __HttpHandlerOptions): Promise<ListProtocolsListsCommandOutput>;
|
|
211
249
|
listProtocolsLists(args: ListProtocolsListsCommandInput, cb: (err: any, data?: ListProtocolsListsCommandOutput) => void): void;
|
|
212
250
|
listProtocolsLists(args: ListProtocolsListsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtocolsListsCommandOutput) => void): void;
|
|
251
|
+
/**
|
|
252
|
+
* <p>Returns an array of resources that are currently associated to a resource set.</p>
|
|
253
|
+
*/
|
|
254
|
+
listResourceSetResources(args: ListResourceSetResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceSetResourcesCommandOutput>;
|
|
255
|
+
listResourceSetResources(args: ListResourceSetResourcesCommandInput, cb: (err: any, data?: ListResourceSetResourcesCommandOutput) => void): void;
|
|
256
|
+
listResourceSetResources(args: ListResourceSetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceSetResourcesCommandOutput) => void): void;
|
|
257
|
+
/**
|
|
258
|
+
* <p>Returns an array of <code>ResourceSetSummary</code> objects.</p>
|
|
259
|
+
*/
|
|
260
|
+
listResourceSets(args: ListResourceSetsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceSetsCommandOutput>;
|
|
261
|
+
listResourceSets(args: ListResourceSetsCommandInput, cb: (err: any, data?: ListResourceSetsCommandOutput) => void): void;
|
|
262
|
+
listResourceSets(args: ListResourceSetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceSetsCommandOutput) => void): void;
|
|
213
263
|
/**
|
|
214
264
|
* <p>Retrieves the list of tags for the specified Amazon Web Services resource. </p>
|
|
215
265
|
*/
|
|
@@ -282,6 +332,13 @@ export declare class FMS extends FMSClient {
|
|
|
282
332
|
putProtocolsList(args: PutProtocolsListCommandInput, options?: __HttpHandlerOptions): Promise<PutProtocolsListCommandOutput>;
|
|
283
333
|
putProtocolsList(args: PutProtocolsListCommandInput, cb: (err: any, data?: PutProtocolsListCommandOutput) => void): void;
|
|
284
334
|
putProtocolsList(args: PutProtocolsListCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutProtocolsListCommandOutput) => void): void;
|
|
335
|
+
/**
|
|
336
|
+
* <p>Creates the resource set.</p>
|
|
337
|
+
* <p>An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.</p>
|
|
338
|
+
*/
|
|
339
|
+
putResourceSet(args: PutResourceSetCommandInput, options?: __HttpHandlerOptions): Promise<PutResourceSetCommandOutput>;
|
|
340
|
+
putResourceSet(args: PutResourceSetCommandInput, cb: (err: any, data?: PutResourceSetCommandOutput) => void): void;
|
|
341
|
+
putResourceSet(args: PutResourceSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourceSetCommandOutput) => void): void;
|
|
285
342
|
/**
|
|
286
343
|
* <p>Adds one or more tags to an Amazon Web Services resource.</p>
|
|
287
344
|
*/
|
|
@@ -9,10 +9,13 @@ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfig
|
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { AssociateAdminAccountCommandInput, AssociateAdminAccountCommandOutput } from "./commands/AssociateAdminAccountCommand";
|
|
11
11
|
import { AssociateThirdPartyFirewallCommandInput, AssociateThirdPartyFirewallCommandOutput } from "./commands/AssociateThirdPartyFirewallCommand";
|
|
12
|
+
import { BatchAssociateResourceCommandInput, BatchAssociateResourceCommandOutput } from "./commands/BatchAssociateResourceCommand";
|
|
13
|
+
import { BatchDisassociateResourceCommandInput, BatchDisassociateResourceCommandOutput } from "./commands/BatchDisassociateResourceCommand";
|
|
12
14
|
import { DeleteAppsListCommandInput, DeleteAppsListCommandOutput } from "./commands/DeleteAppsListCommand";
|
|
13
15
|
import { DeleteNotificationChannelCommandInput, DeleteNotificationChannelCommandOutput } from "./commands/DeleteNotificationChannelCommand";
|
|
14
16
|
import { DeletePolicyCommandInput, DeletePolicyCommandOutput } from "./commands/DeletePolicyCommand";
|
|
15
17
|
import { DeleteProtocolsListCommandInput, DeleteProtocolsListCommandOutput } from "./commands/DeleteProtocolsListCommand";
|
|
18
|
+
import { DeleteResourceSetCommandInput, DeleteResourceSetCommandOutput } from "./commands/DeleteResourceSetCommand";
|
|
16
19
|
import { DisassociateAdminAccountCommandInput, DisassociateAdminAccountCommandOutput } from "./commands/DisassociateAdminAccountCommand";
|
|
17
20
|
import { DisassociateThirdPartyFirewallCommandInput, DisassociateThirdPartyFirewallCommandOutput } from "./commands/DisassociateThirdPartyFirewallCommand";
|
|
18
21
|
import { GetAdminAccountCommandInput, GetAdminAccountCommandOutput } from "./commands/GetAdminAccountCommand";
|
|
@@ -22,24 +25,29 @@ import { GetNotificationChannelCommandInput, GetNotificationChannelCommandOutput
|
|
|
22
25
|
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
23
26
|
import { GetProtectionStatusCommandInput, GetProtectionStatusCommandOutput } from "./commands/GetProtectionStatusCommand";
|
|
24
27
|
import { GetProtocolsListCommandInput, GetProtocolsListCommandOutput } from "./commands/GetProtocolsListCommand";
|
|
28
|
+
import { GetResourceSetCommandInput, GetResourceSetCommandOutput } from "./commands/GetResourceSetCommand";
|
|
25
29
|
import { GetThirdPartyFirewallAssociationStatusCommandInput, GetThirdPartyFirewallAssociationStatusCommandOutput } from "./commands/GetThirdPartyFirewallAssociationStatusCommand";
|
|
26
30
|
import { GetViolationDetailsCommandInput, GetViolationDetailsCommandOutput } from "./commands/GetViolationDetailsCommand";
|
|
27
31
|
import { ListAppsListsCommandInput, ListAppsListsCommandOutput } from "./commands/ListAppsListsCommand";
|
|
28
32
|
import { ListComplianceStatusCommandInput, ListComplianceStatusCommandOutput } from "./commands/ListComplianceStatusCommand";
|
|
33
|
+
import { ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput } from "./commands/ListDiscoveredResourcesCommand";
|
|
29
34
|
import { ListMemberAccountsCommandInput, ListMemberAccountsCommandOutput } from "./commands/ListMemberAccountsCommand";
|
|
30
35
|
import { ListPoliciesCommandInput, ListPoliciesCommandOutput } from "./commands/ListPoliciesCommand";
|
|
31
36
|
import { ListProtocolsListsCommandInput, ListProtocolsListsCommandOutput } from "./commands/ListProtocolsListsCommand";
|
|
37
|
+
import { ListResourceSetResourcesCommandInput, ListResourceSetResourcesCommandOutput } from "./commands/ListResourceSetResourcesCommand";
|
|
38
|
+
import { ListResourceSetsCommandInput, ListResourceSetsCommandOutput } from "./commands/ListResourceSetsCommand";
|
|
32
39
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
33
40
|
import { ListThirdPartyFirewallFirewallPoliciesCommandInput, ListThirdPartyFirewallFirewallPoliciesCommandOutput } from "./commands/ListThirdPartyFirewallFirewallPoliciesCommand";
|
|
34
41
|
import { PutAppsListCommandInput, PutAppsListCommandOutput } from "./commands/PutAppsListCommand";
|
|
35
42
|
import { PutNotificationChannelCommandInput, PutNotificationChannelCommandOutput } from "./commands/PutNotificationChannelCommand";
|
|
36
43
|
import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand";
|
|
37
44
|
import { PutProtocolsListCommandInput, PutProtocolsListCommandOutput } from "./commands/PutProtocolsListCommand";
|
|
45
|
+
import { PutResourceSetCommandInput, PutResourceSetCommandOutput } from "./commands/PutResourceSetCommand";
|
|
38
46
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
39
47
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
40
48
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
41
|
-
export declare type ServiceInputTypes = AssociateAdminAccountCommandInput | AssociateThirdPartyFirewallCommandInput | DeleteAppsListCommandInput | DeleteNotificationChannelCommandInput | DeletePolicyCommandInput | DeleteProtocolsListCommandInput | DisassociateAdminAccountCommandInput | DisassociateThirdPartyFirewallCommandInput | GetAdminAccountCommandInput | GetAppsListCommandInput | GetComplianceDetailCommandInput | GetNotificationChannelCommandInput | GetPolicyCommandInput | GetProtectionStatusCommandInput | GetProtocolsListCommandInput | GetThirdPartyFirewallAssociationStatusCommandInput | GetViolationDetailsCommandInput | ListAppsListsCommandInput | ListComplianceStatusCommandInput | ListMemberAccountsCommandInput | ListPoliciesCommandInput | ListProtocolsListsCommandInput | ListTagsForResourceCommandInput | ListThirdPartyFirewallFirewallPoliciesCommandInput | PutAppsListCommandInput | PutNotificationChannelCommandInput | PutPolicyCommandInput | PutProtocolsListCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
42
|
-
export declare type ServiceOutputTypes = AssociateAdminAccountCommandOutput | AssociateThirdPartyFirewallCommandOutput | DeleteAppsListCommandOutput | DeleteNotificationChannelCommandOutput | DeletePolicyCommandOutput | DeleteProtocolsListCommandOutput | DisassociateAdminAccountCommandOutput | DisassociateThirdPartyFirewallCommandOutput | GetAdminAccountCommandOutput | GetAppsListCommandOutput | GetComplianceDetailCommandOutput | GetNotificationChannelCommandOutput | GetPolicyCommandOutput | GetProtectionStatusCommandOutput | GetProtocolsListCommandOutput | GetThirdPartyFirewallAssociationStatusCommandOutput | GetViolationDetailsCommandOutput | ListAppsListsCommandOutput | ListComplianceStatusCommandOutput | ListMemberAccountsCommandOutput | ListPoliciesCommandOutput | ListProtocolsListsCommandOutput | ListTagsForResourceCommandOutput | ListThirdPartyFirewallFirewallPoliciesCommandOutput | PutAppsListCommandOutput | PutNotificationChannelCommandOutput | PutPolicyCommandOutput | PutProtocolsListCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
49
|
+
export declare type ServiceInputTypes = AssociateAdminAccountCommandInput | AssociateThirdPartyFirewallCommandInput | BatchAssociateResourceCommandInput | BatchDisassociateResourceCommandInput | DeleteAppsListCommandInput | DeleteNotificationChannelCommandInput | DeletePolicyCommandInput | DeleteProtocolsListCommandInput | DeleteResourceSetCommandInput | DisassociateAdminAccountCommandInput | DisassociateThirdPartyFirewallCommandInput | GetAdminAccountCommandInput | GetAppsListCommandInput | GetComplianceDetailCommandInput | GetNotificationChannelCommandInput | GetPolicyCommandInput | GetProtectionStatusCommandInput | GetProtocolsListCommandInput | GetResourceSetCommandInput | GetThirdPartyFirewallAssociationStatusCommandInput | GetViolationDetailsCommandInput | ListAppsListsCommandInput | ListComplianceStatusCommandInput | ListDiscoveredResourcesCommandInput | ListMemberAccountsCommandInput | ListPoliciesCommandInput | ListProtocolsListsCommandInput | ListResourceSetResourcesCommandInput | ListResourceSetsCommandInput | ListTagsForResourceCommandInput | ListThirdPartyFirewallFirewallPoliciesCommandInput | PutAppsListCommandInput | PutNotificationChannelCommandInput | PutPolicyCommandInput | PutProtocolsListCommandInput | PutResourceSetCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
50
|
+
export declare type ServiceOutputTypes = AssociateAdminAccountCommandOutput | AssociateThirdPartyFirewallCommandOutput | BatchAssociateResourceCommandOutput | BatchDisassociateResourceCommandOutput | DeleteAppsListCommandOutput | DeleteNotificationChannelCommandOutput | DeletePolicyCommandOutput | DeleteProtocolsListCommandOutput | DeleteResourceSetCommandOutput | DisassociateAdminAccountCommandOutput | DisassociateThirdPartyFirewallCommandOutput | GetAdminAccountCommandOutput | GetAppsListCommandOutput | GetComplianceDetailCommandOutput | GetNotificationChannelCommandOutput | GetPolicyCommandOutput | GetProtectionStatusCommandOutput | GetProtocolsListCommandOutput | GetResourceSetCommandOutput | GetThirdPartyFirewallAssociationStatusCommandOutput | GetViolationDetailsCommandOutput | ListAppsListsCommandOutput | ListComplianceStatusCommandOutput | ListDiscoveredResourcesCommandOutput | ListMemberAccountsCommandOutput | ListPoliciesCommandOutput | ListProtocolsListsCommandOutput | ListResourceSetResourcesCommandOutput | ListResourceSetsCommandOutput | ListTagsForResourceCommandOutput | ListThirdPartyFirewallFirewallPoliciesCommandOutput | PutAppsListCommandOutput | PutNotificationChannelCommandOutput | PutPolicyCommandOutput | PutProtocolsListCommandOutput | PutResourceSetCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
43
51
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
44
52
|
/**
|
|
45
53
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
5
|
+
import { BatchAssociateResourceRequest, BatchAssociateResourceResponse } from "../models/models_0";
|
|
6
|
+
export interface BatchAssociateResourceCommandInput extends BatchAssociateResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchAssociateResourceCommandOutput extends BatchAssociateResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Associate resources to a Firewall Manager resource set.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FMSClient, BatchAssociateResourceCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
16
|
+
* // const { FMSClient, BatchAssociateResourceCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
17
|
+
* const client = new FMSClient(config);
|
|
18
|
+
* const command = new BatchAssociateResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link BatchAssociateResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link BatchAssociateResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class BatchAssociateResourceCommand extends $Command<BatchAssociateResourceCommandInput, BatchAssociateResourceCommandOutput, FMSClientResolvedConfig> {
|
|
28
|
+
readonly input: BatchAssociateResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: BatchAssociateResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchAssociateResourceCommandInput, BatchAssociateResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
5
|
+
import { BatchDisassociateResourceRequest, BatchDisassociateResourceResponse } from "../models/models_0";
|
|
6
|
+
export interface BatchDisassociateResourceCommandInput extends BatchDisassociateResourceRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchDisassociateResourceCommandOutput extends BatchDisassociateResourceResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Disassociates resources from a Firewall Manager resource set.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FMSClient, BatchDisassociateResourceCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
16
|
+
* // const { FMSClient, BatchDisassociateResourceCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
17
|
+
* const client = new FMSClient(config);
|
|
18
|
+
* const command = new BatchDisassociateResourceCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link BatchDisassociateResourceCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link BatchDisassociateResourceCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class BatchDisassociateResourceCommand extends $Command<BatchDisassociateResourceCommandInput, BatchDisassociateResourceCommandOutput, FMSClientResolvedConfig> {
|
|
28
|
+
readonly input: BatchDisassociateResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: BatchDisassociateResourceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDisassociateResourceCommandInput, BatchDisassociateResourceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
5
|
+
import { DeleteResourceSetRequest } from "../models/models_0";
|
|
6
|
+
export interface DeleteResourceSetCommandInput extends DeleteResourceSetRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteResourceSetCommandOutput extends __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes the specified <a>ResourceSet</a>.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FMSClient, DeleteResourceSetCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
16
|
+
* // const { FMSClient, DeleteResourceSetCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
17
|
+
* const client = new FMSClient(config);
|
|
18
|
+
* const command = new DeleteResourceSetCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteResourceSetCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteResourceSetCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteResourceSetCommand extends $Command<DeleteResourceSetCommandInput, DeleteResourceSetCommandOutput, FMSClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteResourceSetCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteResourceSetCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourceSetCommandInput, DeleteResourceSetCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
5
|
+
import { GetResourceSetRequest, GetResourceSetResponse } from "../models/models_0";
|
|
6
|
+
export interface GetResourceSetCommandInput extends GetResourceSetRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetResourceSetCommandOutput extends GetResourceSetResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Gets information about a specific resource set.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FMSClient, GetResourceSetCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
16
|
+
* // const { FMSClient, GetResourceSetCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
17
|
+
* const client = new FMSClient(config);
|
|
18
|
+
* const command = new GetResourceSetCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetResourceSetCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetResourceSetCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetResourceSetCommand extends $Command<GetResourceSetCommandInput, GetResourceSetCommandOutput, FMSClientResolvedConfig> {
|
|
28
|
+
readonly input: GetResourceSetCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetResourceSetCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourceSetCommandInput, GetResourceSetCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
5
|
+
import { ListDiscoveredResourcesRequest, ListDiscoveredResourcesResponse } from "../models/models_0";
|
|
6
|
+
export interface ListDiscoveredResourcesCommandInput extends ListDiscoveredResourcesRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListDiscoveredResourcesCommandOutput extends ListDiscoveredResourcesResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns an array of resources in the organization's accounts that are available to be associated with a resource set.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FMSClient, ListDiscoveredResourcesCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
16
|
+
* // const { FMSClient, ListDiscoveredResourcesCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
17
|
+
* const client = new FMSClient(config);
|
|
18
|
+
* const command = new ListDiscoveredResourcesCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListDiscoveredResourcesCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListDiscoveredResourcesCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListDiscoveredResourcesCommand extends $Command<ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput, FMSClientResolvedConfig> {
|
|
28
|
+
readonly input: ListDiscoveredResourcesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListDiscoveredResourcesCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDiscoveredResourcesCommandInput, ListDiscoveredResourcesCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
5
|
+
import { ListResourceSetResourcesRequest, ListResourceSetResourcesResponse } from "../models/models_0";
|
|
6
|
+
export interface ListResourceSetResourcesCommandInput extends ListResourceSetResourcesRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListResourceSetResourcesCommandOutput extends ListResourceSetResourcesResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns an array of resources that are currently associated to a resource set.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FMSClient, ListResourceSetResourcesCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
16
|
+
* // const { FMSClient, ListResourceSetResourcesCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
17
|
+
* const client = new FMSClient(config);
|
|
18
|
+
* const command = new ListResourceSetResourcesCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListResourceSetResourcesCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListResourceSetResourcesCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListResourceSetResourcesCommand extends $Command<ListResourceSetResourcesCommandInput, ListResourceSetResourcesCommandOutput, FMSClientResolvedConfig> {
|
|
28
|
+
readonly input: ListResourceSetResourcesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListResourceSetResourcesCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResourceSetResourcesCommandInput, ListResourceSetResourcesCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
5
|
+
import { ListResourceSetsRequest, ListResourceSetsResponse } from "../models/models_0";
|
|
6
|
+
export interface ListResourceSetsCommandInput extends ListResourceSetsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListResourceSetsCommandOutput extends ListResourceSetsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns an array of <code>ResourceSetSummary</code> objects.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FMSClient, ListResourceSetsCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
16
|
+
* // const { FMSClient, ListResourceSetsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
17
|
+
* const client = new FMSClient(config);
|
|
18
|
+
* const command = new ListResourceSetsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListResourceSetsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListResourceSetsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListResourceSetsCommand extends $Command<ListResourceSetsCommandInput, ListResourceSetsCommandOutput, FMSClientResolvedConfig> {
|
|
28
|
+
readonly input: ListResourceSetsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListResourceSetsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResourceSetsCommandInput, ListResourceSetsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
|
|
5
|
+
import { PutResourceSetRequest, PutResourceSetResponse } from "../models/models_0";
|
|
6
|
+
export interface PutResourceSetCommandInput extends PutResourceSetRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface PutResourceSetCommandOutput extends PutResourceSetResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates the resource set.</p>
|
|
12
|
+
* <p>An Firewall Manager resource set defines the resources to import into an Firewall Manager policy from another Amazon Web Services service.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { FMSClient, PutResourceSetCommand } from "@aws-sdk/client-fms"; // ES Modules import
|
|
17
|
+
* // const { FMSClient, PutResourceSetCommand } = require("@aws-sdk/client-fms"); // CommonJS import
|
|
18
|
+
* const client = new FMSClient(config);
|
|
19
|
+
* const command = new PutResourceSetCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link PutResourceSetCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link PutResourceSetCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link FMSClientResolvedConfig | config} for FMSClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class PutResourceSetCommand extends $Command<PutResourceSetCommandInput, PutResourceSetCommandOutput, FMSClientResolvedConfig> {
|
|
29
|
+
readonly input: PutResourceSetCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: PutResourceSetCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FMSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourceSetCommandInput, PutResourceSetCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export * from "./AssociateAdminAccountCommand";
|
|
2
2
|
export * from "./AssociateThirdPartyFirewallCommand";
|
|
3
|
+
export * from "./BatchAssociateResourceCommand";
|
|
4
|
+
export * from "./BatchDisassociateResourceCommand";
|
|
3
5
|
export * from "./DeleteAppsListCommand";
|
|
4
6
|
export * from "./DeleteNotificationChannelCommand";
|
|
5
7
|
export * from "./DeletePolicyCommand";
|
|
6
8
|
export * from "./DeleteProtocolsListCommand";
|
|
9
|
+
export * from "./DeleteResourceSetCommand";
|
|
7
10
|
export * from "./DisassociateAdminAccountCommand";
|
|
8
11
|
export * from "./DisassociateThirdPartyFirewallCommand";
|
|
9
12
|
export * from "./GetAdminAccountCommand";
|
|
@@ -13,18 +16,23 @@ export * from "./GetNotificationChannelCommand";
|
|
|
13
16
|
export * from "./GetPolicyCommand";
|
|
14
17
|
export * from "./GetProtectionStatusCommand";
|
|
15
18
|
export * from "./GetProtocolsListCommand";
|
|
19
|
+
export * from "./GetResourceSetCommand";
|
|
16
20
|
export * from "./GetThirdPartyFirewallAssociationStatusCommand";
|
|
17
21
|
export * from "./GetViolationDetailsCommand";
|
|
18
22
|
export * from "./ListAppsListsCommand";
|
|
19
23
|
export * from "./ListComplianceStatusCommand";
|
|
24
|
+
export * from "./ListDiscoveredResourcesCommand";
|
|
20
25
|
export * from "./ListMemberAccountsCommand";
|
|
21
26
|
export * from "./ListPoliciesCommand";
|
|
22
27
|
export * from "./ListProtocolsListsCommand";
|
|
28
|
+
export * from "./ListResourceSetResourcesCommand";
|
|
29
|
+
export * from "./ListResourceSetsCommand";
|
|
23
30
|
export * from "./ListTagsForResourceCommand";
|
|
24
31
|
export * from "./ListThirdPartyFirewallFirewallPoliciesCommand";
|
|
25
32
|
export * from "./PutAppsListCommand";
|
|
26
33
|
export * from "./PutNotificationChannelCommand";
|
|
27
34
|
export * from "./PutPolicyCommand";
|
|
28
35
|
export * from "./PutProtocolsListCommand";
|
|
36
|
+
export * from "./PutResourceSetCommand";
|
|
29
37
|
export * from "./TagResourceCommand";
|
|
30
38
|
export * from "./UntagResourceCommand";
|