@aws-sdk/client-fms 3.975.0 → 3.980.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/index.js +27 -17
- package/dist-es/FMS.js +19 -1
- package/dist-types/FMS.d.ts +57 -1
- package/dist-types/ts3.4/FMS.d.ts +61 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -2245,6 +2245,22 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
2245
2245
|
.build() {
|
|
2246
2246
|
}
|
|
2247
2247
|
|
|
2248
|
+
const paginateListAdminAccountsForOrganization = core.createPaginator(FMSClient, ListAdminAccountsForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
2249
|
+
|
|
2250
|
+
const paginateListAdminsManagingAccount = core.createPaginator(FMSClient, ListAdminsManagingAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
2251
|
+
|
|
2252
|
+
const paginateListAppsLists = core.createPaginator(FMSClient, ListAppsListsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2253
|
+
|
|
2254
|
+
const paginateListComplianceStatus = core.createPaginator(FMSClient, ListComplianceStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
2255
|
+
|
|
2256
|
+
const paginateListMemberAccounts = core.createPaginator(FMSClient, ListMemberAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2257
|
+
|
|
2258
|
+
const paginateListPolicies = core.createPaginator(FMSClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2259
|
+
|
|
2260
|
+
const paginateListProtocolsLists = core.createPaginator(FMSClient, ListProtocolsListsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2261
|
+
|
|
2262
|
+
const paginateListThirdPartyFirewallFirewallPolicies = core.createPaginator(FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2263
|
+
|
|
2248
2264
|
const commands = {
|
|
2249
2265
|
AssociateAdminAccountCommand,
|
|
2250
2266
|
AssociateThirdPartyFirewallCommand,
|
|
@@ -2289,25 +2305,19 @@ const commands = {
|
|
|
2289
2305
|
TagResourceCommand,
|
|
2290
2306
|
UntagResourceCommand,
|
|
2291
2307
|
};
|
|
2308
|
+
const paginators = {
|
|
2309
|
+
paginateListAdminAccountsForOrganization,
|
|
2310
|
+
paginateListAdminsManagingAccount,
|
|
2311
|
+
paginateListAppsLists,
|
|
2312
|
+
paginateListComplianceStatus,
|
|
2313
|
+
paginateListMemberAccounts,
|
|
2314
|
+
paginateListPolicies,
|
|
2315
|
+
paginateListProtocolsLists,
|
|
2316
|
+
paginateListThirdPartyFirewallFirewallPolicies,
|
|
2317
|
+
};
|
|
2292
2318
|
class FMS extends FMSClient {
|
|
2293
2319
|
}
|
|
2294
|
-
smithyClient.createAggregatedClient(commands, FMS);
|
|
2295
|
-
|
|
2296
|
-
const paginateListAdminAccountsForOrganization = core.createPaginator(FMSClient, ListAdminAccountsForOrganizationCommand, "NextToken", "NextToken", "MaxResults");
|
|
2297
|
-
|
|
2298
|
-
const paginateListAdminsManagingAccount = core.createPaginator(FMSClient, ListAdminsManagingAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
2299
|
-
|
|
2300
|
-
const paginateListAppsLists = core.createPaginator(FMSClient, ListAppsListsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2301
|
-
|
|
2302
|
-
const paginateListComplianceStatus = core.createPaginator(FMSClient, ListComplianceStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
2303
|
-
|
|
2304
|
-
const paginateListMemberAccounts = core.createPaginator(FMSClient, ListMemberAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2305
|
-
|
|
2306
|
-
const paginateListPolicies = core.createPaginator(FMSClient, ListPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2307
|
-
|
|
2308
|
-
const paginateListProtocolsLists = core.createPaginator(FMSClient, ListProtocolsListsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2309
|
-
|
|
2310
|
-
const paginateListThirdPartyFirewallFirewallPolicies = core.createPaginator(FMSClient, ListThirdPartyFirewallFirewallPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2320
|
+
smithyClient.createAggregatedClient(commands, FMS, { paginators });
|
|
2311
2321
|
|
|
2312
2322
|
const AccountRoleStatus = {
|
|
2313
2323
|
Creating: "CREATING",
|
package/dist-es/FMS.js
CHANGED
|
@@ -42,6 +42,14 @@ import { PutResourceSetCommand, } from "./commands/PutResourceSetCommand";
|
|
|
42
42
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
43
43
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
44
44
|
import { FMSClient } from "./FMSClient";
|
|
45
|
+
import { paginateListAdminAccountsForOrganization } from "./pagination/ListAdminAccountsForOrganizationPaginator";
|
|
46
|
+
import { paginateListAdminsManagingAccount } from "./pagination/ListAdminsManagingAccountPaginator";
|
|
47
|
+
import { paginateListAppsLists } from "./pagination/ListAppsListsPaginator";
|
|
48
|
+
import { paginateListComplianceStatus } from "./pagination/ListComplianceStatusPaginator";
|
|
49
|
+
import { paginateListMemberAccounts } from "./pagination/ListMemberAccountsPaginator";
|
|
50
|
+
import { paginateListPolicies } from "./pagination/ListPoliciesPaginator";
|
|
51
|
+
import { paginateListProtocolsLists } from "./pagination/ListProtocolsListsPaginator";
|
|
52
|
+
import { paginateListThirdPartyFirewallFirewallPolicies, } from "./pagination/ListThirdPartyFirewallFirewallPoliciesPaginator";
|
|
45
53
|
const commands = {
|
|
46
54
|
AssociateAdminAccountCommand,
|
|
47
55
|
AssociateThirdPartyFirewallCommand,
|
|
@@ -86,6 +94,16 @@ const commands = {
|
|
|
86
94
|
TagResourceCommand,
|
|
87
95
|
UntagResourceCommand,
|
|
88
96
|
};
|
|
97
|
+
const paginators = {
|
|
98
|
+
paginateListAdminAccountsForOrganization,
|
|
99
|
+
paginateListAdminsManagingAccount,
|
|
100
|
+
paginateListAppsLists,
|
|
101
|
+
paginateListComplianceStatus,
|
|
102
|
+
paginateListMemberAccounts,
|
|
103
|
+
paginateListPolicies,
|
|
104
|
+
paginateListProtocolsLists,
|
|
105
|
+
paginateListThirdPartyFirewallFirewallPolicies,
|
|
106
|
+
};
|
|
89
107
|
export class FMS extends FMSClient {
|
|
90
108
|
}
|
|
91
|
-
createAggregatedClient(commands, FMS);
|
|
109
|
+
createAggregatedClient(commands, FMS, { paginators });
|
package/dist-types/FMS.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AssociateAdminAccountCommandInput, AssociateAdminAccountCommandOutput } from "./commands/AssociateAdminAccountCommand";
|
|
3
3
|
import { AssociateThirdPartyFirewallCommandInput, AssociateThirdPartyFirewallCommandOutput } from "./commands/AssociateThirdPartyFirewallCommand";
|
|
4
4
|
import { BatchAssociateResourceCommandInput, BatchAssociateResourceCommandOutput } from "./commands/BatchAssociateResourceCommand";
|
|
@@ -304,6 +304,62 @@ export interface FMS {
|
|
|
304
304
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
305
305
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
306
306
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
307
|
+
/**
|
|
308
|
+
* @see {@link ListAdminAccountsForOrganizationCommand}
|
|
309
|
+
* @param args - command input.
|
|
310
|
+
* @param paginationConfig - optional pagination config.
|
|
311
|
+
* @returns AsyncIterable of {@link ListAdminAccountsForOrganizationCommandOutput}.
|
|
312
|
+
*/
|
|
313
|
+
paginateListAdminAccountsForOrganization(args?: ListAdminAccountsForOrganizationCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAdminAccountsForOrganizationCommandOutput>;
|
|
314
|
+
/**
|
|
315
|
+
* @see {@link ListAdminsManagingAccountCommand}
|
|
316
|
+
* @param args - command input.
|
|
317
|
+
* @param paginationConfig - optional pagination config.
|
|
318
|
+
* @returns AsyncIterable of {@link ListAdminsManagingAccountCommandOutput}.
|
|
319
|
+
*/
|
|
320
|
+
paginateListAdminsManagingAccount(args?: ListAdminsManagingAccountCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAdminsManagingAccountCommandOutput>;
|
|
321
|
+
/**
|
|
322
|
+
* @see {@link ListAppsListsCommand}
|
|
323
|
+
* @param args - command input.
|
|
324
|
+
* @param paginationConfig - optional pagination config.
|
|
325
|
+
* @returns AsyncIterable of {@link ListAppsListsCommandOutput}.
|
|
326
|
+
*/
|
|
327
|
+
paginateListAppsLists(args: ListAppsListsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAppsListsCommandOutput>;
|
|
328
|
+
/**
|
|
329
|
+
* @see {@link ListComplianceStatusCommand}
|
|
330
|
+
* @param args - command input.
|
|
331
|
+
* @param paginationConfig - optional pagination config.
|
|
332
|
+
* @returns AsyncIterable of {@link ListComplianceStatusCommandOutput}.
|
|
333
|
+
*/
|
|
334
|
+
paginateListComplianceStatus(args: ListComplianceStatusCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListComplianceStatusCommandOutput>;
|
|
335
|
+
/**
|
|
336
|
+
* @see {@link ListMemberAccountsCommand}
|
|
337
|
+
* @param args - command input.
|
|
338
|
+
* @param paginationConfig - optional pagination config.
|
|
339
|
+
* @returns AsyncIterable of {@link ListMemberAccountsCommandOutput}.
|
|
340
|
+
*/
|
|
341
|
+
paginateListMemberAccounts(args?: ListMemberAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMemberAccountsCommandOutput>;
|
|
342
|
+
/**
|
|
343
|
+
* @see {@link ListPoliciesCommand}
|
|
344
|
+
* @param args - command input.
|
|
345
|
+
* @param paginationConfig - optional pagination config.
|
|
346
|
+
* @returns AsyncIterable of {@link ListPoliciesCommandOutput}.
|
|
347
|
+
*/
|
|
348
|
+
paginateListPolicies(args?: ListPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPoliciesCommandOutput>;
|
|
349
|
+
/**
|
|
350
|
+
* @see {@link ListProtocolsListsCommand}
|
|
351
|
+
* @param args - command input.
|
|
352
|
+
* @param paginationConfig - optional pagination config.
|
|
353
|
+
* @returns AsyncIterable of {@link ListProtocolsListsCommandOutput}.
|
|
354
|
+
*/
|
|
355
|
+
paginateListProtocolsLists(args: ListProtocolsListsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProtocolsListsCommandOutput>;
|
|
356
|
+
/**
|
|
357
|
+
* @see {@link ListThirdPartyFirewallFirewallPoliciesCommand}
|
|
358
|
+
* @param args - command input.
|
|
359
|
+
* @param paginationConfig - optional pagination config.
|
|
360
|
+
* @returns AsyncIterable of {@link ListThirdPartyFirewallFirewallPoliciesCommandOutput}.
|
|
361
|
+
*/
|
|
362
|
+
paginateListThirdPartyFirewallFirewallPolicies(args: ListThirdPartyFirewallFirewallPoliciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListThirdPartyFirewallFirewallPoliciesCommandOutput>;
|
|
307
363
|
}
|
|
308
364
|
/**
|
|
309
365
|
* <p>This is the <i>Firewall Manager API Reference</i>. This guide is for
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AssociateAdminAccountCommandInput,
|
|
4
8
|
AssociateAdminAccountCommandOutput,
|
|
@@ -736,5 +740,61 @@ export interface FMS {
|
|
|
736
740
|
options: __HttpHandlerOptions,
|
|
737
741
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
738
742
|
): void;
|
|
743
|
+
paginateListAdminAccountsForOrganization(
|
|
744
|
+
args?: ListAdminAccountsForOrganizationCommandInput,
|
|
745
|
+
paginationConfig?: Pick<
|
|
746
|
+
PaginationConfiguration,
|
|
747
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
748
|
+
>
|
|
749
|
+
): Paginator<ListAdminAccountsForOrganizationCommandOutput>;
|
|
750
|
+
paginateListAdminsManagingAccount(
|
|
751
|
+
args?: ListAdminsManagingAccountCommandInput,
|
|
752
|
+
paginationConfig?: Pick<
|
|
753
|
+
PaginationConfiguration,
|
|
754
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
755
|
+
>
|
|
756
|
+
): Paginator<ListAdminsManagingAccountCommandOutput>;
|
|
757
|
+
paginateListAppsLists(
|
|
758
|
+
args: ListAppsListsCommandInput,
|
|
759
|
+
paginationConfig?: Pick<
|
|
760
|
+
PaginationConfiguration,
|
|
761
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
762
|
+
>
|
|
763
|
+
): Paginator<ListAppsListsCommandOutput>;
|
|
764
|
+
paginateListComplianceStatus(
|
|
765
|
+
args: ListComplianceStatusCommandInput,
|
|
766
|
+
paginationConfig?: Pick<
|
|
767
|
+
PaginationConfiguration,
|
|
768
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
769
|
+
>
|
|
770
|
+
): Paginator<ListComplianceStatusCommandOutput>;
|
|
771
|
+
paginateListMemberAccounts(
|
|
772
|
+
args?: ListMemberAccountsCommandInput,
|
|
773
|
+
paginationConfig?: Pick<
|
|
774
|
+
PaginationConfiguration,
|
|
775
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
776
|
+
>
|
|
777
|
+
): Paginator<ListMemberAccountsCommandOutput>;
|
|
778
|
+
paginateListPolicies(
|
|
779
|
+
args?: ListPoliciesCommandInput,
|
|
780
|
+
paginationConfig?: Pick<
|
|
781
|
+
PaginationConfiguration,
|
|
782
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
783
|
+
>
|
|
784
|
+
): Paginator<ListPoliciesCommandOutput>;
|
|
785
|
+
paginateListProtocolsLists(
|
|
786
|
+
args: ListProtocolsListsCommandInput,
|
|
787
|
+
paginationConfig?: Pick<
|
|
788
|
+
PaginationConfiguration,
|
|
789
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
790
|
+
>
|
|
791
|
+
): Paginator<ListProtocolsListsCommandOutput>;
|
|
792
|
+
paginateListThirdPartyFirewallFirewallPolicies(
|
|
793
|
+
args: ListThirdPartyFirewallFirewallPoliciesCommandInput,
|
|
794
|
+
paginationConfig?: Pick<
|
|
795
|
+
PaginationConfiguration,
|
|
796
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
797
|
+
>
|
|
798
|
+
): Paginator<ListThirdPartyFirewallFirewallPoliciesCommandOutput>;
|
|
739
799
|
}
|
|
740
800
|
export declare class FMS extends FMSClient implements FMS {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-fms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Fms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.980.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-fms",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|