@aws-sdk/client-network-security-manager 3.1139.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/LICENSE +201 -0
- package/README.md +503 -0
- package/dist-cjs/index.js +2327 -0
- package/dist-es/NetworkSecurityManager.js +129 -0
- package/dist-es/NetworkSecurityManagerClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CreateDeploymentCommand.js +4 -0
- package/dist-es/commands/CreateDeploymentSnapshotCommand.js +4 -0
- package/dist-es/commands/CreatePolicyCommand.js +4 -0
- package/dist-es/commands/CreatePolicySnapshotCommand.js +4 -0
- package/dist-es/commands/CreateRuleCommand.js +4 -0
- package/dist-es/commands/CreateRuleSnapshotCommand.js +4 -0
- package/dist-es/commands/CreateScopeCommand.js +4 -0
- package/dist-es/commands/CreateScopeSnapshotCommand.js +4 -0
- package/dist-es/commands/CreateTemplateCommand.js +4 -0
- package/dist-es/commands/CreateTemplateSnapshotCommand.js +4 -0
- package/dist-es/commands/DeleteAdminAccountCommand.js +4 -0
- package/dist-es/commands/DeleteDeploymentCommand.js +4 -0
- package/dist-es/commands/DeletePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteRuleCommand.js +4 -0
- package/dist-es/commands/DeleteScopeCommand.js +4 -0
- package/dist-es/commands/DeleteTemplateCommand.js +4 -0
- package/dist-es/commands/GenerateRuleConfigurationCommand.js +4 -0
- package/dist-es/commands/GetAdminAccountCommand.js +4 -0
- package/dist-es/commands/GetDeploymentCommand.js +4 -0
- package/dist-es/commands/GetPolicyCommand.js +4 -0
- package/dist-es/commands/GetRuleCommand.js +4 -0
- package/dist-es/commands/GetScopeCommand.js +4 -0
- package/dist-es/commands/GetTemplateCommand.js +4 -0
- package/dist-es/commands/ListAdminAccountsCommand.js +4 -0
- package/dist-es/commands/ListAggregateResourceSynchronizationStatusesCommand.js +4 -0
- package/dist-es/commands/ListDeploymentSnapshotsCommand.js +4 -0
- package/dist-es/commands/ListDeploymentsCommand.js +4 -0
- package/dist-es/commands/ListPoliciesCommand.js +4 -0
- package/dist-es/commands/ListPolicySnapshotsCommand.js +4 -0
- package/dist-es/commands/ListResourceAssociationsCommand.js +4 -0
- package/dist-es/commands/ListResourceSynchronizationStatusesCommand.js +4 -0
- package/dist-es/commands/ListRuleSnapshotsCommand.js +4 -0
- package/dist-es/commands/ListRulesCommand.js +4 -0
- package/dist-es/commands/ListScopeSnapshotsCommand.js +4 -0
- package/dist-es/commands/ListScopesCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/ListTemplateSnapshotsCommand.js +4 -0
- package/dist-es/commands/ListTemplatesCommand.js +4 -0
- package/dist-es/commands/PutAdminAccountCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateDeploymentCommand.js +4 -0
- package/dist-es/commands/UpdatePolicyCommand.js +4 -0
- package/dist-es/commands/UpdateRuleCommand.js +4 -0
- package/dist-es/commands/UpdateScopeCommand.js +4 -0
- package/dist-es/commands/UpdateTemplateCommand.js +4 -0
- package/dist-es/commands/index.js +46 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/NetworkSecurityManagerServiceException.js +8 -0
- package/dist-es/models/enums.js +91 -0
- package/dist-es/models/errors.js +138 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAdminAccountsPaginator.js +4 -0
- package/dist-es/pagination/ListAggregateResourceSynchronizationStatusesPaginator.js +4 -0
- package/dist-es/pagination/ListDeploymentSnapshotsPaginator.js +4 -0
- package/dist-es/pagination/ListDeploymentsPaginator.js +4 -0
- package/dist-es/pagination/ListPoliciesPaginator.js +4 -0
- package/dist-es/pagination/ListPolicySnapshotsPaginator.js +4 -0
- package/dist-es/pagination/ListResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListResourceSynchronizationStatusesPaginator.js +4 -0
- package/dist-es/pagination/ListRuleSnapshotsPaginator.js +4 -0
- package/dist-es/pagination/ListRulesPaginator.js +4 -0
- package/dist-es/pagination/ListScopeSnapshotsPaginator.js +4 -0
- package/dist-es/pagination/ListScopesPaginator.js +4 -0
- package/dist-es/pagination/ListTemplateSnapshotsPaginator.js +4 -0
- package/dist-es/pagination/ListTemplatesPaginator.js +4 -0
- package/dist-es/pagination/index.js +15 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +1326 -0
- package/dist-types/NetworkSecurityManager.d.ts +443 -0
- package/dist-types/NetworkSecurityManagerClient.d.ts +232 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CreateDeploymentCommand.d.ts +206 -0
- package/dist-types/commands/CreateDeploymentSnapshotCommand.d.ts +153 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +198 -0
- package/dist-types/commands/CreatePolicySnapshotCommand.d.ts +158 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +148 -0
- package/dist-types/commands/CreateRuleSnapshotCommand.d.ts +133 -0
- package/dist-types/commands/CreateScopeCommand.d.ts +292 -0
- package/dist-types/commands/CreateScopeSnapshotCommand.d.ts +205 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +160 -0
- package/dist-types/commands/CreateTemplateSnapshotCommand.d.ts +139 -0
- package/dist-types/commands/DeleteAdminAccountCommand.d.ts +94 -0
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +97 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +97 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +97 -0
- package/dist-types/commands/DeleteScopeCommand.d.ts +97 -0
- package/dist-types/commands/DeleteTemplateCommand.d.ts +97 -0
- package/dist-types/commands/GenerateRuleConfigurationCommand.d.ts +107 -0
- package/dist-types/commands/GetAdminAccountCommand.d.ts +168 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +174 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +149 -0
- package/dist-types/commands/GetRuleCommand.d.ts +148 -0
- package/dist-types/commands/GetScopeCommand.d.ts +196 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +130 -0
- package/dist-types/commands/ListAdminAccountsCommand.d.ts +112 -0
- package/dist-types/commands/ListAggregateResourceSynchronizationStatusesCommand.d.ts +181 -0
- package/dist-types/commands/ListDeploymentSnapshotsCommand.d.ts +124 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +122 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +126 -0
- package/dist-types/commands/ListPolicySnapshotsCommand.d.ts +128 -0
- package/dist-types/commands/ListResourceAssociationsCommand.d.ts +116 -0
- package/dist-types/commands/ListResourceSynchronizationStatusesCommand.d.ts +194 -0
- package/dist-types/commands/ListRuleSnapshotsCommand.d.ts +138 -0
- package/dist-types/commands/ListRulesCommand.d.ts +126 -0
- package/dist-types/commands/ListScopeSnapshotsCommand.d.ts +124 -0
- package/dist-types/commands/ListScopesCommand.d.ts +123 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +106 -0
- package/dist-types/commands/ListTemplateSnapshotsCommand.d.ts +126 -0
- package/dist-types/commands/ListTemplatesCommand.d.ts +124 -0
- package/dist-types/commands/PutAdminAccountCommand.d.ts +218 -0
- package/dist-types/commands/TagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +106 -0
- package/dist-types/commands/UpdateDeploymentCommand.d.ts +214 -0
- package/dist-types/commands/UpdatePolicyCommand.d.ts +192 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +142 -0
- package/dist-types/commands/UpdateScopeCommand.d.ts +288 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +154 -0
- package/dist-types/commands/index.d.ts +46 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/NetworkSecurityManagerServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +227 -0
- package/dist-types/models/errors.d.ts +177 -0
- package/dist-types/models/models_0.d.ts +4006 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAdminAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAggregateResourceSynchronizationStatusesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDeploymentSnapshotsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDeploymentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPolicySnapshotsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceSynchronizationStatusesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRuleSnapshotsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScopeSnapshotsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScopesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplateSnapshotsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +15 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +57 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +197 -0
- package/dist-types/ts3.4/NetworkSecurityManager.d.ts +857 -0
- package/dist-types/ts3.4/NetworkSecurityManagerClient.d.ts +340 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateDeploymentSnapshotCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreatePolicySnapshotCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateRuleSnapshotCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateScopeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateScopeSnapshotCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTemplateSnapshotCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAdminAccountCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteScopeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GenerateRuleConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAdminAccountCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetScopeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAdminAccountsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAggregateResourceSynchronizationStatusesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDeploymentSnapshotsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPolicySnapshotsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListResourceAssociationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListResourceSynchronizationStatusesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRuleSnapshotsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListScopeSnapshotsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListScopesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTemplateSnapshotsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTemplatesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutAdminAccountCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateScopeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +46 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/NetworkSecurityManagerServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +112 -0
- package/dist-types/ts3.4/models/errors.d.ts +66 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1146 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAdminAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAggregateResourceSynchronizationStatusesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDeploymentSnapshotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDeploymentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPolicySnapshotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceSynchronizationStatusesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRuleSnapshotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/ListScopeSnapshotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListScopesPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/ListTemplateSnapshotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +15 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +197 -0
- package/package.json +69 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
|
+
import { CreateDeploymentCommand, } from "./commands/CreateDeploymentCommand";
|
|
3
|
+
import { CreateDeploymentSnapshotCommand, } from "./commands/CreateDeploymentSnapshotCommand";
|
|
4
|
+
import { CreatePolicyCommand, } from "./commands/CreatePolicyCommand";
|
|
5
|
+
import { CreatePolicySnapshotCommand, } from "./commands/CreatePolicySnapshotCommand";
|
|
6
|
+
import { CreateRuleCommand, } from "./commands/CreateRuleCommand";
|
|
7
|
+
import { CreateRuleSnapshotCommand, } from "./commands/CreateRuleSnapshotCommand";
|
|
8
|
+
import { CreateScopeCommand, } from "./commands/CreateScopeCommand";
|
|
9
|
+
import { CreateScopeSnapshotCommand, } from "./commands/CreateScopeSnapshotCommand";
|
|
10
|
+
import { CreateTemplateCommand, } from "./commands/CreateTemplateCommand";
|
|
11
|
+
import { CreateTemplateSnapshotCommand, } from "./commands/CreateTemplateSnapshotCommand";
|
|
12
|
+
import { DeleteAdminAccountCommand, } from "./commands/DeleteAdminAccountCommand";
|
|
13
|
+
import { DeleteDeploymentCommand, } from "./commands/DeleteDeploymentCommand";
|
|
14
|
+
import { DeletePolicyCommand, } from "./commands/DeletePolicyCommand";
|
|
15
|
+
import { DeleteRuleCommand, } from "./commands/DeleteRuleCommand";
|
|
16
|
+
import { DeleteScopeCommand, } from "./commands/DeleteScopeCommand";
|
|
17
|
+
import { DeleteTemplateCommand, } from "./commands/DeleteTemplateCommand";
|
|
18
|
+
import { GenerateRuleConfigurationCommand, } from "./commands/GenerateRuleConfigurationCommand";
|
|
19
|
+
import { GetAdminAccountCommand, } from "./commands/GetAdminAccountCommand";
|
|
20
|
+
import { GetDeploymentCommand, } from "./commands/GetDeploymentCommand";
|
|
21
|
+
import { GetPolicyCommand } from "./commands/GetPolicyCommand";
|
|
22
|
+
import { GetRuleCommand } from "./commands/GetRuleCommand";
|
|
23
|
+
import { GetScopeCommand } from "./commands/GetScopeCommand";
|
|
24
|
+
import { GetTemplateCommand, } from "./commands/GetTemplateCommand";
|
|
25
|
+
import { ListAdminAccountsCommand, } from "./commands/ListAdminAccountsCommand";
|
|
26
|
+
import { ListAggregateResourceSynchronizationStatusesCommand, } from "./commands/ListAggregateResourceSynchronizationStatusesCommand";
|
|
27
|
+
import { ListDeploymentsCommand, } from "./commands/ListDeploymentsCommand";
|
|
28
|
+
import { ListDeploymentSnapshotsCommand, } from "./commands/ListDeploymentSnapshotsCommand";
|
|
29
|
+
import { ListPoliciesCommand, } from "./commands/ListPoliciesCommand";
|
|
30
|
+
import { ListPolicySnapshotsCommand, } from "./commands/ListPolicySnapshotsCommand";
|
|
31
|
+
import { ListResourceAssociationsCommand, } from "./commands/ListResourceAssociationsCommand";
|
|
32
|
+
import { ListResourceSynchronizationStatusesCommand, } from "./commands/ListResourceSynchronizationStatusesCommand";
|
|
33
|
+
import { ListRulesCommand } from "./commands/ListRulesCommand";
|
|
34
|
+
import { ListRuleSnapshotsCommand, } from "./commands/ListRuleSnapshotsCommand";
|
|
35
|
+
import { ListScopesCommand, } from "./commands/ListScopesCommand";
|
|
36
|
+
import { ListScopeSnapshotsCommand, } from "./commands/ListScopeSnapshotsCommand";
|
|
37
|
+
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
38
|
+
import { ListTemplatesCommand, } from "./commands/ListTemplatesCommand";
|
|
39
|
+
import { ListTemplateSnapshotsCommand, } from "./commands/ListTemplateSnapshotsCommand";
|
|
40
|
+
import { PutAdminAccountCommand, } from "./commands/PutAdminAccountCommand";
|
|
41
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
42
|
+
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
43
|
+
import { UpdateDeploymentCommand, } from "./commands/UpdateDeploymentCommand";
|
|
44
|
+
import { UpdatePolicyCommand, } from "./commands/UpdatePolicyCommand";
|
|
45
|
+
import { UpdateRuleCommand, } from "./commands/UpdateRuleCommand";
|
|
46
|
+
import { UpdateScopeCommand, } from "./commands/UpdateScopeCommand";
|
|
47
|
+
import { UpdateTemplateCommand, } from "./commands/UpdateTemplateCommand";
|
|
48
|
+
import { NetworkSecurityManagerClient } from "./NetworkSecurityManagerClient";
|
|
49
|
+
import { paginateListAdminAccounts } from "./pagination/ListAdminAccountsPaginator";
|
|
50
|
+
import { paginateListAggregateResourceSynchronizationStatuses, } from "./pagination/ListAggregateResourceSynchronizationStatusesPaginator";
|
|
51
|
+
import { paginateListDeploymentSnapshots } from "./pagination/ListDeploymentSnapshotsPaginator";
|
|
52
|
+
import { paginateListDeployments } from "./pagination/ListDeploymentsPaginator";
|
|
53
|
+
import { paginateListPolicies } from "./pagination/ListPoliciesPaginator";
|
|
54
|
+
import { paginateListPolicySnapshots } from "./pagination/ListPolicySnapshotsPaginator";
|
|
55
|
+
import { paginateListResourceAssociations } from "./pagination/ListResourceAssociationsPaginator";
|
|
56
|
+
import { paginateListResourceSynchronizationStatuses } from "./pagination/ListResourceSynchronizationStatusesPaginator";
|
|
57
|
+
import { paginateListRuleSnapshots } from "./pagination/ListRuleSnapshotsPaginator";
|
|
58
|
+
import { paginateListRules } from "./pagination/ListRulesPaginator";
|
|
59
|
+
import { paginateListScopeSnapshots } from "./pagination/ListScopeSnapshotsPaginator";
|
|
60
|
+
import { paginateListScopes } from "./pagination/ListScopesPaginator";
|
|
61
|
+
import { paginateListTemplateSnapshots } from "./pagination/ListTemplateSnapshotsPaginator";
|
|
62
|
+
import { paginateListTemplates } from "./pagination/ListTemplatesPaginator";
|
|
63
|
+
const commands = {
|
|
64
|
+
CreateDeploymentCommand,
|
|
65
|
+
CreateDeploymentSnapshotCommand,
|
|
66
|
+
CreatePolicyCommand,
|
|
67
|
+
CreatePolicySnapshotCommand,
|
|
68
|
+
CreateRuleCommand,
|
|
69
|
+
CreateRuleSnapshotCommand,
|
|
70
|
+
CreateScopeCommand,
|
|
71
|
+
CreateScopeSnapshotCommand,
|
|
72
|
+
CreateTemplateCommand,
|
|
73
|
+
CreateTemplateSnapshotCommand,
|
|
74
|
+
DeleteAdminAccountCommand,
|
|
75
|
+
DeleteDeploymentCommand,
|
|
76
|
+
DeletePolicyCommand,
|
|
77
|
+
DeleteRuleCommand,
|
|
78
|
+
DeleteScopeCommand,
|
|
79
|
+
DeleteTemplateCommand,
|
|
80
|
+
GenerateRuleConfigurationCommand,
|
|
81
|
+
GetAdminAccountCommand,
|
|
82
|
+
GetDeploymentCommand,
|
|
83
|
+
GetPolicyCommand,
|
|
84
|
+
GetRuleCommand,
|
|
85
|
+
GetScopeCommand,
|
|
86
|
+
GetTemplateCommand,
|
|
87
|
+
ListAdminAccountsCommand,
|
|
88
|
+
ListAggregateResourceSynchronizationStatusesCommand,
|
|
89
|
+
ListDeploymentsCommand,
|
|
90
|
+
ListDeploymentSnapshotsCommand,
|
|
91
|
+
ListPoliciesCommand,
|
|
92
|
+
ListPolicySnapshotsCommand,
|
|
93
|
+
ListResourceAssociationsCommand,
|
|
94
|
+
ListResourceSynchronizationStatusesCommand,
|
|
95
|
+
ListRulesCommand,
|
|
96
|
+
ListRuleSnapshotsCommand,
|
|
97
|
+
ListScopesCommand,
|
|
98
|
+
ListScopeSnapshotsCommand,
|
|
99
|
+
ListTagsForResourceCommand,
|
|
100
|
+
ListTemplatesCommand,
|
|
101
|
+
ListTemplateSnapshotsCommand,
|
|
102
|
+
PutAdminAccountCommand,
|
|
103
|
+
TagResourceCommand,
|
|
104
|
+
UntagResourceCommand,
|
|
105
|
+
UpdateDeploymentCommand,
|
|
106
|
+
UpdatePolicyCommand,
|
|
107
|
+
UpdateRuleCommand,
|
|
108
|
+
UpdateScopeCommand,
|
|
109
|
+
UpdateTemplateCommand,
|
|
110
|
+
};
|
|
111
|
+
const paginators = {
|
|
112
|
+
paginateListAdminAccounts,
|
|
113
|
+
paginateListAggregateResourceSynchronizationStatuses,
|
|
114
|
+
paginateListDeployments,
|
|
115
|
+
paginateListDeploymentSnapshots,
|
|
116
|
+
paginateListPolicies,
|
|
117
|
+
paginateListPolicySnapshots,
|
|
118
|
+
paginateListResourceAssociations,
|
|
119
|
+
paginateListResourceSynchronizationStatuses,
|
|
120
|
+
paginateListRules,
|
|
121
|
+
paginateListRuleSnapshots,
|
|
122
|
+
paginateListScopes,
|
|
123
|
+
paginateListScopeSnapshots,
|
|
124
|
+
paginateListTemplates,
|
|
125
|
+
paginateListTemplateSnapshots,
|
|
126
|
+
};
|
|
127
|
+
export class NetworkSecurityManager extends NetworkSecurityManagerClient {
|
|
128
|
+
}
|
|
129
|
+
createAggregatedClient(commands, NetworkSecurityManager, { paginators });
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
2
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
3
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
4
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
5
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
7
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
8
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
9
|
+
import { defaultNetworkSecurityManagerHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
11
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
13
|
+
export { __Client };
|
|
14
|
+
export class NetworkSecurityManagerClient extends __Client {
|
|
15
|
+
config;
|
|
16
|
+
constructor(...[configuration]) {
|
|
17
|
+
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
18
|
+
super(_config_0);
|
|
19
|
+
this.initConfig = _config_0;
|
|
20
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
21
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
22
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
23
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
24
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
25
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
26
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
27
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
28
|
+
this.config = _config_8;
|
|
29
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
30
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
31
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
36
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
37
|
+
httpAuthSchemeParametersProvider: defaultNetworkSecurityManagerHttpAuthSchemeParametersProvider,
|
|
38
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
39
|
+
"aws.auth#sigv4": config.credentials,
|
|
40
|
+
}),
|
|
41
|
+
}));
|
|
42
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
43
|
+
}
|
|
44
|
+
destroy() {
|
|
45
|
+
super.destroy();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
2
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
3
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
4
|
+
let _credentials = runtimeConfig.credentials;
|
|
5
|
+
return {
|
|
6
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
7
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
8
|
+
if (index === -1) {
|
|
9
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
httpAuthSchemes() {
|
|
16
|
+
return _httpAuthSchemes;
|
|
17
|
+
},
|
|
18
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
19
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
20
|
+
},
|
|
21
|
+
httpAuthSchemeProvider() {
|
|
22
|
+
return _httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
setCredentials(credentials) {
|
|
25
|
+
_credentials = credentials;
|
|
26
|
+
},
|
|
27
|
+
credentials() {
|
|
28
|
+
return _credentials;
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export const resolveHttpAuthRuntimeConfig = (config) => {
|
|
33
|
+
return {
|
|
34
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
35
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
36
|
+
credentials: config.credentials(),
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
|
+
export const defaultNetworkSecurityManagerHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
+
return {
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
12
|
+
return {
|
|
13
|
+
schemeId: "aws.auth#sigv4",
|
|
14
|
+
signingProperties: {
|
|
15
|
+
name: "network-security-manager",
|
|
16
|
+
region: authParameters.region,
|
|
17
|
+
},
|
|
18
|
+
propertiesExtractor: (config, context) => ({
|
|
19
|
+
signingProperties: {
|
|
20
|
+
config,
|
|
21
|
+
context,
|
|
22
|
+
},
|
|
23
|
+
}),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export const defaultNetworkSecurityManagerHttpAuthSchemeProvider = (authParameters) => {
|
|
27
|
+
const options = [];
|
|
28
|
+
switch (authParameters.operation) {
|
|
29
|
+
default: {
|
|
30
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return options;
|
|
34
|
+
};
|
|
35
|
+
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
37
|
+
return Object.assign(config_0, {
|
|
38
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
39
|
+
});
|
|
40
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "PiccoloCustomerAPIService", "NetworkSecurityManagerClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListAggregateResourceSynchronizationStatuses$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListAggregateResourceSynchronizationStatusesCommand extends command(_ep0, _mw0, "ListAggregateResourceSynchronizationStatuses", ListAggregateResourceSynchronizationStatuses$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListResourceSynchronizationStatuses$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListResourceSynchronizationStatusesCommand extends command(_ep0, _mw0, "ListResourceSynchronizationStatuses", ListResourceSynchronizationStatuses$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export * from "./CreateDeploymentCommand";
|
|
2
|
+
export * from "./CreateDeploymentSnapshotCommand";
|
|
3
|
+
export * from "./CreatePolicyCommand";
|
|
4
|
+
export * from "./CreatePolicySnapshotCommand";
|
|
5
|
+
export * from "./CreateRuleCommand";
|
|
6
|
+
export * from "./CreateRuleSnapshotCommand";
|
|
7
|
+
export * from "./CreateScopeCommand";
|
|
8
|
+
export * from "./CreateScopeSnapshotCommand";
|
|
9
|
+
export * from "./CreateTemplateCommand";
|
|
10
|
+
export * from "./CreateTemplateSnapshotCommand";
|
|
11
|
+
export * from "./DeleteAdminAccountCommand";
|
|
12
|
+
export * from "./DeleteDeploymentCommand";
|
|
13
|
+
export * from "./DeletePolicyCommand";
|
|
14
|
+
export * from "./DeleteRuleCommand";
|
|
15
|
+
export * from "./DeleteScopeCommand";
|
|
16
|
+
export * from "./DeleteTemplateCommand";
|
|
17
|
+
export * from "./GenerateRuleConfigurationCommand";
|
|
18
|
+
export * from "./GetAdminAccountCommand";
|
|
19
|
+
export * from "./GetDeploymentCommand";
|
|
20
|
+
export * from "./GetPolicyCommand";
|
|
21
|
+
export * from "./GetRuleCommand";
|
|
22
|
+
export * from "./GetScopeCommand";
|
|
23
|
+
export * from "./GetTemplateCommand";
|
|
24
|
+
export * from "./ListAdminAccountsCommand";
|
|
25
|
+
export * from "./ListAggregateResourceSynchronizationStatusesCommand";
|
|
26
|
+
export * from "./ListDeploymentSnapshotsCommand";
|
|
27
|
+
export * from "./ListDeploymentsCommand";
|
|
28
|
+
export * from "./ListPoliciesCommand";
|
|
29
|
+
export * from "./ListPolicySnapshotsCommand";
|
|
30
|
+
export * from "./ListResourceAssociationsCommand";
|
|
31
|
+
export * from "./ListResourceSynchronizationStatusesCommand";
|
|
32
|
+
export * from "./ListRuleSnapshotsCommand";
|
|
33
|
+
export * from "./ListRulesCommand";
|
|
34
|
+
export * from "./ListScopeSnapshotsCommand";
|
|
35
|
+
export * from "./ListScopesCommand";
|
|
36
|
+
export * from "./ListTagsForResourceCommand";
|
|
37
|
+
export * from "./ListTemplateSnapshotsCommand";
|
|
38
|
+
export * from "./ListTemplatesCommand";
|
|
39
|
+
export * from "./PutAdminAccountCommand";
|
|
40
|
+
export * from "./TagResourceCommand";
|
|
41
|
+
export * from "./UntagResourceCommand";
|
|
42
|
+
export * from "./UpdateDeploymentCommand";
|
|
43
|
+
export * from "./UpdatePolicyCommand";
|
|
44
|
+
export * from "./UpdateRuleCommand";
|
|
45
|
+
export * from "./UpdateScopeCommand";
|
|
46
|
+
export * from "./UpdateTemplateCommand";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return Object.assign(options, {
|
|
3
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
4
|
+
defaultSigningName: "network-security-manager",
|
|
5
|
+
});
|
|
6
|
+
};
|
|
7
|
+
export const commonParams = {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
};
|