aws-sdk-ec2 1.296.0 → 1.300.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3339,6 +3339,7 @@ module Aws::EC2
3339
3339
  #
3340
3340
  # @!attribute [rw] state
3341
3341
  # The state of the Availability Zone, Local Zone, or Wavelength Zone.
3342
+ # This value is always `available`.
3342
3343
  # @return [String]
3343
3344
  #
3344
3345
  # @!attribute [rw] opt_in_status
@@ -5189,6 +5190,10 @@ module Aws::EC2
5189
5190
  include Aws::Structure
5190
5191
  end
5191
5192
 
5193
+ # Options for enabling a customizable text banner that will be displayed
5194
+ # on Amazon Web Services provided clients when a VPN session is
5195
+ # established.
5196
+ #
5192
5197
  # @note When making an API call, you may pass ClientLoginBannerOptions
5193
5198
  # data as a hash:
5194
5199
  #
@@ -5198,9 +5203,19 @@ module Aws::EC2
5198
5203
  # }
5199
5204
  #
5200
5205
  # @!attribute [rw] enabled
5206
+ # Enable or disable a customizable text banner that will be displayed
5207
+ # on Amazon Web Services provided clients when a VPN session is
5208
+ # established.
5209
+ #
5210
+ # Valid values: `true | false`
5211
+ #
5212
+ # Default value: `false`
5201
5213
  # @return [Boolean]
5202
5214
  #
5203
5215
  # @!attribute [rw] banner_text
5216
+ # Customizable text that will be displayed in a banner on Amazon Web
5217
+ # Services provided clients when a VPN session is established. UTF-8
5218
+ # encoded characters only. Maximum of 1400 characters.
5204
5219
  # @return [String]
5205
5220
  #
5206
5221
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientLoginBannerOptions AWS API Documentation
@@ -5212,10 +5227,20 @@ module Aws::EC2
5212
5227
  include Aws::Structure
5213
5228
  end
5214
5229
 
5230
+ # Current state of options for customizable text banner that will be
5231
+ # displayed on Amazon Web Services provided clients when a VPN session
5232
+ # is established.
5233
+ #
5215
5234
  # @!attribute [rw] enabled
5235
+ # Current state of text banner feature.
5236
+ #
5237
+ # Valid values: `true | false`
5216
5238
  # @return [Boolean]
5217
5239
  #
5218
5240
  # @!attribute [rw] banner_text
5241
+ # Customizable text that will be displayed in a banner on Amazon Web
5242
+ # Services provided clients when a VPN session is established. UTF-8
5243
+ # encoded characters only. Maximum of 1400 characters.
5219
5244
  # @return [String]
5220
5245
  #
5221
5246
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientLoginBannerResponseOptions AWS API Documentation
@@ -5543,9 +5568,17 @@ module Aws::EC2
5543
5568
  # @return [Types::ClientConnectResponseOptions]
5544
5569
  #
5545
5570
  # @!attribute [rw] session_timeout_hours
5571
+ # The maximum VPN session duration time in hours.
5572
+ #
5573
+ # Valid values: `8 | 10 | 12 | 24`
5574
+ #
5575
+ # Default value: `24`
5546
5576
  # @return [Integer]
5547
5577
  #
5548
5578
  # @!attribute [rw] client_login_banner_options
5579
+ # Options for enabling a customizable text banner that will be
5580
+ # displayed on Amazon Web Services provided clients when a VPN session
5581
+ # is established.
5549
5582
  # @return [Types::ClientLoginBannerResponseOptions]
5550
5583
  #
5551
5584
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnEndpoint AWS API Documentation
@@ -7078,9 +7111,17 @@ module Aws::EC2
7078
7111
  # @return [Types::ClientConnectOptions]
7079
7112
  #
7080
7113
  # @!attribute [rw] session_timeout_hours
7114
+ # The maximum VPN session duration time in hours.
7115
+ #
7116
+ # Valid values: `8 | 10 | 12 | 24`
7117
+ #
7118
+ # Default value: `24`
7081
7119
  # @return [Integer]
