aws-sdk-ec2 1.95.0 → 1.96.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +1350 -217
- data/lib/aws-sdk-ec2/client_api.rb +399 -0
- data/lib/aws-sdk-ec2/image.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +7 -7
- data/lib/aws-sdk-ec2/subnet.rb +3 -3
- data/lib/aws-sdk-ec2/types.rb +1415 -109
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/image.rb
CHANGED
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -147,7 +147,7 @@ module Aws::EC2
|
|
147
147
|
# ],
|
148
148
|
# tag_specifications: [
|
149
149
|
# {
|
150
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
150
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
151
151
|
# tags: [
|
152
152
|
# {
|
153
153
|
# key: "String",
|
@@ -314,8 +314,8 @@ module Aws::EC2
|
|
314
314
|
# @option options [String] :subnet_id
|
315
315
|
# \[EC2-VPC\] The ID of the subnet to launch the instance into.
|
316
316
|
#
|
317
|
-
#
|
318
|
-
# the
|
317
|
+
# If you specify a network interface, you must specify any subnets as
|
318
|
+
# part of the network interface.
|
319
319
|
# @option options [String] :user_data
|
320
320
|
# The user data to make available to the instance. For more information,
|
321
321
|
# see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
|
@@ -377,8 +377,8 @@ module Aws::EC2
|
|
377
377
|
# Default: `stop`
|
378
378
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
379
379
|
# The network interfaces to associate with the instance. If you specify
|
380
|
-
# a network interface, you must specify any security groups
|
381
|
-
# the network interface.
|
380
|
+
# a network interface, you must specify any security groups and subnets
|
381
|
+
# as part of the network interface.
|
382
382
|
# @option options [String] :private_ip_address
|
383
383
|
# \[EC2-VPC\] The primary IPv4 address. You must specify a value from
|
384
384
|
# the IPv4 address range of the subnet.
|
@@ -744,7 +744,7 @@ module Aws::EC2
|
|
744
744
|
# volume_id: "String", # required
|
745
745
|
# tag_specifications: [
|
746
746
|
# {
|
747
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
747
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
748
748
|
# tags: [
|
749
749
|
# {
|
750
750
|
# key: "String",
|
@@ -865,7 +865,7 @@ module Aws::EC2
|
|
865
865
|
# dry_run: false,
|
866
866
|
# tag_specifications: [
|
867
867
|
# {
|
868
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
868
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
869
869
|
# tags: [
|
870
870
|
# {
|
871
871
|
# key: "String",
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -342,7 +342,7 @@ module Aws::EC2
|
|
342
342
|
# ],
|
343
343
|
# tag_specifications: [
|
344
344
|
# {
|
345
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
345
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
346
346
|
# tags: [
|
347
347
|
# {
|
348
348
|
# key: "String",
|
@@ -567,8 +567,8 @@ module Aws::EC2
|
|
567
567
|
# Default: `stop`
|
568
568
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
569
569
|
# The network interfaces to associate with the instance. If you specify
|
570
|
-
# a network interface, you must specify any security groups
|
571
|
-
# the network interface.
|
570
|
+
# a network interface, you must specify any security groups and subnets
|
571
|
+
# as part of the network interface.
|
572
572
|
# @option options [String] :private_ip_address
|
573
573
|
# \[EC2-VPC\] The primary IPv4 address. You must specify a value from
|
574
574
|
# the IPv4 address range of the subnet.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -433,7 +433,7 @@ module Aws::EC2
|
|
433
433
|
# quantity: 1, # required
|
434
434
|
# tag_specifications: [
|
435
435
|
# {
|
436
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
436
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
437
437
|
# tags: [
|
438
438
|
# {
|
439
439
|
# key: "String",
|
@@ -2181,8 +2181,6 @@ module Aws::EC2
|
|
2181
2181
|
include Aws::Structure
|
2182
2182
|
end
|
2183
2183
|
|
2184
|
-
# Contains the parameters for CancelConversionTask.
|
2185
|
-
#
|
2186
2184
|
# @note When making an API call, you may pass CancelConversionRequest
|
2187
2185
|
# data as a hash:
|
2188
2186
|
#
|
@@ -2216,8 +2214,6 @@ module Aws::EC2
|
|
2216
2214
|
include Aws::Structure
|
2217
2215
|
end
|
2218
2216
|
|
2219
|
-
# Contains the parameters for CancelExportTask.
|
2220
|
-
#
|
2221
2217
|
# @note When making an API call, you may pass CancelExportTaskRequest
|
2222
2218
|
# data as a hash:
|
2223
2219
|
#
|
@@ -2237,8 +2233,6 @@ module Aws::EC2
|
|
2237
2233
|
include Aws::Structure
|
2238
2234
|
end
|
2239
2235
|
|
2240
|
-
# Contains the parameters for CancelImportTask.
|
2241
|
-
#
|
2242
2236
|
# @note When making an API call, you may pass CancelImportTaskRequest
|
2243
2237
|
# data as a hash:
|
2244
2238
|
#
|
@@ -2272,8 +2266,6 @@ module Aws::EC2
|
|
2272
2266
|
include Aws::Structure
|
2273
2267
|
end
|
2274
2268
|
|
2275
|
-
# Contains the output for CancelImportTask.
|
2276
|
-
#
|
2277
2269
|
# @!attribute [rw] import_task_id
|
2278
2270
|
# The ID of the task being canceled.
|
2279
2271
|
# @return [String]
|
@@ -3960,7 +3952,7 @@ module Aws::EC2
|
|
3960
3952
|
# instance_match_criteria: "open", # accepts open, targeted
|
3961
3953
|
# tag_specifications: [
|
3962
3954
|
# {
|
3963
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
3955
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
3964
3956
|
# tags: [
|
3965
3957
|
# {
|
3966
3958
|
# key: "String",
|
@@ -4149,7 +4141,7 @@ module Aws::EC2
|
|
4149
4141
|
# client_token: "String",
|
4150
4142
|
# tag_specifications: [
|
4151
4143
|
# {
|
4152
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
4144
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
4153
4145
|
# tags: [
|
4154
4146
|
# {
|
4155
4147
|
# key: "String",
|
@@ -4732,7 +4724,7 @@ module Aws::EC2
|
|
4732
4724
|
# replace_unhealthy_instances: false,
|
4733
4725
|
# tag_specifications: [
|
4734
4726
|
# {
|
4735
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
4727
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
4736
4728
|
# tags: [
|
4737
4729
|
# {
|
4738
4730
|
# key: "String",
|
@@ -5179,8 +5171,6 @@ module Aws::EC2
|
|
5179
5171
|
include Aws::Structure
|
5180
5172
|
end
|
5181
5173
|
|
5182
|
-
# Contains the parameters for CreateInstanceExportTask.
|
5183
|
-
#
|
5184
5174
|
# @note When making an API call, you may pass CreateInstanceExportTaskRequest
|
5185
5175
|
# data as a hash:
|
5186
5176
|
#
|
@@ -5223,8 +5213,6 @@ module Aws::EC2
|
|
5223
5213
|
include Aws::Structure
|
5224
5214
|
end
|
5225
5215
|
|
5226
|
-
# Contains the output for CreateInstanceExportTask.
|
5227
|
-
#
|
5228
5216
|
# @!attribute [rw] export_task
|
5229
5217
|
# Information about the instance export task.
|
5230
5218
|
# @return [Types::ExportTask]
|
@@ -5374,7 +5362,7 @@ module Aws::EC2
|
|
5374
5362
|
# user_data: "String",
|
5375
5363
|
# tag_specifications: [
|
5376
5364
|
# {
|
5377
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
5365
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
5378
5366
|
# tags: [
|
5379
5367
|
# {
|
5380
5368
|
# key: "String",
|
@@ -5561,7 +5549,7 @@ module Aws::EC2
|
|
5561
5549
|
# user_data: "String",
|
5562
5550
|
# tag_specifications: [
|
5563
5551
|
# {
|
5564
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
5552
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
5565
5553
|
# tags: [
|
5566
5554
|
# {
|
5567
5555
|
# key: "String",
|
@@ -6392,7 +6380,7 @@ module Aws::EC2
|
|
6392
6380
|
# volume_id: "String", # required
|
6393
6381
|
# tag_specifications: [
|
6394
6382
|
# {
|
6395
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6383
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6396
6384
|
# tags: [
|
6397
6385
|
# {
|
6398
6386
|
# key: "String",
|
@@ -6444,7 +6432,7 @@ module Aws::EC2
|
|
6444
6432
|
# },
|
6445
6433
|
# tag_specifications: [
|
6446
6434
|
# {
|
6447
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6435
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6448
6436
|
# tags: [
|
6449
6437
|
# {
|
6450
6438
|
# key: "String",
|
@@ -6663,6 +6651,447 @@ module Aws::EC2
|
|
6663
6651
|
include Aws::Structure
|
6664
6652
|
end
|
6665
6653
|
|
6654
|
+
# @note When making an API call, you may pass CreateTrafficMirrorFilterRequest
|
6655
|
+
# data as a hash:
|
6656
|
+
#
|
6657
|
+
# {
|
6658
|
+
# description: "String",
|
6659
|
+
# tag_specifications: [
|
6660
|
+
# {
|
6661
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6662
|
+
# tags: [
|
6663
|
+
# {
|
6664
|
+
# key: "String",
|
6665
|
+
# value: "String",
|
6666
|
+
# },
|
6667
|
+
# ],
|
6668
|
+
# },
|
6669
|
+
# ],
|
6670
|
+
# dry_run: false,
|
6671
|
+
# client_token: "String",
|
6672
|
+
# }
|
6673
|
+
#
|
6674
|
+
# @!attribute [rw] description
|
6675
|
+
# The description of the Traffic Mirror filter.
|
6676
|
+
# @return [String]
|
6677
|
+
#
|
6678
|
+
# @!attribute [rw] tag_specifications
|
6679
|
+
# The tags to assign to a Traffic Mirror filter.
|
6680
|
+
# @return [Array<Types::TagSpecification>]
|
6681
|
+
#
|
6682
|
+
# @!attribute [rw] dry_run
|
6683
|
+
# Checks whether you have the required permissions for the action,
|
6684
|
+
# without actually making the request, and provides an error response.
|
6685
|
+
# If you have the required permissions, the error response is
|
6686
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6687
|
+
# @return [Boolean]
|
6688
|
+
#
|
6689
|
+
# @!attribute [rw] client_token
|
6690
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
6691
|
+
# idempotency of the request. For more information, see [How to Ensure
|
6692
|
+
# Idempotency][1].
|
6693
|
+
#
|
6694
|
+
# **A suitable default value is auto-generated.** You should normally
|
6695
|
+
# not need to pass this option.
|
6696
|
+
#
|
6697
|
+
#
|
6698
|
+
#
|
6699
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
6700
|
+
# @return [String]
|
6701
|
+
#
|
6702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilterRequest AWS API Documentation
|
6703
|
+
#
|
6704
|
+
class CreateTrafficMirrorFilterRequest < Struct.new(
|
6705
|
+
:description,
|
6706
|
+
:tag_specifications,
|
6707
|
+
:dry_run,
|
6708
|
+
:client_token)
|
6709
|
+
include Aws::Structure
|
6710
|
+
end
|
6711
|
+
|
6712
|
+
# @!attribute [rw] traffic_mirror_filter
|
6713
|
+
# Information about the Traffic Mirror filter.
|
6714
|
+
# @return [Types::TrafficMirrorFilter]
|
6715
|
+
#
|
6716
|
+
# @!attribute [rw] client_token
|
6717
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
6718
|
+
# idempotency of the request. For more information, see [How to Ensure
|
6719
|
+
# Idempotency][1].
|
6720
|
+
#
|
6721
|
+
#
|
6722
|
+
#
|
6723
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
6724
|
+
# @return [String]
|
6725
|
+
#
|
6726
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilterResult AWS API Documentation
|
6727
|
+
#
|
6728
|
+
class CreateTrafficMirrorFilterResult < Struct.new(
|
6729
|
+
:traffic_mirror_filter,
|
6730
|
+
:client_token)
|
6731
|
+
include Aws::Structure
|
6732
|
+
end
|
6733
|
+
|
6734
|
+
# @note When making an API call, you may pass CreateTrafficMirrorFilterRuleRequest
|
6735
|
+
# data as a hash:
|
6736
|
+
#
|
6737
|
+
# {
|
6738
|
+
# traffic_mirror_filter_id: "String", # required
|
6739
|
+
# traffic_direction: "ingress", # required, accepts ingress, egress
|
6740
|
+
# rule_number: 1, # required
|
6741
|
+
# rule_action: "accept", # required, accepts accept, reject
|
6742
|
+
# destination_port_range: {
|
6743
|
+
# from_port: 1,
|
6744
|
+
# to_port: 1,
|
6745
|
+
# },
|
6746
|
+
# source_port_range: {
|
6747
|
+
# from_port: 1,
|
6748
|
+
# to_port: 1,
|
6749
|
+
# },
|
6750
|
+
# protocol: 1,
|
6751
|
+
# destination_cidr_block: "String", # required
|
6752
|
+
# source_cidr_block: "String", # required
|
6753
|
+
# description: "String",
|
6754
|
+
# dry_run: false,
|
6755
|
+
# client_token: "String",
|
6756
|
+
# }
|
6757
|
+
#
|
6758
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
6759
|
+
# The ID of the filter that this rule is associated with.
|
6760
|
+
# @return [String]
|
6761
|
+
#
|
6762
|
+
# @!attribute [rw] traffic_direction
|
6763
|
+
# The type of traffic (`ingress` \| `egress`).
|
6764
|
+
# @return [String]
|
6765
|
+
#
|
6766
|
+
# @!attribute [rw] rule_number
|
6767
|
+
# The number of the Traffic Mirror rule. This number must be unique
|
6768
|
+
# for each Traffic Mirror rule in a given direction. The rules are
|
6769
|
+
# processed in ascending order by rule number.
|
6770
|
+
# @return [Integer]
|
6771
|
+
#
|
6772
|
+
# @!attribute [rw] rule_action
|
6773
|
+
# The action to take (`accept` \| `reject`) on the filtered traffic.
|
6774
|
+
# @return [String]
|
6775
|
+
#
|
6776
|
+
# @!attribute [rw] destination_port_range
|
6777
|
+
# The destination port range.
|
6778
|
+
# @return [Types::TrafficMirrorPortRangeRequest]
|
6779
|
+
#
|
6780
|
+
# @!attribute [rw] source_port_range
|
6781
|
+
# The source port range.
|
6782
|
+
# @return [Types::TrafficMirrorPortRangeRequest]
|
6783
|
+
#
|
6784
|
+
# @!attribute [rw] protocol
|
6785
|
+
# The protocol, for example UDP, to assign to the Traffic Mirror rule.
|
6786
|
+
#
|
6787
|
+
# For information about the protocol value, see [Protocol Numbers][1]
|
6788
|
+
# on the Internet Assigned Numbers Authority (IANA) website.
|
6789
|
+
#
|
6790
|
+
#
|
6791
|
+
#
|
6792
|
+
# [1]: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
|
6793
|
+
# @return [Integer]
|
6794
|
+
#
|
6795
|
+
# @!attribute [rw] destination_cidr_block
|
6796
|
+
# The destination CIDR block to assign to the Traffic Mirror rule.
|
6797
|
+
# @return [String]
|
6798
|
+
#
|
6799
|
+
# @!attribute [rw] source_cidr_block
|
6800
|
+
# The source CIDR block to assign to the Traffic Mirror rule.
|
6801
|
+
# @return [String]
|
6802
|
+
#
|
6803
|
+
# @!attribute [rw] description
|
6804
|
+
# The description of the Traffic Mirror rule.
|
6805
|
+
# @return [String]
|
6806
|
+
#
|
6807
|
+
# @!attribute [rw] dry_run
|
6808
|
+
# Checks whether you have the required permissions for the action,
|
6809
|
+
# without actually making the request, and provides an error response.
|
6810
|
+
# If you have the required permissions, the error response is
|
6811
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6812
|
+
# @return [Boolean]
|
6813
|
+
#
|
6814
|
+
# @!attribute [rw] client_token
|
6815
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
6816
|
+
# idempotency of the request. For more information, see [How to Ensure
|
6817
|
+
# Idempotency][1].
|
6818
|
+
#
|
6819
|
+
# **A suitable default value is auto-generated.** You should normally
|
6820
|
+
# not need to pass this option.
|
6821
|
+
#
|
6822
|
+
#
|
6823
|
+
#
|
6824
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
6825
|
+
# @return [String]
|
6826
|
+
#
|
6827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilterRuleRequest AWS API Documentation
|
6828
|
+
#
|
6829
|
+
class CreateTrafficMirrorFilterRuleRequest < Struct.new(
|
6830
|
+
:traffic_mirror_filter_id,
|
6831
|
+
:traffic_direction,
|
6832
|
+
:rule_number,
|
6833
|
+
:rule_action,
|
6834
|
+
:destination_port_range,
|
6835
|
+
:source_port_range,
|
6836
|
+
:protocol,
|
6837
|
+
:destination_cidr_block,
|
6838
|
+
:source_cidr_block,
|
6839
|
+
:description,
|
6840
|
+
:dry_run,
|
6841
|
+
:client_token)
|
6842
|
+
include Aws::Structure
|
6843
|
+
end
|
6844
|
+
|
6845
|
+
# @!attribute [rw] traffic_mirror_filter_rule
|
6846
|
+
# The Traffic Mirror rule.
|
6847
|
+
# @return [Types::TrafficMirrorFilterRule]
|
6848
|
+
#
|
6849
|
+
# @!attribute [rw] client_token
|
6850
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
6851
|
+
# idempotency of the request. For more information, see [How to Ensure
|
6852
|
+
# Idempotency][1].
|
6853
|
+
#
|
6854
|
+
#
|
6855
|
+
#
|
6856
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
6857
|
+
# @return [String]
|
6858
|
+
#
|
6859
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilterRuleResult AWS API Documentation
|
6860
|
+
#
|
6861
|
+
class CreateTrafficMirrorFilterRuleResult < Struct.new(
|
6862
|
+
:traffic_mirror_filter_rule,
|
6863
|
+
:client_token)
|
6864
|
+
include Aws::Structure
|
6865
|
+
end
|
6866
|
+
|
6867
|
+
# @note When making an API call, you may pass CreateTrafficMirrorSessionRequest
|
6868
|
+
# data as a hash:
|
6869
|
+
#
|
6870
|
+
# {
|
6871
|
+
# network_interface_id: "String", # required
|
6872
|
+
# traffic_mirror_target_id: "String", # required
|
6873
|
+
# traffic_mirror_filter_id: "String", # required
|
6874
|
+
# packet_length: 1,
|
6875
|
+
# session_number: 1, # required
|
6876
|
+
# virtual_network_id: 1,
|
6877
|
+
# description: "String",
|
6878
|
+
# tag_specifications: [
|
6879
|
+
# {
|
6880
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6881
|
+
# tags: [
|
6882
|
+
# {
|
6883
|
+
# key: "String",
|
6884
|
+
# value: "String",
|
6885
|
+
# },
|
6886
|
+
# ],
|
6887
|
+
# },
|
6888
|
+
# ],
|
6889
|
+
# dry_run: false,
|
6890
|
+
# client_token: "String",
|
6891
|
+
# }
|
6892
|
+
#
|
6893
|
+
# @!attribute [rw] network_interface_id
|
6894
|
+
# The ID of the source network interface.
|
6895
|
+
# @return [String]
|
6896
|
+
#
|
6897
|
+
# @!attribute [rw] traffic_mirror_target_id
|
6898
|
+
# The ID of the Traffic Mirror target.
|
6899
|
+
# @return [String]
|
6900
|
+
#
|
6901
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
6902
|
+
# The ID of the Traffic Mirror filter.
|
6903
|
+
# @return [String]
|
6904
|
+
#
|
6905
|
+
# @!attribute [rw] packet_length
|
6906
|
+
# The number of bytes in each packet to mirror. These are bytes after
|
6907
|
+
# the VXLAN header. Do not specify this parameter when you want to
|
6908
|
+
# mirror the entire packet. To mirror a subset of the packet, set this
|
6909
|
+
# to the length (in bytes) that you want to mirror. For example, if
|
6910
|
+
# you set this value to 1network0, then the first 100 bytes that meet
|
6911
|
+
# the filter criteria are copied to the target.
|
6912
|
+
#
|
6913
|
+
# If you do not want to mirror the entire packet, use the
|
6914
|
+
# `PacketLength` parameter to specify the number of bytes in each
|
6915
|
+
# packet to mirror.
|
6916
|
+
# @return [Integer]
|
6917
|
+
#
|
6918
|
+
# @!attribute [rw] session_number
|
6919
|
+
# The session number determines the order in which sessions are
|
6920
|
+
# evaluated when an interface is used by multiple sessions. The first
|
6921
|
+
# session with a matching filter is the one that mirrors the packets.
|
6922
|
+
#
|
6923
|
+
# Valid values are 1-32766.
|
6924
|
+
# @return [Integer]
|
6925
|
+
#
|
6926
|
+
# @!attribute [rw] virtual_network_id
|
6927
|
+
# The VXLAN ID for the Traffic Mirror session. For more information
|
6928
|
+
# about the VXLAN protocol, see [RFC 7348][1]. If you do not specify a
|
6929
|
+
# `VirtualNetworkId`, an account-wide unique id is chosen at random.
|
6930
|
+
#
|
6931
|
+
#
|
6932
|
+
#
|
6933
|
+
# [1]: https://tools.ietf.org/html/rfc7348
|
6934
|
+
# @return [Integer]
|
6935
|
+
#
|
6936
|
+
# @!attribute [rw] description
|
6937
|
+
# The description of the Traffic Mirror session.
|
6938
|
+
# @return [String]
|
6939
|
+
#
|
6940
|
+
# @!attribute [rw] tag_specifications
|
6941
|
+
# The tags to assign to a Traffic Mirror session.
|
6942
|
+
# @return [Array<Types::TagSpecification>]
|
6943
|
+
#
|
6944
|
+
# @!attribute [rw] dry_run
|
6945
|
+
# Checks whether you have the required permissions for the action,
|
6946
|
+
# without actually making the request, and provides an error response.
|
6947
|
+
# If you have the required permissions, the error response is
|
6948
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
6949
|
+
# @return [Boolean]
|
6950
|
+
#
|
6951
|
+
# @!attribute [rw] client_token
|
6952
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
6953
|
+
# idempotency of the request. For more information, see [How to Ensure
|
6954
|
+
# Idempotency][1].
|
6955
|
+
#
|
6956
|
+
# **A suitable default value is auto-generated.** You should normally
|
6957
|
+
# not need to pass this option.
|
6958
|
+
#
|
6959
|
+
#
|
6960
|
+
#
|
6961
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
6962
|
+
# @return [String]
|
6963
|
+
#
|
6964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorSessionRequest AWS API Documentation
|
6965
|
+
#
|
6966
|
+
class CreateTrafficMirrorSessionRequest < Struct.new(
|
6967
|
+
:network_interface_id,
|
6968
|
+
:traffic_mirror_target_id,
|
6969
|
+
:traffic_mirror_filter_id,
|
6970
|
+
:packet_length,
|
6971
|
+
:session_number,
|
6972
|
+
:virtual_network_id,
|
6973
|
+
:description,
|
6974
|
+
:tag_specifications,
|
6975
|
+
:dry_run,
|
6976
|
+
:client_token)
|
6977
|
+
include Aws::Structure
|
6978
|
+
end
|
6979
|
+
|
6980
|
+
# @!attribute [rw] traffic_mirror_session
|
6981
|
+
# Information about the Traffic Mirror session.
|
6982
|
+
# @return [Types::TrafficMirrorSession]
|
6983
|
+
#
|
6984
|
+
# @!attribute [rw] client_token
|
6985
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
6986
|
+
# idempotency of the request. For more information, see [How to Ensure
|
6987
|
+
# Idempotency][1].
|
6988
|
+
#
|
6989
|
+
#
|
6990
|
+
#
|
6991
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
6992
|
+
# @return [String]
|
6993
|
+
#
|
6994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorSessionResult AWS API Documentation
|
6995
|
+
#
|
6996
|
+
class CreateTrafficMirrorSessionResult < Struct.new(
|
6997
|
+
:traffic_mirror_session,
|
6998
|
+
:client_token)
|
6999
|
+
include Aws::Structure
|
7000
|
+
end
|
7001
|
+
|
7002
|
+
# @note When making an API call, you may pass CreateTrafficMirrorTargetRequest
|
7003
|
+
# data as a hash:
|
7004
|
+
#
|
7005
|
+
# {
|
7006
|
+
# network_interface_id: "String",
|
7007
|
+
# network_load_balancer_arn: "String",
|
7008
|
+
# description: "String",
|
7009
|
+
# tag_specifications: [
|
7010
|
+
# {
|
7011
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
7012
|
+
# tags: [
|
7013
|
+
# {
|
7014
|
+
# key: "String",
|
7015
|
+
# value: "String",
|
7016
|
+
# },
|
7017
|
+
# ],
|
7018
|
+
# },
|
7019
|
+
# ],
|
7020
|
+
# dry_run: false,
|
7021
|
+
# client_token: "String",
|
7022
|
+
# }
|
7023
|
+
#
|
7024
|
+
# @!attribute [rw] network_interface_id
|
7025
|
+
# The network interface ID that is associated with the target.
|
7026
|
+
# @return [String]
|
7027
|
+
#
|
7028
|
+
# @!attribute [rw] network_load_balancer_arn
|
7029
|
+
# The Amazon Resource Name (ARN) of the Network Load Balancer that is
|
7030
|
+
# associated with the target.
|
7031
|
+
# @return [String]
|
7032
|
+
#
|
7033
|
+
# @!attribute [rw] description
|
7034
|
+
# The description of the Traffic Mirror target.
|
7035
|
+
# @return [String]
|
7036
|
+
#
|
7037
|
+
# @!attribute [rw] tag_specifications
|
7038
|
+
# The tags to assign to the Traffic Mirror target.
|
7039
|
+
# @return [Array<Types::TagSpecification>]
|
7040
|
+
#
|
7041
|
+
# @!attribute [rw] dry_run
|
7042
|
+
# Checks whether you have the required permissions for the action,
|
7043
|
+
# without actually making the request, and provides an error response.
|
7044
|
+
# If you have the required permissions, the error response is
|
7045
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
7046
|
+
# @return [Boolean]
|
7047
|
+
#
|
7048
|
+
# @!attribute [rw] client_token
|
7049
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
7050
|
+
# idempotency of the request. For more information, see [How to Ensure
|
7051
|
+
# Idempotency][1].
|
7052
|
+
#
|
7053
|
+
# **A suitable default value is auto-generated.** You should normally
|
7054
|
+
# not need to pass this option.
|
7055
|
+
#
|
7056
|
+
#
|
7057
|
+
#
|
7058
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
7059
|
+
# @return [String]
|
7060
|
+
#
|
7061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorTargetRequest AWS API Documentation
|
7062
|
+
#
|
7063
|
+
class CreateTrafficMirrorTargetRequest < Struct.new(
|
7064
|
+
:network_interface_id,
|
7065
|
+
:network_load_balancer_arn,
|
7066
|
+
:description,
|
7067
|
+
:tag_specifications,
|
7068
|
+
:dry_run,
|
7069
|
+
:client_token)
|
7070
|
+
include Aws::Structure
|
7071
|
+
end
|
7072
|
+
|
7073
|
+
# @!attribute [rw] traffic_mirror_target
|
7074
|
+
# Information about the Traffic Mirror target.
|
7075
|
+
# @return [Types::TrafficMirrorTarget]
|
7076
|
+
#
|
7077
|
+
# @!attribute [rw] client_token
|
7078
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
7079
|
+
# idempotency of the request. For more information, see [How to Ensure
|
7080
|
+
# Idempotency][1].
|
7081
|
+
#
|
7082
|
+
#
|
7083
|
+
#
|
7084
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
7085
|
+
# @return [String]
|
7086
|
+
#
|
7087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorTargetResult AWS API Documentation
|
7088
|
+
#
|
7089
|
+
class CreateTrafficMirrorTargetResult < Struct.new(
|
7090
|
+
:traffic_mirror_target,
|
7091
|
+
:client_token)
|
7092
|
+
include Aws::Structure
|
7093
|
+
end
|
7094
|
+
|
6666
7095
|
# @note When making an API call, you may pass CreateTransitGatewayRequest
|
6667
7096
|
# data as a hash:
|
6668
7097
|
#
|
@@ -6678,7 +7107,7 @@ module Aws::EC2
|
|
6678
7107
|
# },
|
6679
7108
|
# tag_specifications: [
|
6680
7109
|
# {
|
6681
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
7110
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6682
7111
|
# tags: [
|
6683
7112
|
# {
|
6684
7113
|
# key: "String",
|
@@ -6794,7 +7223,7 @@ module Aws::EC2
|
|
6794
7223
|
# transit_gateway_id: "String", # required
|
6795
7224
|
# tag_specifications: [
|
6796
7225
|
# {
|
6797
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
7226
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6798
7227
|
# tags: [
|
6799
7228
|
# {
|
6800
7229
|
# key: "String",
|
@@ -6854,7 +7283,7 @@ module Aws::EC2
|
|
6854
7283
|
# },
|
6855
7284
|
# tag_specifications: [
|
6856
7285
|
# {
|
6857
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
7286
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
6858
7287
|
# tags: [
|
6859
7288
|
# {
|
6860
7289
|
# key: "String",
|
@@ -7025,7 +7454,7 @@ module Aws::EC2
|
|
7025
7454
|
# dry_run: false,
|
7026
7455
|
# tag_specifications: [
|
7027
7456
|
# {
|
7028
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
7457
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
7029
7458
|
# tags: [
|
7030
7459
|
# {
|
7031
7460
|
# key: "String",
|
@@ -7577,7 +8006,7 @@ module Aws::EC2
|
|
7577
8006
|
# @return [String]
|
7578
8007
|
#
|
7579
8008
|
# @!attribute [rw] type
|
7580
|
-
# The type of VPN connection (`ipsec.1`
|
8009
|
+
# The type of VPN connection (`ipsec.1`).
|
7581
8010
|
# @return [String]
|
7582
8011
|
#
|
7583
8012
|
# @!attribute [rw] vpn_gateway_id
|
@@ -8803,6 +9232,158 @@ module Aws::EC2
|
|
8803
9232
|
include Aws::Structure
|
8804
9233
|
end
|
8805
9234
|
|
9235
|
+
# @note When making an API call, you may pass DeleteTrafficMirrorFilterRequest
|
9236
|
+
# data as a hash:
|
9237
|
+
#
|
9238
|
+
# {
|
9239
|
+
# traffic_mirror_filter_id: "String", # required
|
9240
|
+
# dry_run: false,
|
9241
|
+
# }
|
9242
|
+
#
|
9243
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
9244
|
+
# The ID of the Traffic Mirror filter.
|
9245
|
+
# @return [String]
|
9246
|
+
#
|
9247
|
+
# @!attribute [rw] dry_run
|
9248
|
+
# Checks whether you have the required permissions for the action,
|
9249
|
+
# without actually making the request, and provides an error response.
|
9250
|
+
# If you have the required permissions, the error response is
|
9251
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9252
|
+
# @return [Boolean]
|
9253
|
+
#
|
9254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorFilterRequest AWS API Documentation
|
9255
|
+
#
|
9256
|
+
class DeleteTrafficMirrorFilterRequest < Struct.new(
|
9257
|
+
:traffic_mirror_filter_id,
|
9258
|
+
:dry_run)
|
9259
|
+
include Aws::Structure
|
9260
|
+
end
|
9261
|
+
|
9262
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
9263
|
+
# The ID of the Traffic Mirror filter.
|
9264
|
+
# @return [String]
|
9265
|
+
#
|
9266
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorFilterResult AWS API Documentation
|
9267
|
+
#
|
9268
|
+
class DeleteTrafficMirrorFilterResult < Struct.new(
|
9269
|
+
:traffic_mirror_filter_id)
|
9270
|
+
include Aws::Structure
|
9271
|
+
end
|
9272
|
+
|
9273
|
+
# @note When making an API call, you may pass DeleteTrafficMirrorFilterRuleRequest
|
9274
|
+
# data as a hash:
|
9275
|
+
#
|
9276
|
+
# {
|
9277
|
+
# traffic_mirror_filter_rule_id: "String", # required
|
9278
|
+
# dry_run: false,
|
9279
|
+
# }
|
9280
|
+
#
|
9281
|
+
# @!attribute [rw] traffic_mirror_filter_rule_id
|
9282
|
+
# The ID of the Traffic Mirror rule.
|
9283
|
+
# @return [String]
|
9284
|
+
#
|
9285
|
+
# @!attribute [rw] dry_run
|
9286
|
+
# Checks whether you have the required permissions for the action,
|
9287
|
+
# without actually making the request, and provides an error response.
|
9288
|
+
# If you have the required permissions, the error response is
|
9289
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9290
|
+
# @return [Boolean]
|
9291
|
+
#
|
9292
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorFilterRuleRequest AWS API Documentation
|
9293
|
+
#
|
9294
|
+
class DeleteTrafficMirrorFilterRuleRequest < Struct.new(
|
9295
|
+
:traffic_mirror_filter_rule_id,
|
9296
|
+
:dry_run)
|
9297
|
+
include Aws::Structure
|
9298
|
+
end
|
9299
|
+
|
9300
|
+
# @!attribute [rw] traffic_mirror_filter_rule_id
|
9301
|
+
# The ID of the deleted Traffic Mirror rule.
|
9302
|
+
# @return [String]
|
9303
|
+
#
|
9304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorFilterRuleResult AWS API Documentation
|
9305
|
+
#
|
9306
|
+
class DeleteTrafficMirrorFilterRuleResult < Struct.new(
|
9307
|
+
:traffic_mirror_filter_rule_id)
|
9308
|
+
include Aws::Structure
|
9309
|
+
end
|
9310
|
+
|
9311
|
+
# @note When making an API call, you may pass DeleteTrafficMirrorSessionRequest
|
9312
|
+
# data as a hash:
|
9313
|
+
#
|
9314
|
+
# {
|
9315
|
+
# traffic_mirror_session_id: "String", # required
|
9316
|
+
# dry_run: false,
|
9317
|
+
# }
|
9318
|
+
#
|
9319
|
+
# @!attribute [rw] traffic_mirror_session_id
|
9320
|
+
# The ID of the Traffic Mirror session.
|
9321
|
+
# @return [String]
|
9322
|
+
#
|
9323
|
+
# @!attribute [rw] dry_run
|
9324
|
+
# Checks whether you have the required permissions for the action,
|
9325
|
+
# without actually making the request, and provides an error response.
|
9326
|
+
# If you have the required permissions, the error response is
|
9327
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9328
|
+
# @return [Boolean]
|
9329
|
+
#
|
9330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorSessionRequest AWS API Documentation
|
9331
|
+
#
|
9332
|
+
class DeleteTrafficMirrorSessionRequest < Struct.new(
|
9333
|
+
:traffic_mirror_session_id,
|
9334
|
+
:dry_run)
|
9335
|
+
include Aws::Structure
|
9336
|
+
end
|
9337
|
+
|
9338
|
+
# @!attribute [rw] traffic_mirror_session_id
|
9339
|
+
# The ID of the deleted Traffic Mirror session.
|
9340
|
+
# @return [String]
|
9341
|
+
#
|
9342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorSessionResult AWS API Documentation
|
9343
|
+
#
|
9344
|
+
class DeleteTrafficMirrorSessionResult < Struct.new(
|
9345
|
+
:traffic_mirror_session_id)
|
9346
|
+
include Aws::Structure
|
9347
|
+
end
|
9348
|
+
|
9349
|
+
# @note When making an API call, you may pass DeleteTrafficMirrorTargetRequest
|
9350
|
+
# data as a hash:
|
9351
|
+
#
|
9352
|
+
# {
|
9353
|
+
# traffic_mirror_target_id: "String", # required
|
9354
|
+
# dry_run: false,
|
9355
|
+
# }
|
9356
|
+
#
|
9357
|
+
# @!attribute [rw] traffic_mirror_target_id
|
9358
|
+
# The ID of the Traffic Mirror target.
|
9359
|
+
# @return [String]
|
9360
|
+
#
|
9361
|
+
# @!attribute [rw] dry_run
|
9362
|
+
# Checks whether you have the required permissions for the action,
|
9363
|
+
# without actually making the request, and provides an error response.
|
9364
|
+
# If you have the required permissions, the error response is
|
9365
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
9366
|
+
# @return [Boolean]
|
9367
|
+
#
|
9368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorTargetRequest AWS API Documentation
|
9369
|
+
#
|
9370
|
+
class DeleteTrafficMirrorTargetRequest < Struct.new(
|
9371
|
+
:traffic_mirror_target_id,
|
9372
|
+
:dry_run)
|
9373
|
+
include Aws::Structure
|
9374
|
+
end
|
9375
|
+
|
9376
|
+
# @!attribute [rw] traffic_mirror_target_id
|
9377
|
+
# The ID of the deleted Traffic Mirror target.
|
9378
|
+
# @return [String]
|
9379
|
+
#
|
9380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorTargetResult AWS API Documentation
|
9381
|
+
#
|
9382
|
+
class DeleteTrafficMirrorTargetResult < Struct.new(
|
9383
|
+
:traffic_mirror_target_id)
|
9384
|
+
include Aws::Structure
|
9385
|
+
end
|
9386
|
+
|
8806
9387
|
# @note When making an API call, you may pass DeleteTransitGatewayRequest
|
8807
9388
|
# data as a hash:
|
8808
9389
|
#
|
@@ -10204,8 +10785,6 @@ module Aws::EC2
|
|
10204
10785
|
include Aws::Structure
|
10205
10786
|
end
|
10206
10787
|
|
10207
|
-
# Contains the parameters for DescribeConversionTasks.
|
10208
|
-
#
|
10209
10788
|
# @note When making an API call, you may pass DescribeConversionTasksRequest
|
10210
10789
|
# data as a hash:
|
10211
10790
|
#
|
@@ -10233,8 +10812,6 @@ module Aws::EC2
|
|
10233
10812
|
include Aws::Structure
|
10234
10813
|
end
|
10235
10814
|
|
10236
|
-
# Contains the output for DescribeConversionTasks.
|
10237
|
-
#
|
10238
10815
|
# @!attribute [rw] conversion_tasks
|
10239
10816
|
# Information about the conversion tasks.
|
10240
10817
|
# @return [Array<Types::ConversionTask>]
|
@@ -10566,8 +11143,6 @@ module Aws::EC2
|
|
10566
11143
|
include Aws::Structure
|
10567
11144
|
end
|
10568
11145
|
|
10569
|
-
# Contains the parameters for DescribeExportTasks.
|
10570
|
-
#
|
10571
11146
|
# @note When making an API call, you may pass DescribeExportTasksRequest
|
10572
11147
|
# data as a hash:
|
10573
11148
|
#
|
@@ -10586,8 +11161,6 @@ module Aws::EC2
|
|
10586
11161
|
include Aws::Structure
|
10587
11162
|
end
|
10588
11163
|
|
10589
|
-
# Contains the output for DescribeExportTasks.
|
10590
|
-
#
|
10591
11164
|
# @!attribute [rw] export_tasks
|
10592
11165
|
# Information about the export tasks.
|
10593
11166
|
# @return [Array<Types::ExportTask>]
|
@@ -11777,8 +12350,6 @@ module Aws::EC2
|
|
11777
12350
|
include Aws::Structure
|
11778
12351
|
end
|
11779
12352
|
|
11780
|
-
# Contains the parameters for DescribeImportImageTasks.
|
11781
|
-
#
|
11782
12353
|
# @note When making an API call, you may pass DescribeImportImageTasksRequest
|
11783
12354
|
# data as a hash:
|
11784
12355
|
#
|
@@ -11832,8 +12403,6 @@ module Aws::EC2
|
|
11832
12403
|
include Aws::Structure
|
11833
12404
|
end
|
11834
12405
|
|
11835
|
-
# Contains the output for DescribeImportImageTasks.
|
11836
|
-
#
|
11837
12406
|
# @!attribute [rw] import_image_tasks
|
11838
12407
|
# A list of zero or more import image tasks that are currently active
|
11839
12408
|
# or were completed or canceled in the previous 7 days.
|
@@ -11852,8 +12421,6 @@ module Aws::EC2
|
|
11852
12421
|
include Aws::Structure
|
11853
12422
|
end
|
11854
12423
|
|
11855
|
-
# Contains the parameters for DescribeImportSnapshotTasks.
|
11856
|
-
#
|
11857
12424
|
# @note When making an API call, you may pass DescribeImportSnapshotTasksRequest
|
11858
12425
|
# data as a hash:
|
11859
12426
|
#
|
@@ -11906,8 +12473,6 @@ module Aws::EC2
|
|
11906
12473
|
include Aws::Structure
|
11907
12474
|
end
|
11908
12475
|
|
11909
|
-
# Contains the output for DescribeImportSnapshotTasks.
|
11910
|
-
#
|
11911
12476
|
# @!attribute [rw] import_snapshot_tasks
|
11912
12477
|
# A list of zero or more import snapshot tasks that are currently
|
11913
12478
|
# active or were completed or canceled in the previous 7 days.
|
@@ -15843,6 +16408,254 @@ module Aws::EC2
|
|
15843
16408
|
include Aws::Structure
|
15844
16409
|
end
|
15845
16410
|
|
16411
|
+
# @note When making an API call, you may pass DescribeTrafficMirrorFiltersRequest
|
16412
|
+
# data as a hash:
|
16413
|
+
#
|
16414
|
+
# {
|
16415
|
+
# traffic_mirror_filter_ids: ["String"],
|
16416
|
+
# dry_run: false,
|
16417
|
+
# filters: [
|
16418
|
+
# {
|
16419
|
+
# name: "String",
|
16420
|
+
# values: ["String"],
|
16421
|
+
# },
|
16422
|
+
# ],
|
16423
|
+
# max_results: 1,
|
16424
|
+
# next_token: "NextToken",
|
16425
|
+
# }
|
16426
|
+
#
|
16427
|
+
# @!attribute [rw] traffic_mirror_filter_ids
|
16428
|
+
# The ID of the Traffic Mirror filter.
|
16429
|
+
# @return [Array<String>]
|
16430
|
+
#
|
16431
|
+
# @!attribute [rw] dry_run
|
16432
|
+
# Checks whether you have the required permissions for the action,
|
16433
|
+
# without actually making the request, and provides an error response.
|
16434
|
+
# If you have the required permissions, the error response is
|
16435
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
16436
|
+
# @return [Boolean]
|
16437
|
+
#
|
16438
|
+
# @!attribute [rw] filters
|
16439
|
+
# One or more filters. The possible values are:
|
16440
|
+
#
|
16441
|
+
# * `description`\: The Traffic Mirror filter description.
|
16442
|
+
#
|
16443
|
+
# * `traffic-mirror-filter-id`\: The ID of the Traffic Mirror filter.
|
16444
|
+
# @return [Array<Types::Filter>]
|
16445
|
+
#
|
16446
|
+
# @!attribute [rw] max_results
|
16447
|
+
# The maximum number of results to return with a single call. To
|
16448
|
+
# retrieve the remaining results, make another call with the returned
|
16449
|
+
# `nextToken` value.
|
16450
|
+
# @return [Integer]
|
16451
|
+
#
|
16452
|
+
# @!attribute [rw] next_token
|
16453
|
+
# The token for the next page of results.
|
16454
|
+
# @return [String]
|
16455
|
+
#
|
16456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorFiltersRequest AWS API Documentation
|
16457
|
+
#
|
16458
|
+
class DescribeTrafficMirrorFiltersRequest < Struct.new(
|
16459
|
+
:traffic_mirror_filter_ids,
|
16460
|
+
:dry_run,
|
16461
|
+
:filters,
|
16462
|
+
:max_results,
|
16463
|
+
:next_token)
|
16464
|
+
include Aws::Structure
|
16465
|
+
end
|
16466
|
+
|
16467
|
+
# @!attribute [rw] traffic_mirror_filters
|
16468
|
+
# Information about one or more Traffic Mirror filters.
|
16469
|
+
# @return [Array<Types::TrafficMirrorFilter>]
|
16470
|
+
#
|
16471
|
+
# @!attribute [rw] next_token
|
16472
|
+
# The token to use to retrieve the next page of results. The value is
|
16473
|
+
# `null` when there are no more results to return.
|
16474
|
+
# @return [String]
|
16475
|
+
#
|
16476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorFiltersResult AWS API Documentation
|
16477
|
+
#
|
16478
|
+
class DescribeTrafficMirrorFiltersResult < Struct.new(
|
16479
|
+
:traffic_mirror_filters,
|
16480
|
+
:next_token)
|
16481
|
+
include Aws::Structure
|
16482
|
+
end
|
16483
|
+
|
16484
|
+
# @note When making an API call, you may pass DescribeTrafficMirrorSessionsRequest
|
16485
|
+
# data as a hash:
|
16486
|
+
#
|
16487
|
+
# {
|
16488
|
+
# traffic_mirror_session_ids: ["String"],
|
16489
|
+
# dry_run: false,
|
16490
|
+
# filters: [
|
16491
|
+
# {
|
16492
|
+
# name: "String",
|
16493
|
+
# values: ["String"],
|
16494
|
+
# },
|
16495
|
+
# ],
|
16496
|
+
# max_results: 1,
|
16497
|
+
# next_token: "NextToken",
|
16498
|
+
# }
|
16499
|
+
#
|
16500
|
+
# @!attribute [rw] traffic_mirror_session_ids
|
16501
|
+
# The ID of the Traffic Mirror session.
|
16502
|
+
# @return [Array<String>]
|
16503
|
+
#
|
16504
|
+
# @!attribute [rw] dry_run
|
16505
|
+
# Checks whether you have the required permissions for the action,
|
16506
|
+
# without actually making the request, and provides an error response.
|
16507
|
+
# If you have the required permissions, the error response is
|
16508
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
16509
|
+
# @return [Boolean]
|
16510
|
+
#
|
16511
|
+
# @!attribute [rw] filters
|
16512
|
+
# One or more filters. The possible values are:
|
16513
|
+
#
|
16514
|
+
# * `description`\: The Traffic Mirror session description.
|
16515
|
+
#
|
16516
|
+
# * `network-interface-id`\: The ID of the Traffic Mirror session
|
16517
|
+
# network interface.
|
16518
|
+
#
|
16519
|
+
# * `owner-id`\: The ID of the account that owns the Traffic Mirror
|
16520
|
+
# session.
|
16521
|
+
#
|
16522
|
+
# * `packet-length`\: The assigned number of packets to mirror.
|
16523
|
+
#
|
16524
|
+
# * `session-number`\: The assigned session number.
|
16525
|
+
#
|
16526
|
+
# * `traffic-mirror-filter-id`\: The ID of the Traffic Mirror filter.
|
16527
|
+
#
|
16528
|
+
# * `traffic-mirror-session-id`\: The ID of the Traffic Mirror
|
16529
|
+
# session.
|
16530
|
+
#
|
16531
|
+
# * `traffic-mirror-target-id`\: The ID of the Traffic Mirror target.
|
16532
|
+
#
|
16533
|
+
# * `virtual-network-id`\: The virtual network ID of the Traffic
|
16534
|
+
# Mirror session.
|
16535
|
+
# @return [Array<Types::Filter>]
|
16536
|
+
#
|
16537
|
+
# @!attribute [rw] max_results
|
16538
|
+
# The maximum number of results to return with a single call. To
|
16539
|
+
# retrieve the remaining results, make another call with the returned
|
16540
|
+
# `nextToken` value.
|
16541
|
+
# @return [Integer]
|
16542
|
+
#
|
16543
|
+
# @!attribute [rw] next_token
|
16544
|
+
# The token for the next page of results.
|
16545
|
+
# @return [String]
|
16546
|
+
#
|
16547
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorSessionsRequest AWS API Documentation
|
16548
|
+
#
|
16549
|
+
class DescribeTrafficMirrorSessionsRequest < Struct.new(
|
16550
|
+
:traffic_mirror_session_ids,
|
16551
|
+
:dry_run,
|
16552
|
+
:filters,
|
16553
|
+
:max_results,
|
16554
|
+
:next_token)
|
16555
|
+
include Aws::Structure
|
16556
|
+
end
|
16557
|
+
|
16558
|
+
# @!attribute [rw] traffic_mirror_sessions
|
16559
|
+
# Describes one or more Traffic Mirror sessions. By default, all
|
16560
|
+
# Traffic Mirror sessions are described. Alternatively, you can filter
|
16561
|
+
# the results.
|
16562
|
+
# @return [Array<Types::TrafficMirrorSession>]
|
16563
|
+
#
|
16564
|
+
# @!attribute [rw] next_token
|
16565
|
+
# The token to use to retrieve the next page of results. The value is
|
16566
|
+
# `null` when there are no more results to return.
|
16567
|
+
# @return [String]
|
16568
|
+
#
|
16569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorSessionsResult AWS API Documentation
|
16570
|
+
#
|
16571
|
+
class DescribeTrafficMirrorSessionsResult < Struct.new(
|
16572
|
+
:traffic_mirror_sessions,
|
16573
|
+
:next_token)
|
16574
|
+
include Aws::Structure
|
16575
|
+
end
|
16576
|
+
|
16577
|
+
# @note When making an API call, you may pass DescribeTrafficMirrorTargetsRequest
|
16578
|
+
# data as a hash:
|
16579
|
+
#
|
16580
|
+
# {
|
16581
|
+
# traffic_mirror_target_ids: ["String"],
|
16582
|
+
# dry_run: false,
|
16583
|
+
# filters: [
|
16584
|
+
# {
|
16585
|
+
# name: "String",
|
16586
|
+
# values: ["String"],
|
16587
|
+
# },
|
16588
|
+
# ],
|
16589
|
+
# max_results: 1,
|
16590
|
+
# next_token: "NextToken",
|
16591
|
+
# }
|
16592
|
+
#
|
16593
|
+
# @!attribute [rw] traffic_mirror_target_ids
|
16594
|
+
# The ID of the Traffic Mirror targets.
|
16595
|
+
# @return [Array<String>]
|
16596
|
+
#
|
16597
|
+
# @!attribute [rw] dry_run
|
16598
|
+
# Checks whether you have the required permissions for the action,
|
16599
|
+
# without actually making the request, and provides an error response.
|
16600
|
+
# If you have the required permissions, the error response is
|
16601
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
16602
|
+
# @return [Boolean]
|
16603
|
+
#
|
16604
|
+
# @!attribute [rw] filters
|
16605
|
+
# One or more filters. The possible values are:
|
16606
|
+
#
|
16607
|
+
# * `description`\: The Traffic Mirror target description.
|
16608
|
+
#
|
16609
|
+
# * `network-interface-id`\: The ID of the Traffic Mirror session
|
16610
|
+
# network interface.
|
16611
|
+
#
|
16612
|
+
# * `network-load-balancer-arn`\: The Amazon Resource Name (ARN) of
|
16613
|
+
# the Network Load Balancer that is associated with the session.
|
16614
|
+
#
|
16615
|
+
# * `owner-id`\: The ID of the account that owns the Traffic Mirror
|
16616
|
+
# session.
|
16617
|
+
#
|
16618
|
+
# * `traffic-mirror-target-id`\: The ID of the Traffic Mirror target.
|
16619
|
+
# @return [Array<Types::Filter>]
|
16620
|
+
#
|
16621
|
+
# @!attribute [rw] max_results
|
16622
|
+
# The maximum number of results to return with a single call. To
|
16623
|
+
# retrieve the remaining results, make another call with the returned
|
16624
|
+
# `nextToken` value.
|
16625
|
+
# @return [Integer]
|
16626
|
+
#
|
16627
|
+
# @!attribute [rw] next_token
|
16628
|
+
# The token for the next page of results.
|
16629
|
+
# @return [String]
|
16630
|
+
#
|
16631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorTargetsRequest AWS API Documentation
|
16632
|
+
#
|
16633
|
+
class DescribeTrafficMirrorTargetsRequest < Struct.new(
|
16634
|
+
:traffic_mirror_target_ids,
|
16635
|
+
:dry_run,
|
16636
|
+
:filters,
|
16637
|
+
:max_results,
|
16638
|
+
:next_token)
|
16639
|
+
include Aws::Structure
|
16640
|
+
end
|
16641
|
+
|
16642
|
+
# @!attribute [rw] traffic_mirror_targets
|
16643
|
+
# Information about one or more Traffic Mirror targets.
|
16644
|
+
# @return [Array<Types::TrafficMirrorTarget>]
|
16645
|
+
#
|
16646
|
+
# @!attribute [rw] next_token
|
16647
|
+
# The token to use to retrieve the next page of results. The value is
|
16648
|
+
# `null` when there are no more results to return.
|
16649
|
+
# @return [String]
|
16650
|
+
#
|
16651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorTargetsResult AWS API Documentation
|
16652
|
+
#
|
16653
|
+
class DescribeTrafficMirrorTargetsResult < Struct.new(
|
16654
|
+
:traffic_mirror_targets,
|
16655
|
+
:next_token)
|
16656
|
+
include Aws::Structure
|
16657
|
+
end
|
16658
|
+
|
15846
16659
|
# @note When making an API call, you may pass DescribeTransitGatewayAttachmentsRequest
|
15847
16660
|
# data as a hash:
|
15848
16661
|
#
|
@@ -18633,32 +19446,27 @@ module Aws::EC2
|
|
18633
19446
|
#
|
18634
19447
|
# @!attribute [rw] encrypted
|
18635
19448
|
# Indicates whether the encryption state of an EBS volume is changed
|
18636
|
-
# while being restored from a backing snapshot. The
|
18637
|
-
#
|
18638
|
-
#
|
18639
|
-
#
|
18640
|
-
#
|
18641
|
-
# overridden by specifying a customer master key (CMK) with the
|
18642
|
-
# `KmsKeyId` parameter in addition to setting `Encrypted` to `true`.
|
18643
|
-
# For a complete list of possible encryption cases, see [Amazon EBS
|
18644
|
-
# Encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
|
19449
|
+
# while being restored from a backing snapshot. The effect of setting
|
19450
|
+
# the encryption state to `true` depends on the volume origin (new or
|
19451
|
+
# from a snapshot), starting encryption state, ownership, and whether
|
19452
|
+
# encryption by default is enabled. For more information, see [Amazon
|
19453
|
+
# EBS Encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
18645
19454
|
#
|
18646
19455
|
# In no case can you remove encryption from an encrypted volume.
|
18647
19456
|
#
|
18648
19457
|
# Encrypted volumes can only be attached to instances that support
|
18649
19458
|
# Amazon EBS encryption. For more information, see [Supported Instance
|
18650
|
-
# Types][
|
19459
|
+
# Types][2].
|
18651
19460
|
#
|
18652
19461
|
#
|
18653
19462
|
#
|
18654
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
18655
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#
|
18656
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
|
19463
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters
|
19464
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
|
18657
19465
|
# @return [Boolean]
|
18658
19466
|
#
|
18659
19467
|
# @!attribute [rw] kms_key_id
|
18660
|
-
# Identifier (key ID, key alias, ID ARN, or alias ARN) for a
|
18661
|
-
#
|
19468
|
+
# Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer
|
19469
|
+
# managed CMK under which the EBS volume is encrypted.
|
18662
19470
|
#
|
18663
19471
|
# This parameter is only supported on `BlockDeviceMapping` objects
|
18664
19472
|
# called by [RunInstances][1], [RequestSpotFleet][2], and
|
@@ -21375,7 +22183,7 @@ module Aws::EC2
|
|
21375
22183
|
# @return [String]
|
21376
22184
|
#
|
21377
22185
|
# @!attribute [rw] platform
|
21378
|
-
#
|
22186
|
+
# This value is set for Windows AMIs; otherwise, it is blank.
|
21379
22187
|
# @return [String]
|
21380
22188
|
#
|
21381
22189
|
# @!attribute [rw] product_codes
|
@@ -21631,8 +22439,6 @@ module Aws::EC2
|
|
21631
22439
|
include Aws::Structure
|
21632
22440
|
end
|
21633
22441
|
|
21634
|
-
# Contains the parameters for ImportImage.
|
21635
|
-
#
|
21636
22442
|
# @note When making an API call, you may pass ImportImageRequest
|
21637
22443
|
# data as a hash:
|
21638
22444
|
#
|
@@ -21754,22 +22560,15 @@ module Aws::EC2
|
|
21754
22560
|
# The license type to be used for the Amazon Machine Image (AMI) after
|
21755
22561
|
# importing.
|
21756
22562
|
#
|
21757
|
-
#
|
21758
|
-
#
|
21759
|
-
#
|
21760
|
-
#
|
21761
|
-
#
|
21762
|
-
# Valid values include:
|
21763
|
-
#
|
21764
|
-
# * `Auto` - Detects the source-system operating system (OS) and
|
21765
|
-
# applies the appropriate license.
|
22563
|
+
# By default, we detect the source-system operating system (OS) and
|
22564
|
+
# apply the appropriate license. Specify `AWS` to replace the
|
22565
|
+
# source-system license with an AWS license, if appropriate. Specify
|
22566
|
+
# `BYOL` to retain the source-system license, if appropriate.
|
21766
22567
|
#
|
21767
|
-
#
|
21768
|
-
#
|
21769
|
-
#
|
21770
|
-
#
|
21771
|
-
#
|
21772
|
-
# Default value: `Auto`
|
22568
|
+
# To use `BYOL`, you must have existing licenses with rights to use
|
22569
|
+
# these licenses in a third party cloud, such as AWS. For more
|
22570
|
+
# information, see [Prerequisites][1] in the VM Import/Export User
|
22571
|
+
# Guide.
|
21773
22572
|
#
|
21774
22573
|
#
|
21775
22574
|
#
|
@@ -21805,8 +22604,6 @@ module Aws::EC2
|
|
21805
22604
|
include Aws::Structure
|
21806
22605
|
end
|
21807
22606
|
|
21808
|
-
# Contains the output for ImportImage.
|
21809
|
-
#
|
21810
22607
|
# @!attribute [rw] architecture
|
21811
22608
|
# The architecture of the virtual machine.
|
21812
22609
|
# @return [String]
|
@@ -22057,8 +22854,6 @@ module Aws::EC2
|
|
22057
22854
|
include Aws::Structure
|
22058
22855
|
end
|
22059
22856
|
|
22060
|
-
# Contains the parameters for ImportInstance.
|
22061
|
-
#
|
22062
22857
|
# @note When making an API call, you may pass ImportInstanceRequest
|
22063
22858
|
# data as a hash:
|
22064
22859
|
#
|
@@ -22138,8 +22933,6 @@ module Aws::EC2
|
|
22138
22933
|
include Aws::Structure
|
22139
22934
|
end
|
22140
22935
|
|
22141
|
-
# Contains the output for ImportInstance.
|
22142
|
-
#
|
22143
22936
|
# @!attribute [rw] conversion_task
|
22144
22937
|
# Information about the conversion task.
|
22145
22938
|
# @return [Types::ConversionTask]
|
@@ -22273,8 +23066,6 @@ module Aws::EC2
|
|
22273
23066
|
include Aws::Structure
|
22274
23067
|
end
|
22275
23068
|
|
22276
|
-
# Contains the parameters for ImportSnapshot.
|
22277
|
-
#
|
22278
23069
|
# @note When making an API call, you may pass ImportSnapshotRequest
|
22279
23070
|
# data as a hash:
|
22280
23071
|
#
|
@@ -22391,8 +23182,6 @@ module Aws::EC2
|
|
22391
23182
|
include Aws::Structure
|
22392
23183
|
end
|
22393
23184
|
|
22394
|
-
# Contains the output for ImportSnapshot.
|
22395
|
-
#
|
22396
23185
|
# @!attribute [rw] description
|
22397
23186
|
# A description of the import snapshot task.
|
22398
23187
|
# @return [String]
|
@@ -22437,8 +23226,6 @@ module Aws::EC2
|
|
22437
23226
|
include Aws::Structure
|
22438
23227
|
end
|
22439
23228
|
|
22440
|
-
# Contains the parameters for ImportVolume.
|
22441
|
-
#
|
22442
23229
|
# @note When making an API call, you may pass ImportVolumeRequest
|
22443
23230
|
# data as a hash:
|
22444
23231
|
#
|
@@ -22490,8 +23277,6 @@ module Aws::EC2
|
|
22490
23277
|
include Aws::Structure
|
22491
23278
|
end
|
22492
23279
|
|
22493
|
-
# Contains the output for ImportVolume.
|
22494
|
-
#
|
22495
23280
|
# @!attribute [rw] conversion_task
|
22496
23281
|
# Information about the conversion task.
|
22497
23282
|
# @return [Types::ConversionTask]
|
@@ -25261,7 +26046,7 @@ module Aws::EC2
|
|
25261
26046
|
# data as a hash:
|
25262
26047
|
#
|
25263
26048
|
# {
|
25264
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
26049
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
25265
26050
|
# tags: [
|
25266
26051
|
# {
|
25267
26052
|
# key: "String",
|
@@ -26918,6 +27703,264 @@ module Aws::EC2
|
|
26918
27703
|
include Aws::Structure
|
26919
27704
|
end
|
26920
27705
|
|
27706
|
+
# @note When making an API call, you may pass ModifyTrafficMirrorFilterNetworkServicesRequest
|
27707
|
+
# data as a hash:
|
27708
|
+
#
|
27709
|
+
# {
|
27710
|
+
# traffic_mirror_filter_id: "String", # required
|
27711
|
+
# add_network_services: ["amazon-dns"], # accepts amazon-dns
|
27712
|
+
# remove_network_services: ["amazon-dns"], # accepts amazon-dns
|
27713
|
+
# dry_run: false,
|
27714
|
+
# }
|
27715
|
+
#
|
27716
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
27717
|
+
# The ID of the Traffic Mirror filter.
|
27718
|
+
# @return [String]
|
27719
|
+
#
|
27720
|
+
# @!attribute [rw] add_network_services
|
27721
|
+
# The network service, for example Amazon DNS, that you want to
|
27722
|
+
# mirror.
|
27723
|
+
# @return [Array<String>]
|
27724
|
+
#
|
27725
|
+
# @!attribute [rw] remove_network_services
|
27726
|
+
# The network service, for example Amazon DNS, that you no longer want
|
27727
|
+
# to mirror.
|
27728
|
+
# @return [Array<String>]
|
27729
|
+
#
|
27730
|
+
# @!attribute [rw] dry_run
|
27731
|
+
# Checks whether you have the required permissions for the action,
|
27732
|
+
# without actually making the request, and provides an error response.
|
27733
|
+
# If you have the required permissions, the error response is
|
27734
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27735
|
+
# @return [Boolean]
|
27736
|
+
#
|
27737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorFilterNetworkServicesRequest AWS API Documentation
|
27738
|
+
#
|
27739
|
+
class ModifyTrafficMirrorFilterNetworkServicesRequest < Struct.new(
|
27740
|
+
:traffic_mirror_filter_id,
|
27741
|
+
:add_network_services,
|
27742
|
+
:remove_network_services,
|
27743
|
+
:dry_run)
|
27744
|
+
include Aws::Structure
|
27745
|
+
end
|
27746
|
+
|
27747
|
+
# @!attribute [rw] traffic_mirror_filter
|
27748
|
+
# The Traffic Mirror filter that the network service is associated
|
27749
|
+
# with.
|
27750
|
+
# @return [Types::TrafficMirrorFilter]
|
27751
|
+
#
|
27752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorFilterNetworkServicesResult AWS API Documentation
|
27753
|
+
#
|
27754
|
+
class ModifyTrafficMirrorFilterNetworkServicesResult < Struct.new(
|
27755
|
+
:traffic_mirror_filter)
|
27756
|
+
include Aws::Structure
|
27757
|
+
end
|
27758
|
+
|
27759
|
+
# @note When making an API call, you may pass ModifyTrafficMirrorFilterRuleRequest
|
27760
|
+
# data as a hash:
|
27761
|
+
#
|
27762
|
+
# {
|
27763
|
+
# traffic_mirror_filter_rule_id: "String", # required
|
27764
|
+
# traffic_direction: "ingress", # accepts ingress, egress
|
27765
|
+
# rule_number: 1,
|
27766
|
+
# rule_action: "accept", # accepts accept, reject
|
27767
|
+
# destination_port_range: {
|
27768
|
+
# from_port: 1,
|
27769
|
+
# to_port: 1,
|
27770
|
+
# },
|
27771
|
+
# source_port_range: {
|
27772
|
+
# from_port: 1,
|
27773
|
+
# to_port: 1,
|
27774
|
+
# },
|
27775
|
+
# protocol: 1,
|
27776
|
+
# destination_cidr_block: "String",
|
27777
|
+
# source_cidr_block: "String",
|
27778
|
+
# description: "String",
|
27779
|
+
# remove_fields: ["destination-port-range"], # accepts destination-port-range, source-port-range, protocol, description
|
27780
|
+
# dry_run: false,
|
27781
|
+
# }
|
27782
|
+
#
|
27783
|
+
# @!attribute [rw] traffic_mirror_filter_rule_id
|
27784
|
+
# The ID of the Traffic Mirror rule.
|
27785
|
+
# @return [String]
|
27786
|
+
#
|
27787
|
+
# @!attribute [rw] traffic_direction
|
27788
|
+
# The type of traffic (`ingress` \| `egress`) to assign to the rule.
|
27789
|
+
# @return [String]
|
27790
|
+
#
|
27791
|
+
# @!attribute [rw] rule_number
|
27792
|
+
# The number of the Traffic Mirror rule. This number must be unique
|
27793
|
+
# for each Traffic Mirror rule in a given direction. The rules are
|
27794
|
+
# processed in ascending order by rule number.
|
27795
|
+
# @return [Integer]
|
27796
|
+
#
|
27797
|
+
# @!attribute [rw] rule_action
|
27798
|
+
# The action to assign to the rule.
|
27799
|
+
# @return [String]
|
27800
|
+
#
|
27801
|
+
# @!attribute [rw] destination_port_range
|
27802
|
+
# The destination ports that are associated with the Traffic Mirror
|
27803
|
+
# rule.
|
27804
|
+
# @return [Types::TrafficMirrorPortRangeRequest]
|
27805
|
+
#
|
27806
|
+
# @!attribute [rw] source_port_range
|
27807
|
+
# The port range to assign to the Traffic Mirror rule.
|
27808
|
+
# @return [Types::TrafficMirrorPortRangeRequest]
|
27809
|
+
#
|
27810
|
+
# @!attribute [rw] protocol
|
27811
|
+
# The protocol, for example TCP, to assign to the Traffic Mirror rule.
|
27812
|
+
# @return [Integer]
|
27813
|
+
#
|
27814
|
+
# @!attribute [rw] destination_cidr_block
|
27815
|
+
# The destination CIDR block to assign to the Traffic Mirror rule.
|
27816
|
+
# @return [String]
|
27817
|
+
#
|
27818
|
+
# @!attribute [rw] source_cidr_block
|
27819
|
+
# The source CIDR block to assign to the Traffic Mirror rule.
|
27820
|
+
# @return [String]
|
27821
|
+
#
|
27822
|
+
# @!attribute [rw] description
|
27823
|
+
# The description to assign to the Traffic Mirror rule.
|
27824
|
+
# @return [String]
|
27825
|
+
#
|
27826
|
+
# @!attribute [rw] remove_fields
|
27827
|
+
# The properties that you want to remove from the Traffic Mirror
|
27828
|
+
# filter rule.
|
27829
|
+
#
|
27830
|
+
# When you remove a property from a Traffic Mirror filter rule, the
|
27831
|
+
# property is set to the default.
|
27832
|
+
# @return [Array<String>]
|
27833
|
+
#
|
27834
|
+
# @!attribute [rw] dry_run
|
27835
|
+
# Checks whether you have the required permissions for the action,
|
27836
|
+
# without actually making the request, and provides an error response.
|
27837
|
+
# If you have the required permissions, the error response is
|
27838
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27839
|
+
# @return [Boolean]
|
27840
|
+
#
|
27841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorFilterRuleRequest AWS API Documentation
|
27842
|
+
#
|
27843
|
+
class ModifyTrafficMirrorFilterRuleRequest < Struct.new(
|
27844
|
+
:traffic_mirror_filter_rule_id,
|
27845
|
+
:traffic_direction,
|
27846
|
+
:rule_number,
|
27847
|
+
:rule_action,
|
27848
|
+
:destination_port_range,
|
27849
|
+
:source_port_range,
|
27850
|
+
:protocol,
|
27851
|
+
:destination_cidr_block,
|
27852
|
+
:source_cidr_block,
|
27853
|
+
:description,
|
27854
|
+
:remove_fields,
|
27855
|
+
:dry_run)
|
27856
|
+
include Aws::Structure
|
27857
|
+
end
|
27858
|
+
|
27859
|
+
# @!attribute [rw] traffic_mirror_filter_rule
|
27860
|
+
# Modifies a Traffic Mirror rule.
|
27861
|
+
# @return [Types::TrafficMirrorFilterRule]
|
27862
|
+
#
|
27863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorFilterRuleResult AWS API Documentation
|
27864
|
+
#
|
27865
|
+
class ModifyTrafficMirrorFilterRuleResult < Struct.new(
|
27866
|
+
:traffic_mirror_filter_rule)
|
27867
|
+
include Aws::Structure
|
27868
|
+
end
|
27869
|
+
|
27870
|
+
# @note When making an API call, you may pass ModifyTrafficMirrorSessionRequest
|
27871
|
+
# data as a hash:
|
27872
|
+
#
|
27873
|
+
# {
|
27874
|
+
# traffic_mirror_session_id: "String", # required
|
27875
|
+
# traffic_mirror_target_id: "String",
|
27876
|
+
# traffic_mirror_filter_id: "String",
|
27877
|
+
# packet_length: 1,
|
27878
|
+
# session_number: 1,
|
27879
|
+
# virtual_network_id: 1,
|
27880
|
+
# description: "String",
|
27881
|
+
# remove_fields: ["packet-length"], # accepts packet-length, description, virtual-network-id
|
27882
|
+
# dry_run: false,
|
27883
|
+
# }
|
27884
|
+
#
|
27885
|
+
# @!attribute [rw] traffic_mirror_session_id
|
27886
|
+
# The ID of the Traffic Mirror session.
|
27887
|
+
# @return [String]
|
27888
|
+
#
|
27889
|
+
# @!attribute [rw] traffic_mirror_target_id
|
27890
|
+
# The Traffic Mirror target. The target must be in the same VPC as the
|
27891
|
+
# source, or have a VPC peering connection with the source.
|
27892
|
+
# @return [String]
|
27893
|
+
#
|
27894
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
27895
|
+
# The ID of the Traffic Mirror filter.
|
27896
|
+
# @return [String]
|
27897
|
+
#
|
27898
|
+
# @!attribute [rw] packet_length
|
27899
|
+
# The number of bytes in each packet to mirror. These are bytes after
|
27900
|
+
# the VXLAN header. To mirror a subset, set this to the length (in
|
27901
|
+
# bytes) to mirror. For example, if you set this value to 100, then
|
27902
|
+
# the first 100 bytes that meet the filter criteria are copied to the
|
27903
|
+
# target. Do not specify this parameter when you want to mirror the
|
27904
|
+
# entire packet.
|
27905
|
+
# @return [Integer]
|
27906
|
+
#
|
27907
|
+
# @!attribute [rw] session_number
|
27908
|
+
# The session number determines the order in which sessions are
|
27909
|
+
# evaluated when an interface is used by multiple sessions. The first
|
27910
|
+
# session with a matching filter is the one that mirrors the packets.
|
27911
|
+
#
|
27912
|
+
# Valid values are 1-32766.
|
27913
|
+
# @return [Integer]
|
27914
|
+
#
|
27915
|
+
# @!attribute [rw] virtual_network_id
|
27916
|
+
# The virtual network ID of the Traffic Mirror session.
|
27917
|
+
# @return [Integer]
|
27918
|
+
#
|
27919
|
+
# @!attribute [rw] description
|
27920
|
+
# The description to assign to the Traffic Mirror session.
|
27921
|
+
# @return [String]
|
27922
|
+
#
|
27923
|
+
# @!attribute [rw] remove_fields
|
27924
|
+
# The properties that you want to remove from the Traffic Mirror
|
27925
|
+
# session.
|
27926
|
+
#
|
27927
|
+
# When you remove a property from a Traffic Mirror session, the
|
27928
|
+
# property is set to the default.
|
27929
|
+
# @return [Array<String>]
|
27930
|
+
#
|
27931
|
+
# @!attribute [rw] dry_run
|
27932
|
+
# Checks whether you have the required permissions for the action,
|
27933
|
+
# without actually making the request, and provides an error response.
|
27934
|
+
# If you have the required permissions, the error response is
|
27935
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
27936
|
+
# @return [Boolean]
|
27937
|
+
#
|
27938
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorSessionRequest AWS API Documentation
|
27939
|
+
#
|
27940
|
+
class ModifyTrafficMirrorSessionRequest < Struct.new(
|
27941
|
+
:traffic_mirror_session_id,
|
27942
|
+
:traffic_mirror_target_id,
|
27943
|
+
:traffic_mirror_filter_id,
|
27944
|
+
:packet_length,
|
27945
|
+
:session_number,
|
27946
|
+
:virtual_network_id,
|
27947
|
+
:description,
|
27948
|
+
:remove_fields,
|
27949
|
+
:dry_run)
|
27950
|
+
include Aws::Structure
|
27951
|
+
end
|
27952
|
+
|
27953
|
+
# @!attribute [rw] traffic_mirror_session
|
27954
|
+
# Information about the Traffic Mirror session.
|
27955
|
+
# @return [Types::TrafficMirrorSession]
|
27956
|
+
#
|
27957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorSessionResult AWS API Documentation
|
27958
|
+
#
|
27959
|
+
class ModifyTrafficMirrorSessionResult < Struct.new(
|
27960
|
+
:traffic_mirror_session)
|
27961
|
+
include Aws::Structure
|
27962
|
+
end
|
27963
|
+
|
26921
27964
|
# @note When making an API call, you may pass ModifyTransitGatewayVpcAttachmentRequest
|
26922
27965
|
# data as a hash:
|
26923
27966
|
#
|
@@ -27771,7 +28814,7 @@ module Aws::EC2
|
|
27771
28814
|
#
|
27772
28815
|
#
|
27773
28816
|
#
|
27774
|
-
# [1]: https://docs.aws.amazon.com/
|
28817
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
|
27775
28818
|
# [2]: https://console.aws.amazon.com/support/home?
|
27776
28819
|
# @return [Types::ProvisionedBandwidth]
|
27777
28820
|
#
|
@@ -28908,7 +29951,7 @@ module Aws::EC2
|
|
28908
29951
|
#
|
28909
29952
|
#
|
28910
29953
|
#
|
28911
|
-
# [1]: https://docs.aws.amazon.com/
|
29954
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
|
28912
29955
|
# [2]: https://console.aws.amazon.com/support/home?
|
28913
29956
|
#
|
28914
29957
|
# @!attribute [rw] provision_time
|
@@ -28917,7 +29960,7 @@ module Aws::EC2
|
|
28917
29960
|
#
|
28918
29961
|
#
|
28919
29962
|
#
|
28920
|
-
# [1]: https://docs.aws.amazon.com/
|
29963
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
|
28921
29964
|
# [2]: https://console.aws.amazon.com/support/home?
|
28922
29965
|
# @return [Time]
|
28923
29966
|
#
|
@@ -28927,7 +29970,7 @@ module Aws::EC2
|
|
28927
29970
|
#
|
28928
29971
|
#
|
28929
29972
|
#
|
28930
|
-
# [1]: https://docs.aws.amazon.com/
|
29973
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
|
28931
29974
|
# [2]: https://console.aws.amazon.com/support/home?
|
28932
29975
|
# @return [String]
|
28933
29976
|
#
|
@@ -28937,7 +29980,7 @@ module Aws::EC2
|
|
28937
29980
|
#
|
28938
29981
|
#
|
28939
29982
|
#
|
28940
|
-
# [1]: https://docs.aws.amazon.com/
|
29983
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
|
28941
29984
|
# [2]: https://console.aws.amazon.com/support/home?
|
28942
29985
|
# @return [Time]
|
28943
29986
|
#
|
@@ -28947,7 +29990,7 @@ module Aws::EC2
|
|
28947
29990
|
#
|
28948
29991
|
#
|
28949
29992
|
#
|
28950
|
-
# [1]: https://docs.aws.amazon.com/
|
29993
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
|
28951
29994
|
# [2]: https://console.aws.amazon.com/support/home?
|
28952
29995
|
# @return [String]
|
28953
29996
|
#
|
@@ -28957,7 +30000,7 @@ module Aws::EC2
|
|
28957
30000
|
#
|
28958
30001
|
#
|
28959
30002
|
#
|
28960
|
-
# [1]: https://docs.aws.amazon.com/
|
30003
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
|
28961
30004
|
# [2]: https://console.aws.amazon.com/support/home?
|
28962
30005
|
# @return [String]
|
28963
30006
|
#
|
@@ -30254,7 +31297,7 @@ module Aws::EC2
|
|
30254
31297
|
# user_data: "String",
|
30255
31298
|
# tag_specifications: [
|
30256
31299
|
# {
|
30257
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
31300
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
30258
31301
|
# tags: [
|
30259
31302
|
# {
|
30260
31303
|
# key: "String",
|
@@ -30346,8 +31389,8 @@ module Aws::EC2
|
|
30346
31389
|
#
|
30347
31390
|
# @!attribute [rw] network_interfaces
|
30348
31391
|
# One or more network interfaces. If you specify a network interface,
|
30349
|
-
# you must specify any security groups as part of the
|
30350
|
-
# interface.
|
31392
|
+
# you must specify any security groups and subnets as part of the
|
31393
|
+
# network interface.
|
30351
31394
|
# @return [Array<Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>]
|
30352
31395
|
#
|
30353
31396
|
# @!attribute [rw] image_id
|
@@ -30631,7 +31674,7 @@ module Aws::EC2
|
|
30631
31674
|
# weighted_capacity: 1.0,
|
30632
31675
|
# tag_specifications: [
|
30633
31676
|
# {
|
30634
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
31677
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
30635
31678
|
# tags: [
|
30636
31679
|
# {
|
30637
31680
|
# key: "String",
|
@@ -32642,7 +33685,7 @@ module Aws::EC2
|
|
32642
33685
|
# ],
|
32643
33686
|
# tag_specifications: [
|
32644
33687
|
# {
|
32645
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
33688
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
32646
33689
|
# tags: [
|
32647
33690
|
# {
|
32648
33691
|
# key: "String",
|
@@ -32838,8 +33881,8 @@ module Aws::EC2
|
|
32838
33881
|
# @!attribute [rw] subnet_id
|
32839
33882
|
# \[EC2-VPC\] The ID of the subnet to launch the instance into.
|
32840
33883
|
#
|
32841
|
-
#
|
32842
|
-
# the
|
33884
|
+
# If you specify a network interface, you must specify any subnets as
|
33885
|
+
# part of the network interface.
|
32843
33886
|
# @return [String]
|
32844
33887
|
#
|
32845
33888
|
# @!attribute [rw] user_data
|
@@ -32920,8 +33963,8 @@ module Aws::EC2
|
|
32920
33963
|
#
|
32921
33964
|
# @!attribute [rw] network_interfaces
|
32922
33965
|
# The network interfaces to associate with the instance. If you
|
32923
|
-
# specify a network interface, you must specify any security groups
|
32924
|
-
# part of the network interface.
|
33966
|
+
# specify a network interface, you must specify any security groups
|
33967
|
+
# and subnets as part of the network interface.
|
32925
33968
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
32926
33969
|
#
|
32927
33970
|
# @!attribute [rw] private_ip_address
|
@@ -34842,7 +35885,7 @@ module Aws::EC2
|
|
34842
35885
|
# weighted_capacity: 1.0,
|
34843
35886
|
# tag_specifications: [
|
34844
35887
|
# {
|
34845
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
35888
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
34846
35889
|
# tags: [
|
34847
35890
|
# {
|
34848
35891
|
# key: "String",
|
@@ -35128,7 +36171,7 @@ module Aws::EC2
|
|
35128
36171
|
# weighted_capacity: 1.0,
|
35129
36172
|
# tag_specifications: [
|
35130
36173
|
# {
|
35131
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
36174
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
35132
36175
|
# tags: [
|
35133
36176
|
# {
|
35134
36177
|
# key: "String",
|
@@ -35369,7 +36412,7 @@ module Aws::EC2
|
|
35369
36412
|
# data as a hash:
|
35370
36413
|
#
|
35371
36414
|
# {
|
35372
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
36415
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
35373
36416
|
# tags: [
|
35374
36417
|
# {
|
35375
36418
|
# key: "String",
|
@@ -36312,7 +37355,7 @@ module Aws::EC2
|
|
36312
37355
|
# data as a hash:
|
36313
37356
|
#
|
36314
37357
|
# {
|
36315
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
37358
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, launch-template, natgateway, network-acl, network-interface, reserved-instances, route-table, security-group, snapshot, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway
|
36316
37359
|
# tags: [
|
36317
37360
|
# {
|
36318
37361
|
# key: "String",
|
@@ -36699,6 +37742,269 @@ module Aws::EC2
|
|
36699
37742
|
include Aws::Structure
|
36700
37743
|
end
|
36701
37744
|
|
37745
|
+
# Describes the Traffic Mirror filter.
|
37746
|
+
#
|
37747
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
37748
|
+
# The ID of the Traffic Mirror filter.
|
37749
|
+
# @return [String]
|
37750
|
+
#
|
37751
|
+
# @!attribute [rw] ingress_filter_rules
|
37752
|
+
# Information about the ingress rules that are associated with the
|
37753
|
+
# Traffic Mirror filter.
|
37754
|
+
# @return [Array<Types::TrafficMirrorFilterRule>]
|
37755
|
+
#
|
37756
|
+
# @!attribute [rw] egress_filter_rules
|
37757
|
+
# Information about the egress rules that are associated with the
|
37758
|
+
# Traffic Mirror filter.
|
37759
|
+
# @return [Array<Types::TrafficMirrorFilterRule>]
|
37760
|
+
#
|
37761
|
+
# @!attribute [rw] network_services
|
37762
|
+
# The network service traffic that is associated with the Traffic
|
37763
|
+
# Mirror filter.
|
37764
|
+
# @return [Array<String>]
|
37765
|
+
#
|
37766
|
+
# @!attribute [rw] description
|
37767
|
+
# The description of the Traffic Mirror filter.
|
37768
|
+
# @return [String]
|
37769
|
+
#
|
37770
|
+
# @!attribute [rw] tags
|
37771
|
+
# The tags assigned to the Traffic Mirror filter.
|
37772
|
+
# @return [Array<Types::Tag>]
|
37773
|
+
#
|
37774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrafficMirrorFilter AWS API Documentation
|
37775
|
+
#
|
37776
|
+
class TrafficMirrorFilter < Struct.new(
|
37777
|
+
:traffic_mirror_filter_id,
|
37778
|
+
:ingress_filter_rules,
|
37779
|
+
:egress_filter_rules,
|
37780
|
+
:network_services,
|
37781
|
+
:description,
|
37782
|
+
:tags)
|
37783
|
+
include Aws::Structure
|
37784
|
+
end
|
37785
|
+
|
37786
|
+
# Describes the Traffic Mirror rule.
|
37787
|
+
#
|
37788
|
+
# @!attribute [rw] traffic_mirror_filter_rule_id
|
37789
|
+
# The ID of the Traffic Mirror rule.
|
37790
|
+
# @return [String]
|
37791
|
+
#
|
37792
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
37793
|
+
# The ID of the Traffic Mirror filter that the rule is associated
|
37794
|
+
# with.
|
37795
|
+
# @return [String]
|
37796
|
+
#
|
37797
|
+
# @!attribute [rw] traffic_direction
|
37798
|
+
# The traffic direction assigned to the Traffic Mirror rule.
|
37799
|
+
# @return [String]
|
37800
|
+
#
|
37801
|
+
# @!attribute [rw] rule_number
|
37802
|
+
# The rule number of the Traffic Mirror rule.
|
37803
|
+
# @return [Integer]
|
37804
|
+
#
|
37805
|
+
# @!attribute [rw] rule_action
|
37806
|
+
# The action assigned to the Traffic Mirror rule.
|
37807
|
+
# @return [String]
|
37808
|
+
#
|
37809
|
+
# @!attribute [rw] protocol
|
37810
|
+
# The protocol assigned to the Traffic Mirror rule.
|
37811
|
+
# @return [Integer]
|
37812
|
+
#
|
37813
|
+
# @!attribute [rw] destination_port_range
|
37814
|
+
# The destination port range assigned to the Traffic Mirror rule.
|
37815
|
+
# @return [Types::TrafficMirrorPortRange]
|
37816
|
+
#
|
37817
|
+
# @!attribute [rw] source_port_range
|
37818
|
+
# The source port range assigned to the Traffic Mirror rule.
|
37819
|
+
# @return [Types::TrafficMirrorPortRange]
|
37820
|
+
#
|
37821
|
+
# @!attribute [rw] destination_cidr_block
|
37822
|
+
# The destination CIDR block assigned to the Traffic Mirror rule.
|
37823
|
+
# @return [String]
|
37824
|
+
#
|
37825
|
+
# @!attribute [rw] source_cidr_block
|
37826
|
+
# The source CIDR block assigned to the Traffic Mirror rule.
|
37827
|
+
# @return [String]
|
37828
|
+
#
|
37829
|
+
# @!attribute [rw] description
|
37830
|
+
# The description of the Traffic Mirror rule.
|
37831
|
+
# @return [String]
|
37832
|
+
#
|
37833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrafficMirrorFilterRule AWS API Documentation
|
37834
|
+
#
|
37835
|
+
class TrafficMirrorFilterRule < Struct.new(
|
37836
|
+
:traffic_mirror_filter_rule_id,
|
37837
|
+
:traffic_mirror_filter_id,
|
37838
|
+
:traffic_direction,
|
37839
|
+
:rule_number,
|
37840
|
+
:rule_action,
|
37841
|
+
:protocol,
|
37842
|
+
:destination_port_range,
|
37843
|
+
:source_port_range,
|
37844
|
+
:destination_cidr_block,
|
37845
|
+
:source_cidr_block,
|
37846
|
+
:description)
|
37847
|
+
include Aws::Structure
|
37848
|
+
end
|
37849
|
+
|
37850
|
+
# Describes the Traffic Mirror port range.
|
37851
|
+
#
|
37852
|
+
# @!attribute [rw] from_port
|
37853
|
+
# The start of the Traffic Mirror port range. This applies to the TCP
|
37854
|
+
# and UDP protocols.
|
37855
|
+
# @return [Integer]
|
37856
|
+
#
|
37857
|
+
# @!attribute [rw] to_port
|
37858
|
+
# The end of the Traffic Mirror port range. This applies to the TCP
|
37859
|
+
# and UDP protocols.
|
37860
|
+
# @return [Integer]
|
37861
|
+
#
|
37862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrafficMirrorPortRange AWS API Documentation
|
37863
|
+
#
|
37864
|
+
class TrafficMirrorPortRange < Struct.new(
|
37865
|
+
:from_port,
|
37866
|
+
:to_port)
|
37867
|
+
include Aws::Structure
|
37868
|
+
end
|
37869
|
+
|
37870
|
+
# Information about the Traffic Mirror filter rule port range.
|
37871
|
+
#
|
37872
|
+
# @note When making an API call, you may pass TrafficMirrorPortRangeRequest
|
37873
|
+
# data as a hash:
|
37874
|
+
#
|
37875
|
+
# {
|
37876
|
+
# from_port: 1,
|
37877
|
+
# to_port: 1,
|
37878
|
+
# }
|
37879
|
+
#
|
37880
|
+
# @!attribute [rw] from_port
|
37881
|
+
# The first port in the Traffic Mirror port range. This applies to the
|
37882
|
+
# TCP and UDP protocols.
|
37883
|
+
# @return [Integer]
|
37884
|
+
#
|
37885
|
+
# @!attribute [rw] to_port
|
37886
|
+
# The last port in the Traffic Mirror port range. This applies to the
|
37887
|
+
# TCP and UDP protocols.
|
37888
|
+
# @return [Integer]
|
37889
|
+
#
|
37890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrafficMirrorPortRangeRequest AWS API Documentation
|
37891
|
+
#
|
37892
|
+
class TrafficMirrorPortRangeRequest < Struct.new(
|
37893
|
+
:from_port,
|
37894
|
+
:to_port)
|
37895
|
+
include Aws::Structure
|
37896
|
+
end
|
37897
|
+
|
37898
|
+
# Describes a Traffic Mirror session.
|
37899
|
+
#
|
37900
|
+
# @!attribute [rw] traffic_mirror_session_id
|
37901
|
+
# The ID for the Traffic Mirror session.
|
37902
|
+
# @return [String]
|
37903
|
+
#
|
37904
|
+
# @!attribute [rw] traffic_mirror_target_id
|
37905
|
+
# The ID of the Traffic Mirror target.
|
37906
|
+
# @return [String]
|
37907
|
+
#
|
37908
|
+
# @!attribute [rw] traffic_mirror_filter_id
|
37909
|
+
# The ID of the Traffic Mirror filter.
|
37910
|
+
# @return [String]
|
37911
|
+
#
|
37912
|
+
# @!attribute [rw] network_interface_id
|
37913
|
+
# The ID of the Traffic Mirror session's network interface.
|
37914
|
+
# @return [String]
|
37915
|
+
#
|
37916
|
+
# @!attribute [rw] owner_id
|
37917
|
+
# The ID of the account that owns the Traffic Mirror session.
|
37918
|
+
# @return [String]
|
37919
|
+
#
|
37920
|
+
# @!attribute [rw] packet_length
|
37921
|
+
# The number of bytes in each packet to mirror. These are the bytes
|
37922
|
+
# after the VXLAN header. To mirror a subset, set this to the length
|
37923
|
+
# (in bytes) to mirror. For example, if you set this value to 100,
|
37924
|
+
# then the first 100 bytes that meet the filter criteria are copied to
|
37925
|
+
# the target. Do not specify this parameter when you want to mirror
|
37926
|
+
# the entire packet
|
37927
|
+
# @return [Integer]
|
37928
|
+
#
|
37929
|
+
# @!attribute [rw] session_number
|
37930
|
+
# The session number determines the order in which sessions are
|
37931
|
+
# evaluated when an interface is used by multiple sessions. The first
|
37932
|
+
# session with a matching filter is the one that mirrors the packets.
|
37933
|
+
#
|
37934
|
+
# Valid values are 1-32766.
|
37935
|
+
# @return [Integer]
|
37936
|
+
#
|
37937
|
+
# @!attribute [rw] virtual_network_id
|
37938
|
+
# The virtual network ID associated with the Traffic Mirror session.
|
37939
|
+
# @return [Integer]
|
37940
|
+
#
|
37941
|
+
# @!attribute [rw] description
|
37942
|
+
# The description of the Traffic Mirror session.
|
37943
|
+
# @return [String]
|
37944
|
+
#
|
37945
|
+
# @!attribute [rw] tags
|
37946
|
+
# The tags assigned to the Traffic Mirror session.
|
37947
|
+
# @return [Array<Types::Tag>]
|
37948
|
+
#
|
37949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrafficMirrorSession AWS API Documentation
|
37950
|
+
#
|
37951
|
+
class TrafficMirrorSession < Struct.new(
|
37952
|
+
:traffic_mirror_session_id,
|
37953
|
+
:traffic_mirror_target_id,
|
37954
|
+
:traffic_mirror_filter_id,
|
37955
|
+
:network_interface_id,
|
37956
|
+
:owner_id,
|
37957
|
+
:packet_length,
|
37958
|
+
:session_number,
|
37959
|
+
:virtual_network_id,
|
37960
|
+
:description,
|
37961
|
+
:tags)
|
37962
|
+
include Aws::Structure
|
37963
|
+
end
|
37964
|
+
|
37965
|
+
# Describes a Traffic Mirror target.
|
37966
|
+
#
|
37967
|
+
# @!attribute [rw] traffic_mirror_target_id
|
37968
|
+
# The ID of the Traffic Mirror target.
|
37969
|
+
# @return [String]
|
37970
|
+
#
|
37971
|
+
# @!attribute [rw] network_interface_id
|
37972
|
+
# The network interface ID that is attached to the target.
|
37973
|
+
# @return [String]
|
37974
|
+
#
|
37975
|
+
# @!attribute [rw] network_load_balancer_arn
|
37976
|
+
# The Amazon Resource Name (ARN) of the Network Load Balancer.
|
37977
|
+
# @return [String]
|
37978
|
+
#
|
37979
|
+
# @!attribute [rw] type
|
37980
|
+
# The type of Traffic Mirror target.
|
37981
|
+
# @return [String]
|
37982
|
+
#
|
37983
|
+
# @!attribute [rw] description
|
37984
|
+
# Information about the Traffic Mirror target.
|
37985
|
+
# @return [String]
|
37986
|
+
#
|
37987
|
+
# @!attribute [rw] owner_id
|
37988
|
+
# The ID of the account that owns the Traffic Mirror target.
|
37989
|
+
# @return [String]
|
37990
|
+
#
|
37991
|
+
# @!attribute [rw] tags
|
37992
|
+
# The tags assigned to the Traffic Mirror target.
|
37993
|
+
# @return [Array<Types::Tag>]
|
37994
|
+
#
|
37995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TrafficMirrorTarget AWS API Documentation
|
37996
|
+
#
|
37997
|
+
class TrafficMirrorTarget < Struct.new(
|
37998
|
+
:traffic_mirror_target_id,
|
37999
|
+
:network_interface_id,
|
38000
|
+
:network_load_balancer_arn,
|
38001
|
+
:type,
|
38002
|
+
:description,
|
38003
|
+
:owner_id,
|
38004
|
+
:tags)
|
38005
|
+
include Aws::Structure
|
38006
|
+
end
|
38007
|
+
|
36702
38008
|
# Describes a transit gateway.
|
36703
38009
|
#
|
36704
38010
|
# @!attribute [rw] transit_gateway_id
|