@aws-sdk/client-network-firewall 3.301.0 → 3.306.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 +40 -0
- package/dist-cjs/NetworkFirewall.js +75 -0
- package/dist-cjs/commands/CreateTLSInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/DeleteTLSInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/DescribeTLSInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/ListTLSInspectionConfigurationsCommand.js +45 -0
- package/dist-cjs/commands/UpdateTLSInspectionConfigurationCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +114 -135
- package/dist-cjs/pagination/ListTLSInspectionConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +540 -2
- package/dist-es/NetworkFirewall.js +75 -0
- package/dist-es/commands/CreateTLSInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/DeleteTLSInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/DescribeTLSInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/ListTLSInspectionConfigurationsCommand.js +41 -0
- package/dist-es/commands/UpdateTLSInspectionConfigurationCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +114 -135
- package/dist-es/pagination/ListTLSInspectionConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +528 -0
- package/dist-types/NetworkFirewall.d.ts +53 -0
- package/dist-types/NetworkFirewallClient.d.ts +7 -2
- package/dist-types/commands/CreateFirewallPolicyCommand.d.ts +1 -0
- package/dist-types/commands/CreateTLSInspectionConfigurationCommand.d.ts +145 -0
- package/dist-types/commands/DeleteTLSInspectionConfigurationCommand.d.ts +94 -0
- package/dist-types/commands/DescribeTLSInspectionConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/ListTLSInspectionConfigurationsCommand.d.ts +87 -0
- package/dist-types/commands/UpdateFirewallPolicyCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTLSInspectionConfigurationCommand.d.ts +144 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +558 -115
- package/dist-types/pagination/ListTLSInspectionConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +15 -0
- package/dist-types/ts3.4/NetworkFirewall.d.ts +91 -0
- package/dist-types/ts3.4/NetworkFirewallClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreateTLSInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteTLSInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeTLSInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTLSInspectionConfigurationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateTLSInspectionConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +244 -113
- package/dist-types/ts3.4/pagination/ListTLSInspectionConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +60 -0
- package/package.json +34 -34
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { UpdateTLSInspectionConfigurationRequest, UpdateTLSInspectionConfigurationResponse } from "../models/models_0";
|
|
5
|
+
import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateTLSInspectionConfigurationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateTLSInspectionConfigurationCommandInput extends UpdateTLSInspectionConfigurationRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateTLSInspectionConfigurationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateTLSInspectionConfigurationCommandOutput extends UpdateTLSInspectionConfigurationResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Updates the TLS inspection configuration settings for the specified TLS inspection configuration. You use a TLS inspection configuration by
|
|
23
|
+
* reference in one or more firewall policies. When you modify a TLS inspection configuration, you modify all
|
|
24
|
+
* firewall policies that use the TLS inspection configuration. </p>
|
|
25
|
+
* <p>To update a TLS inspection configuration, first call <a>DescribeTLSInspectionConfiguration</a> to retrieve the
|
|
26
|
+
* current <a>TLSInspectionConfiguration</a> object, update the object as needed, and then provide
|
|
27
|
+
* the updated object to this call. </p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkFirewallClient, UpdateTLSInspectionConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
|
|
32
|
+
* // const { NetworkFirewallClient, UpdateTLSInspectionConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
|
|
33
|
+
* const client = new NetworkFirewallClient(config);
|
|
34
|
+
* const input = { // UpdateTLSInspectionConfigurationRequest
|
|
35
|
+
* TLSInspectionConfigurationArn: "STRING_VALUE",
|
|
36
|
+
* TLSInspectionConfigurationName: "STRING_VALUE",
|
|
37
|
+
* TLSInspectionConfiguration: { // TLSInspectionConfiguration
|
|
38
|
+
* ServerCertificateConfigurations: [ // ServerCertificateConfigurations
|
|
39
|
+
* { // ServerCertificateConfiguration
|
|
40
|
+
* ServerCertificates: [ // ServerCertificates
|
|
41
|
+
* { // ServerCertificate
|
|
42
|
+
* ResourceArn: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* Scopes: [ // ServerCertificateScopes
|
|
46
|
+
* { // ServerCertificateScope
|
|
47
|
+
* Sources: [ // Addresses
|
|
48
|
+
* { // Address
|
|
49
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* Destinations: [
|
|
53
|
+
* {
|
|
54
|
+
* AddressDefinition: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* SourcePorts: [ // PortRanges
|
|
58
|
+
* { // PortRange
|
|
59
|
+
* FromPort: Number("int"), // required
|
|
60
|
+
* ToPort: Number("int"), // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* DestinationPorts: [
|
|
64
|
+
* {
|
|
65
|
+
* FromPort: Number("int"), // required
|
|
66
|
+
* ToPort: Number("int"), // required
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* Protocols: [ // ProtocolNumbers
|
|
70
|
+
* Number("int"),
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
74
|
+
* },
|
|
75
|
+
* ],
|
|
76
|
+
* },
|
|
77
|
+
* Description: "STRING_VALUE",
|
|
78
|
+
* EncryptionConfiguration: { // EncryptionConfiguration
|
|
79
|
+
* KeyId: "STRING_VALUE",
|
|
80
|
+
* Type: "CUSTOMER_KMS" || "AWS_OWNED_KMS_KEY", // required
|
|
81
|
+
* },
|
|
82
|
+
* UpdateToken: "STRING_VALUE", // required
|
|
83
|
+
* };
|
|
84
|
+
* const command = new UpdateTLSInspectionConfigurationCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param UpdateTLSInspectionConfigurationCommandInput - {@link UpdateTLSInspectionConfigurationCommandInput}
|
|
89
|
+
* @returns {@link UpdateTLSInspectionConfigurationCommandOutput}
|
|
90
|
+
* @see {@link UpdateTLSInspectionConfigurationCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link UpdateTLSInspectionConfigurationCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link NetworkFirewallClientResolvedConfig | config} for NetworkFirewallClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InternalServerError} (server fault)
|
|
95
|
+
* <p>Your request is valid, but Network Firewall couldn’t perform the operation because of a
|
|
96
|
+
* system problem. Retry your request. </p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
99
|
+
* <p>The operation failed because of a problem with your request. Examples include: </p>
|
|
100
|
+
* <ul>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>You specified an unsupported parameter name or value.</p>
|
|
103
|
+
* </li>
|
|
104
|
+
* <li>
|
|
105
|
+
* <p>You tried to update a property with a value that isn't among the available
|
|
106
|
+
* types.</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* <li>
|
|
109
|
+
* <p>Your request references an ARN that is malformed, or corresponds to a resource
|
|
110
|
+
* that isn't valid in the context of the request.</p>
|
|
111
|
+
* </li>
|
|
112
|
+
* </ul>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link InvalidTokenException} (client fault)
|
|
115
|
+
* <p>The token you provided is stale or isn't valid for the operation. </p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
118
|
+
* <p>Unable to locate a resource using the parameters that you provided.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
121
|
+
* <p>Unable to process the request due to throttling limitations.</p>
|
|
122
|
+
*
|
|
123
|
+
*
|
|
124
|
+
*/
|
|
125
|
+
export declare class UpdateTLSInspectionConfigurationCommand extends $Command<UpdateTLSInspectionConfigurationCommandInput, UpdateTLSInspectionConfigurationCommandOutput, NetworkFirewallClientResolvedConfig> {
|
|
126
|
+
readonly input: UpdateTLSInspectionConfigurationCommandInput;
|
|
127
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
constructor(input: UpdateTLSInspectionConfigurationCommandInput);
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkFirewallClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTLSInspectionConfigurationCommandInput, UpdateTLSInspectionConfigurationCommandOutput>;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
private serialize;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
private deserialize;
|
|
144
|
+
}
|
|
@@ -3,20 +3,24 @@ export * from "./AssociateSubnetsCommand";
|
|
|
3
3
|
export * from "./CreateFirewallCommand";
|
|
4
4
|
export * from "./CreateFirewallPolicyCommand";
|
|
5
5
|
export * from "./CreateRuleGroupCommand";
|
|
6
|
+
export * from "./CreateTLSInspectionConfigurationCommand";
|
|
6
7
|
export * from "./DeleteFirewallCommand";
|
|
7
8
|
export * from "./DeleteFirewallPolicyCommand";
|
|
8
9
|
export * from "./DeleteResourcePolicyCommand";
|
|
9
10
|
export * from "./DeleteRuleGroupCommand";
|
|
11
|
+
export * from "./DeleteTLSInspectionConfigurationCommand";
|
|
10
12
|
export * from "./DescribeFirewallCommand";
|
|
11
13
|
export * from "./DescribeFirewallPolicyCommand";
|
|
12
14
|
export * from "./DescribeLoggingConfigurationCommand";
|
|
13
15
|
export * from "./DescribeResourcePolicyCommand";
|
|
14
16
|
export * from "./DescribeRuleGroupCommand";
|
|
15
17
|
export * from "./DescribeRuleGroupMetadataCommand";
|
|
18
|
+
export * from "./DescribeTLSInspectionConfigurationCommand";
|
|
16
19
|
export * from "./DisassociateSubnetsCommand";
|
|
17
20
|
export * from "./ListFirewallPoliciesCommand";
|
|
18
21
|
export * from "./ListFirewallsCommand";
|
|
19
22
|
export * from "./ListRuleGroupsCommand";
|
|
23
|
+
export * from "./ListTLSInspectionConfigurationsCommand";
|
|
20
24
|
export * from "./ListTagsForResourceCommand";
|
|
21
25
|
export * from "./PutResourcePolicyCommand";
|
|
22
26
|
export * from "./TagResourceCommand";
|
|
@@ -29,3 +33,4 @@ export * from "./UpdateFirewallPolicyCommand";
|
|
|
29
33
|
export * from "./UpdateLoggingConfigurationCommand";
|
|
30
34
|
export * from "./UpdateRuleGroupCommand";
|
|
31
35
|
export * from "./UpdateSubnetChangeProtectionCommand";
|
|
36
|
+
export * from "./UpdateTLSInspectionConfigurationCommand";
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|