@aws-sdk/client-network-firewall 3.1101.0 → 3.1102.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 (28) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +88 -16
  3. package/dist-es/NetworkFirewall.js +2 -0
  4. package/dist-es/commands/UpdateProxySettingsCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +11 -4
  7. package/dist-es/schemas/schemas_0.js +63 -11
  8. package/dist-types/NetworkFirewall.d.ts +8 -0
  9. package/dist-types/NetworkFirewallClient.d.ts +3 -2
  10. package/dist-types/commands/CreateFirewallCommand.d.ts +55 -0
  11. package/dist-types/commands/CreateVpcEndpointAssociationCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteFirewallCommand.d.ts +32 -0
  13. package/dist-types/commands/DeleteVpcEndpointAssociationCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeFirewallCommand.d.ts +32 -0
  15. package/dist-types/commands/DescribeVpcEndpointAssociationCommand.d.ts +1 -0
  16. package/dist-types/commands/UpdateProxySettingsCommand.d.ts +127 -0
  17. package/dist-types/commands/index.d.ts +1 -0
  18. package/dist-types/models/enums.d.ts +27 -12
  19. package/dist-types/models/models_0.d.ts +194 -17
  20. package/dist-types/schemas/schemas_0.d.ts +7 -0
  21. package/dist-types/ts3.4/NetworkFirewall.d.ts +18 -0
  22. package/dist-types/ts3.4/NetworkFirewallClient.d.ts +6 -0
  23. package/dist-types/ts3.4/commands/UpdateProxySettingsCommand.d.ts +39 -0
  24. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  25. package/dist-types/ts3.4/models/enums.d.ts +14 -5
  26. package/dist-types/ts3.4/models/models_0.d.ts +43 -4
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
  28. package/package.json +3 -3
@@ -74,6 +74,29 @@ declare const CreateFirewallCommand_base: {
74
74
  * },
75
75
  * ],
76
76
  * AvailabilityZoneChangeProtection: true || false,
77
+ * NatGatewayMappings: [ // NatGatewayMappingsList
78
+ * { // NatGatewayMapping
79
+ * NatGatewayId: "STRING_VALUE", // required
80
+ * },
81
+ * ],
82
+ * ProxySettings: { // ProxySettings
83
+ * ListenerProperties: [ // ListenerProperties // required
84
+ * { // ListenerProperty
85
+ * Port: Number("int"),
86
+ * Type: "HTTP" || "HTTPS",
87
+ * },
88
+ * ],
89
+ * },
90
+ * NoSourcePreservation: true || false,
91
+ * VpcEndpoint: { // VpcEndpoint
92
+ * VpcId: "STRING_VALUE", // required
93
+ * SubnetMappings: [ // required
94
+ * {
95
+ * SubnetId: "STRING_VALUE", // required
96
+ * IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
97
+ * },
98
+ * ],
99
+ * },
77
100
  * };
78
101
  * const command = new CreateFirewallCommand(input);
79
102
  * const response = await client.send(command);