7082
7120
  #
7083
7121
  # @!attribute [rw] client_login_banner_options
7122
+ # Options for enabling a customizable text banner that will be
7123
+ # displayed on Amazon Web Services provided clients when a VPN session
7124
+ # is established.
7084
7125
  # @return [Types::ClientLoginBannerOptions]
7085
7126
  #
7086
7127
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpointRequest AWS API Documentation
@@ -7544,7 +7585,7 @@ module Aws::EC2
7544
7585
  # @!attribute [rw] error_code
7545
7586
  # The error code that indicates why the instance could not be
7546
7587
  # launched. For more information about error codes, see [Error
7547
- # Codes][1].
7588
+ # codes][1].
7548
7589
  #
7549
7590
  #
7550
7591
  #
@@ -7554,7 +7595,7 @@ module Aws::EC2
7554
7595
  # @!attribute [rw] error_message
7555
7596
  # The error message that describes why the instance could not be
7556
7597
  # launched. For more information about error messages, see [Error
7557
- # Codes][1].
7598
+ # codes][1].
7558
7599
  #
7559
7600
  #
7560
7601
  #
@@ -7754,7 +7795,7 @@ module Aws::EC2
7754
7795
  # @!attribute [rw] client_token
7755
7796
  # Unique, case-sensitive identifier that you provide to ensure the
7756
7797
  # idempotency of the request. For more information, see [Ensuring
7757
- # Idempotency][1].
7798
+ # idempotency][1].
7758
7799
  #
7759
7800
  #
7760
7801
  #
@@ -10487,14 +10528,9 @@ module Aws::EC2
10487
10528
  # @return [Integer]
10488
10529
  #
10489
10530
  # @!attribute [rw] interface_type
10490
- # Indicates the type of network interface. To create an Elastic Fabric
10491
- # Adapter (EFA), specify `efa`. For more information, see [ Elastic
10492
- # Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
10493
- # To create a trunk network interface, specify `trunk`.
10494
- #
10531
+ # The type of network interface. The default is `interface`.
10495
10532
  #
10496
- #
10497
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
10533
+ # The only supported values are `efa` and `trunk`.
10498
10534
  # @return [String]
10499
10535
  #
10500
10536
  # @!attribute [rw] subnet_id
@@ -17277,8 +17313,7 @@ module Aws::EC2
17277
17313
  # `us-east-1`).
17278
17314
  #
17279
17315
  # * `state` - The state of the Availability Zone, the Local Zone, or
17280
- # the Wavelength Zone (`available` \| `information` \| `impaired` \|
17281
- # `unavailable`).
17316
+ # the Wavelength Zone (`available`).
17282
17317
  #
17283
17318
  # * `zone-id` - The ID of the Availability Zone (for example,
17284
17319
  # `use1-az1`), the Local Zone (for example, `usw2-lax1-az1`), or the
@@ -17675,6 +17710,9 @@ module Aws::EC2
17675
17710
  # Availability Zone), and explicitly target the Capacity
17676
17711
  # Reservation. This ensures that only permitted instances can use
17677
17712
  # the reserved capacity.
17713
+ #
17714
+ # * `placement-group-arn` - The ARN of the cluster placement group in
17715
+ # which the Capacity Reservation was created.
17678
17716
  # @return [Array<Types::Filter>]
17679
17717
  #
17680
17718
  # @!attribute [rw] dry_run
@@ -18314,16 +18352,12 @@ module Aws::EC2
18314
18352
  # @return [Array<String>]
18315
18353
  #
18316
18354
  # @!attribute [rw] filters
18317
- # The filters. The following are the possible values:
18318
- #
18319
- # * `coip-pool.pool-id`
18320
- #
18321
- # ^
18322
- # ^
18355
+ # One or more filters.
18323
18356
  #
18324
- # * `coip-pool.local-gateway-route-table-id`
18357
+ # * `coip-pool.local-gateway-route-table-id` - The ID of the local
18358
+ # gateway route table.
18325
18359
  #
