@aws-sdk/client-network-security-manager 3.1172.0 → 3.1174.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/README.md +14 -0
- package/dist-cjs/index.js +176 -30
- package/dist-es/NetworkSecurityManager.js +8 -0
- package/dist-es/commands/ListEntityCoveragesCommand.js +4 -0
- package/dist-es/commands/ListProtectedResourceCoveragesCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/pagination/ListEntityCoveragesPaginator.js +4 -0
- package/dist-es/pagination/ListProtectedResourceCoveragesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +116 -29
- package/dist-types/NetworkSecurityManager.d.ts +28 -0
- package/dist-types/NetworkSecurityManagerClient.d.ts +4 -2
- package/dist-types/commands/CreateDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/CreateDeploymentSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +24 -2
- package/dist-types/commands/CreatePolicySnapshotCommand.d.ts +15 -1
- package/dist-types/commands/CreateRuleCommand.d.ts +2 -2
- package/dist-types/commands/CreateRuleSnapshotCommand.d.ts +4 -1
- package/dist-types/commands/CreateScopeCommand.d.ts +2 -0
- package/dist-types/commands/CreateScopeSnapshotCommand.d.ts +4 -0
- package/dist-types/commands/CreateTemplateCommand.d.ts +2 -2
- package/dist-types/commands/CreateTemplateSnapshotCommand.d.ts +4 -1
- package/dist-types/commands/GenerateRuleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/GetPolicyCommand.d.ts +12 -1
- package/dist-types/commands/GetRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetScopeCommand.d.ts +1 -0
- package/dist-types/commands/GetTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregateResourceSynchronizationStatusesCommand.d.ts +10 -1
- package/dist-types/commands/ListEntityCoveragesCommand.d.ts +101 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicySnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/ListProtectedResourceCoveragesCommand.d.ts +101 -0
- package/dist-types/commands/ListResourceSynchronizationStatusesCommand.d.ts +10 -1
- package/dist-types/commands/ListRuleSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/ListRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListScopeSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/ListScopesCommand.d.ts +1 -0
- package/dist-types/commands/ListTemplateSnapshotsCommand.d.ts +2 -1
- package/dist-types/commands/ListTemplatesCommand.d.ts +3 -1
- package/dist-types/commands/PutAdminAccountCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDeploymentCommand.d.ts +2 -2
- package/dist-types/commands/UpdatePolicyCommand.d.ts +23 -1
- package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScopeCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTemplateCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +68 -0
- package/dist-types/models/models_0.d.ts +247 -4
- package/dist-types/pagination/ListEntityCoveragesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProtectedResourceCoveragesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +10 -0
- package/dist-types/ts3.4/NetworkSecurityManager.d.ts +48 -0
- package/dist-types/ts3.4/NetworkSecurityManagerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListEntityCoveragesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProtectedResourceCoveragesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +34 -0
- package/dist-types/ts3.4/models/models_0.d.ts +69 -0
- package/dist-types/ts3.4/pagination/ListEntityCoveragesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProtectedResourceCoveragesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
- package/package.json +1 -1
|
@@ -33,8 +33,10 @@ import type { ListAdminAccountsCommandInput, ListAdminAccountsCommandOutput } fr
|
|
|
33
33
|
import type { ListAggregateResourceSynchronizationStatusesCommandInput, ListAggregateResourceSynchronizationStatusesCommandOutput } from "./commands/ListAggregateResourceSynchronizationStatusesCommand";
|
|
34
34
|
import type { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
35
35
|
import type { ListDeploymentSnapshotsCommandInput, ListDeploymentSnapshotsCommandOutput } from "./commands/ListDeploymentSnapshotsCommand";
|
|
36
|
+
import type { ListEntityCoveragesCommandInput, ListEntityCoveragesCommandOutput } from "./commands/ListEntityCoveragesCommand";
|
|
36
37
|
import type { ListPoliciesCommandInput, ListPoliciesCommandOutput } from "./commands/ListPoliciesCommand";
|
|
37
38
|
import type { ListPolicySnapshotsCommandInput, ListPolicySnapshotsCommandOutput } from "./commands/ListPolicySnapshotsCommand";
|
|
39
|
+
import type { ListProtectedResourceCoveragesCommandInput, ListProtectedResourceCoveragesCommandOutput } from "./commands/ListProtectedResourceCoveragesCommand";
|
|
38
40
|
import type { ListResourceAssociationsCommandInput, ListResourceAssociationsCommandOutput } from "./commands/ListResourceAssociationsCommand";
|
|
39
41
|
import type { ListResourceSynchronizationStatusesCommandInput, ListResourceSynchronizationStatusesCommandOutput } from "./commands/ListResourceSynchronizationStatusesCommand";
|
|
40
42
|
import type { ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
|
|
@@ -58,11 +60,11 @@ export { __Client };
|
|
|
58
60
|
/**
|
|
59
61
|
* @public
|
|
60
62
|
*/
|
|
61
|
-
export type ServiceInputTypes = CreateDeploymentCommandInput | CreateDeploymentSnapshotCommandInput | CreatePolicyCommandInput | CreatePolicySnapshotCommandInput | CreateRuleCommandInput | CreateRuleSnapshotCommandInput | CreateScopeCommandInput | CreateScopeSnapshotCommandInput | CreateTemplateCommandInput | CreateTemplateSnapshotCommandInput | DeleteAdminAccountCommandInput | DeleteDeploymentCommandInput | DeletePolicyCommandInput | DeleteRuleCommandInput | DeleteScopeCommandInput | DeleteTemplateCommandInput | GenerateRuleConfigurationCommandInput | GetAdminAccountCommandInput | GetDeploymentCommandInput | GetPolicyCommandInput | GetRuleCommandInput | GetScopeCommandInput | GetTemplateCommandInput | ListAdminAccountsCommandInput | ListAggregateResourceSynchronizationStatusesCommandInput | ListDeploymentSnapshotsCommandInput | ListDeploymentsCommandInput | ListPoliciesCommandInput | ListPolicySnapshotsCommandInput | ListResourceAssociationsCommandInput | ListResourceSynchronizationStatusesCommandInput | ListRuleSnapshotsCommandInput | ListRulesCommandInput | ListScopeSnapshotsCommandInput | ListScopesCommandInput | ListTagsForResourceCommandInput | ListTemplateSnapshotsCommandInput | ListTemplatesCommandInput | PutAdminAccountCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDeploymentCommandInput | UpdatePolicyCommandInput | UpdateRuleCommandInput | UpdateScopeCommandInput | UpdateTemplateCommandInput;
|
|
63
|
+
export type ServiceInputTypes = CreateDeploymentCommandInput | CreateDeploymentSnapshotCommandInput | CreatePolicyCommandInput | CreatePolicySnapshotCommandInput | CreateRuleCommandInput | CreateRuleSnapshotCommandInput | CreateScopeCommandInput | CreateScopeSnapshotCommandInput | CreateTemplateCommandInput | CreateTemplateSnapshotCommandInput | DeleteAdminAccountCommandInput | DeleteDeploymentCommandInput | DeletePolicyCommandInput | DeleteRuleCommandInput | DeleteScopeCommandInput | DeleteTemplateCommandInput | GenerateRuleConfigurationCommandInput | GetAdminAccountCommandInput | GetDeploymentCommandInput | GetPolicyCommandInput | GetRuleCommandInput | GetScopeCommandInput | GetTemplateCommandInput | ListAdminAccountsCommandInput | ListAggregateResourceSynchronizationStatusesCommandInput | ListDeploymentSnapshotsCommandInput | ListDeploymentsCommandInput | ListEntityCoveragesCommandInput | ListPoliciesCommandInput | ListPolicySnapshotsCommandInput | ListProtectedResourceCoveragesCommandInput | ListResourceAssociationsCommandInput | ListResourceSynchronizationStatusesCommandInput | ListRuleSnapshotsCommandInput | ListRulesCommandInput | ListScopeSnapshotsCommandInput | ListScopesCommandInput | ListTagsForResourceCommandInput | ListTemplateSnapshotsCommandInput | ListTemplatesCommandInput | PutAdminAccountCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDeploymentCommandInput | UpdatePolicyCommandInput | UpdateRuleCommandInput | UpdateScopeCommandInput | UpdateTemplateCommandInput;
|
|
62
64
|
/**
|
|
63
65
|
* @public
|
|
64
66
|
*/
|
|
65
|
-
export type ServiceOutputTypes = CreateDeploymentCommandOutput | CreateDeploymentSnapshotCommandOutput | CreatePolicyCommandOutput | CreatePolicySnapshotCommandOutput | CreateRuleCommandOutput | CreateRuleSnapshotCommandOutput | CreateScopeCommandOutput | CreateScopeSnapshotCommandOutput | CreateTemplateCommandOutput | CreateTemplateSnapshotCommandOutput | DeleteAdminAccountCommandOutput | DeleteDeploymentCommandOutput | DeletePolicyCommandOutput | DeleteRuleCommandOutput | DeleteScopeCommandOutput | DeleteTemplateCommandOutput | GenerateRuleConfigurationCommandOutput | GetAdminAccountCommandOutput | GetDeploymentCommandOutput | GetPolicyCommandOutput | GetRuleCommandOutput | GetScopeCommandOutput | GetTemplateCommandOutput | ListAdminAccountsCommandOutput | ListAggregateResourceSynchronizationStatusesCommandOutput | ListDeploymentSnapshotsCommandOutput | ListDeploymentsCommandOutput | ListPoliciesCommandOutput | ListPolicySnapshotsCommandOutput | ListResourceAssociationsCommandOutput | ListResourceSynchronizationStatusesCommandOutput | ListRuleSnapshotsCommandOutput | ListRulesCommandOutput | ListScopeSnapshotsCommandOutput | ListScopesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateSnapshotsCommandOutput | ListTemplatesCommandOutput | PutAdminAccountCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDeploymentCommandOutput | UpdatePolicyCommandOutput | UpdateRuleCommandOutput | UpdateScopeCommandOutput | UpdateTemplateCommandOutput;
|
|
67
|
+
export type ServiceOutputTypes = CreateDeploymentCommandOutput | CreateDeploymentSnapshotCommandOutput | CreatePolicyCommandOutput | CreatePolicySnapshotCommandOutput | CreateRuleCommandOutput | CreateRuleSnapshotCommandOutput | CreateScopeCommandOutput | CreateScopeSnapshotCommandOutput | CreateTemplateCommandOutput | CreateTemplateSnapshotCommandOutput | DeleteAdminAccountCommandOutput | DeleteDeploymentCommandOutput | DeletePolicyCommandOutput | DeleteRuleCommandOutput | DeleteScopeCommandOutput | DeleteTemplateCommandOutput | GenerateRuleConfigurationCommandOutput | GetAdminAccountCommandOutput | GetDeploymentCommandOutput | GetPolicyCommandOutput | GetRuleCommandOutput | GetScopeCommandOutput | GetTemplateCommandOutput | ListAdminAccountsCommandOutput | ListAggregateResourceSynchronizationStatusesCommandOutput | ListDeploymentSnapshotsCommandOutput | ListDeploymentsCommandOutput | ListEntityCoveragesCommandOutput | ListPoliciesCommandOutput | ListPolicySnapshotsCommandOutput | ListProtectedResourceCoveragesCommandOutput | ListResourceAssociationsCommandOutput | ListResourceSynchronizationStatusesCommandOutput | ListRuleSnapshotsCommandOutput | ListRulesCommandOutput | ListScopeSnapshotsCommandOutput | ListScopesCommandOutput | ListTagsForResourceCommandOutput | ListTemplateSnapshotsCommandOutput | ListTemplatesCommandOutput | PutAdminAccountCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDeploymentCommandOutput | UpdatePolicyCommandOutput | UpdateRuleCommandOutput | UpdateScopeCommandOutput | UpdateTemplateCommandOutput;
|
|
66
68
|
/**
|
|
67
69
|
* @public
|
|
68
70
|
*/
|
|
@@ -82,12 +82,12 @@ declare const CreateDeploymentCommand_base: {
|
|
|
82
82
|
* // hasPublishedVersion: true || false,
|
|
83
83
|
* // deploymentCoverage: [ // DeploymentCoverageList
|
|
84
84
|
* // { // DeploymentCoverageEntry
|
|
85
|
-
* // firewallType: "WAF" || "SHIELD_ADVANCED", // required
|
|
85
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL", // required
|
|
86
86
|
* // policyArns: [ // DeploymentPolicyArnList // required
|
|
87
87
|
* // "STRING_VALUE",
|
|
88
88
|
* // ],
|
|
89
89
|
* // inScopeResourceTypes: [ // DeploymentResourceTypeList // required
|
|
90
|
-
* // "AWS::ApiGateway::Stage" || "AWS::CloudFront::Distribution" || "AWS::EC2::EIP" || "AWS::ElasticLoadBalancingV2::LoadBalancer::application" || "AWS::ElasticLoadBalancing::LoadBalancer",
|
|
90
|
+
* // "AWS::ApiGateway::Stage" || "AWS::CloudFront::Distribution" || "AWS::EC2::EIP" || "AWS::ElasticLoadBalancingV2::LoadBalancer::application" || "AWS::ElasticLoadBalancing::LoadBalancer" || "AWS::EC2::VPC" || "AWS::EC2::Subnet",
|
|
91
91
|
* // ],
|
|
92
92
|
* // },
|
|
93
93
|
* // ],
|
|
@@ -91,6 +91,9 @@ declare const CreateDeploymentSnapshotCommand_base: {
|
|
|
91
91
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
92
92
|
* <p>The request would exceed a service quota.</p>
|
|
93
93
|
*
|
|
94
|
+
* @throws {@link TagPolicyViolationException} (client fault)
|
|
95
|
+
* <p>The request violates a tag policy that is in effect for the account or organization.</p>
|
|
96
|
+
*
|
|
94
97
|
* @throws {@link ThrottlingException} (client fault)
|
|
95
98
|
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
96
99
|
*
|
|
@@ -44,7 +44,7 @@ declare const CreatePolicyCommand_base: {
|
|
|
44
44
|
* ruleIdentifier: "STRING_VALUE",
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
|
-
* firewallType: "WAF" || "SHIELD_ADVANCED", // required
|
|
47
|
+
* firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL", // required
|
|
48
48
|
* policyConfiguration: { // PolicyConfiguration
|
|
49
49
|
* remediationEnabled: true || false, // required
|
|
50
50
|
* resourcesCleanUp: true || false, // required
|
|
@@ -52,6 +52,17 @@ declare const CreatePolicyCommand_base: {
|
|
|
52
52
|
* existingCustomerWebACLResolution: "RETROFIT" || "OVERRIDE_ASSOCIATION" || "NO_REMEDIATION", // required
|
|
53
53
|
* conflictResolution: "MERGE_WHERE_APPLICABLE", // required
|
|
54
54
|
* },
|
|
55
|
+
* igwFirewallConfig: { // IgwFirewallConfig
|
|
56
|
+
* defaultSubnetConnectivity: "flexible" || "bidirectional" || "outbound-only",
|
|
57
|
+
* subnetConnectivityOverrides: [ // SubnetConnectivityOverrideList
|
|
58
|
+
* { // SubnetConnectivityOverride
|
|
59
|
+
* connectivityType: "flexible" || "bidirectional" || "outbound-only" || "exclude", // required
|
|
60
|
+
* scopes: [ // SubnetConnectivityScopeArnList // required
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* },
|
|
55
66
|
* },
|
|
56
67
|
* isPublished: true || false,
|
|
57
68
|
* tags: { // TagMap
|
|
@@ -77,7 +88,7 @@ declare const CreatePolicyCommand_base: {
|
|
|
77
88
|
* // updateToken: "STRING_VALUE",
|
|
78
89
|
* // isSnapshot: true || false,
|
|
79
90
|
* // hasPublishedVersion: true || false,
|
|
80
|
-
* // firewallType: "WAF" || "SHIELD_ADVANCED", // required
|
|
91
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL", // required
|
|
81
92
|
* // policyConfiguration: { // PolicyConfiguration
|
|
82
93
|
* // remediationEnabled: true || false, // required
|
|
83
94
|
* // resourcesCleanUp: true || false, // required
|
|
@@ -85,6 +96,17 @@ declare const CreatePolicyCommand_base: {
|
|
|
85
96
|
* // existingCustomerWebACLResolution: "RETROFIT" || "OVERRIDE_ASSOCIATION" || "NO_REMEDIATION", // required
|
|
86
97
|
* // conflictResolution: "MERGE_WHERE_APPLICABLE", // required
|
|
87
98
|
* // },
|
|
99
|
+
* // igwFirewallConfig: { // IgwFirewallConfig
|
|
100
|
+
* // defaultSubnetConnectivity: "flexible" || "bidirectional" || "outbound-only",
|
|
101
|
+
* // subnetConnectivityOverrides: [ // SubnetConnectivityOverrideList
|
|
102
|
+
* // { // SubnetConnectivityOverride
|
|
103
|
+
* // connectivityType: "flexible" || "bidirectional" || "outbound-only" || "exclude", // required
|
|
104
|
+
* // scopes: [ // SubnetConnectivityScopeArnList // required
|
|
105
|
+
* // "STRING_VALUE",
|
|
106
|
+
* // ],
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // },
|
|
88
110
|
* // },
|
|
89
111
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
90
112
|
* // };
|
|
@@ -59,7 +59,7 @@ declare const CreatePolicySnapshotCommand_base: {
|
|
|
59
59
|
* // updateToken: "STRING_VALUE",
|
|
60
60
|
* // isSnapshot: true || false,
|
|
61
61
|
* // hasPublishedVersion: true || false,
|
|
62
|
-
* // firewallType: "WAF" || "SHIELD_ADVANCED", // required
|
|
62
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL", // required
|
|
63
63
|
* // policyConfiguration: { // PolicyConfiguration
|
|
64
64
|
* // remediationEnabled: true || false, // required
|
|
65
65
|
* // resourcesCleanUp: true || false, // required
|
|
@@ -67,6 +67,17 @@ declare const CreatePolicySnapshotCommand_base: {
|
|
|
67
67
|
* // existingCustomerWebACLResolution: "RETROFIT" || "OVERRIDE_ASSOCIATION" || "NO_REMEDIATION", // required
|
|
68
68
|
* // conflictResolution: "MERGE_WHERE_APPLICABLE", // required
|
|
69
69
|
* // },
|
|
70
|
+
* // igwFirewallConfig: { // IgwFirewallConfig
|
|
71
|
+
* // defaultSubnetConnectivity: "flexible" || "bidirectional" || "outbound-only",
|
|
72
|
+
* // subnetConnectivityOverrides: [ // SubnetConnectivityOverrideList
|
|
73
|
+
* // { // SubnetConnectivityOverride
|
|
74
|
+
* // connectivityType: "flexible" || "bidirectional" || "outbound-only" || "exclude", // required
|
|
75
|
+
* // scopes: [ // SubnetConnectivityScopeArnList // required
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
70
81
|
* // },
|
|
71
82
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
72
83
|
* // };
|
|
@@ -94,6 +105,9 @@ declare const CreatePolicySnapshotCommand_base: {
|
|
|
94
105
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
95
106
|
* <p>The request would exceed a service quota.</p>
|
|
96
107
|
*
|
|
108
|
+
* @throws {@link TagPolicyViolationException} (client fault)
|
|
109
|
+
* <p>The request violates a tag policy that is in effect for the account or organization.</p>
|
|
110
|
+
*
|
|
97
111
|
* @throws {@link ThrottlingException} (client fault)
|
|
98
112
|
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
99
113
|
*
|
|
@@ -36,7 +36,7 @@ declare const CreateRuleCommand_base: {
|
|
|
36
36
|
* const input = { // CreateRuleInput
|
|
37
37
|
* clientToken: "STRING_VALUE",
|
|
38
38
|
* ruleName: "STRING_VALUE", // required
|
|
39
|
-
* firewallType: "WAF", // required
|
|
39
|
+
* firewallType: "WAF" || "IGW_FIREWALL", // required
|
|
40
40
|
* ruleType: "CONFIGURATION" || "INSPECTION", // required
|
|
41
41
|
* ruleDescription: "STRING_VALUE",
|
|
42
42
|
* configuration: "DOCUMENT_VALUE", // required
|
|
@@ -51,7 +51,7 @@ declare const CreateRuleCommand_base: {
|
|
|
51
51
|
* // ruleId: "STRING_VALUE", // required
|
|
52
52
|
* // ruleArn: "STRING_VALUE", // required
|
|
53
53
|
* // ruleName: "STRING_VALUE", // required
|
|
54
|
-
* // firewallType: "WAF", // required
|
|
54
|
+
* // firewallType: "WAF" || "IGW_FIREWALL", // required
|
|
55
55
|
* // ruleType: "CONFIGURATION" || "INSPECTION",
|
|
56
56
|
* // ruleDescription: "STRING_VALUE",
|
|
57
57
|
* // configuration: "DOCUMENT_VALUE", // required
|
|
@@ -46,7 +46,7 @@ declare const CreateRuleSnapshotCommand_base: {
|
|
|
46
46
|
* // ruleId: "STRING_VALUE", // required
|
|
47
47
|
* // ruleArn: "STRING_VALUE", // required
|
|
48
48
|
* // ruleName: "STRING_VALUE", // required
|
|
49
|
-
* // firewallType: "WAF", // required
|
|
49
|
+
* // firewallType: "WAF" || "IGW_FIREWALL", // required
|
|
50
50
|
* // ruleType: "CONFIGURATION" || "INSPECTION",
|
|
51
51
|
* // ruleDescription: "STRING_VALUE",
|
|
52
52
|
* // configuration: "DOCUMENT_VALUE", // required
|
|
@@ -81,6 +81,9 @@ declare const CreateRuleSnapshotCommand_base: {
|
|
|
81
81
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
82
|
* <p>The request would exceed a service quota.</p>
|
|
83
83
|
*
|
|
84
|
+
* @throws {@link TagPolicyViolationException} (client fault)
|
|
85
|
+
* <p>The request violates a tag policy that is in effect for the account or organization.</p>
|
|
86
|
+
*
|
|
84
87
|
* @throws {@link ThrottlingException} (client fault)
|
|
85
88
|
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
86
89
|
*
|
|
@@ -109,6 +109,7 @@ declare const CreateScopeCommand_base: {
|
|
|
109
109
|
* },
|
|
110
110
|
* },
|
|
111
111
|
* },
|
|
112
|
+
* specializedScopeType: "IGW_FIREWALL_SUBNET_CONNECTIVITY_OVERRIDE",
|
|
112
113
|
* isPublished: true || false,
|
|
113
114
|
* tags: { // TagMap
|
|
114
115
|
* "<keys>": "STRING_VALUE",
|
|
@@ -193,6 +194,7 @@ declare const CreateScopeCommand_base: {
|
|
|
193
194
|
* // },
|
|
194
195
|
* // },
|
|
195
196
|
* // },
|
|
197
|
+
* // specializedScopeType: "IGW_FIREWALL_SUBNET_CONNECTIVITY_OVERRIDE",
|
|
196
198
|
* // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
|
|
197
199
|
* // version: "STRING_VALUE", // required
|
|
198
200
|
* // updateToken: "STRING_VALUE",
|
|
@@ -119,6 +119,7 @@ declare const CreateScopeSnapshotCommand_base: {
|
|
|
119
119
|
* // },
|
|
120
120
|
* // },
|
|
121
121
|
* // },
|
|
122
|
+
* // specializedScopeType: "IGW_FIREWALL_SUBNET_CONNECTIVITY_OVERRIDE",
|
|
122
123
|
* // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
|
|
123
124
|
* // version: "STRING_VALUE", // required
|
|
124
125
|
* // updateToken: "STRING_VALUE",
|
|
@@ -150,6 +151,9 @@ declare const CreateScopeSnapshotCommand_base: {
|
|
|
150
151
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
151
152
|
* <p>The request would exceed a service quota.</p>
|
|
152
153
|
*
|
|
154
|
+
* @throws {@link TagPolicyViolationException} (client fault)
|
|
155
|
+
* <p>The request violates a tag policy that is in effect for the account or organization.</p>
|
|
156
|
+
*
|
|
153
157
|
* @throws {@link ThrottlingException} (client fault)
|
|
154
158
|
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
155
159
|
*
|
|
@@ -42,7 +42,7 @@ declare const CreateTemplateCommand_base: {
|
|
|
42
42
|
* ruleIdentifier: "STRING_VALUE", // required
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
|
-
* firewallType: "WAF", // required
|
|
45
|
+
* firewallType: "WAF" || "IGW_FIREWALL", // required
|
|
46
46
|
* isPublished: true || false,
|
|
47
47
|
* tags: { // TagMap
|
|
48
48
|
* "<keys>": "STRING_VALUE",
|
|
@@ -65,7 +65,7 @@ declare const CreateTemplateCommand_base: {
|
|
|
65
65
|
* // updateToken: "STRING_VALUE",
|
|
66
66
|
* // isSnapshot: true || false,
|
|
67
67
|
* // hasPublishedVersion: true || false,
|
|
68
|
-
* // firewallType: "WAF", // required
|
|
68
|
+
* // firewallType: "WAF" || "IGW_FIREWALL", // required
|
|
69
69
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
70
70
|
* // };
|
|
71
71
|
*
|
|
@@ -57,7 +57,7 @@ declare const CreateTemplateSnapshotCommand_base: {
|
|
|
57
57
|
* // updateToken: "STRING_VALUE",
|
|
58
58
|
* // isSnapshot: true || false,
|
|
59
59
|
* // hasPublishedVersion: true || false,
|
|
60
|
-
* // firewallType: "WAF", // required
|
|
60
|
+
* // firewallType: "WAF" || "IGW_FIREWALL", // required
|
|
61
61
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
62
62
|
* // };
|
|
63
63
|
*
|
|
@@ -84,6 +84,9 @@ declare const CreateTemplateSnapshotCommand_base: {
|
|
|
84
84
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
85
85
|
* <p>The request would exceed a service quota.</p>
|
|
86
86
|
*
|
|
87
|
+
* @throws {@link TagPolicyViolationException} (client fault)
|
|
88
|
+
* <p>The request violates a tag policy that is in effect for the account or organization.</p>
|
|
89
|
+
*
|
|
87
90
|
* @throws {@link ThrottlingException} (client fault)
|
|
88
91
|
* <p>The request was denied because of request throttling. Reduce your request rate and try again.</p>
|
|
89
92
|
*
|
|
@@ -35,7 +35,7 @@ declare const GenerateRuleConfigurationCommand_base: {
|
|
|
35
35
|
* const client = new NetworkSecurityManagerClient(config);
|
|
36
36
|
* const input = { // GenerateRuleConfigurationRequest
|
|
37
37
|
* prompt: "STRING_VALUE", // required
|
|
38
|
-
* ruleFirewallType: "WAF", // required
|
|
38
|
+
* ruleFirewallType: "WAF" || "IGW_FIREWALL", // required
|
|
39
39
|
* ruleType: "CONFIGURATION" || "INSPECTION", // required
|
|
40
40
|
* wafConfigDataType: "DefaultAction" || "VisibilityConfig" || "CaptchaConfig" || "ChallengeConfig" || "CustomResponseBodies" || "LoggingConfiguration" || "DataProtectionConfig" || "AssociationConfig" || "OnSourceDDoSProtectionConfig" || "TokenDomains",
|
|
41
41
|
* currentConfiguration: "STRING_VALUE",
|
|
@@ -79,7 +79,7 @@ declare const GetAdminAccountCommand_base: {
|
|
|
79
79
|
* // firewallTypeScope: { // AdminFirewallTypeScope
|
|
80
80
|
* // allFirewallTypesEnabled: true || false,
|
|
81
81
|
* // firewallTypes: [ // FirewallTypeList
|
|
82
|
-
* // "WAF" || "SHIELD_ADVANCED",
|
|
82
|
+
* // "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL",
|
|
83
83
|
* // ],
|
|
84
84
|
* // },
|
|
85
85
|
* // },
|
|
@@ -64,12 +64,12 @@ declare const GetDeploymentCommand_base: {
|
|
|
64
64
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
65
65
|
* // deploymentCoverage: [ // DeploymentCoverageList
|
|
66
66
|
* // { // DeploymentCoverageEntry
|
|
67
|
-
* // firewallType: "WAF" || "SHIELD_ADVANCED", // required
|
|
67
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL", // required
|
|
68
68
|
* // policyArns: [ // DeploymentPolicyArnList // required
|
|
69
69
|
* // "STRING_VALUE",
|
|
70
70
|
* // ],
|
|
71
71
|
* // inScopeResourceTypes: [ // DeploymentResourceTypeList // required
|
|
72
|
-
* // "AWS::ApiGateway::Stage" || "AWS::CloudFront::Distribution" || "AWS::EC2::EIP" || "AWS::ElasticLoadBalancingV2::LoadBalancer::application" || "AWS::ElasticLoadBalancing::LoadBalancer",
|
|
72
|
+
* // "AWS::ApiGateway::Stage" || "AWS::CloudFront::Distribution" || "AWS::EC2::EIP" || "AWS::ElasticLoadBalancingV2::LoadBalancer::application" || "AWS::ElasticLoadBalancing::LoadBalancer" || "AWS::EC2::VPC" || "AWS::EC2::Subnet",
|
|
73
73
|
* // ],
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|
|
@@ -55,7 +55,7 @@ declare const GetPolicyCommand_base: {
|
|
|
55
55
|
* // updateToken: "STRING_VALUE",
|
|
56
56
|
* // isSnapshot: true || false,
|
|
57
57
|
* // hasPublishedVersion: true || false,
|
|
58
|
-
* // firewallType: "WAF" || "SHIELD_ADVANCED", // required
|
|
58
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL", // required
|
|
59
59
|
* // policyConfiguration: { // PolicyConfiguration
|
|
60
60
|
* // remediationEnabled: true || false, // required
|
|
61
61
|
* // resourcesCleanUp: true || false, // required
|
|
@@ -63,6 +63,17 @@ declare const GetPolicyCommand_base: {
|
|
|
63
63
|
* // existingCustomerWebACLResolution: "RETROFIT" || "OVERRIDE_ASSOCIATION" || "NO_REMEDIATION", // required
|
|
64
64
|
* // conflictResolution: "MERGE_WHERE_APPLICABLE", // required
|
|
65
65
|
* // },
|
|
66
|
+
* // igwFirewallConfig: { // IgwFirewallConfig
|
|
67
|
+
* // defaultSubnetConnectivity: "flexible" || "bidirectional" || "outbound-only",
|
|
68
|
+
* // subnetConnectivityOverrides: [ // SubnetConnectivityOverrideList
|
|
69
|
+
* // { // SubnetConnectivityOverride
|
|
70
|
+
* // connectivityType: "flexible" || "bidirectional" || "outbound-only" || "exclude", // required
|
|
71
|
+
* // scopes: [ // SubnetConnectivityScopeArnList // required
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
66
77
|
* // },
|
|
67
78
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
68
79
|
* // };
|
|
@@ -42,7 +42,7 @@ declare const GetRuleCommand_base: {
|
|
|
42
42
|
* // ruleId: "STRING_VALUE", // required
|
|
43
43
|
* // ruleArn: "STRING_VALUE", // required
|
|
44
44
|
* // ruleName: "STRING_VALUE", // required
|
|
45
|
-
* // firewallType: "WAF", // required
|
|
45
|
+
* // firewallType: "WAF" || "IGW_FIREWALL", // required
|
|
46
46
|
* // ruleType: "CONFIGURATION" || "INSPECTION",
|
|
47
47
|
* // ruleDescription: "STRING_VALUE",
|
|
48
48
|
* // configuration: "DOCUMENT_VALUE", // required
|
|
@@ -115,6 +115,7 @@ declare const GetScopeCommand_base: {
|
|
|
115
115
|
* // },
|
|
116
116
|
* // },
|
|
117
117
|
* // },
|
|
118
|
+
* // specializedScopeType: "IGW_FIREWALL_SUBNET_CONNECTIVITY_OVERRIDE",
|
|
118
119
|
* // status: "DRAFT" || "ACTIVE" || "DISABLED", // required
|
|
119
120
|
* // version: "STRING_VALUE", // required
|
|
120
121
|
* // updateToken: "STRING_VALUE",
|
|
@@ -53,7 +53,7 @@ declare const GetTemplateCommand_base: {
|
|
|
53
53
|
* // updateToken: "STRING_VALUE",
|
|
54
54
|
* // isSnapshot: true || false,
|
|
55
55
|
* // hasPublishedVersion: true || false,
|
|
56
|
-
* // firewallType: "WAF", // required
|
|
56
|
+
* // firewallType: "WAF" || "IGW_FIREWALL", // required
|
|
57
57
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
58
58
|
* // };
|
|
59
59
|
*
|
|
@@ -48,7 +48,7 @@ declare const ListAggregateResourceSynchronizationStatusesCommand_base: {
|
|
|
48
48
|
* // accountId: "STRING_VALUE", // required
|
|
49
49
|
* // resourceArn: "STRING_VALUE", // required
|
|
50
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",
|
|
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" || "AWS::EC2::VPC",
|
|
52
52
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
53
53
|
* // outOfSyncReasons: { // OutOfSyncReasonsView Union: only one key present
|
|
54
54
|
* // reasons: { // OutOfSyncReasons
|
|
@@ -92,6 +92,15 @@ declare const ListAggregateResourceSynchronizationStatusesCommand_base: {
|
|
|
92
92
|
* // ],
|
|
93
93
|
* // unexpectedMergeableConfigurationValues: "<ConfigurationIssueList>",
|
|
94
94
|
* // },
|
|
95
|
+
* // invalidResource: { // InvalidResourcesByType
|
|
96
|
+
* // "<keys>": [ // InvalidResourceIssueList
|
|
97
|
+
* // { // InvalidResourceIssue
|
|
98
|
+
* // resourceId: "STRING_VALUE",
|
|
99
|
+
* // expectedValue: "STRING_VALUE",
|
|
100
|
+
* // actualValue: "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // },
|
|
95
104
|
* // },
|
|
96
105
|
* // },
|
|
97
106
|
* // notVisible: { // NotVisibleMarker
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListEntityCoveragesInput, ListEntityCoveragesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListEntityCoveragesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListEntityCoveragesCommandInput extends ListEntityCoveragesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListEntityCoveragesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListEntityCoveragesCommandOutput extends ListEntityCoveragesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListEntityCoveragesCommand_base: {
|
|
22
|
+
new (input: ListEntityCoveragesCommandInput): import("@smithy/core/client").CommandImpl<ListEntityCoveragesCommandInput, ListEntityCoveragesCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListEntityCoveragesCommandInput): import("@smithy/core/client").CommandImpl<ListEntityCoveragesCommandInput, ListEntityCoveragesCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the protected resources that the specified Network Security Manager entity covers. You can filter the results to the resources owned by a single account and page through them. You must call this operation from the administrator account that owns the Network Security Manager entity.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, ListEntityCoveragesCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, ListEntityCoveragesCommand } = 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 = { // ListEntityCoveragesInput
|
|
37
|
+
* entityArn: "STRING_VALUE", // required
|
|
38
|
+
* resourceOwnerAccountId: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListEntityCoveragesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListEntityCoveragesOutput
|
|
45
|
+
* // nextToken: "STRING_VALUE",
|
|
46
|
+
* // resourceCoverages: [ // ResourceCoverageSummaryList // required
|
|
47
|
+
* // { // ResourceCoverageSummary
|
|
48
|
+
* // resourceArn: "STRING_VALUE",
|
|
49
|
+
* // entityType: "Rule" || "Template" || "Policy" || "Deployment" || "Scope",
|
|
50
|
+
* // entityArn: "STRING_VALUE",
|
|
51
|
+
* // resourceOwnerAccountId: "STRING_VALUE",
|
|
52
|
+
* // resourceType: "AWS::ApiGateway::Stage" || "AWS::CloudFront::Distribution" || "AWS::EC2::EIP" || "AWS::ElasticLoadBalancingV2::LoadBalancer::application" || "AWS::ElasticLoadBalancing::LoadBalancer" || "AWS::EC2::VPC" || "AWS::EC2::Subnet",
|
|
53
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL",
|
|
54
|
+
* // coverageStatus: "IN_EFFECT" || "SUPERSEDED",
|
|
55
|
+
* // deploymentArns: [ // DeploymentArnSet
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListEntityCoveragesCommandInput - {@link ListEntityCoveragesCommandInput}
|
|
66
|
+
* @returns {@link ListEntityCoveragesCommandOutput}
|
|
67
|
+
* @see {@link ListEntityCoveragesCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListEntityCoveragesCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</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
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListEntityCoveragesCommand extends ListEntityCoveragesCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListEntityCoveragesInput;
|
|
94
|
+
output: ListEntityCoveragesOutput;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListEntityCoveragesCommandInput;
|
|
98
|
+
output: ListEntityCoveragesCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -50,7 +50,7 @@ declare const ListPoliciesCommand_base: {
|
|
|
50
50
|
* // status: "DRAFT" || "ACTIVE" || "DISABLED",
|
|
51
51
|
* // version: "STRING_VALUE",
|
|
52
52
|
* // hasPublishedVersion: true || false,
|
|
53
|
-
* // firewallType: "WAF" || "SHIELD_ADVANCED",
|
|
53
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL",
|
|
54
54
|
* // priority: Number("int"),
|
|
55
55
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
56
56
|
* // },
|
|
@@ -50,7 +50,7 @@ declare const ListPolicySnapshotsCommand_base: {
|
|
|
50
50
|
* // status: "DRAFT" || "ACTIVE" || "DISABLED",
|
|
51
51
|
* // version: "STRING_VALUE",
|
|
52
52
|
* // hasPublishedVersion: true || false,
|
|
53
|
-
* // firewallType: "WAF" || "SHIELD_ADVANCED",
|
|
53
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL",
|
|
54
54
|
* // priority: Number("int"),
|
|
55
55
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
56
56
|
* // },
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListProtectedResourceCoveragesInput, ListProtectedResourceCoveragesOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListProtectedResourceCoveragesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListProtectedResourceCoveragesCommandInput extends ListProtectedResourceCoveragesInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListProtectedResourceCoveragesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListProtectedResourceCoveragesCommandOutput extends ListProtectedResourceCoveragesOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListProtectedResourceCoveragesCommand_base: {
|
|
22
|
+
new (input: ListProtectedResourceCoveragesCommandInput): import("@smithy/core/client").CommandImpl<ListProtectedResourceCoveragesCommandInput, ListProtectedResourceCoveragesCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListProtectedResourceCoveragesCommandInput): import("@smithy/core/client").CommandImpl<ListProtectedResourceCoveragesCommandInput, ListProtectedResourceCoveragesCommandOutput, import("..").NetworkSecurityManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the AWS Network Security Manager entities that cover the specified protected resource. You can filter the results by entity type and page through them. You must own the resource.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkSecurityManagerClient, ListProtectedResourceCoveragesCommand } from "@aws-sdk/client-network-security-manager"; // ES Modules import
|
|
32
|
+
* // const { NetworkSecurityManagerClient, ListProtectedResourceCoveragesCommand } = 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 = { // ListProtectedResourceCoveragesInput
|
|
37
|
+
* resourceArn: "STRING_VALUE", // required
|
|
38
|
+
* entityType: "Rule" || "Template" || "Policy" || "Deployment" || "Scope",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListProtectedResourceCoveragesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListProtectedResourceCoveragesOutput
|
|
45
|
+
* // nextToken: "STRING_VALUE",
|
|
46
|
+
* // resourceCoverages: [ // ResourceCoverageSummaryList // required
|
|
47
|
+
* // { // ResourceCoverageSummary
|
|
48
|
+
* // resourceArn: "STRING_VALUE",
|
|
49
|
+
* // entityType: "Rule" || "Template" || "Policy" || "Deployment" || "Scope",
|
|
50
|
+
* // entityArn: "STRING_VALUE",
|
|
51
|
+
* // resourceOwnerAccountId: "STRING_VALUE",
|
|
52
|
+
* // resourceType: "AWS::ApiGateway::Stage" || "AWS::CloudFront::Distribution" || "AWS::EC2::EIP" || "AWS::ElasticLoadBalancingV2::LoadBalancer::application" || "AWS::ElasticLoadBalancing::LoadBalancer" || "AWS::EC2::VPC" || "AWS::EC2::Subnet",
|
|
53
|
+
* // firewallType: "WAF" || "SHIELD_ADVANCED" || "IGW_FIREWALL",
|
|
54
|
+
* // coverageStatus: "IN_EFFECT" || "SUPERSEDED",
|
|
55
|
+
* // deploymentArns: [ // DeploymentArnSet
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListProtectedResourceCoveragesCommandInput - {@link ListProtectedResourceCoveragesCommandInput}
|
|
66
|
+
* @returns {@link ListProtectedResourceCoveragesCommandOutput}
|
|
67
|
+
* @see {@link ListProtectedResourceCoveragesCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListProtectedResourceCoveragesCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link NetworkSecurityManagerClientResolvedConfig | config} for NetworkSecurityManagerClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient permissions to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>The request processing failed because of an internal error in the service. This is a retryable error.</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
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListProtectedResourceCoveragesCommand extends ListProtectedResourceCoveragesCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListProtectedResourceCoveragesInput;
|
|
94
|
+
output: ListProtectedResourceCoveragesOutput;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListProtectedResourceCoveragesCommandInput;
|
|
98
|
+
output: ListProtectedResourceCoveragesCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|