aws-sdk-networkfirewall 1.62.0 → 1.63.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkfirewall/client.rb +383 -1
- data/lib/aws-sdk-networkfirewall/client_api.rb +198 -0
- data/lib/aws-sdk-networkfirewall/types.rb +595 -15
- data/lib/aws-sdk-networkfirewall.rb +1 -1
- data/sig/client.rbs +109 -0
- data/sig/types.rbs +120 -0
- metadata +2 -2
@@ -1362,6 +1362,97 @@ module Aws::NetworkFirewall
|
|
1362
1362
|
include Aws::Structure
|
1363
1363
|
end
|
1364
1364
|
|
1365
|
+
# @!attribute [rw] firewall_arn
|
1366
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
1367
|
+
# @return [String]
|
1368
|
+
#
|
1369
|
+
# @!attribute [rw] availability_zone
|
1370
|
+
# The ID of the Availability Zone where the firewall is located. For
|
1371
|
+
# example, `us-east-2a`.
|
1372
|
+
#
|
1373
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
1374
|
+
# configure a single flow operation.
|
1375
|
+
# @return [String]
|
1376
|
+
#
|
1377
|
+
# @!attribute [rw] flow_operation_id
|
1378
|
+
# A unique identifier for the flow operation. This ID is returned in
|
1379
|
+
# the responses to start and list commands. You provide to describe
|
1380
|
+
# commands.
|
1381
|
+
# @return [String]
|
1382
|
+
#
|
1383
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFlowOperationRequest AWS API Documentation
|
1384
|
+
#
|
1385
|
+
class DescribeFlowOperationRequest < Struct.new(
|
1386
|
+
:firewall_arn,
|
1387
|
+
:availability_zone,
|
1388
|
+
:flow_operation_id)
|
1389
|
+
SENSITIVE = []
|
1390
|
+
include Aws::Structure
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
# @!attribute [rw] firewall_arn
|
1394
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
1395
|
+
# @return [String]
|
1396
|
+
#
|
1397
|
+
# @!attribute [rw] availability_zone
|
1398
|
+
# The ID of the Availability Zone where the firewall is located. For
|
1399
|
+
# example, `us-east-2a`.
|
1400
|
+
#
|
1401
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
1402
|
+
# configure a single flow operation.
|
1403
|
+
# @return [String]
|
1404
|
+
#
|
1405
|
+
# @!attribute [rw] flow_operation_id
|
1406
|
+
# A unique identifier for the flow operation. This ID is returned in
|
1407
|
+
# the responses to start and list commands. You provide to describe
|
1408
|
+
# commands.
|
1409
|
+
# @return [String]
|
1410
|
+
#
|
1411
|
+
# @!attribute [rw] flow_operation_type
|
1412
|
+
# Defines the type of `FlowOperation`.
|
1413
|
+
# @return [String]
|
1414
|
+
#
|
1415
|
+
# @!attribute [rw] flow_operation_status
|
1416
|
+
# Returns the status of the flow operation. This string is returned in
|
1417
|
+
# the responses to start, list, and describe commands.
|
1418
|
+
#
|
1419
|
+
# If the status is `COMPLETED_WITH_ERRORS`, results may be returned
|
1420
|
+
# with any number of `Flows` missing from the response. If the status
|
1421
|
+
# is `FAILED`, `Flows` returned will be empty.
|
1422
|
+
# @return [String]
|
1423
|
+
#
|
1424
|
+
# @!attribute [rw] status_message
|
1425
|
+
# If the asynchronous operation fails, Network Firewall populates this
|
1426
|
+
# with the reason for the error or failure. Options include `Flow
|
1427
|
+
# operation error` and `Flow timeout`.
|
1428
|
+
# @return [String]
|
1429
|
+
#
|
1430
|
+
# @!attribute [rw] flow_request_timestamp
|
1431
|
+
# A timestamp indicating when the Suricata engine identified flows
|
1432
|
+
# impacted by an operation.
|
1433
|
+
# @return [Time]
|
1434
|
+
#
|
1435
|
+
# @!attribute [rw] flow_operation
|
1436
|
+
# Returns key information about a flow operation, such as related
|
1437
|
+
# statuses, unique identifiers, and all filters defined in the
|
1438
|
+
# operation.
|
1439
|
+
# @return [Types::FlowOperation]
|
1440
|
+
#
|
1441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFlowOperationResponse AWS API Documentation
|
1442
|
+
#
|
1443
|
+
class DescribeFlowOperationResponse < Struct.new(
|
1444
|
+
:firewall_arn,
|
1445
|
+
:availability_zone,
|
1446
|
+
:flow_operation_id,
|
1447
|
+
:flow_operation_type,
|
1448
|
+
:flow_operation_status,
|
1449
|
+
:status_message,
|
1450
|
+
:flow_request_timestamp,
|
1451
|
+
:flow_operation)
|
1452
|
+
SENSITIVE = []
|
1453
|
+
include Aws::Structure
|
1454
|
+
end
|
1455
|
+
|
1365
1456
|
# @!attribute [rw] firewall_arn
|
1366
1457
|
# The Amazon Resource Name (ARN) of the firewall.
|
1367
1458
|
#
|
@@ -2250,6 +2341,179 @@ module Aws::NetworkFirewall
|
|
2250
2341
|
include Aws::Structure
|
2251
2342
|
end
|
2252
2343
|
|
2344
|
+
# Any number of arrays, where each array is a single flow identified in
|
2345
|
+
# the scope of the operation. If multiple flows were in the scope of the
|
2346
|
+
# operation, multiple `Flows` arrays are returned.
|
2347
|
+
#
|
2348
|
+
# @!attribute [rw] source_address
|
2349
|
+
# A single IP address specification. This is used in the
|
2350
|
+
# MatchAttributes source and destination specifications.
|
2351
|
+
# @return [Types::Address]
|
2352
|
+
#
|
2353
|
+
# @!attribute [rw] destination_address
|
2354
|
+
# A single IP address specification. This is used in the
|
2355
|
+
# MatchAttributes source and destination specifications.
|
2356
|
+
# @return [Types::Address]
|
2357
|
+
#
|
2358
|
+
# @!attribute [rw] source_port
|
2359
|
+
# The source port to inspect for. You can specify an individual port,
|
2360
|
+
# for example `1994` and you can specify a port range, for example
|
2361
|
+
# `1990:1994`. To match with any port, specify `ANY`.
|
2362
|
+
# @return [String]
|
2363
|
+
#
|
2364
|
+
# @!attribute [rw] destination_port
|
2365
|
+
# The destination port to inspect for. You can specify an individual
|
2366
|
+
# port, for example `1994` and you can specify a port range, for
|
2367
|
+
# example `1990:1994`. To match with any port, specify `ANY`.
|
2368
|
+
# @return [String]
|
2369
|
+
#
|
2370
|
+
# @!attribute [rw] protocol
|
2371
|
+
# The protocols to inspect for, specified using the assigned internet
|
2372
|
+
# protocol number (IANA) for each protocol. If not specified, this
|
2373
|
+
# matches with any protocol.
|
2374
|
+
# @return [String]
|
2375
|
+
#
|
2376
|
+
# @!attribute [rw] age
|
2377
|
+
# Returned as info about age of the flows identified by the flow
|
2378
|
+
# operation.
|
2379
|
+
# @return [Integer]
|
2380
|
+
#
|
2381
|
+
# @!attribute [rw] packet_count
|
2382
|
+
# Returns the total number of data packets received or transmitted in
|
2383
|
+
# a flow.
|
2384
|
+
# @return [Integer]
|
2385
|
+
#
|
2386
|
+
# @!attribute [rw] byte_count
|
2387
|
+
# Returns the number of bytes received or transmitted in a specific
|
2388
|
+
# flow.
|
2389
|
+
# @return [Integer]
|
2390
|
+
#
|
2391
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/Flow AWS API Documentation
|
2392
|
+
#
|
2393
|
+
class Flow < Struct.new(
|
2394
|
+
:source_address,
|
2395
|
+
:destination_address,
|
2396
|
+
:source_port,
|
2397
|
+
:destination_port,
|
2398
|
+
:protocol,
|
2399
|
+
:age,
|
2400
|
+
:packet_count,
|
2401
|
+
:byte_count)
|
2402
|
+
SENSITIVE = []
|
2403
|
+
include Aws::Structure
|
2404
|
+
end
|
2405
|
+
|
2406
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
2407
|
+
# configure a single flow operation.
|
2408
|
+
#
|
2409
|
+
# @!attribute [rw] source_address
|
2410
|
+
# A single IP address specification. This is used in the
|
2411
|
+
# MatchAttributes source and destination specifications.
|
2412
|
+
# @return [Types::Address]
|
2413
|
+
#
|
2414
|
+
# @!attribute [rw] destination_address
|
2415
|
+
# A single IP address specification. This is used in the
|
2416
|
+
# MatchAttributes source and destination specifications.
|
2417
|
+
# @return [Types::Address]
|
2418
|
+
#
|
2419
|
+
# @!attribute [rw] source_port
|
2420
|
+
# The source port to inspect for. You can specify an individual port,
|
2421
|
+
# for example `1994` and you can specify a port range, for example
|
2422
|
+
# `1990:1994`. To match with any port, specify `ANY`.
|
2423
|
+
# @return [String]
|
2424
|
+
#
|
2425
|
+
# @!attribute [rw] destination_port
|
2426
|
+
# The destination port to inspect for. You can specify an individual
|
2427
|
+
# port, for example `1994` and you can specify a port range, for
|
2428
|
+
# example `1990:1994`. To match with any port, specify `ANY`.
|
2429
|
+
# @return [String]
|
2430
|
+
#
|
2431
|
+
# @!attribute [rw] protocols
|
2432
|
+
# The protocols to inspect for, specified using the assigned internet
|
2433
|
+
# protocol number (IANA) for each protocol. If not specified, this
|
2434
|
+
# matches with any protocol.
|
2435
|
+
# @return [Array<String>]
|
2436
|
+
#
|
2437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/FlowFilter AWS API Documentation
|
2438
|
+
#
|
2439
|
+
class FlowFilter < Struct.new(
|
2440
|
+
:source_address,
|
2441
|
+
:destination_address,
|
2442
|
+
:source_port,
|
2443
|
+
:destination_port,
|
2444
|
+
:protocols)
|
2445
|
+
SENSITIVE = []
|
2446
|
+
include Aws::Structure
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
# Contains information about a flow operation, such as related statuses,
|
2450
|
+
# unique identifiers, and all filters defined in the operation.
|
2451
|
+
#
|
2452
|
+
# Flow operations let you manage the flows tracked in the flow table,
|
2453
|
+
# also known as the firewall table.
|
2454
|
+
#
|
2455
|
+
# A flow is network traffic that is monitored by a firewall, either by
|
2456
|
+
# stateful or stateless rules. For traffic to be considered part of a
|
2457
|
+
# flow, it must share Destination, DestinationPort, Direction, Protocol,
|
2458
|
+
# Source, and SourcePort.
|
2459
|
+
#
|
2460
|
+
# @!attribute [rw] minimum_flow_age_in_seconds
|
2461
|
+
# The reqested `FlowOperation` ignores flows with an age (in seconds)
|
2462
|
+
# lower than `MinimumFlowAgeInSeconds`. You provide this for start
|
2463
|
+
# commands.
|
2464
|
+
# @return [Integer]
|
2465
|
+
#
|
2466
|
+
# @!attribute [rw] flow_filters
|
2467
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
2468
|
+
# configure a single flow operation.
|
2469
|
+
# @return [Array<Types::FlowFilter>]
|
2470
|
+
#
|
2471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/FlowOperation AWS API Documentation
|
2472
|
+
#
|
2473
|
+
class FlowOperation < Struct.new(
|
2474
|
+
:minimum_flow_age_in_seconds,
|
2475
|
+
:flow_filters)
|
2476
|
+
SENSITIVE = []
|
2477
|
+
include Aws::Structure
|
2478
|
+
end
|
2479
|
+
|
2480
|
+
# An array of objects with metadata about the requested `FlowOperation`.
|
2481
|
+
#
|
2482
|
+
# @!attribute [rw] flow_operation_id
|
2483
|
+
# A unique identifier for the flow operation. This ID is returned in
|
2484
|
+
# the responses to start and list commands. You provide to describe
|
2485
|
+
# commands.
|
2486
|
+
# @return [String]
|
2487
|
+
#
|
2488
|
+
# @!attribute [rw] flow_operation_type
|
2489
|
+
# Defines the type of `FlowOperation`.
|
2490
|
+
# @return [String]
|
2491
|
+
#
|
2492
|
+
# @!attribute [rw] flow_request_timestamp
|
2493
|
+
# A timestamp indicating when the Suricata engine identified flows
|
2494
|
+
# impacted by an operation.
|
2495
|
+
# @return [Time]
|
2496
|
+
#
|
2497
|
+
# @!attribute [rw] flow_operation_status
|
2498
|
+
# Returns the status of the flow operation. This string is returned in
|
2499
|
+
# the responses to start, list, and describe commands.
|
2500
|
+
#
|
2501
|
+
# If the status is `COMPLETED_WITH_ERRORS`, results may be returned
|
2502
|
+
# with any number of `Flows` missing from the response. If the status
|
2503
|
+
# is `FAILED`, `Flows` returned will be empty.
|
2504
|
+
# @return [String]
|
2505
|
+
#
|
2506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/FlowOperationMetadata AWS API Documentation
|
2507
|
+
#
|
2508
|
+
class FlowOperationMetadata < Struct.new(
|
2509
|
+
:flow_operation_id,
|
2510
|
+
:flow_operation_type,
|
2511
|
+
:flow_request_timestamp,
|
2512
|
+
:flow_operation_status)
|
2513
|
+
SENSITIVE = []
|
2514
|
+
include Aws::Structure
|
2515
|
+
end
|
2516
|
+
|
2253
2517
|
# Describes the amount of time that can pass without any traffic sent
|
2254
2518
|
# through the firewall before the firewall determines that the
|
2255
2519
|
# connection is idle and Network Firewall removes the flow entry from
|
@@ -2829,6 +3093,189 @@ module Aws::NetworkFirewall
|
|
2829
3093
|
include Aws::Structure
|
2830
3094
|
end
|
2831
3095
|
|
3096
|
+
# @!attribute [rw] firewall_arn
|
3097
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
3098
|
+
# @return [String]
|
3099
|
+
#
|
3100
|
+
# @!attribute [rw] flow_operation_id
|
3101
|
+
# A unique identifier for the flow operation. This ID is returned in
|
3102
|
+
# the responses to start and list commands. You provide to describe
|
3103
|
+
# commands.
|
3104
|
+
# @return [String]
|
3105
|
+
#
|
3106
|
+
# @!attribute [rw] next_token
|
3107
|
+
# When you request a list of objects with a `MaxResults` setting, if
|
3108
|
+
# the number of objects that are still available for retrieval exceeds
|
3109
|
+
# the maximum you requested, Network Firewall returns a `NextToken`
|
3110
|
+
# value in the response. To retrieve the next batch of objects, use
|
3111
|
+
# the token returned from the prior request in your next request.
|
3112
|
+
# @return [String]
|
3113
|
+
#
|
3114
|
+
# @!attribute [rw] max_results
|
3115
|
+
# The maximum number of objects that you want Network Firewall to
|
3116
|
+
# return for this request. If more objects are available, in the
|
3117
|
+
# response, Network Firewall provides a `NextToken` value that you can
|
3118
|
+
# use in a subsequent call to get the next batch of objects.
|
3119
|
+
# @return [Integer]
|
3120
|
+
#
|
3121
|
+
# @!attribute [rw] availability_zone
|
3122
|
+
# The ID of the Availability Zone where the firewall is located. For
|
3123
|
+
# example, `us-east-2a`.
|
3124
|
+
#
|
3125
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
3126
|
+
# configure a single flow operation.
|
3127
|
+
# @return [String]
|
3128
|
+
#
|
3129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFlowOperationResultsRequest AWS API Documentation
|
3130
|
+
#
|
3131
|
+
class ListFlowOperationResultsRequest < Struct.new(
|
3132
|
+
:firewall_arn,
|
3133
|
+
:flow_operation_id,
|
3134
|
+
:next_token,
|
3135
|
+
:max_results,
|
3136
|
+
:availability_zone)
|
3137
|
+
SENSITIVE = []
|
3138
|
+
include Aws::Structure
|
3139
|
+
end
|
3140
|
+
|
3141
|
+
# @!attribute [rw] firewall_arn
|
3142
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
3143
|
+
# @return [String]
|
3144
|
+
#
|
3145
|
+
# @!attribute [rw] availability_zone
|
3146
|
+
# The ID of the Availability Zone where the firewall is located. For
|
3147
|
+
# example, `us-east-2a`.
|
3148
|
+
#
|
3149
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
3150
|
+
# configure a single flow operation.
|
3151
|
+
# @return [String]
|
3152
|
+
#
|
3153
|
+
# @!attribute [rw] flow_operation_id
|
3154
|
+
# A unique identifier for the flow operation. This ID is returned in
|
3155
|
+
# the responses to start and list commands. You provide to describe
|
3156
|
+
# commands.
|
3157
|
+
# @return [String]
|
3158
|
+
#
|
3159
|
+
# @!attribute [rw] flow_operation_status
|
3160
|
+
# Returns the status of the flow operation. This string is returned in
|
3161
|
+
# the responses to start, list, and describe commands.
|
3162
|
+
#
|
3163
|
+
# If the status is `COMPLETED_WITH_ERRORS`, results may be returned
|
3164
|
+
# with any number of `Flows` missing from the response. If the status
|
3165
|
+
# is `FAILED`, `Flows` returned will be empty.
|
3166
|
+
# @return [String]
|
3167
|
+
#
|
3168
|
+
# @!attribute [rw] status_message
|
3169
|
+
# If the asynchronous operation fails, Network Firewall populates this
|
3170
|
+
# with the reason for the error or failure. Options include `Flow
|
3171
|
+
# operation error` and `Flow timeout`.
|
3172
|
+
# @return [String]
|
3173
|
+
#
|
3174
|
+
# @!attribute [rw] flow_request_timestamp
|
3175
|
+
# A timestamp indicating when the Suricata engine identified flows
|
3176
|
+
# impacted by an operation.
|
3177
|
+
# @return [Time]
|
3178
|
+
#
|
3179
|
+
# @!attribute [rw] flows
|
3180
|
+
# Any number of arrays, where each array is a single flow identified
|
3181
|
+
# in the scope of the operation. If multiple flows were in the scope
|
3182
|
+
# of the operation, multiple `Flows` arrays are returned.
|
3183
|
+
# @return [Array<Types::Flow>]
|
3184
|
+
#
|
3185
|
+
# @!attribute [rw] next_token
|
3186
|
+
# When you request a list of objects with a `MaxResults` setting, if
|
3187
|
+
# the number of objects that are still available for retrieval exceeds
|
3188
|
+
# the maximum you requested, Network Firewall returns a `NextToken`
|
3189
|
+
# value in the response. To retrieve the next batch of objects, use
|
3190
|
+
# the token returned from the prior request in your next request.
|
3191
|
+
# @return [String]
|
3192
|
+
#
|
3193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFlowOperationResultsResponse AWS API Documentation
|
3194
|
+
#
|
3195
|
+
class ListFlowOperationResultsResponse < Struct.new(
|
3196
|
+
:firewall_arn,
|
3197
|
+
:availability_zone,
|
3198
|
+
:flow_operation_id,
|
3199
|
+
:flow_operation_status,
|
3200
|
+
:status_message,
|
3201
|
+
:flow_request_timestamp,
|
3202
|
+
:flows,
|
3203
|
+
:next_token)
|
3204
|
+
SENSITIVE = []
|
3205
|
+
include Aws::Structure
|
3206
|
+
end
|
3207
|
+
|
3208
|
+
# @!attribute [rw] firewall_arn
|
3209
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
3210
|
+
# @return [String]
|
3211
|
+
#
|
3212
|
+
# @!attribute [rw] availability_zone
|
3213
|
+
# The ID of the Availability Zone where the firewall is located. For
|
3214
|
+
# example, `us-east-2a`.
|
3215
|
+
#
|
3216
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
3217
|
+
# configure a single flow operation.
|
3218
|
+
# @return [String]
|
3219
|
+
#
|
3220
|
+
# @!attribute [rw] flow_operation_type
|
3221
|
+
# An optional string that defines whether any or all operation types
|
3222
|
+
# are returned.
|
3223
|
+
# @return [String]
|
3224
|
+
#
|
3225
|
+
# @!attribute [rw] next_token
|
3226
|
+
# When you request a list of objects with a `MaxResults` setting, if
|
3227
|
+
# the number of objects that are still available for retrieval exceeds
|
3228
|
+
# the maximum you requested, Network Firewall returns a `NextToken`
|
3229
|
+
# value in the response. To retrieve the next batch of objects, use
|
3230
|
+
# the token returned from the prior request in your next request.
|
3231
|
+
# @return [String]
|
3232
|
+
#
|
3233
|
+
# @!attribute [rw] max_results
|
3234
|
+
# The maximum number of objects that you want Network Firewall to
|
3235
|
+
# return for this request. If more objects are available, in the
|
3236
|
+
# response, Network Firewall provides a `NextToken` value that you can
|
3237
|
+
# use in a subsequent call to get the next batch of objects.
|
3238
|
+
# @return [Integer]
|
3239
|
+
#
|
3240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFlowOperationsRequest AWS API Documentation
|
3241
|
+
#
|
3242
|
+
class ListFlowOperationsRequest < Struct.new(
|
3243
|
+
:firewall_arn,
|
3244
|
+
:availability_zone,
|
3245
|
+
:flow_operation_type,
|
3246
|
+
:next_token,
|
3247
|
+
:max_results)
|
3248
|
+
SENSITIVE = []
|
3249
|
+
include Aws::Structure
|
3250
|
+
end
|
3251
|
+
|
3252
|
+
# @!attribute [rw] flow_operations
|
3253
|
+
# Flow operations let you manage the flows tracked in the flow table,
|
3254
|
+
# also known as the firewall table.
|
3255
|
+
#
|
3256
|
+
# A flow is network traffic that is monitored by a firewall, either by
|
3257
|
+
# stateful or stateless rules. For traffic to be considered part of a
|
3258
|
+
# flow, it must share Destination, DestinationPort, Direction,
|
3259
|
+
# Protocol, Source, and SourcePort.
|
3260
|
+
# @return [Array<Types::FlowOperationMetadata>]
|
3261
|
+
#
|
3262
|
+
# @!attribute [rw] next_token
|
3263
|
+
# When you request a list of objects with a `MaxResults` setting, if
|
3264
|
+
# the number of objects that are still available for retrieval exceeds
|
3265
|
+
# the maximum you requested, Network Firewall returns a `NextToken`
|
3266
|
+
# value in the response. To retrieve the next batch of objects, use
|
3267
|
+
# the token returned from the prior request in your next request.
|
3268
|
+
# @return [String]
|
3269
|
+
#
|
3270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFlowOperationsResponse AWS API Documentation
|
3271
|
+
#
|
3272
|
+
class ListFlowOperationsResponse < Struct.new(
|
3273
|
+
:flow_operations,
|
3274
|
+
:next_token)
|
3275
|
+
SENSITIVE = []
|
3276
|
+
include Aws::Structure
|
3277
|
+
end
|
3278
|
+
|
2832
3279
|
# @!attribute [rw] next_token
|
2833
3280
|
# When you request a list of objects with a `MaxResults` setting, if
|
2834
3281
|
# the number of objects that are still available for retrieval exceeds
|
@@ -3112,26 +3559,26 @@ module Aws::NetworkFirewall
|
|
3112
3559
|
# @return [Array<Types::Address>]
|
3113
3560
|
#
|
3114
3561
|
# @!attribute [rw] source_ports
|
3115
|
-
# The source
|
3116
|
-
#
|
3117
|
-
#
|
3562
|
+
# The source port to inspect for. You can specify an individual port,
|
3563
|
+
# for example `1994` and you can specify a port range, for example
|
3564
|
+
# `1990:1994`. To match with any port, specify `ANY`.
|
3565
|
+
#
|
3566
|
+
# If not specified, this matches with any source port.
|
3118
3567
|
#
|
3119
|
-
#
|
3120
|
-
# specify port ranges, for example `1990:1994`.
|
3568
|
+
# This setting is only used for protocols 6 (TCP) and 17 (UDP).
|
3121
3569
|
# @return [Array<Types::PortRange>]
|
3122
3570
|
#
|
3123
3571
|
# @!attribute [rw] destination_ports
|
3124
|
-
# The destination
|
3125
|
-
#
|
3126
|
-
#
|
3572
|
+
# The destination port to inspect for. You can specify an individual
|
3573
|
+
# port, for example `1994` and you can specify a port range, for
|
3574
|
+
# example `1990:1994`. To match with any port, specify `ANY`.
|
3127
3575
|
#
|
3128
|
-
#
|
3129
|
-
# specify port ranges, for example `1990:1994`.
|
3576
|
+
# This setting is only used for protocols 6 (TCP) and 17 (UDP).
|
3130
3577
|
# @return [Array<Types::PortRange>]
|
3131
3578
|
#
|
3132
3579
|
# @!attribute [rw] protocols
|
3133
|
-
# The protocols to inspect for, specified using
|
3134
|
-
#
|
3580
|
+
# The protocols to inspect for, specified using the assigned internet
|
3581
|
+
# protocol number (IANA) for each protocol. If not specified, this
|
3135
3582
|
# matches with any protocol.
|
3136
3583
|
# @return [Array<Integer>]
|
3137
3584
|
#
|
@@ -3886,9 +4333,11 @@ module Aws::NetworkFirewall
|
|
3886
4333
|
# @return [Array<Types::PortRange>]
|
3887
4334
|
#
|
3888
4335
|
# @!attribute [rw] protocols
|
3889
|
-
# The protocols to
|
3890
|
-
# protocol
|
3891
|
-
#
|
4336
|
+
# The protocols to inspect for, specified using the assigned internet
|
4337
|
+
# protocol number (IANA) for each protocol. If not specified, this
|
4338
|
+
# matches with any protocol.
|
4339
|
+
#
|
4340
|
+
# Network Firewall currently supports only TCP.
|
3892
4341
|
# @return [Array<Integer>]
|
3893
4342
|
#
|
3894
4343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ServerCertificateScope AWS API Documentation
|
@@ -3976,6 +4425,137 @@ module Aws::NetworkFirewall
|
|
3976
4425
|
include Aws::Structure
|
3977
4426
|
end
|
3978
4427
|
|
4428
|
+
# @!attribute [rw] firewall_arn
|
4429
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
4430
|
+
# @return [String]
|
4431
|
+
#
|
4432
|
+
# @!attribute [rw] availability_zone
|
4433
|
+
# The ID of the Availability Zone where the firewall is located. For
|
4434
|
+
# example, `us-east-2a`.
|
4435
|
+
#
|
4436
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
4437
|
+
# configure a single flow operation.
|
4438
|
+
# @return [String]
|
4439
|
+
#
|
4440
|
+
# @!attribute [rw] minimum_flow_age_in_seconds
|
4441
|
+
# The reqested `FlowOperation` ignores flows with an age (in seconds)
|
4442
|
+
# lower than `MinimumFlowAgeInSeconds`. You provide this for start
|
4443
|
+
# commands.
|
4444
|
+
#
|
4445
|
+
# <note markdown="1"> We recommend setting this value to at least 1 minute (60 seconds) to
|
4446
|
+
# reduce chance of capturing flows that are not yet established.
|
4447
|
+
#
|
4448
|
+
# </note>
|
4449
|
+
# @return [Integer]
|
4450
|
+
#
|
4451
|
+
# @!attribute [rw] flow_filters
|
4452
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
4453
|
+
# configure a single flow operation.
|
4454
|
+
# @return [Array<Types::FlowFilter>]
|
4455
|
+
#
|
4456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StartFlowCaptureRequest AWS API Documentation
|
4457
|
+
#
|
4458
|
+
class StartFlowCaptureRequest < Struct.new(
|
4459
|
+
:firewall_arn,
|
4460
|
+
:availability_zone,
|
4461
|
+
:minimum_flow_age_in_seconds,
|
4462
|
+
:flow_filters)
|
4463
|
+
SENSITIVE = []
|
4464
|
+
include Aws::Structure
|
4465
|
+
end
|
4466
|
+
|
4467
|
+
# @!attribute [rw] firewall_arn
|
4468
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
4469
|
+
# @return [String]
|
4470
|
+
#
|
4471
|
+
# @!attribute [rw] flow_operation_id
|
4472
|
+
# A unique identifier for the flow operation. This ID is returned in
|
4473
|
+
# the responses to start and list commands. You provide to describe
|
4474
|
+
# commands.
|
4475
|
+
# @return [String]
|
4476
|
+
#
|
4477
|
+
# @!attribute [rw] flow_operation_status
|
4478
|
+
# Returns the status of the flow operation. This string is returned in
|
4479
|
+
# the responses to start, list, and describe commands.
|
4480
|
+
#
|
4481
|
+
# If the status is `COMPLETED_WITH_ERRORS`, results may be returned
|
4482
|
+
# with any number of `Flows` missing from the response. If the status
|
4483
|
+
# is `FAILED`, `Flows` returned will be empty.
|
4484
|
+
# @return [String]
|
4485
|
+
#
|
4486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StartFlowCaptureResponse AWS API Documentation
|
4487
|
+
#
|
4488
|
+
class StartFlowCaptureResponse < Struct.new(
|
4489
|
+
:firewall_arn,
|
4490
|
+
:flow_operation_id,
|
4491
|
+
:flow_operation_status)
|
4492
|
+
SENSITIVE = []
|
4493
|
+
include Aws::Structure
|
4494
|
+
end
|
4495
|
+
|
4496
|
+
# @!attribute [rw] firewall_arn
|
4497
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
4498
|
+
# @return [String]
|
4499
|
+
#
|
4500
|
+
# @!attribute [rw] availability_zone
|
4501
|
+
# The ID of the Availability Zone where the firewall is located. For
|
4502
|
+
# example, `us-east-2a`.
|
4503
|
+
#
|
4504
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
4505
|
+
# configure a single flow operation.
|
4506
|
+
# @return [String]
|
4507
|
+
#
|
4508
|
+
# @!attribute [rw] minimum_flow_age_in_seconds
|
4509
|
+
# The reqested `FlowOperation` ignores flows with an age (in seconds)
|
4510
|
+
# lower than `MinimumFlowAgeInSeconds`. You provide this for start
|
4511
|
+
# commands.
|
4512
|
+
# @return [Integer]
|
4513
|
+
#
|
4514
|
+
# @!attribute [rw] flow_filters
|
4515
|
+
# Defines the scope a flow operation. You can use up to 20 filters to
|
4516
|
+
# configure a single flow operation.
|
4517
|
+
# @return [Array<Types::FlowFilter>]
|
4518
|
+
#
|
4519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StartFlowFlushRequest AWS API Documentation
|
4520
|
+
#
|
4521
|
+
class StartFlowFlushRequest < Struct.new(
|
4522
|
+
:firewall_arn,
|
4523
|
+
:availability_zone,
|
4524
|
+
:minimum_flow_age_in_seconds,
|
4525
|
+
:flow_filters)
|
4526
|
+
SENSITIVE = []
|
4527
|
+
include Aws::Structure
|
4528
|
+
end
|
4529
|
+
|
4530
|
+
# @!attribute [rw] firewall_arn
|
4531
|
+
# The Amazon Resource Name (ARN) of the firewall.
|
4532
|
+
# @return [String]
|
4533
|
+
#
|
4534
|
+
# @!attribute [rw] flow_operation_id
|
4535
|
+
# A unique identifier for the flow operation. This ID is returned in
|
4536
|
+
# the responses to start and list commands. You provide to describe
|
4537
|
+
# commands.
|
4538
|
+
# @return [String]
|
4539
|
+
#
|
4540
|
+
# @!attribute [rw] flow_operation_status
|
4541
|
+
# Returns the status of the flow operation. This string is returned in
|
4542
|
+
# the responses to start, list, and describe commands.
|
4543
|
+
#
|
4544
|
+
# If the status is `COMPLETED_WITH_ERRORS`, results may be returned
|
4545
|
+
# with any number of `Flows` missing from the response. If the status
|
4546
|
+
# is `FAILED`, `Flows` returned will be empty.
|
4547
|
+
# @return [String]
|
4548
|
+
#
|
4549
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/StartFlowFlushResponse AWS API Documentation
|
4550
|
+
#
|
4551
|
+
class StartFlowFlushResponse < Struct.new(
|
4552
|
+
:firewall_arn,
|
4553
|
+
:flow_operation_id,
|
4554
|
+
:flow_operation_status)
|
4555
|
+
SENSITIVE = []
|
4556
|
+
include Aws::Structure
|
4557
|
+
end
|
4558
|
+
|
3979
4559
|
# Configuration settings for the handling of the stateful rule groups in
|
3980
4560
|
# a firewall policy.
|
3981
4561
|
#
|