@aws-sdk/client-network-firewall 3.1076.0 → 3.1077.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 +35 -0
- package/dist-cjs/index.js +268 -48
- package/dist-es/NetworkFirewall.js +12 -0
- package/dist-es/commands/CreateContainerAssociationCommand.js +16 -0
- package/dist-es/commands/DeleteContainerAssociationCommand.js +16 -0
- package/dist-es/commands/DescribeContainerAssociationCommand.js +16 -0
- package/dist-es/commands/ListContainerAssociationsCommand.js +16 -0
- package/dist-es/commands/UpdateContainerAssociationCommand.js +16 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +9 -0
- package/dist-es/pagination/ListContainerAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +161 -45
- package/dist-types/NetworkFirewall.d.ts +45 -0
- package/dist-types/NetworkFirewallClient.d.ts +7 -2
- package/dist-types/commands/CreateContainerAssociationCommand.d.ts +149 -0
- package/dist-types/commands/DeleteContainerAssociationCommand.d.ts +109 -0
- package/dist-types/commands/DescribeContainerAssociationCommand.d.ts +127 -0
- package/dist-types/commands/ListContainerAssociationsCommand.d.ts +106 -0
- package/dist-types/commands/UpdateContainerAssociationCommand.d.ts +148 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +25 -0
- package/dist-types/models/models_0.d.ts +345 -2
- package/dist-types/pagination/ListContainerAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +18 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +95 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateContainerAssociationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteContainerAssociationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DescribeContainerAssociationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListContainerAssociationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateContainerAssociationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -0
- package/dist-types/ts3.4/pagination/ListContainerAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
- package/package.json +6 -8
|
@@ -4,6 +4,7 @@ import { type AssociateAvailabilityZonesCommandInput, type AssociateAvailability
|
|
|
4
4
|
import { type AssociateFirewallPolicyCommandInput, type AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
|
|
5
5
|
import { type AssociateSubnetsCommandInput, type AssociateSubnetsCommandOutput } from "./commands/AssociateSubnetsCommand";
|
|
6
6
|
import { type AttachRuleGroupsToProxyConfigurationCommandInput, type AttachRuleGroupsToProxyConfigurationCommandOutput } from "./commands/AttachRuleGroupsToProxyConfigurationCommand";
|
|
7
|
+
import { type CreateContainerAssociationCommandInput, type CreateContainerAssociationCommandOutput } from "./commands/CreateContainerAssociationCommand";
|
|
7
8
|
import { type CreateFirewallCommandInput, type CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
|
|
8
9
|
import { type CreateFirewallPolicyCommandInput, type CreateFirewallPolicyCommandOutput } from "./commands/CreateFirewallPolicyCommand";
|
|
9
10
|
import { type CreateProxyCommandInput, type CreateProxyCommandOutput } from "./commands/CreateProxyCommand";
|
|
@@ -13,6 +14,7 @@ import { type CreateProxyRulesCommandInput, type CreateProxyRulesCommandOutput }
|
|
|
13
14
|
import { type CreateRuleGroupCommandInput, type CreateRuleGroupCommandOutput } from "./commands/CreateRuleGroupCommand";
|
|
14
15
|
import { type CreateTLSInspectionConfigurationCommandInput, type CreateTLSInspectionConfigurationCommandOutput } from "./commands/CreateTLSInspectionConfigurationCommand";
|
|
15
16
|
import { type CreateVpcEndpointAssociationCommandInput, type CreateVpcEndpointAssociationCommandOutput } from "./commands/CreateVpcEndpointAssociationCommand";
|
|
17
|
+
import { type DeleteContainerAssociationCommandInput, type DeleteContainerAssociationCommandOutput } from "./commands/DeleteContainerAssociationCommand";
|
|
16
18
|
import { type DeleteFirewallCommandInput, type DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
|
|
17
19
|
import { type DeleteFirewallPolicyCommandInput, type DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
|
|
18
20
|
import { type DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, type DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand";
|
|
@@ -24,6 +26,7 @@ import { type DeleteResourcePolicyCommandInput, type DeleteResourcePolicyCommand
|
|
|
24
26
|
import { type DeleteRuleGroupCommandInput, type DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
|
|
25
27
|
import { type DeleteTLSInspectionConfigurationCommandInput, type DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
|
|
26
28
|
import { type DeleteVpcEndpointAssociationCommandInput, type DeleteVpcEndpointAssociationCommandOutput } from "./commands/DeleteVpcEndpointAssociationCommand";
|
|
29
|
+
import { type DescribeContainerAssociationCommandInput, type DescribeContainerAssociationCommandOutput } from "./commands/DescribeContainerAssociationCommand";
|
|
27
30
|
import { type DescribeFirewallCommandInput, type DescribeFirewallCommandOutput } from "./commands/DescribeFirewallCommand";
|
|
28
31
|
import { type DescribeFirewallMetadataCommandInput, type DescribeFirewallMetadataCommandOutput } from "./commands/DescribeFirewallMetadataCommand";
|
|
29
32
|
import { type DescribeFirewallPolicyCommandInput, type DescribeFirewallPolicyCommandOutput } from "./commands/DescribeFirewallPolicyCommand";
|
|
@@ -44,6 +47,7 @@ import { type DisassociateAvailabilityZonesCommandInput, type DisassociateAvaila
|
|
|
44
47
|
import { type DisassociateSubnetsCommandInput, type DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
|
|
45
48
|
import { type GetAnalysisReportResultsCommandInput, type GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
|
|
46
49
|
import { type ListAnalysisReportsCommandInput, type ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
50
|
+
import { type ListContainerAssociationsCommandInput, type ListContainerAssociationsCommandOutput } from "./commands/ListContainerAssociationsCommand";
|
|
47
51
|
import { type ListFirewallPoliciesCommandInput, type ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
|
|
48
52
|
import { type ListFirewallsCommandInput, type ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
|
|
49
53
|
import { type ListFlowOperationResultsCommandInput, type ListFlowOperationResultsCommandOutput } from "./commands/ListFlowOperationResultsCommand";
|
|
@@ -63,6 +67,7 @@ import { type StartFlowFlushCommandInput, type StartFlowFlushCommandOutput } fro
|
|
|
63
67
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
64
68
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
65
69
|
import { type UpdateAvailabilityZoneChangeProtectionCommandInput, type UpdateAvailabilityZoneChangeProtectionCommandOutput } from "./commands/UpdateAvailabilityZoneChangeProtectionCommand";
|
|
70
|
+
import { type UpdateContainerAssociationCommandInput, type UpdateContainerAssociationCommandOutput } from "./commands/UpdateContainerAssociationCommand";
|
|
66
71
|
import { type UpdateFirewallAnalysisSettingsCommandInput, type UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
67
72
|
import { type UpdateFirewallDeleteProtectionCommandInput, type UpdateFirewallDeleteProtectionCommandOutput } from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
68
73
|
import { type UpdateFirewallDescriptionCommandInput, type UpdateFirewallDescriptionCommandOutput } from "./commands/UpdateFirewallDescriptionCommand";
|
|
@@ -110,6 +115,12 @@ export interface NetworkFirewall {
|
|
|
110
115
|
attachRuleGroupsToProxyConfiguration(args: AttachRuleGroupsToProxyConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<AttachRuleGroupsToProxyConfigurationCommandOutput>;
|
|
111
116
|
attachRuleGroupsToProxyConfiguration(args: AttachRuleGroupsToProxyConfigurationCommandInput, cb: (err: any, data?: AttachRuleGroupsToProxyConfigurationCommandOutput) => void): void;
|
|
112
117
|
attachRuleGroupsToProxyConfiguration(args: AttachRuleGroupsToProxyConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachRuleGroupsToProxyConfigurationCommandOutput) => void): void;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link CreateContainerAssociationCommand}
|
|
120
|
+
*/
|
|
121
|
+
createContainerAssociation(args: CreateContainerAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateContainerAssociationCommandOutput>;
|
|
122
|
+
createContainerAssociation(args: CreateContainerAssociationCommandInput, cb: (err: any, data?: CreateContainerAssociationCommandOutput) => void): void;
|
|
123
|
+
createContainerAssociation(args: CreateContainerAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateContainerAssociationCommandOutput) => void): void;
|
|
113
124
|
/**
|
|
114
125
|
* @see {@link CreateFirewallCommand}
|
|
115
126
|
*/
|
|
@@ -164,6 +175,13 @@ export interface NetworkFirewall {
|
|
|
164
175
|
createVpcEndpointAssociation(args: CreateVpcEndpointAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateVpcEndpointAssociationCommandOutput>;
|
|
165
176
|
createVpcEndpointAssociation(args: CreateVpcEndpointAssociationCommandInput, cb: (err: any, data?: CreateVpcEndpointAssociationCommandOutput) => void): void;
|
|
166
177
|
createVpcEndpointAssociation(args: CreateVpcEndpointAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVpcEndpointAssociationCommandOutput) => void): void;
|
|
178
|
+
/**
|
|
179
|
+
* @see {@link DeleteContainerAssociationCommand}
|
|
180
|
+
*/
|
|
181
|
+
deleteContainerAssociation(): Promise<DeleteContainerAssociationCommandOutput>;
|
|
182
|
+
deleteContainerAssociation(args: DeleteContainerAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteContainerAssociationCommandOutput>;
|
|
183
|
+
deleteContainerAssociation(args: DeleteContainerAssociationCommandInput, cb: (err: any, data?: DeleteContainerAssociationCommandOutput) => void): void;
|
|
184
|
+
deleteContainerAssociation(args: DeleteContainerAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteContainerAssociationCommandOutput) => void): void;
|
|
167
185
|
/**
|
|
168
186
|
* @see {@link DeleteFirewallCommand}
|
|
169
187
|
*/
|
|
@@ -236,6 +254,13 @@ export interface NetworkFirewall {
|
|
|
236
254
|
deleteVpcEndpointAssociation(args: DeleteVpcEndpointAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcEndpointAssociationCommandOutput>;
|
|
237
255
|
deleteVpcEndpointAssociation(args: DeleteVpcEndpointAssociationCommandInput, cb: (err: any, data?: DeleteVpcEndpointAssociationCommandOutput) => void): void;
|
|
238
256
|
deleteVpcEndpointAssociation(args: DeleteVpcEndpointAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcEndpointAssociationCommandOutput) => void): void;
|
|
257
|
+
/**
|
|
258
|
+
* @see {@link DescribeContainerAssociationCommand}
|
|
259
|
+
*/
|
|
260
|
+
describeContainerAssociation(): Promise<DescribeContainerAssociationCommandOutput>;
|
|
261
|
+
describeContainerAssociation(args: DescribeContainerAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeContainerAssociationCommandOutput>;
|
|
262
|
+
describeContainerAssociation(args: DescribeContainerAssociationCommandInput, cb: (err: any, data?: DescribeContainerAssociationCommandOutput) => void): void;
|
|
263
|
+
describeContainerAssociation(args: DescribeContainerAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeContainerAssociationCommandOutput) => void): void;
|
|
239
264
|
/**
|
|
240
265
|
* @see {@link DescribeFirewallCommand}
|
|
241
266
|
*/
|
|
@@ -368,6 +393,13 @@ export interface NetworkFirewall {
|
|
|
368
393
|
listAnalysisReports(args: ListAnalysisReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListAnalysisReportsCommandOutput>;
|
|
369
394
|
listAnalysisReports(args: ListAnalysisReportsCommandInput, cb: (err: any, data?: ListAnalysisReportsCommandOutput) => void): void;
|
|
370
395
|
listAnalysisReports(args: ListAnalysisReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAnalysisReportsCommandOutput) => void): void;
|
|
396
|
+
/**
|
|
397
|
+
* @see {@link ListContainerAssociationsCommand}
|
|
398
|
+
*/
|
|
399
|
+
listContainerAssociations(): Promise<ListContainerAssociationsCommandOutput>;
|
|
400
|
+
listContainerAssociations(args: ListContainerAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListContainerAssociationsCommandOutput>;
|
|
401
|
+
listContainerAssociations(args: ListContainerAssociationsCommandInput, cb: (err: any, data?: ListContainerAssociationsCommandOutput) => void): void;
|
|
402
|
+
listContainerAssociations(args: ListContainerAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContainerAssociationsCommandOutput) => void): void;
|
|
371
403
|
/**
|
|
372
404
|
* @see {@link ListFirewallPoliciesCommand}
|
|
373
405
|
*/
|
|
@@ -490,6 +522,12 @@ export interface NetworkFirewall {
|
|
|
490
522
|
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAvailabilityZoneChangeProtectionCommandOutput>;
|
|
491
523
|
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, cb: (err: any, data?: UpdateAvailabilityZoneChangeProtectionCommandOutput) => void): void;
|
|
492
524
|
updateAvailabilityZoneChangeProtection(args: UpdateAvailabilityZoneChangeProtectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAvailabilityZoneChangeProtectionCommandOutput) => void): void;
|
|
525
|
+
/**
|
|
526
|
+
* @see {@link UpdateContainerAssociationCommand}
|
|
527
|
+
*/
|
|
528
|
+
updateContainerAssociation(args: UpdateContainerAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContainerAssociationCommandOutput>;
|
|
529
|
+
updateContainerAssociation(args: UpdateContainerAssociationCommandInput, cb: (err: any, data?: UpdateContainerAssociationCommandOutput) => void): void;
|
|
530
|
+
updateContainerAssociation(args: UpdateContainerAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContainerAssociationCommandOutput) => void): void;
|
|
493
531
|
/**
|
|
494
532
|
* @see {@link UpdateFirewallAnalysisSettingsCommand}
|
|
495
533
|
*/
|
|
@@ -598,6 +636,13 @@ export interface NetworkFirewall {
|
|
|
598
636
|
* @returns AsyncIterable of {@link ListAnalysisReportsCommandOutput}.
|
|
599
637
|
*/
|
|
600
638
|
paginateListAnalysisReports(args?: ListAnalysisReportsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAnalysisReportsCommandOutput>;
|
|
639
|
+
/**
|
|
640
|
+
* @see {@link ListContainerAssociationsCommand}
|
|
641
|
+
* @param args - command input.
|
|
642
|
+
* @param paginationConfig - optional pagination config.
|
|
643
|
+
* @returns AsyncIterable of {@link ListContainerAssociationsCommandOutput}.
|
|
644
|
+
*/
|
|
645
|
+
paginateListContainerAssociations(args?: ListContainerAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListContainerAssociationsCommandOutput>;
|
|
601
646
|
/**
|
|
602
647
|
* @see {@link ListFirewallPoliciesCommand}
|
|
603
648
|
* @param args - command input.
|
|
@@ -11,6 +11,7 @@ import type { AssociateAvailabilityZonesCommandInput, AssociateAvailabilityZones
|
|
|
11
11
|
import type { AssociateFirewallPolicyCommandInput, AssociateFirewallPolicyCommandOutput } from "./commands/AssociateFirewallPolicyCommand";
|
|
12
12
|
import type { AssociateSubnetsCommandInput, AssociateSubnetsCommandOutput } from "./commands/AssociateSubnetsCommand";
|
|
13
13
|
import type { AttachRuleGroupsToProxyConfigurationCommandInput, AttachRuleGroupsToProxyConfigurationCommandOutput } from "./commands/AttachRuleGroupsToProxyConfigurationCommand";
|
|
14
|
+
import type { CreateContainerAssociationCommandInput, CreateContainerAssociationCommandOutput } from "./commands/CreateContainerAssociationCommand";
|
|
14
15
|
import type { CreateFirewallCommandInput, CreateFirewallCommandOutput } from "./commands/CreateFirewallCommand";
|
|
15
16
|
import type { CreateFirewallPolicyCommandInput, CreateFirewallPolicyCommandOutput } from "./commands/CreateFirewallPolicyCommand";
|
|
16
17
|
import type { CreateProxyCommandInput, CreateProxyCommandOutput } from "./commands/CreateProxyCommand";
|
|
@@ -20,6 +21,7 @@ import type { CreateProxyRulesCommandInput, CreateProxyRulesCommandOutput } from
|
|
|
20
21
|
import type { CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput } from "./commands/CreateRuleGroupCommand";
|
|
21
22
|
import type { CreateTLSInspectionConfigurationCommandInput, CreateTLSInspectionConfigurationCommandOutput } from "./commands/CreateTLSInspectionConfigurationCommand";
|
|
22
23
|
import type { CreateVpcEndpointAssociationCommandInput, CreateVpcEndpointAssociationCommandOutput } from "./commands/CreateVpcEndpointAssociationCommand";
|
|
24
|
+
import type { DeleteContainerAssociationCommandInput, DeleteContainerAssociationCommandOutput } from "./commands/DeleteContainerAssociationCommand";
|
|
23
25
|
import type { DeleteFirewallCommandInput, DeleteFirewallCommandOutput } from "./commands/DeleteFirewallCommand";
|
|
24
26
|
import type { DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput } from "./commands/DeleteFirewallPolicyCommand";
|
|
25
27
|
import type { DeleteNetworkFirewallTransitGatewayAttachmentCommandInput, DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput } from "./commands/DeleteNetworkFirewallTransitGatewayAttachmentCommand";
|
|
@@ -31,6 +33,7 @@ import type { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutpu
|
|
|
31
33
|
import type { DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput } from "./commands/DeleteRuleGroupCommand";
|
|
32
34
|
import type { DeleteTLSInspectionConfigurationCommandInput, DeleteTLSInspectionConfigurationCommandOutput } from "./commands/DeleteTLSInspectionConfigurationCommand";
|
|
33
35
|
import type { DeleteVpcEndpointAssociationCommandInput, DeleteVpcEndpointAssociationCommandOutput } from "./commands/DeleteVpcEndpointAssociationCommand";
|
|
36
|
+
import type { DescribeContainerAssociationCommandInput, DescribeContainerAssociationCommandOutput } from "./commands/DescribeContainerAssociationCommand";
|
|
34
37
|
import type { DescribeFirewallCommandInput, DescribeFirewallCommandOutput } from "./commands/DescribeFirewallCommand";
|
|
35
38
|
import type { DescribeFirewallMetadataCommandInput, DescribeFirewallMetadataCommandOutput } from "./commands/DescribeFirewallMetadataCommand";
|
|
36
39
|
import type { DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput } from "./commands/DescribeFirewallPolicyCommand";
|
|
@@ -51,6 +54,7 @@ import type { DisassociateAvailabilityZonesCommandInput, DisassociateAvailabilit
|
|
|
51
54
|
import type { DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput } from "./commands/DisassociateSubnetsCommand";
|
|
52
55
|
import type { GetAnalysisReportResultsCommandInput, GetAnalysisReportResultsCommandOutput } from "./commands/GetAnalysisReportResultsCommand";
|
|
53
56
|
import type { ListAnalysisReportsCommandInput, ListAnalysisReportsCommandOutput } from "./commands/ListAnalysisReportsCommand";
|
|
57
|
+
import type { ListContainerAssociationsCommandInput, ListContainerAssociationsCommandOutput } from "./commands/ListContainerAssociationsCommand";
|
|
54
58
|
import type { ListFirewallPoliciesCommandInput, ListFirewallPoliciesCommandOutput } from "./commands/ListFirewallPoliciesCommand";
|
|
55
59
|
import type { ListFirewallsCommandInput, ListFirewallsCommandOutput } from "./commands/ListFirewallsCommand";
|
|
56
60
|
import type { ListFlowOperationResultsCommandInput, ListFlowOperationResultsCommandOutput } from "./commands/ListFlowOperationResultsCommand";
|
|
@@ -70,6 +74,7 @@ import type { StartFlowFlushCommandInput, StartFlowFlushCommandOutput } from "./
|
|
|
70
74
|
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
71
75
|
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
72
76
|
import type { UpdateAvailabilityZoneChangeProtectionCommandInput, UpdateAvailabilityZoneChangeProtectionCommandOutput } from "./commands/UpdateAvailabilityZoneChangeProtectionCommand";
|
|
77
|
+
import type { UpdateContainerAssociationCommandInput, UpdateContainerAssociationCommandOutput } from "./commands/UpdateContainerAssociationCommand";
|
|
73
78
|
import type { UpdateFirewallAnalysisSettingsCommandInput, UpdateFirewallAnalysisSettingsCommandOutput } from "./commands/UpdateFirewallAnalysisSettingsCommand";
|
|
74
79
|
import type { UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput } from "./commands/UpdateFirewallDeleteProtectionCommand";
|
|
75
80
|
import type { UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput } from "./commands/UpdateFirewallDescriptionCommand";
|
|
@@ -91,11 +96,11 @@ export { __Client };
|
|
|
91
96
|
/**
|
|
92
97
|
* @public
|
|
93
98
|
*/
|
|
94
|
-
export type ServiceInputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandInput | AssociateAvailabilityZonesCommandInput | AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | AttachRuleGroupsToProxyConfigurationCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateProxyCommandInput | CreateProxyConfigurationCommandInput | CreateProxyRuleGroupCommandInput | CreateProxyRulesCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | CreateVpcEndpointAssociationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteNetworkFirewallTransitGatewayAttachmentCommandInput | DeleteProxyCommandInput | DeleteProxyConfigurationCommandInput | DeleteProxyRuleGroupCommandInput | DeleteProxyRulesCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DeleteVpcEndpointAssociationCommandInput | DescribeFirewallCommandInput | DescribeFirewallMetadataCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeProxyCommandInput | DescribeProxyConfigurationCommandInput | DescribeProxyRuleCommandInput | DescribeProxyRuleGroupCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeRuleGroupSummaryCommandInput | DescribeTLSInspectionConfigurationCommandInput | DescribeVpcEndpointAssociationCommandInput | DetachRuleGroupsFromProxyConfigurationCommandInput | DisassociateAvailabilityZonesCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListProxiesCommandInput | ListProxyConfigurationsCommandInput | ListProxyRuleGroupsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointAssociationsCommandInput | PutResourcePolicyCommandInput | RejectNetworkFirewallTransitGatewayAttachmentCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAvailabilityZoneChangeProtectionCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateProxyCommandInput | UpdateProxyConfigurationCommandInput | UpdateProxyRuleCommandInput | UpdateProxyRuleGroupPrioritiesCommandInput | UpdateProxyRulePrioritiesCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
99
|
+
export type ServiceInputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandInput | AssociateAvailabilityZonesCommandInput | AssociateFirewallPolicyCommandInput | AssociateSubnetsCommandInput | AttachRuleGroupsToProxyConfigurationCommandInput | CreateContainerAssociationCommandInput | CreateFirewallCommandInput | CreateFirewallPolicyCommandInput | CreateProxyCommandInput | CreateProxyConfigurationCommandInput | CreateProxyRuleGroupCommandInput | CreateProxyRulesCommandInput | CreateRuleGroupCommandInput | CreateTLSInspectionConfigurationCommandInput | CreateVpcEndpointAssociationCommandInput | DeleteContainerAssociationCommandInput | DeleteFirewallCommandInput | DeleteFirewallPolicyCommandInput | DeleteNetworkFirewallTransitGatewayAttachmentCommandInput | DeleteProxyCommandInput | DeleteProxyConfigurationCommandInput | DeleteProxyRuleGroupCommandInput | DeleteProxyRulesCommandInput | DeleteResourcePolicyCommandInput | DeleteRuleGroupCommandInput | DeleteTLSInspectionConfigurationCommandInput | DeleteVpcEndpointAssociationCommandInput | DescribeContainerAssociationCommandInput | DescribeFirewallCommandInput | DescribeFirewallMetadataCommandInput | DescribeFirewallPolicyCommandInput | DescribeFlowOperationCommandInput | DescribeLoggingConfigurationCommandInput | DescribeProxyCommandInput | DescribeProxyConfigurationCommandInput | DescribeProxyRuleCommandInput | DescribeProxyRuleGroupCommandInput | DescribeResourcePolicyCommandInput | DescribeRuleGroupCommandInput | DescribeRuleGroupMetadataCommandInput | DescribeRuleGroupSummaryCommandInput | DescribeTLSInspectionConfigurationCommandInput | DescribeVpcEndpointAssociationCommandInput | DetachRuleGroupsFromProxyConfigurationCommandInput | DisassociateAvailabilityZonesCommandInput | DisassociateSubnetsCommandInput | GetAnalysisReportResultsCommandInput | ListAnalysisReportsCommandInput | ListContainerAssociationsCommandInput | ListFirewallPoliciesCommandInput | ListFirewallsCommandInput | ListFlowOperationResultsCommandInput | ListFlowOperationsCommandInput | ListProxiesCommandInput | ListProxyConfigurationsCommandInput | ListProxyRuleGroupsCommandInput | ListRuleGroupsCommandInput | ListTLSInspectionConfigurationsCommandInput | ListTagsForResourceCommandInput | ListVpcEndpointAssociationsCommandInput | PutResourcePolicyCommandInput | RejectNetworkFirewallTransitGatewayAttachmentCommandInput | StartAnalysisReportCommandInput | StartFlowCaptureCommandInput | StartFlowFlushCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAvailabilityZoneChangeProtectionCommandInput | UpdateContainerAssociationCommandInput | UpdateFirewallAnalysisSettingsCommandInput | UpdateFirewallDeleteProtectionCommandInput | UpdateFirewallDescriptionCommandInput | UpdateFirewallEncryptionConfigurationCommandInput | UpdateFirewallPolicyChangeProtectionCommandInput | UpdateFirewallPolicyCommandInput | UpdateLoggingConfigurationCommandInput | UpdateProxyCommandInput | UpdateProxyConfigurationCommandInput | UpdateProxyRuleCommandInput | UpdateProxyRuleGroupPrioritiesCommandInput | UpdateProxyRulePrioritiesCommandInput | UpdateRuleGroupCommandInput | UpdateSubnetChangeProtectionCommandInput | UpdateTLSInspectionConfigurationCommandInput;
|
|
95
100
|
/**
|
|
96
101
|
* @public
|
|
97
102
|
*/
|
|
98
|
-
export type ServiceOutputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput | AssociateAvailabilityZonesCommandOutput | AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | AttachRuleGroupsToProxyConfigurationCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateProxyCommandOutput | CreateProxyConfigurationCommandOutput | CreateProxyRuleGroupCommandOutput | CreateProxyRulesCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | CreateVpcEndpointAssociationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput | DeleteProxyCommandOutput | DeleteProxyConfigurationCommandOutput | DeleteProxyRuleGroupCommandOutput | DeleteProxyRulesCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DeleteVpcEndpointAssociationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallMetadataCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeProxyCommandOutput | DescribeProxyConfigurationCommandOutput | DescribeProxyRuleCommandOutput | DescribeProxyRuleGroupCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeRuleGroupSummaryCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DescribeVpcEndpointAssociationCommandOutput | DetachRuleGroupsFromProxyConfigurationCommandOutput | DisassociateAvailabilityZonesCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListProxiesCommandOutput | ListProxyConfigurationsCommandOutput | ListProxyRuleGroupsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointAssociationsCommandOutput | PutResourcePolicyCommandOutput | RejectNetworkFirewallTransitGatewayAttachmentCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAvailabilityZoneChangeProtectionCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateProxyCommandOutput | UpdateProxyConfigurationCommandOutput | UpdateProxyRuleCommandOutput | UpdateProxyRuleGroupPrioritiesCommandOutput | UpdateProxyRulePrioritiesCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
103
|
+
export type ServiceOutputTypes = AcceptNetworkFirewallTransitGatewayAttachmentCommandOutput | AssociateAvailabilityZonesCommandOutput | AssociateFirewallPolicyCommandOutput | AssociateSubnetsCommandOutput | AttachRuleGroupsToProxyConfigurationCommandOutput | CreateContainerAssociationCommandOutput | CreateFirewallCommandOutput | CreateFirewallPolicyCommandOutput | CreateProxyCommandOutput | CreateProxyConfigurationCommandOutput | CreateProxyRuleGroupCommandOutput | CreateProxyRulesCommandOutput | CreateRuleGroupCommandOutput | CreateTLSInspectionConfigurationCommandOutput | CreateVpcEndpointAssociationCommandOutput | DeleteContainerAssociationCommandOutput | DeleteFirewallCommandOutput | DeleteFirewallPolicyCommandOutput | DeleteNetworkFirewallTransitGatewayAttachmentCommandOutput | DeleteProxyCommandOutput | DeleteProxyConfigurationCommandOutput | DeleteProxyRuleGroupCommandOutput | DeleteProxyRulesCommandOutput | DeleteResourcePolicyCommandOutput | DeleteRuleGroupCommandOutput | DeleteTLSInspectionConfigurationCommandOutput | DeleteVpcEndpointAssociationCommandOutput | DescribeContainerAssociationCommandOutput | DescribeFirewallCommandOutput | DescribeFirewallMetadataCommandOutput | DescribeFirewallPolicyCommandOutput | DescribeFlowOperationCommandOutput | DescribeLoggingConfigurationCommandOutput | DescribeProxyCommandOutput | DescribeProxyConfigurationCommandOutput | DescribeProxyRuleCommandOutput | DescribeProxyRuleGroupCommandOutput | DescribeResourcePolicyCommandOutput | DescribeRuleGroupCommandOutput | DescribeRuleGroupMetadataCommandOutput | DescribeRuleGroupSummaryCommandOutput | DescribeTLSInspectionConfigurationCommandOutput | DescribeVpcEndpointAssociationCommandOutput | DetachRuleGroupsFromProxyConfigurationCommandOutput | DisassociateAvailabilityZonesCommandOutput | DisassociateSubnetsCommandOutput | GetAnalysisReportResultsCommandOutput | ListAnalysisReportsCommandOutput | ListContainerAssociationsCommandOutput | ListFirewallPoliciesCommandOutput | ListFirewallsCommandOutput | ListFlowOperationResultsCommandOutput | ListFlowOperationsCommandOutput | ListProxiesCommandOutput | ListProxyConfigurationsCommandOutput | ListProxyRuleGroupsCommandOutput | ListRuleGroupsCommandOutput | ListTLSInspectionConfigurationsCommandOutput | ListTagsForResourceCommandOutput | ListVpcEndpointAssociationsCommandOutput | PutResourcePolicyCommandOutput | RejectNetworkFirewallTransitGatewayAttachmentCommandOutput | StartAnalysisReportCommandOutput | StartFlowCaptureCommandOutput | StartFlowFlushCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAvailabilityZoneChangeProtectionCommandOutput | UpdateContainerAssociationCommandOutput | UpdateFirewallAnalysisSettingsCommandOutput | UpdateFirewallDeleteProtectionCommandOutput | UpdateFirewallDescriptionCommandOutput | UpdateFirewallEncryptionConfigurationCommandOutput | UpdateFirewallPolicyChangeProtectionCommandOutput | UpdateFirewallPolicyCommandOutput | UpdateLoggingConfigurationCommandOutput | UpdateProxyCommandOutput | UpdateProxyConfigurationCommandOutput | UpdateProxyRuleCommandOutput | UpdateProxyRuleGroupPrioritiesCommandOutput | UpdateProxyRulePrioritiesCommandOutput | UpdateRuleGroupCommandOutput | UpdateSubnetChangeProtectionCommandOutput | UpdateTLSInspectionConfigurationCommandOutput;
|
|
99
104
|
/**
|
|
100
105
|
* @public
|
|
101
106
|
*/
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateContainerAssociationRequest, CreateContainerAssociationResponse } from "../models/models_0";
|
|
4
|
+
import type { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateContainerAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateContainerAssociationCommandInput extends CreateContainerAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateContainerAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateContainerAssociationCommandOutput extends CreateContainerAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateContainerAssociationCommand_base: {
|
|
25
|
+
new (input: CreateContainerAssociationCommandInput): import("@smithy/core/client").CommandImpl<CreateContainerAssociationCommandInput, CreateContainerAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateContainerAssociationCommandInput): import("@smithy/core/client").CommandImpl<CreateContainerAssociationCommandInput, CreateContainerAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a container association for Network Firewall. A container association links container clusters (ECS or EKS) to Network Firewall, enabling dynamic IP resolution for firewall rules based on container attributes.</p>
|
|
33
|
+
* <p>To manage a container association's tags, use the standard Amazon Web Services resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p>
|
|
34
|
+
* <p>To retrieve information about container associations, use <a>ListContainerAssociations</a> and <a>DescribeContainerAssociation</a>.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { NetworkFirewallClient, CreateContainerAssociationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
39
|
+
* // const { NetworkFirewallClient, CreateContainerAssociationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
40
|
+
* // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
|
|
41
|
+
* const config = {}; // type is NetworkFirewallClientConfig
|
|
42
|
+
* const client = new NetworkFirewallClient(config);
|
|
43
|
+
* const input = { // CreateContainerAssociationRequest
|
|
44
|
+
* ContainerAssociationName: "STRING_VALUE", // required
|
|
45
|
+
* Description: "STRING_VALUE",
|
|
46
|
+
* Type: "ECS" || "EKS", // required
|
|
47
|
+
* ContainerMonitoringConfigurations: [ // ContainerMonitoringConfigurations // required
|
|
48
|
+
* { // ContainerMonitoringConfiguration
|
|
49
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
50
|
+
* AttributeFilters: [ // ContainerAttributes
|
|
51
|
+
* { // ContainerAttribute
|
|
52
|
+
* Key: "STRING_VALUE", // required
|
|
53
|
+
* Value: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* Tags: [ // TagList
|
|
59
|
+
* { // Tag
|
|
60
|
+
* Key: "STRING_VALUE", // required
|
|
61
|
+
* Value: "STRING_VALUE", // required
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* };
|
|
65
|
+
* const command = new CreateContainerAssociationCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // { // CreateContainerAssociationResponse
|
|
68
|
+
* // ContainerAssociationName: "STRING_VALUE",
|
|
69
|
+
* // ContainerAssociationArn: "STRING_VALUE",
|
|
70
|
+
* // Description: "STRING_VALUE",
|
|
71
|
+
* // Type: "ECS" || "EKS",
|
|
72
|
+
* // ContainerMonitoringConfigurations: [ // ContainerMonitoringConfigurations
|
|
73
|
+
* // { // ContainerMonitoringConfiguration
|
|
74
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
75
|
+
* // AttributeFilters: [ // ContainerAttributes
|
|
76
|
+
* // { // ContainerAttribute
|
|
77
|
+
* // Key: "STRING_VALUE", // required
|
|
78
|
+
* // Value: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // Status: "ACTIVE" || "CREATING" || "DELETING",
|
|
84
|
+
* // Tags: [ // TagList
|
|
85
|
+
* // { // Tag
|
|
86
|
+
* // Key: "STRING_VALUE", // required
|
|
87
|
+
* // Value: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // UpdateToken: "STRING_VALUE",
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param CreateContainerAssociationCommandInput - {@link CreateContainerAssociationCommandInput}
|
|
96
|
+
* @returns {@link CreateContainerAssociationCommandOutput}
|
|
97
|
+
* @see {@link CreateContainerAssociationCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link CreateContainerAssociationCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InsufficientCapacityException} (server fault)
|
|
102
|
+
* <p>Amazon Web Services doesn't currently have enough available capacity to fulfill your request. Try your
|
|
103
|
+
* request later. </p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link InternalServerError} (server fault)
|
|
106
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
107
|
+
* system problem. Retry your request. </p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
110
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
111
|
+
* <ul>
|
|
112
|
+
* <li>
|
|
113
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
114
|
+
* </li>
|
|
115
|
+
* <li>
|
|
116
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
117
|
+
* types.</p>
|
|
118
|
+
* </li>
|
|
119
|
+
* <li>
|
|
120
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
121
|
+
* that isn't valid in the context of the request.</p>
|
|
122
|
+
* </li>
|
|
123
|
+
* </ul>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
126
|
+
* <p>Unable to perform the operation because doing so would violate a limit setting. </p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
129
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
132
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export declare class CreateContainerAssociationCommand extends CreateContainerAssociationCommand_base {
|
|
138
|
+
/** @internal type navigation helper, not in runtime. */
|
|
139
|
+
protected static __types: {
|
|
140
|
+
api: {
|
|
141
|
+
input: CreateContainerAssociationRequest;
|
|
142
|
+
output: CreateContainerAssociationResponse;
|
|
143
|
+
};
|
|
144
|
+
sdk: {
|
|
145
|
+
input: CreateContainerAssociationCommandInput;
|
|
146
|
+
output: CreateContainerAssociationCommandOutput;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteContainerAssociationRequest, DeleteContainerAssociationResponse } from "../models/models_0";
|
|
4
|
+
import type { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteContainerAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteContainerAssociationCommandInput extends DeleteContainerAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteContainerAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteContainerAssociationCommandOutput extends DeleteContainerAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteContainerAssociationCommand_base: {
|
|
25
|
+
new (input: DeleteContainerAssociationCommandInput): import("@smithy/core/client").CommandImpl<DeleteContainerAssociationCommandInput, DeleteContainerAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DeleteContainerAssociationCommandInput]): import("@smithy/core/client").CommandImpl<DeleteContainerAssociationCommandInput, DeleteContainerAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes the specified container association. When you delete a container association, Network Firewall stops monitoring the associated container clusters and removes the resolved IP addresses from firewall rules.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { NetworkFirewallClient, DeleteContainerAssociationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
37
|
+
* // const { NetworkFirewallClient, DeleteContainerAssociationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
38
|
+
* // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
|
|
39
|
+
* const config = {}; // type is NetworkFirewallClientConfig
|
|
40
|
+
* const client = new NetworkFirewallClient(config);
|
|
41
|
+
* const input = { // DeleteContainerAssociationRequest
|
|
42
|
+
* ContainerAssociationName: "STRING_VALUE",
|
|
43
|
+
* ContainerAssociationArn: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteContainerAssociationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DeleteContainerAssociationResponse
|
|
48
|
+
* // ContainerAssociationName: "STRING_VALUE",
|
|
49
|
+
* // ContainerAssociationArn: "STRING_VALUE",
|
|
50
|
+
* // Status: "ACTIVE" || "CREATING" || "DELETING",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param DeleteContainerAssociationCommandInput - {@link DeleteContainerAssociationCommandInput}
|
|
56
|
+
* @returns {@link DeleteContainerAssociationCommandOutput}
|
|
57
|
+
* @see {@link DeleteContainerAssociationCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link DeleteContainerAssociationCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerError} (server fault)
|
|
62
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
63
|
+
* system problem. Retry your request. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidOperationException} (client fault)
|
|
66
|
+
* <p>The operation failed because it's not valid. For example, you might have tried to delete
|
|
67
|
+
* a rule group or firewall policy that's in use.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
70
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
71
|
+
* <ul>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
77
|
+
* types.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
81
|
+
* that isn't valid in the context of the request.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* </ul>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class DeleteContainerAssociationCommand extends DeleteContainerAssociationCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: DeleteContainerAssociationRequest;
|
|
102
|
+
output: DeleteContainerAssociationResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: DeleteContainerAssociationCommandInput;
|
|
106
|
+
output: DeleteContainerAssociationCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DescribeContainerAssociationRequest, DescribeContainerAssociationResponse } from "../models/models_0";
|
|
4
|
+
import type { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeContainerAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeContainerAssociationCommandInput extends DescribeContainerAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeContainerAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeContainerAssociationCommandOutput extends DescribeContainerAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeContainerAssociationCommand_base: {
|
|
25
|
+
new (input: DescribeContainerAssociationCommandInput): import("@smithy/core/client").CommandImpl<DescribeContainerAssociationCommandInput, DescribeContainerAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DescribeContainerAssociationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeContainerAssociationCommandInput, DescribeContainerAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Returns the properties of a container association.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { NetworkFirewallClient, DescribeContainerAssociationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
37
|
+
* // const { NetworkFirewallClient, DescribeContainerAssociationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
38
|
+
* // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
|
|
39
|
+
* const config = {}; // type is NetworkFirewallClientConfig
|
|
40
|
+
* const client = new NetworkFirewallClient(config);
|
|
41
|
+
* const input = { // DescribeContainerAssociationRequest
|
|
42
|
+
* ContainerAssociationName: "STRING_VALUE",
|
|
43
|
+
* ContainerAssociationArn: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DescribeContainerAssociationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // DescribeContainerAssociationResponse
|
|
48
|
+
* // ContainerAssociationName: "STRING_VALUE",
|
|
49
|
+
* // ContainerAssociationArn: "STRING_VALUE",
|
|
50
|
+
* // Description: "STRING_VALUE",
|
|
51
|
+
* // Type: "ECS" || "EKS",
|
|
52
|
+
* // ContainerMonitoringConfigurations: [ // ContainerMonitoringConfigurations
|
|
53
|
+
* // { // ContainerMonitoringConfiguration
|
|
54
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
55
|
+
* // AttributeFilters: [ // ContainerAttributes
|
|
56
|
+
* // { // ContainerAttribute
|
|
57
|
+
* // Key: "STRING_VALUE", // required
|
|
58
|
+
* // Value: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // Status: "ACTIVE" || "CREATING" || "DELETING",
|
|
64
|
+
* // ResolvedCidrCount: Number("int"),
|
|
65
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
66
|
+
* // Tags: [ // TagList
|
|
67
|
+
* // { // Tag
|
|
68
|
+
* // Key: "STRING_VALUE", // required
|
|
69
|
+
* // Value: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // UpdateToken: "STRING_VALUE",
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param DescribeContainerAssociationCommandInput - {@link DescribeContainerAssociationCommandInput}
|
|
78
|
+
* @returns {@link DescribeContainerAssociationCommandOutput}
|
|
79
|
+
* @see {@link DescribeContainerAssociationCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link DescribeContainerAssociationCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerError} (server fault)
|
|
84
|
+
* <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
|
|
85
|
+
* system problem. Retry your request. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
88
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
89
|
+
* <ul>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
92
|
+
* </li>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
95
|
+
* types.</p>
|
|
96
|
+
* </li>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
99
|
+
* that isn't valid in the context of the request.</p>
|
|
100
|
+
* </li>
|
|
101
|
+
* </ul>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
104
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
107
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link NetworkFirewallServiceException}
|
|
110
|
+
* <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
|
|
111
|
+
*
|
|
112
|
+
*
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class DescribeContainerAssociationCommand extends DescribeContainerAssociationCommand_base {
|
|
116
|
+
/** @internal type navigation helper, not in runtime. */
|
|
117
|
+
protected static __types: {
|
|
118
|
+
api: {
|
|
119
|
+
input: DescribeContainerAssociationRequest;
|
|
120
|
+
output: DescribeContainerAssociationResponse;
|
|
121
|
+
};
|
|
122
|
+
sdk: {
|
|
123
|
+
input: DescribeContainerAssociationCommandInput;
|
|
124
|
+
output: DescribeContainerAssociationCommandOutput;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}
|