@aws-sdk/client-network-firewall 3.1075.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.
Files changed (62) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +3284 -15
  3. package/dist-es/NetworkFirewall.js +12 -0
  4. package/dist-es/commands/CreateContainerAssociationCommand.js +16 -0
  5. package/dist-es/commands/DeleteContainerAssociationCommand.js +16 -0
  6. package/dist-es/commands/DescribeContainerAssociationCommand.js +16 -0
  7. package/dist-es/commands/ListContainerAssociationsCommand.js +16 -0
  8. package/dist-es/commands/UpdateContainerAssociationCommand.js +16 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +9 -0
  11. package/dist-es/pagination/ListContainerAssociationsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/runtimeConfig.browser.js +0 -2
  14. package/dist-es/runtimeConfig.js +1 -2
  15. package/dist-es/runtimeConfig.native.js +0 -2
  16. package/dist-es/runtimeConfig.shared.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +161 -45
  18. package/dist-types/NetworkFirewall.d.ts +45 -0
  19. package/dist-types/NetworkFirewallClient.d.ts +7 -2
  20. package/dist-types/commands/CreateContainerAssociationCommand.d.ts +149 -0
  21. package/dist-types/commands/DeleteContainerAssociationCommand.d.ts +109 -0
  22. package/dist-types/commands/DescribeContainerAssociationCommand.d.ts +127 -0
  23. package/dist-types/commands/ListContainerAssociationsCommand.d.ts +106 -0
  24. package/dist-types/commands/UpdateContainerAssociationCommand.d.ts +148 -0
  25. package/dist-types/commands/index.d.ts +5 -0
  26. package/dist-types/models/enums.d.ts +25 -0
  27. package/dist-types/models/models_0.d.ts +345 -2
  28. package/dist-types/pagination/ListContainerAssociationsPaginator.d.ts +7 -0
  29. package/dist-types/pagination/index.d.ts +1 -0
  30. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  31. package/dist-types/runtimeConfig.d.ts +2 -2
  32. package/dist-types/runtimeConfig.native.d.ts +2 -2
  33. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  34. package/dist-types/schemas/schemas_0.d.ts +18 -0
  35. package/dist-types/ts3.4/NetworkFirewall.d.ts +95 -0
  36. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +30 -0
  37. package/dist-types/ts3.4/commands/CreateContainerAssociationCommand.d.ts +53 -0
  38. package/dist-types/ts3.4/commands/DeleteContainerAssociationCommand.d.ts +53 -0
  39. package/dist-types/ts3.4/commands/DescribeContainerAssociationCommand.d.ts +53 -0
  40. package/dist-types/ts3.4/commands/ListContainerAssociationsCommand.d.ts +53 -0
  41. package/dist-types/ts3.4/commands/UpdateContainerAssociationCommand.d.ts +53 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  43. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +93 -0
  45. package/dist-types/ts3.4/pagination/ListContainerAssociationsPaginator.d.ts +11 -0
  46. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
  52. package/package.json +8 -10
  53. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  54. package/dist-cjs/endpoint/bdd.js +0 -46
  55. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  56. package/dist-cjs/models/NetworkFirewallServiceException.js +0 -8
  57. package/dist-cjs/models/errors.js +0 -169
  58. package/dist-cjs/runtimeConfig.browser.js +0 -32
  59. package/dist-cjs/runtimeConfig.js +0 -45
  60. package/dist-cjs/runtimeConfig.native.js +0 -12
  61. package/dist-cjs/runtimeConfig.shared.js +0 -38
  62. package/dist-cjs/schemas/schemas_0.js +0 -2637
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListContainerAssociationsRequest, ListContainerAssociationsResponse } 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 ListContainerAssociationsCommand}.
14
+ */
15
+ export interface ListContainerAssociationsCommandInput extends ListContainerAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListContainerAssociationsCommand}.
21
+ */
22
+ export interface ListContainerAssociationsCommandOutput extends ListContainerAssociationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListContainerAssociationsCommand_base: {
25
+ new (input: ListContainerAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListContainerAssociationsCommandInput, ListContainerAssociationsCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListContainerAssociationsCommandInput]): import("@smithy/core/client").CommandImpl<ListContainerAssociationsCommandInput, ListContainerAssociationsCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Retrieves the metadata for the container associations that you have defined. You can optionally page through results.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { NetworkFirewallClient, ListContainerAssociationsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
37
+ * // const { NetworkFirewallClient, ListContainerAssociationsCommand } = 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 = { // ListContainerAssociationsRequest
42
+ * MaxResults: Number("int"),
43
+ * NextToken: "STRING_VALUE",
44
+ * };
45
+ * const command = new ListContainerAssociationsCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // ListContainerAssociationsResponse
48
+ * // ContainerAssociations: [ // ContainerAssociations
49
+ * // { // ContainerAssociationSummary
50
+ * // Arn: "STRING_VALUE",
51
+ * // Name: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // NextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListContainerAssociationsCommandInput - {@link ListContainerAssociationsCommandInput}
60
+ * @returns {@link ListContainerAssociationsCommandOutput}
61
+ * @see {@link ListContainerAssociationsCommandInput} for command's `input` shape.
62
+ * @see {@link ListContainerAssociationsCommandOutput} for command's `response` shape.
63
+ * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
64
+ *
65
+ * @throws {@link InternalServerError} (server fault)
66
+ * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
67
+ * system problem. Retry your request. </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 ThrottlingException} (client fault)
86
+ * <p>Unable to process the request due to throttling limitations.</p>
87
+ *
88
+ * @throws {@link NetworkFirewallServiceException}
89
+ * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListContainerAssociationsCommand extends ListContainerAssociationsCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListContainerAssociationsRequest;
99
+ output: ListContainerAssociationsResponse;
100
+ };
101
+ sdk: {
102
+ input: ListContainerAssociationsCommandInput;
103
+ output: ListContainerAssociationsCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,148 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateContainerAssociationRequest, UpdateContainerAssociationResponse } 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 UpdateContainerAssociationCommand}.
14
+ */
15
+ export interface UpdateContainerAssociationCommandInput extends UpdateContainerAssociationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateContainerAssociationCommand}.
21
+ */
22
+ export interface UpdateContainerAssociationCommandOutput extends UpdateContainerAssociationResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateContainerAssociationCommand_base: {
25
+ new (input: UpdateContainerAssociationCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerAssociationCommandInput, UpdateContainerAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateContainerAssociationCommandInput): import("@smithy/core/client").CommandImpl<UpdateContainerAssociationCommandInput, UpdateContainerAssociationCommandOutput, NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Updates the properties of an existing container association. Use this to modify the container monitoring configurations or description.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { NetworkFirewallClient, UpdateContainerAssociationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
37
+ * // const { NetworkFirewallClient, UpdateContainerAssociationCommand } = 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 = { // UpdateContainerAssociationRequest
42
+ * ContainerAssociationName: "STRING_VALUE",
43
+ * ContainerAssociationArn: "STRING_VALUE",
44
+ * Description: "STRING_VALUE",
45
+ * Type: "ECS" || "EKS", // required
46
+ * ContainerMonitoringConfigurations: [ // ContainerMonitoringConfigurations // required
47
+ * { // ContainerMonitoringConfiguration
48
+ * ClusterArn: "STRING_VALUE", // required
49
+ * AttributeFilters: [ // ContainerAttributes
50
+ * { // ContainerAttribute
51
+ * Key: "STRING_VALUE", // required
52
+ * Value: "STRING_VALUE", // required
53
+ * },
54
+ * ],
55
+ * },
56
+ * ],
57
+ * Tags: [ // TagList
58
+ * { // Tag
59
+ * Key: "STRING_VALUE", // required
60
+ * Value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * UpdateToken: "STRING_VALUE", // required
64
+ * };
65
+ * const command = new UpdateContainerAssociationCommand(input);
66
+ * const response = await client.send(command);
67
+ * // { // UpdateContainerAssociationResponse
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 UpdateContainerAssociationCommandInput - {@link UpdateContainerAssociationCommandInput}
96
+ * @returns {@link UpdateContainerAssociationCommandOutput}
97
+ * @see {@link UpdateContainerAssociationCommandInput} for command's `input` shape.
98
+ * @see {@link UpdateContainerAssociationCommandOutput} for command's `response` shape.
99
+ * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
100
+ *
101
+ * @throws {@link InternalServerError} (server fault)
102
+ * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
103
+ * system problem. Retry your request. </p>
104
+ *
105
+ * @throws {@link InvalidRequestException} (client fault)
106
+ * <p>The operation failed because of a problem with your request. Examples include: </p>
107
+ * <ul>
108
+ * <li>
109
+ * <p>You specified an unsupported parameter name or value.</p>
110
+ * </li>
111
+ * <li>
112
+ * <p>You tried to update a property with a value that isn't among the available
113
+ * types.</p>
114
+ * </li>
115
+ * <li>
116
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
117
+ * that isn't valid in the context of the request.</p>
118
+ * </li>
119
+ * </ul>
120
+ *
121
+ * @throws {@link InvalidTokenException} (client fault)
122
+ * <p>The token you provided is stale or isn't valid for the operation. </p>
123
+ *
124
+ * @throws {@link ResourceNotFoundException} (client fault)
125
+ * <p>Unable to locate a resource using the parameters that you provided.</p>
126
+ *
127
+ * @throws {@link ThrottlingException} (client fault)
128
+ * <p>Unable to process the request due to throttling limitations.</p>
129
+ *
130
+ * @throws {@link NetworkFirewallServiceException}
131
+ * <p>Base exception class for all service exceptions from NetworkFirewall service.</p>
132
+ *
133
+ *
134
+ * @public
135
+ */
136
+ export declare class UpdateContainerAssociationCommand extends UpdateContainerAssociationCommand_base {
137
+ /** @internal type navigation helper, not in runtime. */
138
+ protected static __types: {
139
+ api: {
140
+ input: UpdateContainerAssociationRequest;
141
+ output: UpdateContainerAssociationResponse;
142
+ };
143
+ sdk: {
144
+ input: UpdateContainerAssociationCommandInput;
145
+ output: UpdateContainerAssociationCommandOutput;
146
+ };
147
+ };
148
+ }
@@ -3,6 +3,7 @@ export * from "./AssociateAvailabilityZonesCommand";
3
3
  export * from "./AssociateFirewallPolicyCommand";
4
4
  export * from "./AssociateSubnetsCommand";
5
5
  export * from "./AttachRuleGroupsToProxyConfigurationCommand";
6
+ export * from "./CreateContainerAssociationCommand";
6
7
  export * from "./CreateFirewallCommand";
7
8
  export * from "./CreateFirewallPolicyCommand";
8
9
  export * from "./CreateProxyCommand";
@@ -12,6 +13,7 @@ export * from "./CreateProxyRulesCommand";
12
13
  export * from "./CreateRuleGroupCommand";
13
14
  export * from "./CreateTLSInspectionConfigurationCommand";
14
15
  export * from "./CreateVpcEndpointAssociationCommand";
16
+ export * from "./DeleteContainerAssociationCommand";
15
17
  export * from "./DeleteFirewallCommand";
16
18
  export * from "./DeleteFirewallPolicyCommand";
17
19
  export * from "./DeleteNetworkFirewallTransitGatewayAttachmentCommand";
@@ -23,6 +25,7 @@ export * from "./DeleteResourcePolicyCommand";
23
25
  export * from "./DeleteRuleGroupCommand";
24
26
  export * from "./DeleteTLSInspectionConfigurationCommand";
25
27
  export * from "./DeleteVpcEndpointAssociationCommand";
28
+ export * from "./DescribeContainerAssociationCommand";
26
29
  export * from "./DescribeFirewallCommand";
27
30
  export * from "./DescribeFirewallMetadataCommand";
28
31
  export * from "./DescribeFirewallPolicyCommand";
@@ -43,6 +46,7 @@ export * from "./DisassociateAvailabilityZonesCommand";
43
46
  export * from "./DisassociateSubnetsCommand";
44
47
  export * from "./GetAnalysisReportResultsCommand";
45
48
  export * from "./ListAnalysisReportsCommand";
49
+ export * from "./ListContainerAssociationsCommand";
46
50
  export * from "./ListFirewallPoliciesCommand";
47
51
  export * from "./ListFirewallsCommand";
48
52
  export * from "./ListFlowOperationResultsCommand";
@@ -62,6 +66,7 @@ export * from "./StartFlowFlushCommand";
62
66
  export * from "./TagResourceCommand";
63
67
  export * from "./UntagResourceCommand";
64
68
  export * from "./UpdateAvailabilityZoneChangeProtectionCommand";
69
+ export * from "./UpdateContainerAssociationCommand";
65
70
  export * from "./UpdateFirewallAnalysisSettingsCommand";
66
71
  export * from "./UpdateFirewallDeleteProtectionCommand";
67
72
  export * from "./UpdateFirewallDescriptionCommand";
@@ -109,6 +109,31 @@ export declare const ConfigurationSyncState: {
109
109
  * @public
110
110
  */
111
111
  export type ConfigurationSyncState = (typeof ConfigurationSyncState)[keyof typeof ConfigurationSyncState];
112
+ /**
113
+ * @public
114
+ * @enum
115
+ */
116
+ export declare const ContainerAssociationStatus: {
117
+ readonly ACTIVE: "ACTIVE";
118
+ readonly CREATING: "CREATING";
119
+ readonly DELETING: "DELETING";
120
+ };
121
+ /**
122
+ * @public
123
+ */
124
+ export type ContainerAssociationStatus = (typeof ContainerAssociationStatus)[keyof typeof ContainerAssociationStatus];
125
+ /**
126
+ * @public
127
+ * @enum
128
+ */
129
+ export declare const ContainerMonitoringType: {
130
+ readonly ECS: "ECS";
131
+ readonly EKS: "EKS";
132
+ };
133
+ /**
134
+ * @public
135
+ */
136
+ export type ContainerMonitoringType = (typeof ContainerMonitoringType)[keyof typeof ContainerMonitoringType];
112
137
  /**
113
138
  * @public
114
139
  * @enum