18326
- # ^
18360
+ # * `coip-pool.pool-id` - The ID of the address pool.
18327
18361
  # @return [Array<Types::Filter>]
18328
18362
  #
18329
18363
  # @!attribute [rw] max_results
@@ -19189,7 +19223,7 @@ module Aws::EC2
19189
19223
  # @!attribute [rw] error_code
19190
19224
  # The error code that indicates why the instance could not be
19191
19225
  # launched. For more information about error codes, see [Error
19192
- # Codes][1].
19226
+ # codes][1].
19193
19227
  #
19194
19228
  #
19195
19229
  #
@@ -19199,7 +19233,7 @@ module Aws::EC2
19199
19233
  # @!attribute [rw] error_message
19200
19234
  # The error message that describes why the instance could not be
19201
19235
  # launched. For more information about error messages, see [Error
19202
- # Codes][1].
19236
+ # codes][1].
19203
19237
  #
19204
19238
  #
19205
19239
  #
@@ -19466,7 +19500,12 @@ module Aws::EC2
19466
19500
  # @return [String]
19467
19501
  #
19468
19502
  # @!attribute [rw] fleet_ids
19469
- # The ID of the EC2 Fleets.
19503
+ # The IDs of the EC2 Fleets.
19504
+ #
19505
+ # <note markdown="1"> If a fleet is of type `instant`, you must specify the fleet ID,
19506
+ # otherwise it does not appear in the response.
19507
+ #
19508
+ # </note>
19470
19509
  # @return [Array<String>]
19471
19510
  #
19472
19511
  # @!attribute [rw] filters
@@ -21132,8 +21171,9 @@ module Aws::EC2
21132
21171
  # * `instance-storage-info.disk.type` - The storage technology for the
21133
21172
  # local instance storage disks (`hdd` \| `ssd`).
21134
21173
  #
21135
- # * `instance-storage-info.encryption-supported` - Indicates whether
21136
- # data is encrypted at rest (`required` \| `unsupported`).
21174
+ # * `instance-storage-info.encryption-support` - Indicates whether
21175
+ # data is encrypted at rest (`required` \| `supported` \|
21176
+ # `unsupported`).
21137
21177
  #
21138
21178
  # * `instance-storage-info.nvme-support` - Indicates whether
21139
21179
  # non-volatile memory express (NVMe) is supported for instance store
@@ -21173,6 +21213,9 @@ module Aws::EC2
21173
21213
  # * `network-info.ipv6-supported` - Indicates whether the instance
21174
21214
  # type supports IPv6 (`true` \| `false`).
21175
21215
  #
21216
+ # * `network-info.maximum-network-cards` - The maximum number of
21217
+ # network cards per instance.
21218
+ #
21176
21219
  # * `network-info.maximum-network-interfaces` - The maximum number of
21177
21220
  # network interfaces per instance.
21178
21221
  #
@@ -22354,6 +22397,9 @@ module Aws::EC2
22354
22397
  #
22355
22398
  # * `local-gateway-id` - The ID of a local gateway.
22356
22399
  #
22400
+ # * `local-gateway-route-table-arn` - The Amazon Resource Name (ARN)
22401
+ # of the local gateway route table for the virtual interface group.
22402
+ #
22357
22403
  # * `local-gateway-route-table-id` - The ID of the local gateway route
22358
22404
  # table.
22359
22405
  #
@@ -22363,6 +22409,9 @@ module Aws::EC2
22363
22409
  # * `local-gateway-route-table-virtual-interface-group-id` - The ID of
22364
22410
  # the virtual interface group.
22365
22411
  #
22412
+ # * `owner-id` - The ID of the Amazon Web Services account that owns
22413
+ # the local gateway virtual interface group association.
22414
+ #
22366
22415
  # * `state` - The state of the association.
22367
22416
  # @return [Array<Types::Filter>]
22368
22417
  #
@@ -22438,12 +22487,18 @@ module Aws::EC2
22438
22487
  #
