@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,288 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateScopeInput, UpdateScopeOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateScopeCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateScopeCommandInput extends UpdateScopeInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateScopeCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateScopeCommandOutput extends UpdateScopeOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateScopeCommand_base: {
|
|
22
|
+
new (input: UpdateScopeCommandInput): import("@smithy/core/client").CommandImpl<UpdateScopeCommandInput, UpdateScopeCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateScopeCommandInput): import("@smithy/core/client").CommandImpl<UpdateScopeCommandInput, UpdateScopeCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the specified scope. To prevent conflicting concurrent updates, provide the current <code>updateToken</code>. Use <code>isPublished</code> to publish the update or keep the scope as a draft.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, UpdateScopeCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, UpdateScopeCommand } = 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 = { // UpdateScopeInput
|
|
37
|
+
* scopeIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* updateToken: "STRING_VALUE", // required
|
|
39
|
+
* scopeDescription: "STRING_VALUE",
|
|
40
|
+
* scopeConfiguration: { // ScopeConfiguration
|
|
41
|
+
* accountFilter: { // AccountFilter Union: only one key present
|
|
42
|
+
* includeAll: {},
|
|
43
|
+
* include: { // AccountSet
|
|
44
|
+
* accountIds: [ // AccountList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* organizationalUnits: [ // OrganizationalUnitList
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* exclude: {
|
|
52
|
+
* accountIds: [
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* organizationalUnits: [
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* resourceScopes: { // ResourceScopeMap // required
|
|
61
|
+
* "<keys>": { // ResourceScope
|
|
62
|
+
* includeAll: true || false,
|
|
63
|
+
* include: { // ResourceSet
|
|
64
|
+
* explicitArns: [ // ResourceArnList
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* expression: { // ResourceLogicalExpression Union: only one key present
|
|
68
|
+
* criteria: { // ResourceCriteria Union: only one key present
|
|
69
|
+
* tags: { // StringMap
|
|
70
|
+
* "<keys>": "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* albConfig: { // AlbConfiguration
|
|
73
|
+
* scheme: "internet-facing" || "internal",
|
|
74
|
+
* ipAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* and: [ // ResourceLogicalExpressionList
|
|
78
|
+
* {// Union: only one key present
|
|
79
|
+
* criteria: {// Union: only one key present
|
|
80
|
+
* tags: {
|
|
81
|
+
* "<keys>": "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* albConfig: {
|
|
84
|
+
* scheme: "internet-facing" || "internal",
|
|
85
|
+
* ipAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
86
|
+
* },
|
|
87
|
+
* },
|
|
88
|
+
* and: [
|
|
89
|
+
* "<ResourceLogicalExpression>",
|
|
90
|
+
* ],
|
|
91
|
+
* or: [
|
|
92
|
+
* "<ResourceLogicalExpression>",
|
|
93
|
+
* ],
|
|
94
|
+
* not: "<ResourceLogicalExpression>",
|
|
95
|
+
* },
|
|
96
|
+
* ],
|
|
97
|
+
* or: [
|
|
98
|
+
* "<ResourceLogicalExpression>",
|
|
99
|
+
* ],
|
|
100
|
+
* not: "<ResourceLogicalExpression>",
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* exclude: {
|
|
104
|
+
* explicitArns: [
|
|
105
|
+
* "STRING_VALUE",
|
|
106
|
+
* ],
|
|
107
|
+
* expression: "<ResourceLogicalExpression>",
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* },
|
|
112
|
+
* isPublished: true || false, // required
|
|
113
|
+
* clientToken: "STRING_VALUE",
|
|
114
|
+
* };
|
|
115
|
+
* const command = new UpdateScopeCommand(input);
|
|
116
|
+
* const response = await client.send(command);
|
|
117
|
+
* // { // UpdateScopeOutput
|
|
118
|
+
* // scopeId: "STRING_VALUE", // required
|
|
119
|
+
* // scopeArn: "STRING_VALUE", // required
|
|
120
|
+
* // scopeName: "STRING_VALUE", // required
|
|
121
|
+
* // scopeDescription: "STRING_VALUE",
|
|
122
|
+
* // scopeConfiguration: { // ScopeConfiguration
|
|
123
|
+
* // accountFilter: { // AccountFilter Union: only one key present
|
|
124
|
+
* // includeAll: {},
|
|
125
|
+
* // include: { // AccountSet
|
|
126
|
+
* // accountIds: [ // AccountList
|
|
127
|
+
* // "STRING_VALUE",
|
|
128
|
+
* // ],
|
|
129
|
+
* // organizationalUnits: [ // OrganizationalUnitList
|
|
130
|
+
* // "STRING_VALUE",
|
|
131
|
+
* // ],
|
|
132
|
+
* // },
|
|
133
|
+
* // exclude: {
|
|
134
|
+
* // accountIds: [
|
|
135
|
+
* // "STRING_VALUE",
|
|
136
|
+
* // ],
|
|
137
|
+
* // organizationalUnits: [
|
|
138
|
+
* // "STRING_VALUE",
|
|
139
|
+
* // ],
|
|
140
|
+
* // },
|
|
141
|
+
* // },
|
|
142
|
+
* // resourceScopes: { // ResourceScopeMap // required
|
|
143
|
+
* // "<keys>": { // ResourceScope
|
|
144
|
+
* // includeAll: true || false,
|
|
145
|
+
* // include: { // ResourceSet
|
|
146
|
+
* // explicitArns: [ // ResourceArnList
|
|
147
|
+
* // "STRING_VALUE",
|
|
148
|
+
* // ],
|
|
149
|
+
* // expression: { // ResourceLogicalExpression Union: only one key present
|
|
150
|
+
* // criteria: { // ResourceCriteria Union: only one key present
|
|
151
|
+
* // tags: { // StringMap
|
|
152
|
+
* // "<keys>": "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // albConfig: { // AlbConfiguration
|
|
155
|
+
* // scheme: "internet-facing" || "internal",
|
|
156
|
+
* // ipAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
157
|
+
* // },
|
|
158
|
+
* // },
|
|
159
|
+
* // and: [ // ResourceLogicalExpressionList
|
|
160
|
+
* // {// Union: only one key present
|
|
161
|
+
* // criteria: {// Union: only one key present
|
|
162
|
+
* // tags: {
|
|
163
|
+
* // "<keys>": "STRING_VALUE",
|
|
164
|
+
* // },
|
|
165
|
+
* // albConfig: {
|
|
166
|
+
* // scheme: "internet-facing" || "internal",
|
|
167
|
+
* // ipAddressType: "ipv4" || "dualstack" || "dualstack-without-public-ipv4",
|
|
168
|
+
* // },
|
|
169
|
+
* // },
|
|
170
|
+
* // and: [
|
|
171
|
+
* // "<ResourceLogicalExpression>",
|
|
172
|
+
* // ],
|
|
173
|
+
* // or: [
|
|
174
|
+
* // "<ResourceLogicalExpression>",
|
|
175
|
+
* // ],
|
|
176
|
+
* // not: "<ResourceLogicalExpression>",
|
|
177
|
+
* // },
|
|
178
|
+
* // ],
|
|
179
|
+
* // or: [
|
|
180
|
+
* // "<ResourceLogicalExpression>",
|
|
181
|
+
* // ],
|
|
182
|
+
* // not: "<ResourceLogicalExpression>",
|
|
183
|
+
* // },
|
|
184
|
+
* // },
|
|
185
|
+
* // exclude: {
|
|
186
|
+
* // explicitArns: [
|
|
187
|
+
* // "STRING_VALUE",
|
|
188
|
+
* // ],
|
|
189
|
+
* // expression: "<ResourceLogicalExpression>",
|
|
190
|
+
* // },
|
|
191
|
+
* // },
|
|
192
|
+
* // },
|
|
193
|
+
* // },
|
|
194
|
+
* // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
|
|
195
|
+
* // version: "STRING_VALUE", // required
|
|
196
|
+
* // updateToken: "STRING_VALUE",
|
|
197
|
+
* // isSnapshot: true || false,
|
|
198
|
+
* // hasPublishedVersion: true || false,
|
|
199
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
200
|
+
* // };
|
|
201
|
+
*
|
|
202
|
+
* ```
|
|
203
|
+
*
|
|
204
|
+
* @param UpdateScopeCommandInput - {@link UpdateScopeCommandInput}
|
|
205
|
+
* @returns {@link UpdateScopeCommandOutput}
|
|
206
|
+
* @see {@link UpdateScopeCommandInput} for command's `input` shape.
|
|
207
|
+
* @see {@link UpdateScopeCommandOutput} for command's `response` shape.
|
|
208
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
209
|
+
*
|
|
210
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
211
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
212
|
+
*
|
|
213
|
+
* @throws {@link ConflictException} (client fault)
|
|
214
|
+
* <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>
|
|
215
|
+
*
|
|
216
|
+
* @throws {@link InternalServerException} (server fault)
|
|
217
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
218
|
+
*
|
|
219
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
220
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.</p>
|
|
221
|
+
*
|
|
222
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
223
|
+
* <p>The request would exceed a service quota.</p>
|
|
224
|
+
*
|
|
225
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
226
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
227
|
+
*
|
|
228
|
+
* @throws {@link ValidationException} (client fault)
|
|
229
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
230
|
+
*
|
|
231
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
232
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
233
|
+
*
|
|
234
|
+
*
|
|
235
|
+
* @example Update a scope and publish it
|
|
236
|
+
* ```javascript
|
|
237
|
+
* // Updates the scope's description and configuration and publishes the change. The updateToken from the most recent read is required for optimistic locking.
|
|
238
|
+
* const input = {
|
|
239
|
+
* isPublished: true,
|
|
240
|
+
* scopeConfiguration: {
|
|
241
|
+
* accountFilter: {
|
|
242
|
+
* includeAll: { /* empty *\/ }
|
|
243
|
+
* },
|
|
244
|
+
* resourceScopes: { /* empty *\/ }
|
|
245
|
+
* },
|
|
246
|
+
* scopeDescription: "Scope covering all production web application resources in US East 1",
|
|
247
|
+
* scopeIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:scope:abc123",
|
|
248
|
+
* updateToken: "b0c4d1e2-3f4a-4b5c-8d6e-7f8a9b0c1d2e"
|
|
249
|
+
* };
|
|
250
|
+
* const command = new UpdateScopeCommand(input);
|
|
251
|
+
* const response = await client.send(command);
|
|
252
|
+
* /* response is
|
|
253
|
+
* {
|
|
254
|
+
* hasPublishedVersion: true,
|
|
255
|
+
* isSnapshot: false,
|
|
256
|
+
* scopeArn: "arn:aws:network-security-manager:us-east-1:123456789012:scope:abc123",
|
|
257
|
+
* scopeConfiguration: {
|
|
258
|
+
* accountFilter: {
|
|
259
|
+
* includeAll: { /* empty *\/ }
|
|
260
|
+
* },
|
|
261
|
+
* resourceScopes: { /* empty *\/ }
|
|
262
|
+
* },
|
|
263
|
+
* scopeDescription: "Scope covering all production web application resources in US East 1",
|
|
264
|
+
* scopeId: "abc123",
|
|
265
|
+
* scopeName: "production-web-apps",
|
|
266
|
+
* status: "ACTIVE",
|
|
267
|
+
* updateToken: "c1d2e3f4-4a5b-4c6d-9e7f-8a9b0c1d2e3f",
|
|
268
|
+
* updatedAt: "2026-08-20T12:00:00Z",
|
|
269
|
+
* version: "2"
|
|
270
|
+
* }
|
|
271
|
+
* *\/
|
|
272
|
+
* ```
|
|
273
|
+
*
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
export declare class UpdateScopeCommand extends UpdateScopeCommand_base {
|
|
277
|
+
/** @internal type navigation helper, not in runtime. */
|
|
278
|
+
protected static __types: {
|
|
279
|
+
api: {
|
|
280
|
+
input: UpdateScopeInput;
|
|
281
|
+
output: UpdateScopeOutput;
|
|
282
|
+
};
|
|
283
|
+
sdk: {
|
|
284
|
+
input: UpdateScopeCommandInput;
|
|
285
|
+
output: UpdateScopeCommandOutput;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateTemplateInput, UpdateTemplateOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateTemplateCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateTemplateCommandInput extends UpdateTemplateInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateTemplateCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateTemplateCommandOutput extends UpdateTemplateOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateTemplateCommand_base: {
|
|
22
|
+
new (input: UpdateTemplateCommandInput): import("@smithy/core/client").CommandImpl<UpdateTemplateCommandInput, UpdateTemplateCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateTemplateCommandInput): import("@smithy/core/client").CommandImpl<UpdateTemplateCommandInput, UpdateTemplateCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the specified template. To prevent conflicting concurrent updates, provide the current <code>updateToken</code>. Use <code>isPublished</code> to publish the update or keep the template as a draft.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, UpdateTemplateCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, UpdateTemplateCommand } = 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 = { // UpdateTemplateInput
|
|
37
|
+
* templateIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* updateToken: "STRING_VALUE", // required
|
|
39
|
+
* templateDescription: "STRING_VALUE",
|
|
40
|
+
* associatedRuleList: [ // RuleReferenceList
|
|
41
|
+
* { // RuleReference
|
|
42
|
+
* ruleIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* isPublished: true || false, // required
|
|
46
|
+
* clientToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new UpdateTemplateCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // UpdateTemplateOutput
|
|
51
|
+
* // templateId: "STRING_VALUE", // required
|
|
52
|
+
* // templateArn: "STRING_VALUE", // required
|
|
53
|
+
* // templateName: "STRING_VALUE", // required
|
|
54
|
+
* // templateDescription: "STRING_VALUE",
|
|
55
|
+
* // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
|
|
56
|
+
* // version: "STRING_VALUE", // required
|
|
57
|
+
* // associatedRuleList: [ // AssociatedRuleList // required
|
|
58
|
+
* // { // AssociatedRule
|
|
59
|
+
* // ruleArn: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // updateToken: "STRING_VALUE",
|
|
63
|
+
* // isSnapshot: true || false,
|
|
64
|
+
* // hasPublishedVersion: true || false,
|
|
65
|
+
* // firewallType: "WAF", // required
|
|
66
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param UpdateTemplateCommandInput - {@link UpdateTemplateCommandInput}
|
|
72
|
+
* @returns {@link UpdateTemplateCommandOutput}
|
|
73
|
+
* @see {@link UpdateTemplateCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link UpdateTemplateCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* <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>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The specified resource was not found. Verify that the resource identifier is correct and that the resource exists, then try your request again.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
90
|
+
* <p>The request would exceed a service quota.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @example Update a template and publish it
|
|
103
|
+
* ```javascript
|
|
104
|
+
* // Updates the template's description and rule associations and publishes the change. The updateToken from the most recent read is required for optimistic locking.
|
|
105
|
+
* const input = {
|
|
106
|
+
* associatedRuleList: [
|
|
107
|
+
* {
|
|
108
|
+
* ruleIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
|
|
109
|
+
* }
|
|
110
|
+
* ],
|
|
111
|
+
* isPublished: true,
|
|
112
|
+
* templateDescription: "Standard WAF template with baseline rule groups - updated",
|
|
113
|
+
* templateIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789",
|
|
114
|
+
* updateToken: "d2e3f4a5-5b6c-4d7e-8f9a-9b0c1d2e3f4a"
|
|
115
|
+
* };
|
|
116
|
+
* const command = new UpdateTemplateCommand(input);
|
|
117
|
+
* const response = await client.send(command);
|
|
118
|
+
* /* response is
|
|
119
|
+
* {
|
|
120
|
+
* associatedRuleList: [
|
|
121
|
+
* {
|
|
122
|
+
* ruleArn: "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
|
|
123
|
+
* }
|
|
124
|
+
* ],
|
|
125
|
+
* firewallType: "WAF",
|
|
126
|
+
* hasPublishedVersion: true,
|
|
127
|
+
* isSnapshot: false,
|
|
128
|
+
* status: "ACTIVE",
|
|
129
|
+
* templateArn: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789",
|
|
130
|
+
* templateDescription: "Standard WAF template with baseline rule groups - updated",
|
|
131
|
+
* templateId: "xyz789",
|
|
132
|
+
* templateName: "standard-waf-template",
|
|
133
|
+
* updateToken: "e3f4a5b6-6c7d-4e8f-9a0b-0c1d2e3f4a5b",
|
|
134
|
+
* updatedAt: "2026-08-20T12:00:00Z",
|
|
135
|
+
* version: "2"
|
|
136
|
+
* }
|
|
137
|
+
* *\/
|
|
138
|
+
* ```
|
|
139
|
+
*
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export declare class UpdateTemplateCommand extends UpdateTemplateCommand_base {
|
|
143
|
+
/** @internal type navigation helper, not in runtime. */
|
|
144
|
+
protected static __types: {
|
|
145
|
+
api: {
|
|
146
|
+
input: UpdateTemplateInput;
|
|
147
|
+
output: UpdateTemplateOutput;
|
|
148
|
+
};
|
|
149
|
+
sdk: {
|
|
150
|
+
input: UpdateTemplateCommandInput;
|
|
151
|
+
output: UpdateTemplateCommandOutput;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -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,44 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
14
|
+
defaultSigningName: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const commonParams: {
|
|
24
|
+
readonly UseFIPS: {
|
|
25
|
+
readonly type: "builtInParams";
|
|
26
|
+
readonly name: "useFipsEndpoint";
|
|
27
|
+
};
|
|
28
|
+
readonly Endpoint: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "endpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Region: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "region";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
41
|
+
UseFIPS?: boolean | undefined;
|
|
42
|
+
Endpoint?: string | undefined;
|
|
43
|
+
Region?: string | undefined;
|
|
44
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointV2, Logger } from "@smithy/types";
|
|
2
|
+
import type { EndpointParameters } from "./EndpointParameters";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
|
|
7
|
+
logger?: Logger;
|
|
8
|
+
}) => EndpointV2;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
|
+
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface NetworkSecurityManagerExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <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>
|
|
3
|
+
*
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*/
|
|
6
|
+
export * from "./NetworkSecurityManagerClient";
|
|
7
|
+
export * from "./NetworkSecurityManager";
|
|
8
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
9
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
10
|
+
export type { NetworkSecurityManagerExtensionConfiguration } from "./extensionConfiguration";
|
|
11
|
+
export * from "./commands";
|
|
12
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
13
|
+
export * from "./pagination";
|
|
14
|
+
export * from "./schemas/schemas_0";
|
|
15
|
+
export * from "./models/enums";
|
|
16
|
+
export * from "./models/errors";
|
|
17
|
+
export * from "./models/models_0";
|
|
18
|
+
export { NetworkSecurityManagerServiceException } from "./models/NetworkSecurityManagerServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from NetworkSecurityManager service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class NetworkSecurityManagerServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|