@aws-sdk/client-fms 3.32.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 +44 -0
- package/{dist/cjs → dist-cjs}/FMS.js +1 -2
- package/{dist/cjs → dist-cjs}/FMSClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AssociateAdminAccountCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteAppsListCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteNotificationChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeletePolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteProtocolsListCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DisassociateAdminAccountCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetAdminAccountCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetAppsListCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetComplianceDetailCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetNotificationChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetProtectionStatusCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetProtocolsListCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetViolationDetailsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListAppsListsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListComplianceStatusCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListMemberAccountsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListPoliciesCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListProtocolsListsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutAppsListCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutNotificationChannelCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutPolicyCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/PutProtocolsListCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAppsListsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListComplianceStatusPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListMemberAccountsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListPoliciesPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListProtocolsListsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/FMS.js +2 -12
- package/{dist/es → dist-es}/FMSClient.js +2 -17
- package/{dist/es → dist-es}/commands/AssociateAdminAccountCommand.js +4 -33
- package/{dist/es → dist-es}/commands/DeleteAppsListCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteNotificationChannelCommand.js +4 -31
- package/{dist/es → dist-es}/commands/DeletePolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteProtocolsListCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DisassociateAdminAccountCommand.js +4 -32
- package/{dist/es → dist-es}/commands/GetAdminAccountCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetAppsListCommand.js +4 -30
- package/dist-es/commands/GetComplianceDetailCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetNotificationChannelCommand.js +4 -32
- package/{dist/es → dist-es}/commands/GetPolicyCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetProtectionStatusCommand.js +4 -31
- package/{dist/es → dist-es}/commands/GetProtocolsListCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetViolationDetailsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListAppsListsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListComplianceStatusCommand.js +4 -32
- package/{dist/es → dist-es}/commands/ListMemberAccountsCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListPoliciesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListProtocolsListsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutAppsListCommand.js +4 -30
- package/{dist/es → dist-es}/commands/PutNotificationChannelCommand.js +4 -34
- package/dist-es/commands/PutPolicyCommand.js +39 -0
- package/{dist/es → dist-es}/commands/PutProtocolsListCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -310
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAppsListsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListComplianceStatusPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListMemberAccountsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListPoliciesPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListProtocolsListsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +570 -576
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/FMS.d.ts +2 -2
- package/{dist/types → dist-types}/FMSClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AssociateAdminAccountCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAppsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteNotificationChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeletePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteProtocolsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisassociateAdminAccountCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAdminAccountCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAppsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetComplianceDetailCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetNotificationChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetProtectionStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetProtocolsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetViolationDetailsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAppsListsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListComplianceStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListMemberAccountsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPoliciesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListProtocolsListsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutAppsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutNotificationChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutProtocolsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAppsListsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListComplianceStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListMemberAccountsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListProtocolsListsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/FMS.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/FMSClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AssociateAdminAccountCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAppsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteNotificationChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeletePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteProtocolsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateAdminAccountCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetAdminAccountCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetAppsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetComplianceDetailCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetNotificationChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetProtectionStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetProtocolsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetViolationDetailsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListAppsListsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListComplianceStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListMemberAccountsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListPoliciesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListProtocolsListsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutAppsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutNotificationChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutProtocolsListCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAppsListsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListComplianceStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListMemberAccountsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPoliciesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListProtocolsListsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/FMS.ts +0 -993
- package/FMSClient.ts +0 -352
- package/commands/AssociateAdminAccountCommand.ts +0 -97
- package/commands/DeleteAppsListCommand.ts +0 -94
- package/commands/DeleteNotificationChannelCommand.ts +0 -98
- package/commands/DeletePolicyCommand.ts +0 -94
- package/commands/DeleteProtocolsListCommand.ts +0 -94
- package/commands/DisassociateAdminAccountCommand.ts +0 -96
- package/commands/GetAdminAccountCommand.ts +0 -95
- package/commands/GetAppsListCommand.ts +0 -94
- package/commands/GetComplianceDetailCommand.ts +0 -117
- package/commands/GetNotificationChannelCommand.ts +0 -96
- package/commands/GetPolicyCommand.ts +0 -87
- package/commands/GetProtectionStatusCommand.ts +0 -95
- package/commands/GetProtocolsListCommand.ts +0 -94
- package/commands/GetViolationDetailsCommand.ts +0 -94
- package/commands/ListAppsListsCommand.ts +0 -94
- package/commands/ListComplianceStatusCommand.ts +0 -96
- package/commands/ListMemberAccountsCommand.ts +0 -97
- package/commands/ListPoliciesCommand.ts +0 -94
- package/commands/ListProtocolsListsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PutAppsListCommand.ts +0 -94
- package/commands/PutNotificationChannelCommand.ts +0 -98
- package/commands/PutPolicyCommand.ts +0 -119
- package/commands/PutProtocolsListCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- 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/package.json +0 -91
- 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 +0 -88
- 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 +0 -97
- 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 +0 -36
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- 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/endpoints.ts +0 -161
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3424
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAppsListsPaginator.ts +0 -58
- package/pagination/ListComplianceStatusPaginator.ts +0 -58
- package/pagination/ListMemberAccountsPaginator.ts +0 -58
- package/pagination/ListPoliciesPaginator.ts +0 -58
- package/pagination/ListProtocolsListsPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -4651
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/pagination/Interfaces.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { FMS } from "../FMS";
|
|
2
|
-
import { FMSClient } from "../FMSClient";
|
|
3
|
-
import {
|
|
4
|
-
ListAppsListsCommand,
|
|
5
|
-
ListAppsListsCommandInput,
|
|
6
|
-
ListAppsListsCommandOutput,
|
|
7
|
-
} from "../commands/ListAppsListsCommand";
|
|
8
|
-
import { FMSPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: FMSClient,
|
|
16
|
-
input: ListAppsListsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListAppsListsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListAppsListsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: FMS,
|
|
27
|
-
input: ListAppsListsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListAppsListsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listAppsLists(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListAppsLists(
|
|
34
|
-
config: FMSPaginationConfiguration,
|
|
35
|
-
input: ListAppsListsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListAppsListsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListAppsListsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof FMS) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof FMSClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected FMS | FMSClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { FMS } from "../FMS";
|
|
2
|
-
import { FMSClient } from "../FMSClient";
|
|
3
|
-
import {
|
|
4
|
-
ListComplianceStatusCommand,
|
|
5
|
-
ListComplianceStatusCommandInput,
|
|
6
|
-
ListComplianceStatusCommandOutput,
|
|
7
|
-
} from "../commands/ListComplianceStatusCommand";
|
|
8
|
-
import { FMSPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: FMSClient,
|
|
16
|
-
input: ListComplianceStatusCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListComplianceStatusCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListComplianceStatusCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: FMS,
|
|
27
|
-
input: ListComplianceStatusCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListComplianceStatusCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listComplianceStatus(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListComplianceStatus(
|
|
34
|
-
config: FMSPaginationConfiguration,
|
|
35
|
-
input: ListComplianceStatusCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListComplianceStatusCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListComplianceStatusCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof FMS) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof FMSClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected FMS | FMSClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { FMS } from "../FMS";
|
|
2
|
-
import { FMSClient } from "../FMSClient";
|
|
3
|
-
import {
|
|
4
|
-
ListMemberAccountsCommand,
|
|
5
|
-
ListMemberAccountsCommandInput,
|
|
6
|
-
ListMemberAccountsCommandOutput,
|
|
7
|
-
} from "../commands/ListMemberAccountsCommand";
|
|
8
|
-
import { FMSPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: FMSClient,
|
|
16
|
-
input: ListMemberAccountsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListMemberAccountsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListMemberAccountsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: FMS,
|
|
27
|
-
input: ListMemberAccountsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListMemberAccountsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listMemberAccounts(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListMemberAccounts(
|
|
34
|
-
config: FMSPaginationConfiguration,
|
|
35
|
-
input: ListMemberAccountsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListMemberAccountsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListMemberAccountsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof FMS) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof FMSClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected FMS | FMSClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { FMS } from "../FMS";
|
|
2
|
-
import { FMSClient } from "../FMSClient";
|
|
3
|
-
import {
|
|
4
|
-
ListPoliciesCommand,
|
|
5
|
-
ListPoliciesCommandInput,
|
|
6
|
-
ListPoliciesCommandOutput,
|
|
7
|
-
} from "../commands/ListPoliciesCommand";
|
|
8
|
-
import { FMSPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: FMSClient,
|
|
16
|
-
input: ListPoliciesCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListPoliciesCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListPoliciesCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: FMS,
|
|
27
|
-
input: ListPoliciesCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListPoliciesCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listPolicies(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListPolicies(
|
|
34
|
-
config: FMSPaginationConfiguration,
|
|
35
|
-
input: ListPoliciesCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListPoliciesCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListPoliciesCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof FMS) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof FMSClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected FMS | FMSClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { FMS } from "../FMS";
|
|
2
|
-
import { FMSClient } from "../FMSClient";
|
|
3
|
-
import {
|
|
4
|
-
ListProtocolsListsCommand,
|
|
5
|
-
ListProtocolsListsCommandInput,
|
|
6
|
-
ListProtocolsListsCommandOutput,
|
|
7
|
-
} from "../commands/ListProtocolsListsCommand";
|
|
8
|
-
import { FMSPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: FMSClient,
|
|
16
|
-
input: ListProtocolsListsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListProtocolsListsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListProtocolsListsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: FMS,
|
|
27
|
-
input: ListProtocolsListsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListProtocolsListsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listProtocolsLists(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListProtocolsLists(
|
|
34
|
-
config: FMSPaginationConfiguration,
|
|
35
|
-
input: ListProtocolsListsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListProtocolsListsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
39
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListProtocolsListsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.NextToken = token;
|
|
44
|
-
input["MaxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof FMS) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof FMSClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected FMS | FMSClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.NextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|