22439
22488
  # * `local-gateway-id` - The ID of a local gateway.
22440
22489
  #
22490
+ # * `local-gateway-route-table-arn` - The Amazon Resource Name (ARN)
22491
+ # of the local gateway route table for the association.
22492
+ #
22441
22493
  # * `local-gateway-route-table-id` - The ID of the local gateway route
22442
22494
  # table.
22443
22495
  #
22444
22496
  # * `local-gateway-route-table-vpc-association-id` - The ID of the
22445
22497
  # association.
22446
22498
  #
22499
+ # * `owner-id` - The ID of the Amazon Web Services account that owns
22500
+ # the local gateway route table for the association.
22501
+ #
22447
22502
  # * `state` - The state of the association.
22448
22503
  #
22449
22504
  # * `vpc-id` - The ID of the VPC.
@@ -22521,11 +22576,17 @@ module Aws::EC2
22521
22576
  #
22522
22577
  # * `local-gateway-id` - The ID of a local gateway.
22523
22578
  #
22579
+ # * `local-gateway-route-table-arn` - The Amazon Resource Name (ARN)
22580
+ # of the local gateway route table.
22581
+ #
22524
22582
  # * `local-gateway-route-table-id` - The ID of a local gateway route
22525
22583
  # table.
22526
22584
  #
22527
22585
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
22528
22586
  #
22587
+ # * `owner-id` - The ID of the Amazon Web Services account that owns
22588
+ # the local gateway route table.
22589
+ #
22529
22590
  # * `state` - The state of the local gateway route table.
22530
22591
  # @return [Array<Types::Filter>]
22531
22592
  #
@@ -22601,11 +22662,14 @@ module Aws::EC2
22601
22662
  #
22602
22663
  # * `local-gateway-id` - The ID of a local gateway.
22603
22664
  #
22665
+ # * `local-gateway-virtual-interface-group-id` - The ID of the virtual
22666
+ # interface group.
22667
+ #
22604
22668
  # * `local-gateway-virtual-interface-id` - The ID of the virtual
22605
22669
  # interface.
22606
22670
  #
22607
- # * `local-gateway-virtual-interface-group-id` - The ID of the virtual
22608
- # interface group.
22671
+ # * `owner-id` - The ID of the Amazon Web Services account that owns
22672
+ # the local gateway virtual interface group.
22609
22673
  # @return [Array<Types::Filter>]
22610
22674
  #
22611
22675
  # @!attribute [rw] max_results
@@ -22677,6 +22741,28 @@ module Aws::EC2
22677
22741
  #
22678
22742
  # @!attribute [rw] filters
22679
22743
  # One or more filters.
22744
+ #
22745
+ # * `local-address` - The local address.
22746
+ #
22747
+ # * `local-bgp-asn` - The Border Gateway Protocol (BGP) Autonomous
22748
+ # System Number (ASN) of the local gateway.
22749
+ #
22750
+ # * `local-gateway-id` - The ID of the local gateway.
22751
+ #
22752
+ # * `local-gateway-virtual-interface-id` - The ID of the virtual
22753
+ # interface.
22754
+ #
22755
+ # * `local-gateway-virtual-interface-group-id` - The ID of the virtual
22756
+ # interface group.
22757
+ #
22758
+ # * `owner-id` - The ID of the Amazon Web Services account that owns
22759
+ # the local gateway virtual interface.
22760
+ #
22761
+ # * `peer-address` - The peer address.
22762
+ #
22763
+ # * `peer-bgp-asn` - The peer BGP ASN.
22764
+ #
22765
+ # * `vlan` - The ID of the VLAN.
22680
22766
  # @return [Array<Types::Filter>]
22681
22767
  #
22682
22768
  # @!attribute [rw] max_results
@@ -22743,26 +22829,20 @@ module Aws::EC2
22743
22829
  # }
22744
22830
  #
22745
22831
  # @!attribute [rw] local_gateway_ids
22832
+ # The IDs of the local gateways.
22833
+ # @return [Array<String>]
22834
+ #
22835
+ # @!attribute [rw] filters
22746
22836
  # One or more filters.
