@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,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteRuleInput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteRuleCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteRuleCommandInput extends DeleteRuleInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteRuleCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteRuleCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteRuleCommand_base: {
|
|
22
|
+
new (input: DeleteRuleCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuleCommandInput, DeleteRuleCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteRuleCommandInput): import("@smithy/core/client").CommandImpl<DeleteRuleCommandInput, DeleteRuleCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes the specified rule.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, DeleteRuleCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, DeleteRuleCommand } = 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 = { // DeleteRuleInput
|
|
37
|
+
* ruleIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteRuleCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteRuleCommandInput - {@link DeleteRuleCommandInput}
|
|
46
|
+
* @returns {@link DeleteRuleCommandOutput}
|
|
47
|
+
* @see {@link DeleteRuleCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteRuleCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <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>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @example Delete a rule
|
|
71
|
+
* ```javascript
|
|
72
|
+
* // Deletes a rule by its ARN. The rule must not be associated with any template or policy.
|
|
73
|
+
* const input = {
|
|
74
|
+
* ruleIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123"
|
|
75
|
+
* };
|
|
76
|
+
* const command = new DeleteRuleCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response is
|
|
79
|
+
* { /* metadata only *\/ }
|
|
80
|
+
* *\/
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class DeleteRuleCommand extends DeleteRuleCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: DeleteRuleInput;
|
|
90
|
+
output: {};
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: DeleteRuleCommandInput;
|
|
94
|
+
output: DeleteRuleCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteScopeInput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteScopeCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteScopeCommandInput extends DeleteScopeInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteScopeCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteScopeCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteScopeCommand_base: {
|
|
22
|
+
new (input: DeleteScopeCommandInput): import("@smithy/core/client").CommandImpl<DeleteScopeCommandInput, DeleteScopeCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteScopeCommandInput): import("@smithy/core/client").CommandImpl<DeleteScopeCommandInput, DeleteScopeCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes the specified scope.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, DeleteScopeCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, DeleteScopeCommand } = 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 = { // DeleteScopeInput
|
|
37
|
+
* scopeIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteScopeCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteScopeCommandInput - {@link DeleteScopeCommandInput}
|
|
46
|
+
* @returns {@link DeleteScopeCommandOutput}
|
|
47
|
+
* @see {@link DeleteScopeCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteScopeCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <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>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @example Delete a scope
|
|
71
|
+
* ```javascript
|
|
72
|
+
* // Deletes a scope by its ARN. The scope must not be associated with any deployment.
|
|
73
|
+
* const input = {
|
|
74
|
+
* scopeIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:scope:abc123"
|
|
75
|
+
* };
|
|
76
|
+
* const command = new DeleteScopeCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response is
|
|
79
|
+
* { /* metadata only *\/ }
|
|
80
|
+
* *\/
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class DeleteScopeCommand extends DeleteScopeCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: DeleteScopeInput;
|
|
90
|
+
output: {};
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: DeleteScopeCommandInput;
|
|
94
|
+
output: DeleteScopeCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteTemplateInput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteTemplateCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteTemplateCommandInput extends DeleteTemplateInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteTemplateCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteTemplateCommandOutput extends __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteTemplateCommand_base: {
|
|
22
|
+
new (input: DeleteTemplateCommandInput): import("@smithy/core/client").CommandImpl<DeleteTemplateCommandInput, DeleteTemplateCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteTemplateCommandInput): import("@smithy/core/client").CommandImpl<DeleteTemplateCommandInput, DeleteTemplateCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes 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, DeleteTemplateCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, DeleteTemplateCommand } = 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 = { // DeleteTemplateInput
|
|
37
|
+
* templateIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteTemplateCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteTemplateCommandInput - {@link DeleteTemplateCommandInput}
|
|
46
|
+
* @returns {@link DeleteTemplateCommandOutput}
|
|
47
|
+
* @see {@link DeleteTemplateCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteTemplateCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <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>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @example Delete a template
|
|
71
|
+
* ```javascript
|
|
72
|
+
* // Deletes a template by its ARN. The template must not be associated with any policy.
|
|
73
|
+
* const input = {
|
|
74
|
+
* templateIdentifier: "arn:aws:network-security-manager:us-east-1:123456789012:template:xyz789"
|
|
75
|
+
* };
|
|
76
|
+
* const command = new DeleteTemplateCommand(input);
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response is
|
|
79
|
+
* { /* metadata only *\/ }
|
|
80
|
+
* *\/
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class DeleteTemplateCommand extends DeleteTemplateCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: DeleteTemplateInput;
|
|
90
|
+
output: {};
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: DeleteTemplateCommandInput;
|
|
94
|
+
output: DeleteTemplateCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GenerateRuleConfigurationRequest, GenerateRuleConfigurationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GenerateRuleConfigurationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GenerateRuleConfigurationCommandInput extends GenerateRuleConfigurationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GenerateRuleConfigurationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GenerateRuleConfigurationCommandOutput extends GenerateRuleConfigurationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GenerateRuleConfigurationCommand_base: {
|
|
22
|
+
new (input: GenerateRuleConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GenerateRuleConfigurationCommandInput, GenerateRuleConfigurationCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GenerateRuleConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GenerateRuleConfigurationCommandInput, GenerateRuleConfigurationCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Generates a rule configuration from a natural-language description. Provide a prompt along with the rule's firewall type and rule type. The service returns a configuration that you can use when you create or update a rule. If you also provide an existing configuration, the service edits that configuration instead of generating a new one.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, GenerateRuleConfigurationCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, GenerateRuleConfigurationCommand } = 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 = { // GenerateRuleConfigurationRequest
|
|
37
|
+
* prompt: "STRING_VALUE", // required
|
|
38
|
+
* ruleFirewallType: "WAF", // required
|
|
39
|
+
* ruleType: "CONFIGURATION" || "INSPECTION", // required
|
|
40
|
+
* wafConfigDataType: "DefaultAction" || "VisibilityConfig" || "CaptchaConfig" || "ChallengeConfig" || "CustomResponseBodies" || "LoggingConfiguration" || "DataProtectionConfig" || "AssociationConfig" || "OnSourceDDoSProtectionConfig" || "TokenDomains",
|
|
41
|
+
* currentConfiguration: "STRING_VALUE",
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GenerateRuleConfigurationCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GenerateRuleConfigurationResponse
|
|
47
|
+
* // configuration: "STRING_VALUE", // required
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GenerateRuleConfigurationCommandInput - {@link GenerateRuleConfigurationCommandInput}
|
|
54
|
+
* @returns {@link GenerateRuleConfigurationCommandOutput}
|
|
55
|
+
* @see {@link GenerateRuleConfigurationCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GenerateRuleConfigurationCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @example Generate a rule configuration from a description
|
|
76
|
+
* ```javascript
|
|
77
|
+
* // Generates a firewall rule configuration from a natural language description. The response contains the generated configuration as a JSON string, ready to use as the configuration of a rule.
|
|
78
|
+
* const input = {
|
|
79
|
+
* clientToken: "550e8400-e29b-41d4-a716-446655440015",
|
|
80
|
+
* prompt: "Create a rate limiting rule that blocks IP addresses sending more than 2000 requests in 5 minutes",
|
|
81
|
+
* ruleFirewallType: "WAF",
|
|
82
|
+
* ruleType: "INSPECTION"
|
|
83
|
+
* };
|
|
84
|
+
* const command = new GenerateRuleConfigurationCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* /* response is
|
|
87
|
+
* {
|
|
88
|
+
* configuration: `{"name":"rate-limit-rule","priority":1,"statement":{"rateBasedStatement":{"limit":2000,"evaluationWindowSec":300,"aggregateKeyType":"IP"}},"action":{"block":{}}}`
|
|
89
|
+
* }
|
|
90
|
+
* *\/
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class GenerateRuleConfigurationCommand extends GenerateRuleConfigurationCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: GenerateRuleConfigurationRequest;
|
|
100
|
+
output: GenerateRuleConfigurationResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: GenerateRuleConfigurationCommandInput;
|
|
104
|
+
output: GenerateRuleConfigurationCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetAdminAccountRequest, GetAdminAccountResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetAdminAccountCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAdminAccountCommandInput extends GetAdminAccountRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetAdminAccountCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAdminAccountCommandOutput extends GetAdminAccountResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetAdminAccountCommand_base: {
|
|
22
|
+
new (input: GetAdminAccountCommandInput): import("@smithy/core/client").CommandImpl<GetAdminAccountCommandInput, GetAdminAccountCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAdminAccountCommandInput): import("@smithy/core/client").CommandImpl<GetAdminAccountCommandInput, GetAdminAccountCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the details of the specified AWS Network Security Manager administrator account.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, GetAdminAccountCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, GetAdminAccountCommand } = 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 = { // GetAdminAccountRequest
|
|
37
|
+
* accountId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetAdminAccountCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetAdminAccountResponse
|
|
42
|
+
* // adminAccountDetails: { // AdminAccountDetails
|
|
43
|
+
* // adminAccount: "STRING_VALUE", // required
|
|
44
|
+
* // priority: Number("int"), // required
|
|
45
|
+
* // adminScope: { // AdminScope
|
|
46
|
+
* // scopeFilter: { // AdminScopeFilter Union: only one key present
|
|
47
|
+
* // includeAll: {},
|
|
48
|
+
* // includeOnly: { // AdminScopeSelection
|
|
49
|
+
* // accounts: [ // AccountReferenceList
|
|
50
|
+
* // { // AccountReference
|
|
51
|
+
* // accountId: "STRING_VALUE", // required
|
|
52
|
+
* // name: "STRING_VALUE",
|
|
53
|
+
* // email: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // organizationalUnits: [ // OrganizationalUnitReferenceList
|
|
57
|
+
* // { // OrganizationalUnitReference
|
|
58
|
+
* // ouId: "STRING_VALUE", // required
|
|
59
|
+
* // name: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // excludeOnly: {
|
|
64
|
+
* // accounts: [
|
|
65
|
+
* // {
|
|
66
|
+
* // accountId: "STRING_VALUE", // required
|
|
67
|
+
* // name: "STRING_VALUE",
|
|
68
|
+
* // email: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // organizationalUnits: [
|
|
72
|
+
* // {
|
|
73
|
+
* // ouId: "STRING_VALUE", // required
|
|
74
|
+
* // name: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // firewallTypeScope: { // AdminFirewallTypeScope
|
|
80
|
+
* // allFirewallTypesEnabled: true || false,
|
|
81
|
+
* // firewallTypes: [ // FirewallTypeList
|
|
82
|
+
* // "WAF" || "SHIELD_ADVANCED",
|
|
83
|
+
* // ],
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // status: "ONBOARDED" || "OFFBOARDED",
|
|
87
|
+
* // },
|
|
88
|
+
* // };
|
|
89
|
+
*
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
92
|
+
* @param GetAdminAccountCommandInput - {@link GetAdminAccountCommandInput}
|
|
93
|
+
* @returns {@link GetAdminAccountCommandOutput}
|
|
94
|
+
* @see {@link GetAdminAccountCommandInput} for command's `input` shape.
|
|
95
|
+
* @see {@link GetAdminAccountCommandOutput} for command's `response` shape.
|
|
96
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
99
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InternalServerException} (server fault)
|
|
102
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
105
|
+
* <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>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
108
|
+
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ValidationException} (client fault)
|
|
111
|
+
* <p>The request failed validation. For details, see the <code>reason</code> and <code>fieldList</code> members of the response.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link NetworkSecurityManagerServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from NetworkSecurityManager service.</p>
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* @example Get an administrator account
|
|
118
|
+
* ```javascript
|
|
119
|
+
* // Retrieves the details and administrative scope of a Network Security Manager administrator account.
|
|
120
|
+
* const input = {
|
|
121
|
+
* accountId: "234567890123"
|
|
122
|
+
* };
|
|
123
|
+
* const command = new GetAdminAccountCommand(input);
|
|
124
|
+
* const response = await client.send(command);
|
|
125
|
+
* /* response is
|
|
126
|
+
* {
|
|
127
|
+
* adminAccountDetails: {
|
|
128
|
+
* adminAccount: "234567890123",
|
|
129
|
+
* adminScope: {
|
|
130
|
+
* firewallTypeScope: {
|
|
131
|
+
* allFirewallTypesEnabled: false,
|
|
132
|
+
* firewallTypes: [
|
|
133
|
+
* "WAF"
|
|
134
|
+
* ]
|
|
135
|
+
* },
|
|
136
|
+
* scopeFilter: {
|
|
137
|
+
* includeOnly: {
|
|
138
|
+
* organizationalUnits: [
|
|
139
|
+
* {
|
|
140
|
+
* name: "Production",
|
|
141
|
+
* ouId: "ou-abcd-12345678"
|
|
142
|
+
* }
|
|
143
|
+
* ]
|
|
144
|
+
* }
|
|
145
|
+
* }
|
|
146
|
+
* },
|
|
147
|
+
* priority: 2,
|
|
148
|
+
* status: "ONBOARDED"
|
|
149
|
+
* }
|
|
150
|
+
* }
|
|
151
|
+
* *\/
|
|
152
|
+
* ```
|
|
153
|
+
*
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export declare class GetAdminAccountCommand extends GetAdminAccountCommand_base {
|
|
157
|
+
/** @internal type navigation helper, not in runtime. */
|
|
158
|
+
protected static __types: {
|
|
159
|
+
api: {
|
|
160
|
+
input: GetAdminAccountRequest;
|
|
161
|
+
output: GetAdminAccountResponse;
|
|
162
|
+
};
|
|
163
|
+
sdk: {
|
|
164
|
+
input: GetAdminAccountCommandInput;
|
|
165
|
+
output: GetAdminAccountCommandOutput;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
}
|