@@ -116,6 +139,29 @@ declare const CreateFirewallCommand_base: {
116
139
  * // },
117
140
  * // ],
118
141
  * // AvailabilityZoneChangeProtection: true || false,
142
+ * // NatGatewayMappings: [ // NatGatewayMappingsList
143
+ * // { // NatGatewayMapping
144
+ * // NatGatewayId: "STRING_VALUE", // required
145
+ * // },
146
+ * // ],
147
+ * // ProxySettings: { // ProxySettings
148
+ * // ListenerProperties: [ // ListenerProperties // required
149
+ * // { // ListenerProperty
150
+ * // Port: Number("int"),
151
+ * // Type: "HTTP" || "HTTPS",
152
+ * // },
153
+ * // ],
154
+ * // },
155
+ * // NoSourcePreservation: true || false,
156
+ * // VpcEndpoint: { // VpcEndpoint
157
+ * // VpcId: "STRING_VALUE", // required
158
+ * // SubnetMappings: [ // required
159
+ * // {
160
+ * // SubnetId: "STRING_VALUE", // required
161
+ * // IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
162
+ * // },
163
+ * // ],
164
+ * // },
119
165
  * // },
120
166
  * // FirewallStatus: { // FirewallStatus
121
167
  * // Status: "PROVISIONING" || "DELETING" || "READY", // required
@@ -127,6 +173,7 @@ declare const CreateFirewallCommand_base: {
127
173
  * // EndpointId: "STRING_VALUE",
128
174
  * // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
129
175
  * // StatusMessage: "STRING_VALUE",
176
+ * // DnsName: "STRING_VALUE",
130
177
  * // },
131
178
  * // Config: { // SyncStateConfig
132
179
  * // "<keys>": { // PerObjectStatus
@@ -134,6 +181,14 @@ declare const CreateFirewallCommand_base: {
134
181
  * // UpdateToken: "STRING_VALUE",
135
182
  * // },
136
183
  * // },
184
+ * // NatGatewayAttachments: [ // NatGatewayAttachmentsList
185
+ * // { // NatGatewayAttachment
186
+ * // NatGatewayId: "STRING_VALUE", // required
187
+ * // Status: "CREATING" || "READY" || "UPDATING" || "FAILED" || "DELETING", // required
188
+ * // StatusMessage: "STRING_VALUE",
189
+ * // DnsName: "STRING_VALUE",
190
+ * // },
191
+ * // ],
137
192
  * // },
138
193
  * // },
139
194
  * // CapacityUsageSummary: { // CapacityUsageSummary
@@ -77,6 +77,7 @@ declare const CreateVpcEndpointAssociationCommand_base: {
77
77
  * // EndpointId: "STRING_VALUE",
78
78
  * // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
79
79
  * // StatusMessage: "STRING_VALUE",
80
+ * // DnsName: "STRING_VALUE",
80
81
  * // },
81
82
  * // },
82
83
  * // },
@@ -88,6 +88,29 @@ declare const DeleteFirewallCommand_base: {
88
88
  * // },
89
89
  * // ],
90
90
  * // AvailabilityZoneChangeProtection: true || false,
91
+ * // NatGatewayMappings: [ // NatGatewayMappingsList
92
+ * // { // NatGatewayMapping
93
+ * // NatGatewayId: "STRING_VALUE", // required
94
+ * // },
95
+ * // ],
96
+ * // ProxySettings: { // ProxySettings
97
+ * // ListenerProperties: [ // ListenerProperties // required
98
+ * // { // ListenerProperty
99
+ * // Port: Number("int"),
100
+ * // Type: "HTTP" || "HTTPS",
101
+ * // },
102
+ * // ],
103
+ * // },
104
+ * // NoSourcePreservation: true || false,
105
+ * // VpcEndpoint: { // VpcEndpoint
106
+ * // VpcId: "STRING_VALUE", // required
107
+ * // SubnetMappings: [ // required
108
+ * // {
109
+ * // SubnetId: "STRING_VALUE", // required
110
+ * // IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
111
+ * // },
112
+ * // ],
113
+ * // },
91
114
  * // },
92
115
  * // FirewallStatus: { // FirewallStatus
93
116
  * // Status: "PROVISIONING" || "DELETING" || "READY", // required
@@ -99,6 +122,7 @@ declare const DeleteFirewallCommand_base: {
99
122
  * // EndpointId: "STRING_VALUE",
100
123
  * // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
101
124
  * // StatusMessage: "STRING_VALUE",
125
+ * // DnsName: "STRING_VALUE",
102
126
  * // },
103
127
  * // Config: { // SyncStateConfig
104
128
  * // "<keys>": { // PerObjectStatus
@@ -106,6 +130,14 @@ declare const DeleteFirewallCommand_base: {
106
130
  * // UpdateToken: "STRING_VALUE",
107
131
  * // },
108
132
  * // },
133
+ * // NatGatewayAttachments: [ // NatGatewayAttachmentsList
134
+ * // { // NatGatewayAttachment
135
+ * // NatGatewayId: "STRING_VALUE", // required
136
+ * // Status: "CREATING" || "READY" || "UPDATING" || "FAILED" || "DELETING", // required
137
+ * // StatusMessage: "STRING_VALUE",
138
+ * // DnsName: "STRING_VALUE",
139
+ * // },
140
+ * // ],
109
141
  * // },
110
142
  * // },
111
143
  * // CapacityUsageSummary: { // CapacityUsageSummary
@@ -71,6 +71,7 @@ declare const DeleteVpcEndpointAssociationCommand_base: {
71
71
  * // EndpointId: "STRING_VALUE",
72
72
  * // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
73
73
  * // StatusMessage: "STRING_VALUE",
74
+ * // DnsName: "STRING_VALUE",
74
75
  * // },
75
76
  * // },
76
77
  * // },
@@ -79,6 +79,29 @@ declare const DescribeFirewallCommand_base: {
79
79
  * // },
80
80
  * // ],
81
81
  * // AvailabilityZoneChangeProtection: true || false,
82
+ * // NatGatewayMappings: [ // NatGatewayMappingsList
83
+ * // { // NatGatewayMapping
84
+ * // NatGatewayId: "STRING_VALUE", // required
85
+ * // },
86
+ * // ],
87
+ * // ProxySettings: { // ProxySettings
88
+ * // ListenerProperties: [ // ListenerProperties // required
89
+ * // { // ListenerProperty
90
+ * // Port: Number("int"),
91
+ * // Type: "HTTP" || "HTTPS",
92
+ * // },
93
+ * // ],
94
+ * // },
95
+ * // NoSourcePreservation: true || false,
96
+ * // VpcEndpoint: { // VpcEndpoint
97
+ * // VpcId: "STRING_VALUE", // required
98
+ * // SubnetMappings: [ // required
99
+ * // {
100
+ * // SubnetId: "STRING_VALUE", // required
101
+ * // IPAddressType: "DUALSTACK" || "IPV4" || "IPV6",
102
+ * // },
103
+ * // ],
104
+ * // },
82
105
  * // },
83
106
  * // FirewallStatus: { // FirewallStatus
84
107
  * // Status: "PROVISIONING" || "DELETING" || "READY", // required
@@ -90,6 +113,7 @@ declare const DescribeFirewallCommand_base: {
90
113
  * // EndpointId: "STRING_VALUE",
91
114
  * // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
92
115
  * // StatusMessage: "STRING_VALUE",
116
+ * // DnsName: "STRING_VALUE",
93
117
  * // },
94
118
  * // Config: { // SyncStateConfig
95
119
  * // "<keys>": { // PerObjectStatus
@@ -97,6 +121,14 @@ declare const DescribeFirewallCommand_base: {
97
121
  * // UpdateToken: "STRING_VALUE",
98
122
  * // },
99
123
  * // },
124
+ * // NatGatewayAttachments: [ // NatGatewayAttachmentsList
125
+ * // { // NatGatewayAttachment
126
+ * // NatGatewayId: "STRING_VALUE", // required
127
+ * // Status: "CREATING" || "READY" || "UPDATING" || "FAILED" || "DELETING", // required
128
+ * // StatusMessage: "STRING_VALUE",
129
+ * // DnsName: "STRING_VALUE",
130
+ * // },
131
+ * // ],
100
132
  * // },
101
133
  * // },
102
134
  * // CapacityUsageSummary: { // CapacityUsageSummary
@@ -65,6 +65,7 @@ declare const DescribeVpcEndpointAssociationCommand_base: {
65
65
  * // EndpointId: "STRING_VALUE",
66
66
  * // Status: "CREATING" || "DELETING" || "FAILED" || "ERROR" || "SCALING" || "READY",
67
67
  * // StatusMessage: "STRING_VALUE",
68
+ * // DnsName: "STRING_VALUE",
68
69
  * // },
69
70
  * // },
70
71
  * // },
@@ -0,0 +1,127 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateProxySettingsRequest, UpdateProxySettingsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateProxySettingsCommand}.
11
+ */
12
+ export interface UpdateProxySettingsCommandInput extends UpdateProxySettingsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateProxySettingsCommand}.
18
+ */
19
+ export interface UpdateProxySettingsCommandOutput extends UpdateProxySettingsResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateProxySettingsCommand_base: {
22
+ new (input: UpdateProxySettingsCommandInput): import("@smithy/core/client").CommandImpl<UpdateProxySettingsCommandInput, UpdateProxySettingsCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [UpdateProxySettingsCommandInput]): import("@smithy/core/client").CommandImpl<UpdateProxySettingsCommandInput, UpdateProxySettingsCommandOutput, import("..").NetworkFirewallClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Modifies the proxy listener configuration of a proxy mode firewall. Proxy mode firewalls are created with <code>NoSourcePreservation</code> set to <code>TRUE</code>. Use this operation to change the ports and protocols on which the firewall's proxy listens for traffic. </p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { NetworkFirewallClient, UpdateProxySettingsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
32
+ * // const { NetworkFirewallClient, UpdateProxySettingsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
33
+ * // import type { NetworkFirewallClientConfig } from "@aws-sdk/client-network-firewall";
34
+ * const config = {}; // type is NetworkFirewallClientConfig
35
+ * const client = new NetworkFirewallClient(config);
36
+ * const input = { // UpdateProxySettingsRequest
37
+ * FirewallArn: "STRING_VALUE",
38
+ * FirewallName: "STRING_VALUE",
39
+ * UpdateToken: "STRING_VALUE",
40
+ * ProxySettings: { // ProxySettings
41
+ * ListenerProperties: [ // ListenerProperties // required
42
+ * { // ListenerProperty
43
+ * Port: Number("int"),
44
+ * Type: "HTTP" || "HTTPS",
45
+ * },
46
+ * ],
47
+ * },
48
+ * };
49
+ * const command = new UpdateProxySettingsCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // UpdateProxySettingsResponse
52
+ * // FirewallArn: "STRING_VALUE",
53
+ * // FirewallName: "STRING_VALUE",
54
+ * // UpdateToken: "STRING_VALUE",
55
+ * // ProxySettings: { // ProxySettings
56
+ * // ListenerProperties: [ // ListenerProperties // required
57
+ * // { // ListenerProperty
58
+ * // Port: Number("int"),
59
+ * // Type: "HTTP" || "HTTPS",
60
+ * // },
61
+ * // ],
62
+ * // },
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param UpdateProxySettingsCommandInput - {@link UpdateProxySettingsCommandInput}
68
+ * @returns {@link UpdateProxySettingsCommandOutput}
69
+ * @see {@link UpdateProxySettingsCommandInput} for command's `input` shape.
70
+ * @see {@link UpdateProxySettingsCommandOutput} for command's `response` shape.
71
+ * @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
72
+ *
73
+ * @throws {@link InternalServerError} (server fault)
74
+ * <p>Your request is valid, but Network Firewall couldn't perform the operation because of a
75
+ * system problem. Retry your request. </p>
76
+ *
77
+ * @throws {@link InvalidOperationException} (client fault)
78
+ * <p>The operation failed because it's not valid. For example, you might have tried to delete
79
+ * a rule group or firewall policy that's in use.</p>
80
+ *
81
+ * @throws {@link InvalidRequestException} (client fault)
82
+ * <p>The operation failed because of a problem with your request. Examples include: </p>
83
+ * <ul>
84
+ * <li>
85
+ * <p>You specified an unsupported parameter name or value.</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>You tried to update a property with a value that isn't among the available
89
+ * types.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
93
+ * that isn't valid in the context of the request.</p>
94
+ * </li>
95
+ * </ul>
96
+ *
97
+ * @throws {@link InvalidTokenException} (client fault)
98
+ * <p>The token you provided is stale or isn't valid for the operation. </p>
99
+ *
100
+ * @throws {@link ResourceNotFoundException} (client fault)
101
+ * <p>Unable to locate a resource using the parameters that you provided.</p>
102
+ *
103
+ * @throws {@link ResourceOwnerCheckException} (client fault)
104
+ * <p>Unable to change the resource because your account doesn't own it. </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 UpdateProxySettingsCommand extends UpdateProxySettingsCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: UpdateProxySettingsRequest;
120
+ output: UpdateProxySettingsResponse;
121
+ };
122
+ sdk: {
123
+ input: UpdateProxySettingsCommandInput;
124
+ output: UpdateProxySettingsCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -79,6 +79,7 @@ export * from "./UpdateProxyConfigurationCommand";
79
79
  export * from "./UpdateProxyRuleCommand";
80
80
  export * from "./UpdateProxyRuleGroupPrioritiesCommand";
81
81
  export * from "./UpdateProxyRulePrioritiesCommand";
82
+ export * from "./UpdateProxySettingsCommand";
82
83
  export * from "./UpdateRuleGroupCommand";
83
84
  export * from "./UpdateSubnetChangeProtectionCommand";
84
85
  export * from "./UpdateTLSInspectionConfigurationCommand";
@@ -147,6 +147,18 @@ export declare const EncryptionType: {
147
147
  * @public
148
148
  */
149
149
  export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
150
+ /**
151
+ * @public
152
+ * @enum
153
+ */
154
+ export declare const ListenerPropertyType: {
155
+ readonly HTTP: "HTTP";
156
+ readonly HTTPS: "HTTPS";
157
+ };
158
+ /**
159
+ * @public
160
+ */
161
+ export type ListenerPropertyType = (typeof ListenerPropertyType)[keyof typeof ListenerPropertyType];
150
162
  /**
151
163
  * @public
152
164
  * @enum
@@ -175,6 +187,21 @@ export declare const PerObjectSyncStatus: {
175
187
  * @public
176
188
  */
177
189
  export type PerObjectSyncStatus = (typeof PerObjectSyncStatus)[keyof typeof PerObjectSyncStatus];
190
+ /**
191
+ * @public
192
+ * @enum
193
+ */
194
+ export declare const NatGatewayAttachmentStatus: {
195
+ readonly CREATING: "CREATING";
196
+ readonly DELETING: "DELETING";
197
+ readonly FAILED: "FAILED";
198
+ readonly READY: "READY";
199
+ readonly UPDATING: "UPDATING";
200
+ };
201
+ /**
202
+ * @public
203
+ */
204
+ export type NatGatewayAttachmentStatus = (typeof NatGatewayAttachmentStatus)[keyof typeof NatGatewayAttachmentStatus];
178
205
  /**
179
206
  * @public
180
207
  * @enum
@@ -224,18 +251,6 @@ export declare const ResourceStatus: {
224
251
  * @public
225
252
  */
226
253
  export type ResourceStatus = (typeof ResourceStatus)[keyof typeof ResourceStatus];
227
- /**
228
- * @public
229
- * @enum
230
- */
231
- export declare const ListenerPropertyType: {
232
- readonly HTTP: "HTTP";
233
- readonly HTTPS: "HTTPS";
234
- };
235
- /**
236
- * @public
237
- */
238
- export type ListenerPropertyType = (typeof ListenerPropertyType)[keyof typeof ListenerPropertyType];
239
254
  /**
240
255
  * @public
241
256
  * @enum