22747
22837
  #
22748
22838
  # * `local-gateway-id` - The ID of a local gateway.
22749
22839
  #
22750
- # * `local-gateway-route-table-id` - The ID of the local gateway route
22751
- # table.
22752
- #
22753
- # * `local-gateway-route-table-virtual-interface-group-association-id`
22754
- # - The ID of the association.
22755
- #
22756
- # * `local-gateway-route-table-virtual-interface-group-id` - The ID of
22757
- # the virtual interface group.
22758
- #
22759
22840
  # * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
22760
22841
  #
22761
- # * `state` - The state of the association.
22762
- # @return [Array<String>]
22842
+ # * `owner-id` - The ID of the Amazon Web Services account that owns
22843
+ # the local gateway.
22763
22844
  #
22764
- # @!attribute [rw] filters
22765
- # One or more filters.
22845
+ # * `state` - The state of the association.
22766
22846
  # @return [Array<Types::Filter>]
22767
22847
  #
22768
22848
  # @!attribute [rw] max_results
@@ -23760,6 +23840,14 @@ module Aws::EC2
23760
23840
  # * `ipv6-addresses.ipv6-address` - An IPv6 address associated with
23761
23841
  # the network interface.
23762
23842
  #
23843
+ # * `interface-type` - The type of network interface
23844
+ # (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
23845
+ # `branch` \| `efa` \| `gateway_load_balancer` \|
23846
+ # `gateway_load_balancer_endpoint` \| `global_accelerator_managed`
23847
+ # \| `interface` \| `iot_rules_managed` \| `lambda` \|
23848
+ # `load_balancer` \| `nat_gateway` \| `network_load_balancer` \|
23849
+ # `quicksight` \| `transit_gateway` \| `trunk` \| `vpc_endpoint`).
23850
+ #
23763
23851
  # * `mac-address` - The MAC address of the network interface.
23764
23852
  #
23765
23853
  # * `network-interface-id` - The ID of the network interface.
@@ -31040,12 +31128,13 @@ module Aws::EC2
31040
31128
  # Amazon EBS encryption. For more information, see [Supported instance
31041
31129
  # types][2].
31042
31130
  #
31043
- # This parameter is not returned by .
31131
+ # This parameter is not returned by [DescribeImageAttribute][3].
31044
31132
  #
31045
31133
  #
31046
31134
  #
31047
31135
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-parameters
31048
31136
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances
31137
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImageAttribute.html
31049
31138
  # @return [Boolean]
31050
31139
  #
31051
31140
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
@@ -31514,7 +31603,7 @@ module Aws::EC2
31514
31603
  #
31515
31604
  # @!attribute [rw] max_parallel_launches
31516
31605
  # The maximum number of parallel instances to launch for creating
31517
- # resources.
31606
+ # resources. Value must be `6` or greater.
31518
31607
  # @return [Integer]
31519
31608
  #
31520
31609
  # @!attribute [rw] dry_run
@@ -33385,7 +33474,7 @@ module Aws::EC2
33385
33474
  # @!attribute [rw] client_token
33386
33475
  # Unique, case-sensitive identifier that you provide to ensure the
33387
33476
  # idempotency of the request. For more information, see [Ensuring
33388
- # Idempotency][1].
33477
+ # idempotency][1].
33389
33478
  #
33390
33479
  # Constraints: Maximum 64 ASCII characters
33391
33480
  #
@@ -34658,26 +34747,18 @@ module Aws::EC2
34658
34747
  # @return [String]
34659
34748
  #
34660
34749
  # @!attribute [rw] filters
34661
- # The filters. The following are the possible values:
34662
- #
34663
- # * `coip-address-usage.allocation-id`
34664
- #
34665
- # ^
34666
- # ^
34667
- #
34668
- # * `coip-address-usage.aws-account-id`
34669
- #
34670
- # ^
34671
- # ^
34750
+ # One or more filters.
34672
34751
  #
