@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,232 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
2
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
5
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
6
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
|
|
10
|
+
import type { CreateDeploymentSnapshotCommandInput, CreateDeploymentSnapshotCommandOutput } from "./commands/CreateDeploymentSnapshotCommand";
|
|
11
|
+
import type { CreatePolicyCommandInput, CreatePolicyCommandOutput } from "./commands/CreatePolicyCommand";
|
|
12
|
+
import type { CreatePolicySnapshotCommandInput, CreatePolicySnapshotCommandOutput } from "./commands/CreatePolicySnapshotCommand";
|
|
13
|
+
import type { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
|
|
14
|
+
import type { CreateRuleSnapshotCommandInput, CreateRuleSnapshotCommandOutput } from "./commands/CreateRuleSnapshotCommand";
|
|
15
|
+
import type { CreateScopeCommandInput, CreateScopeCommandOutput } from "./commands/CreateScopeCommand";
|
|
16
|
+
import type { CreateScopeSnapshotCommandInput, CreateScopeSnapshotCommandOutput } from "./commands/CreateScopeSnapshotCommand";
|
|
17
|
+
import type { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "./commands/CreateTemplateCommand";
|
|
18
|
+
import type { CreateTemplateSnapshotCommandInput, CreateTemplateSnapshotCommandOutput } from "./commands/CreateTemplateSnapshotCommand";
|
|
19
|
+
import type { DeleteAdminAccountCommandInput, DeleteAdminAccountCommandOutput } from "./commands/DeleteAdminAccountCommand";
|
|
20
|
+
import type { DeleteDeploymentCommandInput, DeleteDeploymentCommandOutput } from "./commands/DeleteDeploymentCommand";
|
|
21
|
+
import type { DeletePolicyCommandInput, DeletePolicyCommandOutput } from "./commands/DeletePolicyCommand";
|
|
22
|
+
import type { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
|
|
23
|
+
import type { DeleteScopeCommandInput, DeleteScopeCommandOutput } from "./commands/DeleteScopeCommand";
|
|
24
|
+
import type { DeleteTemplateCommandInput, DeleteTemplateCommandOutput } from "./commands/DeleteTemplateCommand";
|
|
25
|
+
import type { GenerateRuleConfigurationCommandInput, GenerateRuleConfigurationCommandOutput } from "./commands/GenerateRuleConfigurationCommand";
|
|
26
|
+
import type { GetAdminAccountCommandInput, GetAdminAccountCommandOutput } from "./commands/GetAdminAccountCommand";
|
|
27
|
+
import type { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
28
|
+
import type { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
29
|
+
import type { GetRuleCommandInput, GetRuleCommandOutput } from "./commands/GetRuleCommand";
|
|
30
|
+
import type { GetScopeCommandInput, GetScopeCommandOutput } from "./commands/GetScopeCommand";
|
|
31
|
+
import type { GetTemplateCommandInput, GetTemplateCommandOutput } from "./commands/GetTemplateCommand";
|
|
32
|
+
import type { ListAdminAccountsCommandInput, ListAdminAccountsCommandOutput } from "./commands/ListAdminAccountsCommand";
|
|
33
|
+
import type { ListAggregateResourceSynchronizationStatusesCommandInput, ListAggregateResourceSynchronizationStatusesCommandOutput } from "./commands/ListAggregateResourceSynchronizationStatusesCommand";
|
|
34
|
+
import type { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
35
|
+
import type { ListDeploymentSnapshotsCommandInput, ListDeploymentSnapshotsCommandOutput } from "./commands/ListDeploymentSnapshotsCommand";
|
|
36
|
+
import type { ListPoliciesCommandInput, ListPoliciesCommandOutput } from "./commands/ListPoliciesCommand";
|
|
37
|
+
import type { ListPolicySnapshotsCommandInput, ListPolicySnapshotsCommandOutput } from "./commands/ListPolicySnapshotsCommand";
|
|
38
|
+
import type { ListResourceAssociationsCommandInput, ListResourceAssociationsCommandOutput } from "./commands/ListResourceAssociationsCommand";
|
|
39
|
+
import type { ListResourceSynchronizationStatusesCommandInput, ListResourceSynchronizationStatusesCommandOutput } from "./commands/ListResourceSynchronizationStatusesCommand";
|
|
40
|
+
import type { ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
|
|
41
|
+
import type { ListRuleSnapshotsCommandInput, ListRuleSnapshotsCommandOutput } from "./commands/ListRuleSnapshotsCommand";
|
|
42
|
+
import type { ListScopesCommandInput, ListScopesCommandOutput } from "./commands/ListScopesCommand";
|
|
43
|
+
import type { ListScopeSnapshotsCommandInput, ListScopeSnapshotsCommandOutput } from "./commands/ListScopeSnapshotsCommand";
|
|
44
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
45
|
+
import type { ListTemplatesCommandInput, ListTemplatesCommandOutput } from "./commands/ListTemplatesCommand";
|
|
46
|
+
import type { ListTemplateSnapshotsCommandInput, ListTemplateSnapshotsCommandOutput } from "./commands/ListTemplateSnapshotsCommand";
|
|
47
|
+
import type { PutAdminAccountCommandInput, PutAdminAccountCommandOutput } from "./commands/PutAdminAccountCommand";
|
|
48
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
49
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
50
|
+
import type { UpdateDeploymentCommandInput, UpdateDeploymentCommandOutput } from "./commands/UpdateDeploymentCommand";
|
|
51
|
+
import type { UpdatePolicyCommandInput, UpdatePolicyCommandOutput } from "./commands/UpdatePolicyCommand";
|
|
52
|
+
import type { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
|
|
53
|
+
import type { UpdateScopeCommandInput, UpdateScopeCommandOutput } from "./commands/UpdateScopeCommand";
|
|
54
|
+
import type { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "./commands/UpdateTemplateCommand";
|
|
55
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
56
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
57
|
+
export { __Client };
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export type ServiceInputTypes = CreateDeploymentCommandInput | CreateDeploymentSnapshotCommandInput | CreatePolicyCommandInput | CreatePolicySnapshotCommandInput | CreateRuleCommandInput | CreateRuleSnapshotCommandInput | CreateScopeCommandInput | CreateScopeSnapshotCommandInput | CreateTemplateCommandInput | CreateTemplateSnapshotCommandInput | DeleteAdminAccountCommandInput | DeleteDeploymentCommandInput | DeletePolicyCommandInput | DeleteRuleCommandInput | DeleteScopeCommandInput | DeleteTemplateCommandInput | GenerateRuleConfigurationCommandInput | GetAdminAccountCommandInput | GetDeploymentCommandInput | GetPolicyCommandInput | GetRuleCommandInput | GetScopeCommandInput | GetTemplateCommandInput | ListAdminAccountsCommandInput | ListAggregateResourceSynchronizationStatusesCommandInput | ListDeploymentSnapshotsCommandInput | ListDeploymentsCommandInput | ListPoliciesCommandInput | ListPolicySnapshotsCommandInput | ListResourceAssociationsCommandInput | ListResourceSynchronizationStatusesCommandInput | ListRuleSnapshotsCommandInput | ListRulesCommandInput | ListScopeSnapshotsCommandInput | ListScopesCommandInput | ListTagsForResourceCommandInput | ListTemplateSnapshotsCommandInput | ListTemplatesCommandInput | PutAdminAccountCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDeploymentCommandInput | UpdatePolicyCommandInput | UpdateRuleCommandInput | UpdateScopeCommandInput | UpdateTemplateCommandInput;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type ServiceOutputTypes = CreateDeploymentCommandOutput | CreateDeploymentSnapshotCommandOutput | CreatePolicyCommandOutput | CreatePolicySnapshotCommandOutput | CreateRuleCommandOutput | CreateRuleSnapshotCommandOutput | CreateScopeCommandOutput | CreateScopeSnapshotCommandOutput | CreateTemplateCommandOutput | CreateTemplateSnapshotCommandOutput | DeleteAdminAccountCommandOutput | DeleteDeploymentCommandOutput | DeletePolicyCommandOutput | DeleteRuleCommandOutput | DeleteScopeCommandOutput | DeleteTemplateCommandOutput | GenerateRuleConfigurationCommandOutput | GetAdminAccountCommandOutput | GetDeploymentCommandOutput | GetPolicyCommandOutput | GetRuleCommandOutput | GetScopeCommandOutput | GetTemplateCommandOutput | ListAdminAccountsCommandOutput | ListAggregateResourceSynchronizationStatusesCommandOutput | ListDeploymentSnapshotsCommandOutput | ListDeploymentsCommandOutput | ListPoliciesCommandOutput | ListPolicySnapshotsCommandOutput | ListResourceAssociationsCommandOutput | ListResourceSynchronizationStatusesCommandOutput | ListRuleSnapshotsCommandOutput | ListRulesCommandOutput | ListScopeSnapshotsCommandOutput | ListScopesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateSnapshotsCommandOutput | ListTemplatesCommandOutput | PutAdminAccountCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDeploymentCommandOutput | UpdatePolicyCommandOutput | UpdateRuleCommandOutput | UpdateScopeCommandOutput | UpdateTemplateCommandOutput;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
70
|
+
/**
|
|
71
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
72
|
+
*/
|
|
73
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
74
|
+
/**
|
|
75
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
76
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
80
|
+
/**
|
|
81
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
urlParser?: __UrlParser;
|
|
85
|
+
/**
|
|
86
|
+
* A function that can calculate the length of a request body.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
90
|
+
/**
|
|
91
|
+
* A function that converts a stream into an array of bytes.
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
streamCollector?: __StreamCollector;
|
|
95
|
+
/**
|
|
96
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
base64Decoder?: __Decoder;
|
|
100
|
+
/**
|
|
101
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
base64Encoder?: __Encoder;
|
|
105
|
+
/**
|
|
106
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
utf8Decoder?: __Decoder;
|
|
110
|
+
/**
|
|
111
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
utf8Encoder?: __Encoder;
|
|
115
|
+
/**
|
|
116
|
+
* The runtime environment.
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
runtime?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
122
|
+
* trait of an operation.
|
|
123
|
+
*/
|
|
124
|
+
disableHostPrefix?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Unique service identifier.
|
|
127
|
+
* @internal
|
|
128
|
+
*/
|
|
129
|
+
serviceId?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
132
|
+
*/
|
|
133
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
134
|
+
/**
|
|
135
|
+
* Enables FIPS compatible endpoints.
|
|
136
|
+
*/
|
|
137
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* The AWS region to which this client will send requests
|
|
140
|
+
*/
|
|
141
|
+
region?: string | __Provider<string>;
|
|
142
|
+
/**
|
|
143
|
+
* Setting a client profile is similar to setting a value for the
|
|
144
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
145
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
146
|
+
*
|
|
147
|
+
* When set, and only for environments where an AWS configuration
|
|
148
|
+
* file exists, fields configurable by this file will be retrieved
|
|
149
|
+
* from the specified profile within that file.
|
|
150
|
+
* Conflicting code configuration and environment variables will
|
|
151
|
+
* still have higher priority.
|
|
152
|
+
*
|
|
153
|
+
* For client credential resolution that involves checking the AWS
|
|
154
|
+
* configuration file, the client's profile (this value) will be
|
|
155
|
+
* used unless a different profile is set in the credential
|
|
156
|
+
* provider options.
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
profile?: string;
|
|
160
|
+
/**
|
|
161
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
162
|
+
* @internal
|
|
163
|
+
*/
|
|
164
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
165
|
+
/**
|
|
166
|
+
* Default credentials provider; Not available in browser runtime.
|
|
167
|
+
* @deprecated
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
171
|
+
/**
|
|
172
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
173
|
+
*/
|
|
174
|
+
maxAttempts?: number | __Provider<number>;
|
|
175
|
+
/**
|
|
176
|
+
* Specifies which retry algorithm to use.
|
|
177
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
178
|
+
*
|
|
179
|
+
*/
|
|
180
|
+
retryMode?: string | __Provider<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Optional logger for logging debug/info/warn/error.
|
|
183
|
+
*/
|
|
184
|
+
logger?: __Logger;
|
|
185
|
+
/**
|
|
186
|
+
* Optional extensions
|
|
187
|
+
*/
|
|
188
|
+
extensions?: RuntimeExtension[];
|
|
189
|
+
/**
|
|
190
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
191
|
+
*/
|
|
192
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type NetworkSecurityManagerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
198
|
+
/**
|
|
199
|
+
* @public
|
|
200
|
+
*
|
|
201
|
+
* The configuration interface of NetworkSecurityManagerClient class constructor that set the region, credentials and other options.
|
|
202
|
+
*/
|
|
203
|
+
export interface NetworkSecurityManagerClientConfig extends NetworkSecurityManagerClientConfigType {
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export type NetworkSecurityManagerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
209
|
+
/**
|
|
210
|
+
* @public
|
|
211
|
+
*
|
|
212
|
+
* The resolved configuration interface of NetworkSecurityManagerClient class. This is resolved and normalized from the {@link NetworkSecurityManagerClientConfig | constructor configuration interface}.
|
|
213
|
+
*/
|
|
214
|
+
export interface NetworkSecurityManagerClientResolvedConfig extends NetworkSecurityManagerClientResolvedConfigType {
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* <p>AWS Network Security Manager helps you centrally configure and deploy network security protections across your organization. Supported protections include AWS WAF and AWS Shield Advanced. This centralized approach reduces the overhead of managing protections individually across accounts and ensures consistent security at scale.</p> <p>You define reusable <i>rules</i> and <i>templates</i>, then combine them into <i>policies</i>. Next, you select the accounts and resources to protect with <i>scopes</i> and roll the protections out with <i>deployments</i>. For example, you can define a set of AWS WAF rules and group them into a policy. Then deploy that policy across all accounts in your organization with a single deployment.</p> <p>This API reference describes the operations and data types for AWS Network Security Manager.</p> <p>For conceptual information, tutorials, and guidance on writing rule configurations, see the <a href="https://docs.aws.amazon.com/network-security-manager/latest/devguide/what-is.html">AWS Network Security Manager Developer Guide</a>. For the default quotas that apply to your account, see <a href="https://docs.aws.amazon.com/network-security-manager/latest/devguide/quotas.html">Quotas</a>. For the service endpoints available in each Region, see <a href="https://docs.aws.amazon.com/general/latest/gr/network-security-manager.html">AWS Network Security Manager endpoints and quotas</a> in the <i>AWS General Reference</i>.</p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export declare class NetworkSecurityManagerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, NetworkSecurityManagerClientResolvedConfig> {
|
|
221
|
+
/**
|
|
222
|
+
* The resolved configuration of NetworkSecurityManagerClient class. This is resolved and normalized from the {@link NetworkSecurityManagerClientConfig | constructor configuration interface}.
|
|
223
|
+
*/
|
|
224
|
+
readonly config: NetworkSecurityManagerClientResolvedConfig;
|
|
225
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<NetworkSecurityManagerClientConfig>);
|
|
226
|
+
/**
|
|
227
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
228
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
229
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
230
|
+
*/
|
|
231
|
+
destroy(): void;
|
|
232
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import type { NetworkSecurityManagerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: NetworkSecurityManagerHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): NetworkSecurityManagerHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: NetworkSecurityManagerHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type NetworkSecurityManagerClientResolvedConfig } from "../NetworkSecurityManagerClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface NetworkSecurityManagerHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface NetworkSecurityManagerHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<NetworkSecurityManagerClientResolvedConfig, HandlerExecutionContext, NetworkSecurityManagerHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultNetworkSecurityManagerHttpAuthSchemeParametersProvider: (config: NetworkSecurityManagerClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<NetworkSecurityManagerHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface NetworkSecurityManagerHttpAuthSchemeProvider extends HttpAuthSchemeProvider<NetworkSecurityManagerHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultNetworkSecurityManagerHttpAuthSchemeProvider: NetworkSecurityManagerHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: NetworkSecurityManagerHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: NetworkSecurityManagerHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { NetworkSecurityManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./NetworkSecurityManagerClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, NetworkSecurityManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, NetworkSecurityManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateDeploymentInput, CreateDeploymentOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateDeploymentCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateDeploymentCommandInput extends CreateDeploymentInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateDeploymentCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateDeploymentCommandOutput extends CreateDeploymentOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateDeploymentCommand_base: {
|
|
22
|
+
new (input: CreateDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a deployment. A deployment applies one or more policies to the accounts and resources selected by a scope. Use <code>isPublished</code> to create the deployment in published (<code>ACTIVE</code>) or draft (<code>DRAFT</code>) state. The response includes coverage information and any warnings about the deployment.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, CreateDeploymentCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, CreateDeploymentCommand } = require("@aws-sdk/client-network-security-manager"); // CommonJS import
|
|
33
|
+
* // import type { NetworkSecurityManagerClientConfig } from "@aws-sdk/client-network-security-manager";
|
|
34
|
+
* const config = {}; // type is NetworkSecurityManagerClientConfig
|
|
35
|
+
* const client = new NetworkSecurityManagerClient(config);
|
|
36
|
+
* const input = { // CreateDeploymentInput
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* deploymentName: "STRING_VALUE", // required
|
|
39
|
+
* deploymentDescription: "STRING_VALUE",
|
|
40
|
+
* deploymentConfiguration: { // DeploymentConfiguration
|
|
41
|
+
* enableCrossAccountVisibility: true || false, // required
|
|
42
|
+
* },
|
|
43
|
+
* associatedPolicyList: [ // PolicyReferenceList // required
|
|
44
|
+
* { // PolicyReference
|
|
45
|
+
* policyIdentifier: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* associatedScopeList: [ // ScopeReferenceList // required
|
|
49
|
+
* { // ScopeReference
|
|
50
|
+
* scopeIdentifier: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* isPublished: true || false,
|
|
54
|
+
* tags: { // TagMap
|
|
55
|
+
* "<keys>": "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* };
|
|
58
|
+
* const command = new CreateDeploymentCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // CreateDeploymentOutput
|
|
61
|
+
* // deploymentId: "STRING_VALUE", // required
|
|
62
|
+
* // deploymentArn: "STRING_VALUE", // required
|
|
63
|
+
* // deploymentName: "STRING_VALUE", // required
|
|
64
|
+
* // deploymentDescription: "STRING_VALUE",
|
|
65
|
+
* // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
|
|
66
|
+
* // deploymentConfiguration: { // DeploymentConfiguration
|
|
67
|
+
* // enableCrossAccountVisibility: true || false, // required
|
|
68
|
+
* // },
|
|
69
|
+
* // associatedPolicyList: [ // AssociatedPolicyList // required
|
|
70
|
+
* // { // AssociatedPolicy
|
|
71
|
+
* // policyArn: "STRING_VALUE", // required
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // associatedScopeList: [ // AssociatedScopeList // required
|
|
75
|
+
* // { // AssociatedScope
|
|
76
|
+
* // scopeArn: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // version: "STRING_VALUE", // required
|
|
80
|
+
* // updateToken: "STRING_VALUE",
|
|
81
|
+
* // isSnapshot: true || false,
|
|
82
|
+
* // hasPublishedVersion: true || false,
|
|
83
|
+
* // deploymentCoverage: [ // DeploymentCoverageList
|
|
84
|
+
* // { // DeploymentCoverageEntry
|
|
85
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED", // required
|
|
86
|
+
* // policyArns: [ // DeploymentPolicyArnList // required
|
|
87
|
+
* // "STRING_VALUE",
|
|
88
|
+
* // ],
|
|
89
|
+
* // inScopeResourceTypes: [ // DeploymentResourceTypeList // required
|
|
90
|
+
* // "AWS::ApiGateway::Stage" || "AWS::CloudFront::Distribution" || "AWS::EC2::EIP" || "AWS::ElasticLoadBalancingV2::LoadBalancer::application" || "AWS::ElasticLoadBalancing::LoadBalancer",
|
|
91
|
+
* // ],
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // warnings: [ // DeploymentWarningList
|
|
95
|
+
* // { // DeploymentWarningEntry
|
|
96
|
+
* // code: "STRING_VALUE", // required
|
|
97
|
+
* // policyArn: "STRING_VALUE", // required
|
|
98
|
+
* // message: "STRING_VALUE", // required
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
102
|
+
* // };
|
|
103
|
+
*
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @param CreateDeploymentCommandInput - {@link CreateDeploymentCommandInput}
|
|
107
|
+
* @returns {@link CreateDeploymentCommandOutput}
|
|
108
|
+
* @see {@link CreateDeploymentCommandInput} for command's `input` shape.
|
|
109
|
+
* @see {@link CreateDeploymentCommandOutput} for command's `response` shape.
|
|
110
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
113
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ConflictException} (client fault)
|
|
116
|
+
* <p>The request conflicts with the current state of the resource. For example, the resource was modified concurrently, or it is in a state that does not allow the requested operation.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link InternalServerException} (server fault)
|
|
119
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
122
|
+
* <p>The request would exceed a service quota.</p>
|
|
123
|
+
*
|
|
124
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
125
|
+
* <p>The service is temporarily unavailable. This is a retryable error.</p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link TagPolicyViolationException} (client fault)
|
|
128
|
+
* <p>The request violates a tag policy that is in effect for the account or organization.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
131
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link ValidationException} (client fault)
|
|
134
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
137
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
138
|
+
*
|
|
139
|
+
*
|
|
140
|
+
* @example Create a deployment
|
|
141
|
+
* ```javascript
|
|
142
|
+
* // Creates a new deployment in draft state.
|
|
143
|
+
* const input = {
|
|
144
|
+
* associatedPolicyList: [
|
|
145
|
+
* {
|
|
146
|
+
* policyIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:policy:xyz789"
|
|
147
|
+
* }
|
|
148
|
+
* ],
|
|
149
|
+
* associatedScopeList: [
|
|
150
|
+
* {
|
|
151
|
+
* scopeIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:scope:abc123"
|
|
152
|
+
* }
|
|
153
|
+
* ],
|
|
154
|
+
* clientToken: "550e8400-e29b-41d4-a716-446655440003",
|
|
155
|
+
* deploymentConfiguration: {
|
|
156
|
+
* enableCrossAccountVisibility: false
|
|
157
|
+
* },
|
|
158
|
+
* deploymentDescription: "Production deployment for US East 1 region",
|
|
159
|
+
* deploymentName: "prod-us-east-1-deployment",
|
|
160
|
+
* isPublished: false
|
|
161
|
+
* };
|
|
162
|
+
* const command = new CreateDeploymentCommand(input);
|
|
163
|
+
* const response = await client.send(command);
|
|
164
|
+
* /* response is
|
|
165
|
+
* {
|
|
166
|
+
* associatedPolicyList: [
|
|
167
|
+
* {
|
|
168
|
+
* policyArn: "arn:aws:network-security-manager:us-east-1:123456789012:policy:xyz789"
|
|
169
|
+
* }
|
|
170
|
+
* ],
|
|
171
|
+
* associatedScopeList: [
|
|
172
|
+
* {
|
|
173
|
+
* scopeArn: "arn:aws:network-security-manager:us-east-1:123456789012:scope:abc123"
|
|
174
|
+
* }
|
|
175
|
+
* ],
|
|
176
|
+
* deploymentArn: "arn:aws:network-security-manager:us-east-1:123456789012:deployment:def456",
|
|
177
|
+
* deploymentConfiguration: {
|
|
178
|
+
* enableCrossAccountVisibility: false
|
|
179
|
+
* },
|
|
180
|
+
* deploymentDescription: "Production deployment for US East 1 region",
|
|
181
|
+
* deploymentId: "def456",
|
|
182
|
+
* deploymentName: "prod-us-east-1-deployment",
|
|
183
|
+
* hasPublishedVersion: false,
|
|
184
|
+
* isSnapshot: false,
|
|
185
|
+
* status: "DRAFT",
|
|
186
|
+
* updateToken: "f4a5b6c7-7d8e-4f9a-8b1c-1d2e3f4a5b6c",
|
|
187
|
+
* version: "1"
|
|
188
|
+
* }
|
|
189
|
+
* *\/
|
|
190
|
+
* ```
|
|
191
|
+
*
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
export declare class CreateDeploymentCommand extends CreateDeploymentCommand_base {
|
|
195
|
+
/** @internal type navigation helper, not in runtime. */
|
|
196
|
+
protected static __types: {
|
|
197
|
+
api: {
|
|
198
|
+
input: CreateDeploymentInput;
|
|
199
|
+
output: CreateDeploymentOutput;
|
|
200
|
+
};
|
|
201
|
+
sdk: {
|
|
202
|
+
input: CreateDeploymentCommandInput;
|
|
203
|
+
output: CreateDeploymentCommandOutput;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
}
|