@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,130 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetTemplateInput, GetTemplateOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetTemplateCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetTemplateCommandInput extends GetTemplateInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetTemplateCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetTemplateCommandOutput extends GetTemplateOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetTemplateCommand_base: {
|
|
22
|
+
new (input: GetTemplateCommandInput): import("@smithy/core/client").CommandImpl<GetTemplateCommandInput, GetTemplateCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetTemplateCommandInput): import("@smithy/core/client").CommandImpl<GetTemplateCommandInput, GetTemplateCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the details of the specified template.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, GetTemplateCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, GetTemplateCommand } = 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 = { // GetTemplateInput
|
|
37
|
+
* templateIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetTemplateCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetTemplateOutput
|
|
42
|
+
* // templateId: "STRING_VALUE", // required
|
|
43
|
+
* // templateArn: "STRING_VALUE", // required
|
|
44
|
+
* // templateName: "STRING_VALUE", // required
|
|
45
|
+
* // templateDescription: "STRING_VALUE",
|
|
46
|
+
* // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
|
|
47
|
+
* // version: "STRING_VALUE", // required
|
|
48
|
+
* // associatedRuleList: [ // AssociatedRuleList // required
|
|
49
|
+
* // { // AssociatedRule
|
|
50
|
+
* // ruleArn: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // updateToken: "STRING_VALUE",
|
|
54
|
+
* // isSnapshot: true || false,
|
|
55
|
+
* // hasPublishedVersion: true || false,
|
|
56
|
+
* // firewallType: "WAF", // required
|
|
57
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param GetTemplateCommandInput - {@link GetTemplateCommandInput}
|
|
63
|
+
* @returns {@link GetTemplateCommandOutput}
|
|
64
|
+
* @see {@link GetTemplateCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link GetTemplateCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <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>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @example Get a template
|
|
88
|
+
* ```javascript
|
|
89
|
+
* // Retrieves the current published version of a template by its base ARN, including its associated rules.
|
|
90
|
+
* const input = {
|
|
91
|
+
* templateIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789"
|
|
92
|
+
* };
|
|
93
|
+
* const command = new GetTemplateCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* {
|
|
97
|
+
* associatedRuleList: [
|
|
98
|
+
* {
|
|
99
|
+
* ruleArn: "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
|
|
100
|
+
* }
|
|
101
|
+
* ],
|
|
102
|
+
* firewallType: "WAF",
|
|
103
|
+
* hasPublishedVersion: true,
|
|
104
|
+
* isSnapshot: false,
|
|
105
|
+
* status: "ACTIVE",
|
|
106
|
+
* templateArn: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789",
|
|
107
|
+
* templateDescription: "Standard WAF template with baseline rule groups",
|
|
108
|
+
* templateId: "xyz789",
|
|
109
|
+
* templateName: "standard-waf-template",
|
|
110
|
+
* updateToken: "d2e3f4a5-5b6c-4d7e-8f9a-9b0c1d2e3f4a",
|
|
111
|
+
* version: "1"
|
|
112
|
+
* }
|
|
113
|
+
* *\/
|
|
114
|
+
* ```
|
|
115
|
+
*
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class GetTemplateCommand extends GetTemplateCommand_base {
|
|
119
|
+
/** @internal type navigation helper, not in runtime. */
|
|
120
|
+
protected static __types: {
|
|
121
|
+
api: {
|
|
122
|
+
input: GetTemplateInput;
|
|
123
|
+
output: GetTemplateOutput;
|
|
124
|
+
};
|
|
125
|
+
sdk: {
|
|
126
|
+
input: GetTemplateCommandInput;
|
|
127
|
+
output: GetTemplateCommandOutput;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListAdminAccountsRequest, ListAdminAccountsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListAdminAccountsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListAdminAccountsCommandInput extends ListAdminAccountsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListAdminAccountsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListAdminAccountsCommandOutput extends ListAdminAccountsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListAdminAccountsCommand_base: {
|
|
22
|
+
new (input: ListAdminAccountsCommandInput): import("@smithy/core/client").CommandImpl<ListAdminAccountsCommandInput, ListAdminAccountsCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListAdminAccountsCommandInput]): import("@smithy/core/client").CommandImpl<ListAdminAccountsCommandInput, ListAdminAccountsCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the AWS Network Security Manager administrator accounts in the organization.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, ListAdminAccountsCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, ListAdminAccountsCommand } = 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 = { // ListAdminAccountsRequest
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListAdminAccountsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListAdminAccountsResponse
|
|
43
|
+
* // nextToken: "STRING_VALUE",
|
|
44
|
+
* // adminAccounts: [ // AdminAccountSummaryList // required
|
|
45
|
+
* // { // AdminAccountSummary
|
|
46
|
+
* // accountId: "STRING_VALUE", // required
|
|
47
|
+
* // priority: Number("int"),
|
|
48
|
+
* // name: "STRING_VALUE",
|
|
49
|
+
* // email: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListAdminAccountsCommandInput - {@link ListAdminAccountsCommandInput}
|
|
57
|
+
* @returns {@link ListAdminAccountsCommandOutput}
|
|
58
|
+
* @see {@link ListAdminAccountsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListAdminAccountsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @example List administrator accounts
|
|
79
|
+
* ```javascript
|
|
80
|
+
* // Lists the Network Security Manager administrator accounts for the organization.
|
|
81
|
+
* const input = {
|
|
82
|
+
* maxResults: 10
|
|
83
|
+
* };
|
|
84
|
+
* const command = new ListAdminAccountsCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* /* response is
|
|
87
|
+
* {
|
|
88
|
+
* adminAccounts: [
|
|
89
|
+
* {
|
|
90
|
+
* accountId: "234567890123",
|
|
91
|
+
* priority: 2
|
|
92
|
+
* }
|
|
93
|
+
* ]
|
|
94
|
+
* }
|
|
95
|
+
* *\/
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class ListAdminAccountsCommand extends ListAdminAccountsCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: ListAdminAccountsRequest;
|
|
105
|
+
output: ListAdminAccountsResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: ListAdminAccountsCommandInput;
|
|
109
|
+
output: ListAdminAccountsCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListAggregateResourceSynchronizationStatusesInput, ListAggregateResourceSynchronizationStatusesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListAggregateResourceSynchronizationStatusesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListAggregateResourceSynchronizationStatusesCommandInput extends ListAggregateResourceSynchronizationStatusesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListAggregateResourceSynchronizationStatusesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListAggregateResourceSynchronizationStatusesCommandOutput extends ListAggregateResourceSynchronizationStatusesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListAggregateResourceSynchronizationStatusesCommand_base: {
|
|
22
|
+
new (input: ListAggregateResourceSynchronizationStatusesCommandInput): import("@smithy/core/client").CommandImpl<ListAggregateResourceSynchronizationStatusesCommandInput, ListAggregateResourceSynchronizationStatusesCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListAggregateResourceSynchronizationStatusesCommandInput]): import("@smithy/core/client").CommandImpl<ListAggregateResourceSynchronizationStatusesCommandInput, ListAggregateResourceSynchronizationStatusesCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the aggregated synchronization statuses of resources across the deployments in your administrator account. You can filter the results by synchronization status and page through them.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, ListAggregateResourceSynchronizationStatusesCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, ListAggregateResourceSynchronizationStatusesCommand } = 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 = { // ListAggregateResourceSynchronizationStatusesInput
|
|
37
|
+
* synchronizationStatus: "IN_SYNC" || "OUT_OF_SYNC" || "NOT_APPLICABLE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListAggregateResourceSynchronizationStatusesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListAggregateResourceSynchronizationStatusesOutput
|
|
44
|
+
* // nextToken: "STRING_VALUE",
|
|
45
|
+
* // resourceSynchronizationStatuses: [ // ResourceSynchronizationStatusSummaryList // required
|
|
46
|
+
* // { // ResourceSynchronizationStatusSummary
|
|
47
|
+
* // synchronizationStatus: "IN_SYNC" || "OUT_OF_SYNC" || "NOT_APPLICABLE", // required
|
|
48
|
+
* // accountId: "STRING_VALUE", // required
|
|
49
|
+
* // resourceArn: "STRING_VALUE", // required
|
|
50
|
+
* // deploymentArn: "STRING_VALUE",
|
|
51
|
+
* // resourceType: "AWS::ApiGateway::Stage" || "AWS::CloudFront::Distribution" || "AWS::EC2::EIP" || "AWS::ElasticLoadBalancingV2::LoadBalancer::application" || "AWS::ElasticLoadBalancing::LoadBalancer" || "AWS::WAFv2::WebACL" || "AWS::Shield::Protection" || "AWS::ShieldRegional::Protection",
|
|
52
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // outOfSyncReasons: { // OutOfSyncReasonsView Union: only one key present
|
|
54
|
+
* // reasons: { // OutOfSyncReasons
|
|
55
|
+
* // "<keys>": { // FirewallSyncReason Union: only one key present
|
|
56
|
+
* // missingFirewall: "STRING_VALUE",
|
|
57
|
+
* // invalidFirewall: { // InvalidFirewallReasons
|
|
58
|
+
* // incorrectSingleValueConfigurations: [ // ConfigurationIssueList
|
|
59
|
+
* // { // ConfigurationIssue
|
|
60
|
+
* // configurationName: "STRING_VALUE",
|
|
61
|
+
* // expectedValue: "STRING_VALUE",
|
|
62
|
+
* // actualValue: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // missingAppendableConfigurationValues: [
|
|
66
|
+
* // {
|
|
67
|
+
* // configurationName: "STRING_VALUE",
|
|
68
|
+
* // expectedValue: "STRING_VALUE",
|
|
69
|
+
* // actualValue: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // unexpectedAppendableConfigurationValues: [
|
|
73
|
+
* // {
|
|
74
|
+
* // configurationName: "STRING_VALUE",
|
|
75
|
+
* // expectedValue: "STRING_VALUE",
|
|
76
|
+
* // actualValue: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // incorrectAppendableConfigurationOrder: [
|
|
80
|
+
* // {
|
|
81
|
+
* // configurationName: "STRING_VALUE",
|
|
82
|
+
* // expectedValue: "STRING_VALUE",
|
|
83
|
+
* // actualValue: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // missingMergeableConfigurationValues: [
|
|
87
|
+
* // {
|
|
88
|
+
* // configurationName: "STRING_VALUE",
|
|
89
|
+
* // expectedValue: "STRING_VALUE",
|
|
90
|
+
* // actualValue: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // unexpectedMergeableConfigurationValues: "<ConfigurationIssueList>",
|
|
94
|
+
* // },
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // notVisible: { // NotVisibleMarker
|
|
98
|
+
* // reason: "STRING_VALUE", // required
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // remediationIssues: { // RemediationIssuesView Union: only one key present
|
|
102
|
+
* // issues: { // RemediationIssues
|
|
103
|
+
* // "<keys>": { // RemediationIssueDetails
|
|
104
|
+
* // issueType: "STRING_VALUE",
|
|
105
|
+
* // message: "STRING_VALUE",
|
|
106
|
+
* // correctiveAction: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // notVisible: {
|
|
110
|
+
* // reason: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // evaluatedAt: new Date("TIMESTAMP"),
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // };
|
|
117
|
+
*
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @param ListAggregateResourceSynchronizationStatusesCommandInput - {@link ListAggregateResourceSynchronizationStatusesCommandInput}
|
|
121
|
+
* @returns {@link ListAggregateResourceSynchronizationStatusesCommandOutput}
|
|
122
|
+
* @see {@link ListAggregateResourceSynchronizationStatusesCommandInput} for command's `input` shape.
|
|
123
|
+
* @see {@link ListAggregateResourceSynchronizationStatusesCommandOutput} for command's `response` shape.
|
|
124
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
127
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link InternalServerException} (server fault)
|
|
130
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
133
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ValidationException} (client fault)
|
|
136
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
139
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
140
|
+
*
|
|
141
|
+
*
|
|
142
|
+
* @example List synchronization statuses across all deployments
|
|
143
|
+
* ```javascript
|
|
144
|
+
* // Lists the aggregate synchronization status of resources across all deployments in the account.
|
|
145
|
+
* const input = {
|
|
146
|
+
* maxResults: 10,
|
|
147
|
+
* synchronizationStatus: "IN_SYNC"
|
|
148
|
+
* };
|
|
149
|
+
* const command = new ListAggregateResourceSynchronizationStatusesCommand(input);
|
|
150
|
+
* const response = await client.send(command);
|
|
151
|
+
* /* response is
|
|
152
|
+
* {
|
|
153
|
+
* resourceSynchronizationStatuses: [
|
|
154
|
+
* {
|
|
155
|
+
* accountId: "234567890123",
|
|
156
|
+
* evaluatedAt: "2026-08-20T12:00:00Z",
|
|
157
|
+
* resourceArn: "arn:aws:elasticloadbalancing:us-east-1:234567890123:loadbalancer/app/my-alb/50dc6c495c0c9188",
|
|
158
|
+
* resourceType: "AWS::ElasticLoadBalancingV2::LoadBalancer::application",
|
|
159
|
+
* synchronizationStatus: "IN_SYNC",
|
|
160
|
+
* updatedAt: "2026-08-20T12:00:00Z"
|
|
161
|
+
* }
|
|
162
|
+
* ]
|
|
163
|
+
* }
|
|
164
|
+
* *\/
|
|
165
|
+
* ```
|
|
166
|
+
*
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export declare class ListAggregateResourceSynchronizationStatusesCommand extends ListAggregateResourceSynchronizationStatusesCommand_base {
|
|
170
|
+
/** @internal type navigation helper, not in runtime. */
|
|
171
|
+
protected static __types: {
|
|
172
|
+
api: {
|
|
173
|
+
input: ListAggregateResourceSynchronizationStatusesInput;
|
|
174
|
+
output: ListAggregateResourceSynchronizationStatusesOutput;
|
|
175
|
+
};
|
|
176
|
+
sdk: {
|
|
177
|
+
input: ListAggregateResourceSynchronizationStatusesCommandInput;
|
|
178
|
+
output: ListAggregateResourceSynchronizationStatusesCommandOutput;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListDeploymentSnapshotsInput, ListDeploymentSnapshotsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListDeploymentSnapshotsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListDeploymentSnapshotsCommandInput extends ListDeploymentSnapshotsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListDeploymentSnapshotsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListDeploymentSnapshotsCommandOutput extends ListDeploymentSnapshotsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListDeploymentSnapshotsCommand_base: {
|
|
22
|
+
new (input: ListDeploymentSnapshotsCommandInput): import("@smithy/core/client").CommandImpl<ListDeploymentSnapshotsCommandInput, ListDeploymentSnapshotsCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListDeploymentSnapshotsCommandInput): import("@smithy/core/client").CommandImpl<ListDeploymentSnapshotsCommandInput, ListDeploymentSnapshotsCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the snapshots of the specified 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, ListDeploymentSnapshotsCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, ListDeploymentSnapshotsCommand } = 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 = { // ListDeploymentSnapshotsInput
|
|
37
|
+
* deploymentIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListDeploymentSnapshotsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListDeploymentSnapshotsOutput
|
|
44
|
+
* // nextToken: "STRING_VALUE",
|
|
45
|
+
* // snapshots: [ // DeploymentSummaryList // required
|
|
46
|
+
* // { // DeploymentSummary
|
|
47
|
+
* // deploymentId: "STRING_VALUE", // required
|
|
48
|
+
* // deploymentArn: "STRING_VALUE", // required
|
|
49
|
+
* // deploymentName: "STRING_VALUE",
|
|
50
|
+
* // status: "DRAFT" || "ACTIVE" || "DISABLED",
|
|
51
|
+
* // version: "STRING_VALUE",
|
|
52
|
+
* // hasPublishedVersion: true || false,
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListDeploymentSnapshotsCommandInput - {@link ListDeploymentSnapshotsCommandInput}
|
|
61
|
+
* @returns {@link ListDeploymentSnapshotsCommandOutput}
|
|
62
|
+
* @see {@link ListDeploymentSnapshotsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListDeploymentSnapshotsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <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>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @example List the snapshots of a deployment
|
|
86
|
+
* ```javascript
|
|
87
|
+
* // Lists the immutable snapshots that have been created for a deployment.
|
|
88
|
+
* const input = {
|
|
89
|
+
* deploymentIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:deployment:def456",
|
|
90
|
+
* maxResults: 10
|
|
91
|
+
* };
|
|
92
|
+
* const command = new ListDeploymentSnapshotsCommand(input);
|
|
93
|
+
* const response = await client.send(command);
|
|
94
|
+
* /* response is
|
|
95
|
+
* {
|
|
96
|
+
* snapshots: [
|
|
97
|
+
* {
|
|
98
|
+
* deploymentArn: "arn:aws:network-security-manager:us-east-1:123456789012:deployment:def456:2",
|
|
99
|
+
* deploymentId: "def456",
|
|
100
|
+
* deploymentName: "prod-us-east-1-deployment",
|
|
101
|
+
* status: "ACTIVE",
|
|
102
|
+
* updatedAt: "2026-08-20T12:00:00Z",
|
|
103
|
+
* version: "2"
|
|
104
|
+
* }
|
|
105
|
+
* ]
|
|
106
|
+
* }
|
|
107
|
+
* *\/
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class ListDeploymentSnapshotsCommand extends ListDeploymentSnapshotsCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: ListDeploymentSnapshotsInput;
|
|
117
|
+
output: ListDeploymentSnapshotsOutput;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: ListDeploymentSnapshotsCommandInput;
|
|
121
|
+
output: ListDeploymentSnapshotsCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListDeploymentsInput, ListDeploymentsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListDeploymentsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListDeploymentsCommandInput extends ListDeploymentsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListDeploymentsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListDeploymentsCommandOutput extends ListDeploymentsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListDeploymentsCommand_base: {
|
|
22
|
+
new (input: ListDeploymentsCommandInput): import("@smithy/core/client").CommandImpl<ListDeploymentsCommandInput, ListDeploymentsCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListDeploymentsCommandInput]): import("@smithy/core/client").CommandImpl<ListDeploymentsCommandInput, ListDeploymentsCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the deployments in the account. You can filter the results by status and page through them using <code>maxResults</code> and <code>nextToken</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, ListDeploymentsCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, ListDeploymentsCommand } = 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 = { // ListDeploymentsInput
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* status: "ACTIVE" || "DRAFT" || "DISABLED",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListDeploymentsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListDeploymentsOutput
|
|
44
|
+
* // nextToken: "STRING_VALUE",
|
|
45
|
+
* // deployments: [ // DeploymentSummaryList // required
|
|
46
|
+
* // { // DeploymentSummary
|
|
47
|
+
* // deploymentId: "STRING_VALUE", // required
|
|
48
|
+
* // deploymentArn: "STRING_VALUE", // required
|
|
49
|
+
* // deploymentName: "STRING_VALUE",
|
|
50
|
+
* // status: "DRAFT" || "ACTIVE" || "DISABLED",
|
|
51
|
+
* // version: "STRING_VALUE",
|
|
52
|
+
* // hasPublishedVersion: true || false,
|
|
53
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListDeploymentsCommandInput - {@link ListDeploymentsCommandInput}
|
|
61
|
+
* @returns {@link ListDeploymentsCommandOutput}
|
|
62
|
+
* @see {@link ListDeploymentsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListDeploymentsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @example List deployments
|
|
83
|
+
* ```javascript
|
|
84
|
+
* // Lists the published deployments in the account, one page at a time.
|
|
85
|
+
* const input = {
|
|
86
|
+
* maxResults: 10,
|
|
87
|
+
* status: "ACTIVE"
|
|
88
|
+
* };
|
|
89
|
+
* const command = new ListDeploymentsCommand(input);
|
|
90
|
+
* const response = await client.send(command);
|
|
91
|
+
* /* response is
|
|
92
|
+
* {
|
|
93
|
+
* deployments: [
|
|
94
|
+
* {
|
|
95
|
+
* deploymentArn: "arn:aws:network-security-manager:us-east-1:123456789012:deployment:def456",
|
|
96
|
+
* deploymentId: "def456",
|
|
97
|
+
* deploymentName: "prod-us-east-1-deployment",
|
|
98
|
+
* hasPublishedVersion: true,
|
|
99
|
+
* status: "ACTIVE",
|
|
100
|
+
* updatedAt: "2026-08-20T12:00:00Z",
|
|
101
|
+
* version: "2"
|
|
102
|
+
* }
|
|
103
|
+
* ]
|
|
104
|
+
* }
|
|
105
|
+
* *\/
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class ListDeploymentsCommand extends ListDeploymentsCommand_base {
|
|
111
|
+
/** @internal type navigation helper, not in runtime. */
|
|
112
|
+
protected static __types: {
|
|
113
|
+
api: {
|
|
114
|
+
input: ListDeploymentsInput;
|
|
115
|
+
output: ListDeploymentsOutput;
|
|
116
|
+
};
|
|
117
|
+
sdk: {
|
|
118
|
+
input: ListDeploymentsCommandInput;
|
|
119
|
+
output: ListDeploymentsCommandOutput;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}
|