34673
- # * `coip-address-usage.aws-service`
34752
+ # * `coip-address-usage.allocation-id` - The allocation ID of the
34753
+ # address.
34674
34754
  #
34675
- # ^
34676
- # ^
34755
+ # * `coip-address-usage.aws-account-id` - The ID of the Amazon Web
34756
+ # Services account that is using the customer-owned IP address.
34677
34757
  #
34678
- # * `coip-address-usage.co-ip`
34758
+ # * `coip-address-usage.aws-service` - The Amazon Web Services service
34759
+ # that is using the customer-owned IP address.
34679
34760
  #
34680
- # ^
34761
+ # * `coip-address-usage.co-ip` - The customer-owned IP address.
34681
34762
  # @return [Array<Types::Filter>]
34682
34763
  #
34683
34764
  # @!attribute [rw] max_results
@@ -37845,6 +37926,41 @@ module Aws::EC2
37845
37926
  include Aws::Structure
37846
37927
  end
37847
37928
 
37929
+ # Information about an AMI that is currently in the Recycle Bin.
37930
+ #
37931
+ # @!attribute [rw] image_id
37932
+ # The ID of the AMI.
37933
+ # @return [String]
37934
+ #
37935
+ # @!attribute [rw] name
37936
+ # The name of the AMI.
37937
+ # @return [String]
37938
+ #
37939
+ # @!attribute [rw] description
37940
+ # The description of the AMI.
37941
+ # @return [String]
37942
+ #
37943
+ # @!attribute [rw] recycle_bin_enter_time
37944
+ # The date and time when the AMI entered the Recycle Bin.
37945
+ # @return [Time]
37946
+ #
37947
+ # @!attribute [rw] recycle_bin_exit_time
37948
+ # The date and time when the AMI is to be permanently deleted from the
37949
+ # Recycle Bin.
37950
+ # @return [Time]
37951
+ #
37952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageRecycleBinInfo AWS API Documentation
37953
+ #
37954
+ class ImageRecycleBinInfo < Struct.new(
37955
+ :image_id,
37956
+ :name,
37957
+ :description,
37958
+ :recycle_bin_enter_time,
37959
+ :recycle_bin_exit_time)
37960
+ SENSITIVE = []
37961
+ include Aws::Structure
37962
+ end
37963
+
37848
37964
  # @note When making an API call, you may pass ImportClientVpnClientCertificateRevocationListRequest
37849
37965
  # data as a hash:
37850
37966
  #
@@ -40229,7 +40345,7 @@ module Aws::EC2
40229
40345
  # @return [String]
40230
40346
  #
40231
40347
  # @!attribute [rw] interface_type
40232
- # Describes the type of network interface.
40348
+ # The type of network interface.
40233
40349
  #
40234
40350
  # Valid values: `interface` \| `efa` \| `trunk`
40235
40351
  # @return [String]
@@ -40496,15 +40612,7 @@ module Aws::EC2
40496
40612
  # @!attribute [rw] interface_type
40497
40613
  # The type of network interface.
40498
40614
  #
40499
- # To create an Elastic Fabric Adapter (EFA), specify `efa`. For more
40500
- # information, see [Elastic Fabric Adapter][1] in the *Amazon Elastic
40501
- # Compute Cloud User Guide*.
40502
- #
40503
40615
  # Valid values: `interface` \| `efa`
40504
- #
40505
- #
40506
- #
40507
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
40508
40616
  # @return [String]
40509
40617
  #
40510
40618
  # @!attribute [rw] network_card_index
@@ -44172,6 +44280,16 @@ module Aws::EC2
44172
44280
  # @return [String]
44173
44281
  #
44174
44282
  # @!attribute [rw] instance_metadata_tags
44283
+ # Set to `enabled` to allow access to instance tags from the instance
44284
+ # metadata. Set to `disabled` to turn off access to instance tags from
44285
+ # the instance metadata. For more information, see [Work with instance
44286
+ # tags using the instance metadata][1].
44287
+ #
44288
+ # Default: `disabled`
44289
+ #
44290
+ #
44291
+ #
44292
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS
44175
44293
  # @return [String]
44176
44294
  #
44177
44295
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptions AWS API Documentation
@@ -45091,8 +45209,9 @@ module Aws::EC2
45091
45209
  #
45092
45210
  # @!attribute [rw] resource_type
45093
45211
  # The type of resource to tag. Currently, the resource types that
45094
- # support tagging on creation are `instance` and `volume`. To tag a
45095
- # resource after it has been created, see [CreateTags][1].
45212
+ # support tagging on creation are `instance`, `volume`, `elastic-gpu`,
45213
+ # `network-interface`, and `spot-instances-request`. To tag a resource
45214
+ # after it has been created, see [CreateTags][1].
45096
45215
  #
45097
45216
  #
45098
45217
  #
@@ -45233,6 +45352,76 @@ module Aws::EC2
45233
45352
  include Aws::Structure
45234
45353
  end
45235
45354
 
45355
+ # @note When making an API call, you may pass ListImagesInRecycleBinRequest
45356
+ # data as a hash:
45357
+ #
45358
+ # {
45359
+ # image_ids: ["ImageId"],
45360
+ # next_token: "String",
45361
+ # max_results: 1,
45362
+ # dry_run: false,
45363
+ # }
45364
+ #
45365
+ # @!attribute [rw] image_ids
45366
+ # The IDs of the AMIs to list. Omit this parameter to list all of the
45367
+ # AMIs that are in the Recycle Bin. You can specify up to 20 IDs in a
45368
+ # single request.
45369
+ # @return [Array<String>]
45370
+ #
45371
+ # @!attribute [rw] next_token
45372
+ # The token for the next page of results.
45373
+ # @return [String]
45374
+ #
45375
+ # @!attribute [rw] max_results
45376
+ # The maximum number of results to return with a single call. To
45377
+ # retrieve the remaining results, make another call with the returned
45378
+ # `nextToken` value.
45379
+ #
45380
+ # If you do not specify a value for *MaxResults*, the request returns
45381
+ # 1,000 items per page by default. For more information, see [
45382
+ # Pagination][1].
45383
+ #
45384
+ #
45385
+ #
45386
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
45387
+ # @return [Integer]
45388
+ #
45389
+ # @!attribute [rw] dry_run
45390
+ # Checks whether you have the required permissions for the action,
45391
+ # without actually making the request, and provides an error response.
45392
+ # If you have the required permissions, the error response is
45393
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
45394
+ # @return [Boolean]
45395
+ #
45396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ListImagesInRecycleBinRequest AWS API Documentation
45397
+ #
45398
+ class ListImagesInRecycleBinRequest < Struct.new(
45399
+ :image_ids,
45400
+ :next_token,
45401
+ :max_results,
45402
+ :dry_run)
45403
+ SENSITIVE = []
45404
+ include Aws::Structure
45405
+ end
45406
+
45407
+ # @!attribute [rw] images
45408
+ # Information about the AMIs.
45409
+ # @return [Array<Types::ImageRecycleBinInfo>]
45410
+ #
45411
+ # @!attribute [rw] next_token
45412
+ # The token to use to retrieve the next page of results. This value is
45413
+ # `null` when there are no more results to return.
45414
+ # @return [String]
45415
+ #
45416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ListImagesInRecycleBinResult AWS API Documentation
45417
+ #
45418
+ class ListImagesInRecycleBinResult < Struct.new(
45419
+ :images,
45420
+ :next_token)
45421
+ SENSITIVE = []
45422
+ include Aws::Structure
45423
+ end
45424
+
45236
45425
  # @note When making an API call, you may pass ListSnapshotsInRecycleBinRequest
45237
45426
  # data as a hash:
45238
45427
  #
@@ -46322,9 +46511,17 @@ module Aws::EC2
46322
46511
  # @return [Types::ClientConnectOptions]
46323
46512
  #
46324
46513
  # @!attribute [rw] session_timeout_hours
46514
+ # The maximum VPN session duration time in hours.
46515
+ #
46516
+ # Valid values: `8 | 10 | 12 | 24`
46517
+ #
46518
+ # Default value: `24`
46325
46519
  # @return [Integer]
46326
46520
  #
46327
46521
  # @!attribute [rw] client_login_banner_options
46522
+ # Options for enabling a customizable text banner that will be
46523
+ # displayed on Amazon Web Services provided clients when a VPN session
46524
+ # is established.
46328
46525
  # @return [Types::ClientLoginBannerOptions]
46329
46526
  #
46330
46527
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpointRequest AWS API Documentation
@@ -57800,6 +57997,47 @@ module Aws::EC2
57800
57997
  include Aws::Structure
57801
57998
  end
57802
57999
 
58000
+ # @note When making an API call, you may pass RestoreImageFromRecycleBinRequest
58001
+ # data as a hash:
58002
+ #
58003
+ # {
58004
+ # image_id: "ImageId", # required
58005
+ # dry_run: false,
58006
+ # }
58007
+ #
58008
+ # @!attribute [rw] image_id
58009
+ # The ID of the AMI to restore.
58010
+ # @return [String]
58011
+ #
58012
+ # @!attribute [rw] dry_run
58013
+ # Checks whether you have the required permissions for the action,
58014
+ # without actually making the request, and provides an error response.
58015
+ # If you have the required permissions, the error response is
58016
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
58017
+ # @return [Boolean]
58018
+ #
58019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreImageFromRecycleBinRequest AWS API Documentation
58020
+ #
58021
+ class RestoreImageFromRecycleBinRequest < Struct.new(
58022
+ :image_id,
58023
+ :dry_run)
58024
+ SENSITIVE = []
58025
+ include Aws::Structure
58026
+ end
58027
+
58028
+ # @!attribute [rw] return
58029
+ # Returns `true` if the request succeeds; otherwise, it returns an
58030
+ # error.
58031
+ # @return [Boolean]
58032
+ #
58033
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreImageFromRecycleBinResult AWS API Documentation
58034
+ #
58035
+ class RestoreImageFromRecycleBinResult < Struct.new(
58036
+ :return)
58037
+ SENSITIVE = []
58038
+ include Aws::Structure
58039
+ end
58040
+
57803
58041
  # @note When making an API call, you may pass RestoreManagedPrefixListVersionRequest
57804
58042
  # data as a hash:
57805
58043
  #
@@ -60239,6 +60477,25 @@ module Aws::EC2
60239
60477
  #
60240
60478
  # @!attribute [rw] filters
60241
60479
  # One or more filters.
60480
+ #
60481
+ # * `route-search.exact-match` - The exact match of the specified
60482
+ # filter.
60483
+ #
60484
+ # * `route-search.longest-prefix-match` - The longest prefix that
60485
+ # matches the route.
60486
+ #
60487
+ # * `route-search.subnet-of-match` - The routes with a subnet that
60488
+ # match the specified CIDR filter.
60489
+ #
60490
+ # * `route-search.supernet-of-match` - The routes with a CIDR that
60491
+ # encompass the CIDR filter. For example, if you have 10.0.1.0/29
60492
+ # and 10.0.1.0/31 routes in your route table and you specify
60493
+ # `supernet-of-match` as 10.0.1.0/30, then the result returns
60494
+ # 10.0.1.0/29.
60495
+ #
60496
+ # * `state` - The state of the route.
60497
+ #
60498
+ # * `type` - The route type.
60242
60499
  # @return [Array<Types::Filter>]
60243
60500
  #
60244
60501
  # @!attribute [rw] max_results
@@ -64068,7 +64325,7 @@ module Aws::EC2
64068
64325
  # The value of the tag.
64069
64326
  #
64070
64327
  # Constraints: Tag values are case-sensitive and accept a maximum of
64071
- # 255 Unicode characters.
64328
+ # 256 Unicode characters.
64072
64329
  # @return [String]
64073
64330
  #
64074
64331
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Tag AWS API Documentation