aws-sdk-ec2 1.45.0 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2646,9 +2646,12 @@ module Aws::EC2
2646
2646
  DescribeNetworkInterfacesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "filter"))
2647
2647
  DescribeNetworkInterfacesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
2648
2648
  DescribeNetworkInterfacesRequest.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: NetworkInterfaceIdList, location_name: "NetworkInterfaceId"))
2649
+ DescribeNetworkInterfacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
2650
+ DescribeNetworkInterfacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
2649
2651
  DescribeNetworkInterfacesRequest.struct_class = Types::DescribeNetworkInterfacesRequest
2650
2652
 
2651
2653
  DescribeNetworkInterfacesResult.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaceSet"))
2654
+ DescribeNetworkInterfacesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
2652
2655
  DescribeNetworkInterfacesResult.struct_class = Types::DescribeNetworkInterfacesResult
2653
2656
 
2654
2657
  DescribePlacementGroupsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
@@ -3195,13 +3198,13 @@ module Aws::EC2
3195
3198
 
3196
3199
  DnsEntrySet.member = Shapes::ShapeRef.new(shape: DnsEntry, location_name: "item")
3197
3200
 
3198
- EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
3199
3201
  EbsBlockDevice.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
3200
3202
  EbsBlockDevice.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
3201
- EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
3202
3203
  EbsBlockDevice.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
3203
3204
  EbsBlockDevice.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
3204
3205
  EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
3206
+ EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
3207
+ EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
3205
3208
  EbsBlockDevice.struct_class = Types::EbsBlockDevice
3206
3209
 
3207
3210
  EbsInstanceBlockDevice.add_member(:attach_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "attachTime"))
@@ -7376,6 +7379,12 @@ module Aws::EC2
7376
7379
  o.http_request_uri = "/"
7377
7380
  o.input = Shapes::ShapeRef.new(shape: DescribeNetworkInterfacesRequest)
7378
7381
  o.output = Shapes::ShapeRef.new(shape: DescribeNetworkInterfacesResult)
7382
+ o[:pager] = Aws::Pager.new(
7383
+ limit_key: "max_results",
7384
+ tokens: {
7385
+ "next_token" => "next_token"
7386
+ }
7387
+ )
7379
7388
  end)
7380
7389
 
7381
7390
  api.add_operation(:describe_placement_groups, Seahorse::Model::Operation.new.tap do |o|
@@ -588,13 +588,13 @@ module Aws::EC2
588
588
  # device_name: "String",
589
589
  # virtual_name: "String",
590
590
  # ebs: {
591
- # encrypted: false,
592
591
  # delete_on_termination: false,
593
592
  # iops: 1,
594
- # kms_key_id: "String",
595
593
  # snapshot_id: "String",
596
594
  # volume_size: 1,
597
595
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
596
+ # encrypted: false,
597
+ # kms_key_id: "String",
598
598
  # },
599
599
  # no_device: "String",
600
600
  # },
@@ -58,13 +58,13 @@ module Aws::EC2
58
58
  # device_name: "String",
59
59
  # virtual_name: "String",
60
60
  # ebs: {
61
- # encrypted: false,
62
61
  # delete_on_termination: false,
63
62
  # iops: 1,
64
- # kms_key_id: "String",
65
63
  # snapshot_id: "String",
66
64
  # volume_size: 1,
67
65
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
66
+ # encrypted: false,
67
+ # kms_key_id: "String",
68
68
  # },
69
69
  # no_device: "String",
70
70
  # },
@@ -361,14 +361,15 @@ module Aws::EC2
361
361
  # @option options [Types::CreditSpecificationRequest] :credit_specification
362
362
  # The credit option for CPU usage of the instance. Valid values are
363
363
  # `standard` and `unlimited`. To change this attribute after launch, use
364
- # ModifyInstanceCreditSpecification. For more information, see [T2
365
- # Instances][1] in the *Amazon Elastic Compute Cloud User Guide*.
364
+ # ModifyInstanceCreditSpecification. For more information, see
365
+ # [Burstable Performance Instances][1] in the *Amazon Elastic Compute
366
+ # Cloud User Guide*.
366
367
  #
367
- # Default: `standard`
368
+ # Default: `standard` (T2 instances) or `unlimited` (T3 instances)
368
369
  #
369
370
  #
370
371
  #
371
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
372
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
372
373
  # @option options [Types::CpuOptionsRequest] :cpu_options
373
374
  # The CPU options for the instance. For more information, see
374
375
  # [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud User
@@ -1003,13 +1004,13 @@ module Aws::EC2
1003
1004
  # device_name: "String",
1004
1005
  # virtual_name: "String",
1005
1006
  # ebs: {
1006
- # encrypted: false,
1007
1007
  # delete_on_termination: false,
1008
1008
  # iops: 1,
1009
- # kms_key_id: "String",
1010
1009
  # snapshot_id: "String",
1011
1010
  # volume_size: 1,
1012
1011
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
1012
+ # encrypted: false,
1013
+ # kms_key_id: "String",
1013
1014
  # },
1014
1015
  # no_device: "String",
1015
1016
  # },
@@ -1848,9 +1849,6 @@ module Aws::EC2
1848
1849
  #
1849
1850
  # * `entry.cidr` - The IPv4 CIDR range specified in the entry.
1850
1851
  #
1851
- # * `entry.egress` - Indicates whether the entry applies to egress
1852
- # traffic.
1853
- #
1854
1852
  # * `entry.icmp.code` - The ICMP code specified in the entry, if any.
1855
1853
  #
1856
1854
  # * `entry.icmp.type` - The ICMP type specified in the entry, if any.
@@ -1870,7 +1868,7 @@ module Aws::EC2
1870
1868
  # \| `deny`).
1871
1869
  #
1872
1870
  # * `entry.rule-number` - The number of an entry (in other words, rule)
1873
- # in the ACL's set of entries.
1871
+ # in the set of ACL entries.
1874
1872
  #
1875
1873
  # * `network-acl-id` - The ID of the network ACL.
1876
1874
  #
@@ -2057,16 +2055,18 @@ module Aws::EC2
2057
2055
  # @return [NetworkInterface::Collection]
2058
2056
  def network_interfaces(options = {})
2059
2057
  batches = Enumerator.new do |y|
2060
- batch = []
2061
2058
  resp = @client.describe_network_interfaces(options)
2062
- resp.data.network_interfaces.each do |n|
2063
- batch << NetworkInterface.new(
2064
- id: n.network_interface_id,
2065
- data: n,
2066
- client: @client
2067
- )
2059
+ resp.each_page do |page|
2060
+ batch = []
2061
+ page.data.network_interfaces.each do |n|
2062
+ batch << NetworkInterface.new(
2063
+ id: n.network_interface_id,
2064
+ data: n,
2065
+ client: @client
2066
+ )
2067
+ end
2068
+ y.yield(batch)
2068
2069
  end
2069
- y.yield(batch)
2070
2070
  end
2071
2071
  NetworkInterface::Collection.new(batches)
2072
2072
  end
@@ -302,12 +302,12 @@ module Aws::EC2
302
302
  # default region in your AWS configuration file.
303
303
  # @option options [Boolean] :encrypted
304
304
  # Specifies whether the destination snapshot should be encrypted. You
305
- # can encrypt a copy of an unencrypted snapshot using this flag, but you
306
- # cannot use it to create an unencrypted copy from an encrypted
307
- # snapshot. Your default CMK for EBS is used unless a non-default AWS
308
- # Key Management Service (AWS KMS) CMK is specified with `KmsKeyId`. For
309
- # more information, see [Amazon EBS Encryption][1] in the *Amazon
310
- # Elastic Compute Cloud User Guide*.
305
+ # can encrypt a copy of an unencrypted snapshot, but you cannot use it
306
+ # to create an unencrypted copy of an encrypted snapshot. Your default
307
+ # CMK for EBS is used unless you specify a non-default AWS Key
308
+ # Management Service (AWS KMS) CMK using `KmsKeyId`. For more
309
+ # information, see [Amazon EBS Encryption][1] in the *Amazon Elastic
310
+ # Compute Cloud User Guide*.
311
311
  #
312
312
  #
313
313
  #
@@ -236,13 +236,13 @@ module Aws::EC2
236
236
  # device_name: "String",
237
237
  # virtual_name: "String",
238
238
  # ebs: {
239
- # encrypted: false,
240
239
  # delete_on_termination: false,
241
240
  # iops: 1,
242
- # kms_key_id: "String",
243
241
  # snapshot_id: "String",
244
242
  # volume_size: 1,
245
243
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
244
+ # encrypted: false,
245
+ # kms_key_id: "String",
246
246
  # },
247
247
  # no_device: "String",
248
248
  # },
@@ -536,14 +536,15 @@ module Aws::EC2
536
536
  # @option options [Types::CreditSpecificationRequest] :credit_specification
537
537
  # The credit option for CPU usage of the instance. Valid values are
538
538
  # `standard` and `unlimited`. To change this attribute after launch, use
539
- # ModifyInstanceCreditSpecification. For more information, see [T2
540
- # Instances][1] in the *Amazon Elastic Compute Cloud User Guide*.
539
+ # ModifyInstanceCreditSpecification. For more information, see
540
+ # [Burstable Performance Instances][1] in the *Amazon Elastic Compute
541
+ # Cloud User Guide*.
541
542
  #
542
- # Default: `standard`
543
+ # Default: `standard` (T2 instances) or `unlimited` (T3 instances)
543
544
  #
544
545
  #
545
546
  #
546
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
547
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
547
548
  # @option options [Types::CpuOptionsRequest] :cpu_options
548
549
  # The CPU options for the instance. For more information, see
549
550
  # [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud User
@@ -1138,20 +1139,22 @@ module Aws::EC2
1138
1139
  # @return [NetworkInterface::Collection]
1139
1140
  def network_interfaces(options = {})
1140
1141
  batches = Enumerator.new do |y|
1141
- batch = []
1142
1142
  options = Aws::Util.deep_merge(options, filters: [{
1143
1143
  name: "subnet-id",
1144
1144
  values: [@id]
1145
1145
  }])
1146
1146
  resp = @client.describe_network_interfaces(options)
1147
- resp.data.network_interfaces.each do |n|
1148
- batch << NetworkInterface.new(
1149
- id: n.network_interface_id,
1150
- data: n,
1151
- client: @client
1152
- )
1147
+ resp.each_page do |page|
1148
+ batch = []
1149
+ page.data.network_interfaces.each do |n|
1150
+ batch << NetworkInterface.new(
1151
+ id: n.network_interface_id,
1152
+ data: n,
1153
+ client: @client
1154
+ )
1155
+ end
1156
+ y.yield(batch)
1153
1157
  end
1154
- y.yield(batch)
1155
1158
  end
1156
1159
  NetworkInterface::Collection.new(batches)
1157
1160
  end
@@ -108,8 +108,6 @@ module Aws::EC2
108
108
  include Aws::Structure
109
109
  end
110
110
 
111
- # Contains the parameters for AcceptVpcPeeringConnection.
112
- #
113
111
  # @note When making an API call, you may pass AcceptVpcPeeringConnectionRequest
114
112
  # data as a hash:
115
113
  #
@@ -138,8 +136,6 @@ module Aws::EC2
138
136
  include Aws::Structure
139
137
  end
140
138
 
141
- # Contains the output of AcceptVpcPeeringConnection.
142
- #
143
139
  # @!attribute [rw] vpc_peering_connection
144
140
  # Information about the VPC peering connection.
145
141
  # @return [Types::VpcPeeringConnection]
@@ -332,8 +328,6 @@ module Aws::EC2
332
328
  include Aws::Structure
333
329
  end
334
330
 
335
- # Contains the parameters for AllocateHosts.
336
- #
337
331
  # @note When making an API call, you may pass AllocateHostsRequest
338
332
  # data as a hash:
339
333
  #
@@ -389,8 +383,6 @@ module Aws::EC2
389
383
  include Aws::Structure
390
384
  end
391
385
 
392
- # Contains the output of AllocateHosts.
393
- #
394
386
  # @!attribute [rw] host_ids
395
387
  # The ID of the allocated Dedicated Host. This is used to launch an
396
388
  # instance onto a specific host.
@@ -606,8 +598,6 @@ module Aws::EC2
606
598
  include Aws::Structure
607
599
  end
608
600
 
609
- # Contains the parameters for AssociateDhcpOptions.
610
- #
611
601
  # @note When making an API call, you may pass AssociateDhcpOptionsRequest
612
602
  # data as a hash:
613
603
  #
@@ -680,8 +670,6 @@ module Aws::EC2
680
670
  include Aws::Structure
681
671
  end
682
672
 
683
- # Contains the parameters for AssociateRouteTable.
684
- #
685
673
  # @note When making an API call, you may pass AssociateRouteTableRequest
686
674
  # data as a hash:
687
675
  #
@@ -715,8 +703,6 @@ module Aws::EC2
715
703
  include Aws::Structure
716
704
  end
717
705
 
718
- # Contains the output of AssociateRouteTable.
719
- #
720
706
  # @!attribute [rw] association_id
721
707
  # The route table association ID. This ID is required for
722
708
  # disassociating the route table.
@@ -823,8 +809,6 @@ module Aws::EC2
823
809
  include Aws::Structure
824
810
  end
825
811
 
826
- # Contains the parameters for AttachClassicLinkVpc.
827
- #
828
812
  # @note When making an API call, you may pass AttachClassicLinkVpcRequest
829
813
  # data as a hash:
830
814
  #
@@ -866,8 +850,6 @@ module Aws::EC2
866
850
  include Aws::Structure
867
851
  end
868
852
 
869
- # Contains the output of AttachClassicLinkVpc.
870
- #
871
853
  # @!attribute [rw] return
872
854
  # Returns `true` if the request succeeds; otherwise, it returns an
873
855
  # error.
@@ -880,8 +862,6 @@ module Aws::EC2
880
862
  include Aws::Structure
881
863
  end
882
864
 
883
- # Contains the parameters for AttachInternetGateway.
884
- #
885
865
  # @note When making an API call, you may pass AttachInternetGatewayRequest
886
866
  # data as a hash:
887
867
  #
@@ -1099,8 +1079,6 @@ module Aws::EC2
1099
1079
  include Aws::Structure
1100
1080
  end
1101
1081
 
1102
- # Contains the parameters for AuthorizeSecurityGroupEgress.
1103
- #
1104
1082
  # @note When making an API call, you may pass AuthorizeSecurityGroupEgressRequest
1105
1083
  # data as a hash:
1106
1084
  #
@@ -1210,8 +1188,6 @@ module Aws::EC2
1210
1188
  include Aws::Structure
1211
1189
  end
1212
1190
 
1213
- # Contains the parameters for AuthorizeSecurityGroupIngress.
1214
- #
1215
1191
  # @note When making an API call, you may pass AuthorizeSecurityGroupIngressRequest
1216
1192
  # data as a hash:
1217
1193
  #
@@ -1444,13 +1420,13 @@ module Aws::EC2
1444
1420
  # device_name: "String",
1445
1421
  # virtual_name: "String",
1446
1422
  # ebs: {
1447
- # encrypted: false,
1448
1423
  # delete_on_termination: false,
1449
1424
  # iops: 1,
1450
- # kms_key_id: "String",
1451
1425
  # snapshot_id: "String",
1452
1426
  # volume_size: 1,
1453
1427
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
1428
+ # encrypted: false,
1429
+ # kms_key_id: "String",
1454
1430
  # },
1455
1431
  # no_device: "String",
1456
1432
  # }
@@ -2382,10 +2358,12 @@ module Aws::EC2
2382
2358
  #
2383
2359
  # @!attribute [rw] encrypted
2384
2360
  # Specifies whether the destination snapshots of the copied image
2385
- # should be encrypted. The default CMK for EBS is used unless a
2386
- # non-default AWS Key Management Service (AWS KMS) CMK is specified
2387
- # with `KmsKeyId`. For more information, see [Amazon EBS
2388
- # Encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
2361
+ # should be encrypted. You can encrypt a copy of an unencrypted
2362
+ # snapshot, but you cannot create an unencrypted copy of an encrypted
2363
+ # snapshot. The default CMK for EBS is used unless you specify a
2364
+ # non-default AWS Key Management Service (AWS KMS) CMK using
2365
+ # `KmsKeyId`. For more information, see [Amazon EBS Encryption][1] in
2366
+ # the *Amazon Elastic Compute Cloud User Guide*.
2389
2367
  #
2390
2368
  #
2391
2369
  #
@@ -2504,12 +2482,12 @@ module Aws::EC2
2504
2482
  #
2505
2483
  # @!attribute [rw] encrypted
2506
2484
  # Specifies whether the destination snapshot should be encrypted. You
2507
- # can encrypt a copy of an unencrypted snapshot using this flag, but
2508
- # you cannot use it to create an unencrypted copy from an encrypted
2509
- # snapshot. Your default CMK for EBS is used unless a non-default AWS
2510
- # Key Management Service (AWS KMS) CMK is specified with `KmsKeyId`.
2511
- # For more information, see [Amazon EBS Encryption][1] in the *Amazon
2512
- # Elastic Compute Cloud User Guide*.
2485
+ # can encrypt a copy of an unencrypted snapshot, but you cannot use it
2486
+ # to create an unencrypted copy of an encrypted snapshot. Your default
2487
+ # CMK for EBS is used unless you specify a non-default AWS Key
2488
+ # Management Service (AWS KMS) CMK using `KmsKeyId`. For more
2489
+ # information, see [Amazon EBS Encryption][1] in the *Amazon Elastic
2490
+ # Compute Cloud User Guide*.
2513
2491
  #
2514
2492
  #
2515
2493
  #
@@ -2754,8 +2732,6 @@ module Aws::EC2
2754
2732
  include Aws::Structure
2755
2733
  end
2756
2734
 
2757
- # Contains the parameters for CreateDefaultVpc.
2758
- #
2759
2735
  # @note When making an API call, you may pass CreateDefaultVpcRequest
2760
2736
  # data as a hash:
2761
2737
  #
@@ -2777,8 +2753,6 @@ module Aws::EC2
2777
2753
  include Aws::Structure
2778
2754
  end
2779
2755
 
2780
- # Contains the output of CreateDefaultVpc.
2781
- #
2782
2756
  # @!attribute [rw] vpc
2783
2757
  # Information about the VPC.
2784
2758
  # @return [Types::Vpc]
@@ -2790,8 +2764,6 @@ module Aws::EC2
2790
2764
  include Aws::Structure
2791
2765
  end
2792
2766
 
2793
- # Contains the parameters for CreateDhcpOptions.
2794
- #
2795
2767
  # @note When making an API call, you may pass CreateDhcpOptionsRequest
2796
2768
  # data as a hash:
2797
2769
  #
@@ -2824,8 +2796,6 @@ module Aws::EC2
2824
2796
  include Aws::Structure
2825
2797
  end
2826
2798
 
2827
- # Contains the output of CreateDhcpOptions.
2828
- #
2829
2799
  # @!attribute [rw] dhcp_options
2830
2800
  # A set of DHCP options.
2831
2801
  # @return [Types::DhcpOptions]
@@ -3069,8 +3039,6 @@ module Aws::EC2
3069
3039
  include Aws::Structure
3070
3040
  end
3071
3041
 
3072
- # Contains the parameters for CreateFlowLogs.
3073
- #
3074
3042
  # @note When making an API call, you may pass CreateFlowLogsRequest
3075
3043
  # data as a hash:
3076
3044
  #
@@ -3169,8 +3137,6 @@ module Aws::EC2
3169
3137
  include Aws::Structure
3170
3138
  end
3171
3139
 
3172
- # Contains the output of CreateFlowLogs.
3173
- #
3174
3140
  # @!attribute [rw] client_token
3175
3141
  # Unique, case-sensitive identifier that you provide to ensure the
3176
3142
  # idempotency of the request.
@@ -3285,13 +3251,13 @@ module Aws::EC2
3285
3251
  # device_name: "String",
3286
3252
  # virtual_name: "String",
3287
3253
  # ebs: {
3288
- # encrypted: false,
3289
3254
  # delete_on_termination: false,
3290
3255
  # iops: 1,
3291
- # kms_key_id: "String",
3292
3256
  # snapshot_id: "String",
3293
3257
  # volume_size: 1,
3294
3258
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
3259
+ # encrypted: false,
3260
+ # kms_key_id: "String",
3295
3261
  # },
3296
3262
  # no_device: "String",
3297
3263
  # },
@@ -3420,8 +3386,6 @@ module Aws::EC2
3420
3386
  include Aws::Structure
3421
3387
  end
3422
3388
 
3423
- # Contains the parameters for CreateInternetGateway.
3424
- #
3425
3389
  # @note When making an API call, you may pass CreateInternetGatewayRequest
3426
3390
  # data as a hash:
3427
3391
  #
@@ -3443,8 +3407,6 @@ module Aws::EC2
3443
3407
  include Aws::Structure
3444
3408
  end
3445
3409
 
3446
- # Contains the output of CreateInternetGateway.
3447
- #
3448
3410
  # @!attribute [rw] internet_gateway
3449
3411
  # Information about the internet gateway.
3450
3412
  # @return [Types::InternetGateway]
@@ -3456,8 +3418,6 @@ module Aws::EC2
3456
3418
  include Aws::Structure
3457
3419
  end
3458
3420
 
3459
- # Contains the parameters for CreateKeyPair.
3460
- #
3461
3421
  # @note When making an API call, you may pass CreateKeyPairRequest
3462
3422
  # data as a hash:
3463
3423
  #
@@ -3830,8 +3790,6 @@ module Aws::EC2
3830
3790
  include Aws::Structure
3831
3791
  end
3832
3792
 
3833
- # Contains the parameters for CreateNatGateway.
3834
- #
3835
3793
  # @note When making an API call, you may pass CreateNatGatewayRequest
3836
3794
  # data as a hash:
3837
3795
  #
@@ -3872,8 +3830,6 @@ module Aws::EC2
3872
3830
  include Aws::Structure
3873
3831
  end
3874
3832
 
3875
- # Contains the output of CreateNatGateway.
3876
- #
3877
3833
  # @!attribute [rw] client_token
3878
3834
  # Unique, case-sensitive identifier to ensure the idempotency of the
3879
3835
  # request. Only returned if a client token was provided in the
@@ -3892,8 +3848,6 @@ module Aws::EC2
3892
3848
  include Aws::Structure
3893
3849
  end
3894
3850
 
3895
- # Contains the parameters for CreateNetworkAclEntry.
3896
- #
3897
3851
  # @note When making an API call, you may pass CreateNetworkAclEntryRequest
3898
3852
  # data as a hash:
3899
3853
  #
@@ -3992,8 +3946,6 @@ module Aws::EC2
3992
3946
  include Aws::Structure
3993
3947
  end
3994
3948
 
3995
- # Contains the parameters for CreateNetworkAcl.
3996
- #
3997
3949
  # @note When making an API call, you may pass CreateNetworkAclRequest
3998
3950
  # data as a hash:
3999
3951
  #
@@ -4021,8 +3973,6 @@ module Aws::EC2
4021
3973
  include Aws::Structure
4022
3974
  end
4023
3975
 
4024
- # Contains the output of CreateNetworkAcl.
4025
- #
4026
3976
  # @!attribute [rw] network_acl
4027
3977
  # Information about the network ACL.
4028
3978
  # @return [Types::NetworkAcl]
@@ -4316,8 +4266,6 @@ module Aws::EC2
4316
4266
  include Aws::Structure
4317
4267
  end
4318
4268
 
4319
- # Contains the parameters for CreateRoute.
4320
- #
4321
4269
  # @note When making an API call, you may pass CreateRouteRequest
4322
4270
  # data as a hash:
4323
4271
  #
@@ -4398,8 +4346,6 @@ module Aws::EC2
4398
4346
  include Aws::Structure
4399
4347
  end
4400
4348
 
4401
- # Contains the output of CreateRoute.
4402
- #
4403
4349
  # @!attribute [rw] return
4404
4350
  # Returns `true` if the request succeeds; otherwise, it returns an
4405
4351
  # error.
@@ -4412,8 +4358,6 @@ module Aws::EC2
4412
4358
  include Aws::Structure
4413
4359
  end
4414
4360
 
4415
- # Contains the parameters for CreateRouteTable.
4416
- #
4417
4361
  # @note When making an API call, you may pass CreateRouteTableRequest
4418
4362
  # data as a hash:
4419
4363
  #
@@ -4441,8 +4385,6 @@ module Aws::EC2
4441
4385
  include Aws::Structure
4442
4386
  end
4443
4387
 
4444
- # Contains the output of CreateRouteTable.
4445
- #
4446
4388
  # @!attribute [rw] route_table
4447
4389
  # Information about the route table.
4448
4390
  # @return [Types::RouteTable]
@@ -4454,8 +4396,6 @@ module Aws::EC2
4454
4396
  include Aws::Structure
4455
4397
  end
4456
4398
 
4457
- # Contains the parameters for CreateSecurityGroup.
4458
- #
4459
4399
  # @note When making an API call, you may pass CreateSecurityGroupRequest
4460
4400
  # data as a hash:
4461
4401
  #
@@ -4510,8 +4450,6 @@ module Aws::EC2
4510
4450
  include Aws::Structure
4511
4451
  end
4512
4452
 
4513
- # Contains the output of CreateSecurityGroup.
4514
- #
4515
4453
  # @!attribute [rw] group_id
4516
4454
  # The ID of the security group.
4517
4455
  # @return [String]
@@ -4622,8 +4560,6 @@ module Aws::EC2
4622
4560
  include Aws::Structure
4623
4561
  end
4624
4562
 
4625
- # Contains the parameters for CreateSubnet.
4626
- #
4627
4563
  # @note When making an API call, you may pass CreateSubnetRequest
4628
4564
  # data as a hash:
4629
4565
  #
@@ -4675,8 +4611,6 @@ module Aws::EC2
4675
4611
  include Aws::Structure
4676
4612
  end
4677
4613
 
4678
- # Contains the output of CreateSubnet.
4679
- #
4680
4614
  # @!attribute [rw] subnet
4681
4615
  # Information about the subnet.
4682
4616
  # @return [Types::Subnet]
@@ -4688,8 +4622,6 @@ module Aws::EC2
4688
4622
  include Aws::Structure
4689
4623
  end
4690
4624
 
4691
- # Contains the parameters for CreateTags.
4692
- #
4693
4625
  # @note When making an API call, you may pass CreateTagsRequest
4694
4626
  # data as a hash:
4695
4627
  #
@@ -5102,7 +5034,7 @@ module Aws::EC2
5102
5034
  # attributes to `true`\: `enableDnsHostnames` and `enableDnsSupport`.
5103
5035
  # Use ModifyVpcAttribute to set the VPC attributes.
5104
5036
  #
5105
- # Default: `true`
5037
+ # Default: `false`
5106
5038
  # @return [Boolean]
5107
5039
  #
5108
5040
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointRequest AWS API Documentation
@@ -5205,8 +5137,6 @@ module Aws::EC2
5205
5137
  include Aws::Structure
5206
5138
  end
5207
5139
 
5208
- # Contains the parameters for CreateVpcPeeringConnection.
5209
- #
5210
5140
  # @note When making an API call, you may pass CreateVpcPeeringConnectionRequest
5211
5141
  # data as a hash:
5212
5142
  #
@@ -5259,8 +5189,6 @@ module Aws::EC2
5259
5189
  include Aws::Structure
5260
5190
  end
5261
5191
 
5262
- # Contains the output of CreateVpcPeeringConnection.
5263
- #
5264
5192
  # @!attribute [rw] vpc_peering_connection
5265
5193
  # Information about the VPC peering connection.
5266
5194
  # @return [Types::VpcPeeringConnection]
@@ -5272,8 +5200,6 @@ module Aws::EC2
5272
5200
  include Aws::Structure
5273
5201
  end
5274
5202
 
5275
- # Contains the parameters for CreateVpc.
5276
- #
5277
5203
  # @note When making an API call, you may pass CreateVpcRequest
5278
5204
  # data as a hash:
5279
5205
  #
@@ -5326,8 +5252,6 @@ module Aws::EC2
5326
5252
  include Aws::Structure
5327
5253
  end
5328
5254
 
5329
- # Contains the output of CreateVpc.
5330
- #
5331
5255
  # @!attribute [rw] vpc
5332
5256
  # Information about the VPC.
5333
5257
  # @return [Types::Vpc]
@@ -5493,11 +5417,11 @@ module Aws::EC2
5493
5417
  include Aws::Structure
5494
5418
  end
5495
5419
 
5496
- # Describes the credit option for CPU usage of a T2 instance.
5420
+ # Describes the credit option for CPU usage of a T2 or T3 instance.
5497
5421
  #
5498
5422
  # @!attribute [rw] cpu_credits
5499
- # The credit option for CPU usage of a T2 instance. Valid values are
5500
- # `standard` and `unlimited`.
5423
+ # The credit option for CPU usage of a T2 or T3 instance. Valid values
5424
+ # are `standard` and `unlimited`.
5501
5425
  # @return [String]
5502
5426
  #
5503
5427
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecification AWS API Documentation
@@ -5507,7 +5431,7 @@ module Aws::EC2
5507
5431
  include Aws::Structure
5508
5432
  end
5509
5433
 
5510
- # The credit option for CPU usage of a T2 instance.
5434
+ # The credit option for CPU usage of a T2 or T3 instance.
5511
5435
  #
5512
5436
  # @note When making an API call, you may pass CreditSpecificationRequest
5513
5437
  # data as a hash:
@@ -5517,8 +5441,8 @@ module Aws::EC2
5517
5441
  # }
5518
5442
  #
5519
5443
  # @!attribute [rw] cpu_credits
5520
- # The credit option for CPU usage of a T2 instance. Valid values are
5521
- # `standard` and `unlimited`.
5444
+ # The credit option for CPU usage of a T2 or T3 instance. Valid values
5445
+ # are `standard` and `unlimited`.
5522
5446
  # @return [String]
5523
5447
  #
5524
5448
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecificationRequest AWS API Documentation
@@ -5599,8 +5523,6 @@ module Aws::EC2
5599
5523
  include Aws::Structure
5600
5524
  end
5601
5525
 
5602
- # Contains the parameters for DeleteDhcpOptions.
5603
- #
5604
5526
  # @note When making an API call, you may pass DeleteDhcpOptionsRequest
5605
5527
  # data as a hash:
5606
5528
  #
@@ -5776,8 +5698,6 @@ module Aws::EC2
5776
5698
  include Aws::Structure
5777
5699
  end
5778
5700
 
5779
- # Contains the parameters for DeleteFlowLogs.
5780
- #
5781
5701
  # @note When making an API call, you may pass DeleteFlowLogsRequest
5782
5702
  # data as a hash:
5783
5703
  #
@@ -5805,8 +5725,6 @@ module Aws::EC2
5805
5725
  include Aws::Structure
5806
5726
  end
5807
5727
 
5808
- # Contains the output of DeleteFlowLogs.
5809
- #
5810
5728
  # @!attribute [rw] unsuccessful
5811
5729
  # Information about the flow logs that could not be deleted
5812
5730
  # successfully.
@@ -5857,8 +5775,6 @@ module Aws::EC2
5857
5775
  include Aws::Structure
5858
5776
  end
5859
5777
 
5860
- # Contains the parameters for DeleteInternetGateway.
5861
- #
5862
5778
  # @note When making an API call, you may pass DeleteInternetGatewayRequest
5863
5779
  # data as a hash:
5864
5780
  #
@@ -5886,8 +5802,6 @@ module Aws::EC2
5886
5802
  include Aws::Structure
5887
5803
  end
5888
5804
 
5889
- # Contains the parameters for DeleteKeyPair.
5890
- #
5891
5805
  # @note When making an API call, you may pass DeleteKeyPairRequest
5892
5806
  # data as a hash:
5893
5807
  #
@@ -6072,8 +5986,6 @@ module Aws::EC2
6072
5986
  include Aws::Structure
6073
5987
  end
6074
5988
 
6075
- # Contains the parameters for DeleteNatGateway.
6076
- #
6077
5989
  # @note When making an API call, you may pass DeleteNatGatewayRequest
6078
5990
  # data as a hash:
6079
5991
  #
@@ -6092,8 +6004,6 @@ module Aws::EC2
6092
6004
  include Aws::Structure
6093
6005
  end
6094
6006
 
6095
- # Contains the output of DeleteNatGateway.
6096
- #
6097
6007
  # @!attribute [rw] nat_gateway_id
6098
6008
  # The ID of the NAT gateway.
6099
6009
  # @return [String]
@@ -6105,8 +6015,6 @@ module Aws::EC2
6105
6015
  include Aws::Structure
6106
6016
  end
6107
6017
 
6108
- # Contains the parameters for DeleteNetworkAclEntry.
6109
- #
6110
6018
  # @note When making an API call, you may pass DeleteNetworkAclEntryRequest
6111
6019
  # data as a hash:
6112
6020
  #
@@ -6146,8 +6054,6 @@ module Aws::EC2
6146
6054
  include Aws::Structure
6147
6055
  end
6148
6056
 
6149
- # Contains the parameters for DeleteNetworkAcl.
6150
- #
6151
6057
  # @note When making an API call, you may pass DeleteNetworkAclRequest
6152
6058
  # data as a hash:
6153
6059
  #
@@ -6282,8 +6188,6 @@ module Aws::EC2
6282
6188
  include Aws::Structure
6283
6189
  end
6284
6190
 
6285
- # Contains the parameters for DeleteRoute.
6286
- #
6287
6191
  # @note When making an API call, you may pass DeleteRouteRequest
6288
6192
  # data as a hash:
6289
6193
  #
@@ -6325,8 +6229,6 @@ module Aws::EC2
6325
6229
  include Aws::Structure
6326
6230
  end
6327
6231
 
6328
- # Contains the parameters for DeleteRouteTable.
6329
- #
6330
6232
  # @note When making an API call, you may pass DeleteRouteTableRequest
6331
6233
  # data as a hash:
6332
6234
  #
@@ -6354,8 +6256,6 @@ module Aws::EC2
6354
6256
  include Aws::Structure
6355
6257
  end
6356
6258
 
6357
- # Contains the parameters for DeleteSecurityGroup.
6358
- #
6359
6259
  # @note When making an API call, you may pass DeleteSecurityGroupRequest
6360
6260
  # data as a hash:
6361
6261
  #
@@ -6442,8 +6342,6 @@ module Aws::EC2
6442
6342
  include Aws::Structure
6443
6343
  end
6444
6344
 
6445
- # Contains the parameters for DeleteSubnet.
6446
- #
6447
6345
  # @note When making an API call, you may pass DeleteSubnetRequest
6448
6346
  # data as a hash:
6449
6347
  #
@@ -6471,8 +6369,6 @@ module Aws::EC2
6471
6369
  include Aws::Structure
6472
6370
  end
6473
6371
 
6474
- # Contains the parameters for DeleteTags.
6475
- #
6476
6372
  # @note When making an API call, you may pass DeleteTagsRequest
6477
6373
  # data as a hash:
6478
6374
  #
@@ -6669,8 +6565,6 @@ module Aws::EC2
6669
6565
  include Aws::Structure
6670
6566
  end
6671
6567
 
6672
- # Contains the parameters for DeleteVpcPeeringConnection.
6673
- #
6674
6568
  # @note When making an API call, you may pass DeleteVpcPeeringConnectionRequest
6675
6569
  # data as a hash:
6676
6570
  #
@@ -6698,8 +6592,6 @@ module Aws::EC2
6698
6592
  include Aws::Structure
6699
6593
  end
6700
6594
 
6701
- # Contains the output of DeleteVpcPeeringConnection.
6702
- #
6703
6595
  # @!attribute [rw] return
6704
6596
  # Returns `true` if the request succeeds; otherwise, it returns an
6705
6597
  # error.
@@ -6712,8 +6604,6 @@ module Aws::EC2
6712
6604
  include Aws::Structure
6713
6605
  end
6714
6606
 
6715
- # Contains the parameters for DeleteVpc.
6716
- #
6717
6607
  # @note When making an API call, you may pass DeleteVpcRequest
6718
6608
  # data as a hash:
6719
6609
  #
@@ -7172,8 +7062,6 @@ module Aws::EC2
7172
7062
  include Aws::Structure
7173
7063
  end
7174
7064
 
7175
- # Contains the parameters for DescribeClassicLinkInstances.
7176
- #
7177
7065
  # @note When making an API call, you may pass DescribeClassicLinkInstancesRequest
7178
7066
  # data as a hash:
7179
7067
  #
@@ -7252,8 +7140,6 @@ module Aws::EC2
7252
7140
  include Aws::Structure
7253
7141
  end
7254
7142
 
7255
- # Contains the output of DescribeClassicLinkInstances.
7256
- #
7257
7143
  # @!attribute [rw] instances
7258
7144
  # Information about one or more linked EC2-Classic instances.
7259
7145
  # @return [Array<Types::ClassicLinkInstance>]
@@ -7392,8 +7278,6 @@ module Aws::EC2
7392
7278
  include Aws::Structure
7393
7279
  end
7394
7280
 
7395
- # Contains the parameters for DescribeDhcpOptions.
7396
- #
7397
7281
  # @note When making an API call, you may pass DescribeDhcpOptionsRequest
7398
7282
  # data as a hash:
7399
7283
  #
@@ -7451,8 +7335,6 @@ module Aws::EC2
7451
7335
  include Aws::Structure
7452
7336
  end
7453
7337
 
7454
- # Contains the output of DescribeDhcpOptions.
7455
- #
7456
7338
  # @!attribute [rw] dhcp_options
7457
7339
  # Information about one or more DHCP options sets.
7458
7340
  # @return [Array<Types::DhcpOptions>]
@@ -7904,8 +7786,6 @@ module Aws::EC2
7904
7786
  include Aws::Structure
7905
7787
  end
7906
7788
 
7907
- # Contains the parameters for DescribeFlowLogs.
7908
- #
7909
7789
  # @note When making an API call, you may pass DescribeFlowLogsRequest
7910
7790
  # data as a hash:
7911
7791
  #
@@ -7977,8 +7857,6 @@ module Aws::EC2
7977
7857
  include Aws::Structure
7978
7858
  end
7979
7859
 
7980
- # Contains the output of DescribeFlowLogs.
7981
- #
7982
7860
  # @!attribute [rw] flow_logs
7983
7861
  # Information about the flow logs.
7984
7862
  # @return [Array<Types::FlowLog>]
@@ -8270,8 +8148,8 @@ module Aws::EC2
8270
8148
  # The maximum number of results to return for the request in a single
8271
8149
  # page. The remaining results can be seen by sending another request
8272
8150
  # with the returned `nextToken` value. This value can be between 5 and
8273
- # 500.If `maxResults` is given a larger value than 500, you receive an
8274
- # error.
8151
+ # 500. If `maxResults` is given a larger value than 500, you receive
8152
+ # an error.
8275
8153
  # @return [Integer]
8276
8154
  #
8277
8155
  # @!attribute [rw] next_token
@@ -8305,8 +8183,6 @@ module Aws::EC2
8305
8183
  include Aws::Structure
8306
8184
  end
8307
8185
 
8308
- # Contains the parameters for DescribeHosts.
8309
- #
8310
8186
  # @note When making an API call, you may pass DescribeHostsRequest
8311
8187
  # data as a hash:
8312
8188
  #
@@ -8376,8 +8252,6 @@ module Aws::EC2
8376
8252
  include Aws::Structure
8377
8253
  end
8378
8254
 
8379
- # Contains the output of DescribeHosts.
8380
- #
8381
8255
  # @!attribute [rw] hosts
8382
8256
  # Information about the Dedicated Hosts.
8383
8257
  # @return [Array<Types::Host>]
@@ -9481,8 +9355,6 @@ module Aws::EC2
9481
9355
  include Aws::Structure
9482
9356
  end
9483
9357
 
9484
- # Contains the parameters for DescribeInternetGateways.
9485
- #
9486
9358
  # @note When making an API call, you may pass DescribeInternetGatewaysRequest
9487
9359
  # data as a hash:
9488
9360
  #
@@ -9541,8 +9413,6 @@ module Aws::EC2
9541
9413
  include Aws::Structure
9542
9414
  end
9543
9415
 
9544
- # Contains the output of DescribeInternetGateways.
9545
- #
9546
9416
  # @!attribute [rw] internet_gateways
9547
9417
  # Information about one or more internet gateways.
9548
9418
  # @return [Array<Types::InternetGateway>]
@@ -9554,8 +9424,6 @@ module Aws::EC2
9554
9424
  include Aws::Structure
9555
9425
  end
9556
9426
 
9557
- # Contains the parameters for DescribeKeyPairs.
9558
- #
9559
9427
  # @note When making an API call, you may pass DescribeKeyPairsRequest
9560
9428
  # data as a hash:
9561
9429
  #
@@ -9600,8 +9468,6 @@ module Aws::EC2
9600
9468
  include Aws::Structure
9601
9469
  end
9602
9470
 
9603
- # Contains the output of DescribeKeyPairs.
9604
- #
9605
9471
  # @!attribute [rw] key_pairs
9606
9472
  # Information about one or more key pairs.
9607
9473
  # @return [Array<Types::KeyPairInfo>]
@@ -9897,8 +9763,6 @@ module Aws::EC2
9897
9763
  include Aws::Structure
9898
9764
  end
9899
9765
 
9900
- # Contains the parameters for DescribeNatGateways.
9901
- #
9902
9766
  # @note When making an API call, you may pass DescribeNatGatewaysRequest
9903
9767
  # data as a hash:
9904
9768
  #
@@ -9965,8 +9829,6 @@ module Aws::EC2
9965
9829
  include Aws::Structure
9966
9830
  end
9967
9831
 
9968
- # Contains the output of DescribeNatGateways.
9969
- #
9970
9832
  # @!attribute [rw] nat_gateways
9971
9833
  # Information about the NAT gateways.
9972
9834
  # @return [Array<Types::NatGateway>]
@@ -9984,8 +9846,6 @@ module Aws::EC2
9984
9846
  include Aws::Structure
9985
9847
  end
9986
9848
 
9987
- # Contains the parameters for DescribeNetworkAcls.
9988
- #
9989
9849
  # @note When making an API call, you may pass DescribeNetworkAclsRequest
9990
9850
  # data as a hash:
9991
9851
  #
@@ -10017,9 +9877,6 @@ module Aws::EC2
10017
9877
  #
10018
9878
  # * `entry.cidr` - The IPv4 CIDR range specified in the entry.
10019
9879
  #
10020
- # * `entry.egress` - Indicates whether the entry applies to egress
10021
- # traffic.
10022
- #
10023
9880
  # * `entry.icmp.code` - The ICMP code specified in the entry, if any.
10024
9881
  #
10025
9882
  # * `entry.icmp.type` - The ICMP type specified in the entry, if any.
@@ -10039,7 +9896,7 @@ module Aws::EC2
10039
9896
  # (`allow` \| `deny`).
10040
9897
  #
10041
9898
  # * `entry.rule-number` - The number of an entry (in other words,
10042
- # rule) in the ACL's set of entries.
9899
+ # rule) in the set of ACL entries.
10043
9900
  #
10044
9901
  # * `network-acl-id` - The ID of the network ACL.
10045
9902
  #
@@ -10078,8 +9935,6 @@ module Aws::EC2
10078
9935
  include Aws::Structure
10079
9936
  end
10080
9937
 
10081
- # Contains the output of DescribeNetworkAcls.
10082
- #
10083
9938
  # @!attribute [rw] network_acls
10084
9939
  # Information about one or more network ACLs.
10085
9940
  # @return [Array<Types::NetworkAcl>]
@@ -10251,6 +10106,8 @@ module Aws::EC2
10251
10106
  # ],
10252
10107
  # dry_run: false,
10253
10108
  # network_interface_ids: ["String"],
10109
+ # next_token: "String",
10110
+ # max_results: 1,
10254
10111
  # }
10255
10112
  #
10256
10113
  # @!attribute [rw] filters
@@ -10381,12 +10238,24 @@ module Aws::EC2
10381
10238
  # Default: Describes all your network interfaces.
10382
10239
  # @return [Array<String>]
10383
10240
  #
10241
+ # @!attribute [rw] next_token
10242
+ # The token to retrieve the next page of results.
10243
+ # @return [String]
10244
+ #
10245
+ # @!attribute [rw] max_results
10246
+ # The maximum number of items to return for this request. The request
10247
+ # returns a token that you can specify in a subsequent call to get the
10248
+ # next set of results.
10249
+ # @return [Integer]
10250
+ #
10384
10251
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesRequest AWS API Documentation
10385
10252
  #
10386
10253
  class DescribeNetworkInterfacesRequest < Struct.new(
10387
10254
  :filters,
10388
10255
  :dry_run,
10389
- :network_interface_ids)
10256
+ :network_interface_ids,
10257
+ :next_token,
10258
+ :max_results)
10390
10259
  include Aws::Structure
10391
10260
  end
10392
10261
 
@@ -10396,10 +10265,16 @@ module Aws::EC2
10396
10265
  # Information about one or more network interfaces.
10397
10266
  # @return [Array<Types::NetworkInterface>]
10398
10267
  #
10268
+ # @!attribute [rw] next_token
10269
+ # The token to use to retrieve the next page of results. This value is
10270
+ # `null` when there are no more results to return.
10271
+ # @return [String]
10272
+ #
10399
10273
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacesResult AWS API Documentation
10400
10274
  #
10401
10275
  class DescribeNetworkInterfacesResult < Struct.new(
10402
- :network_interfaces)
10276
+ :network_interfaces,
10277
+ :next_token)
10403
10278
  include Aws::Structure
10404
10279
  end
10405
10280
 
@@ -10467,8 +10342,6 @@ module Aws::EC2
10467
10342
  include Aws::Structure
10468
10343
  end
10469
10344
 
10470
- # Contains the parameters for DescribePrefixLists.
10471
- #
10472
10345
  # @note When making an API call, you may pass DescribePrefixListsRequest
10473
10346
  # data as a hash:
10474
10347
  #
@@ -10529,8 +10402,6 @@ module Aws::EC2
10529
10402
  include Aws::Structure
10530
10403
  end
10531
10404
 
10532
- # Contains the output of DescribePrefixLists.
10533
- #
10534
10405
  # @!attribute [rw] next_token
10535
10406
  # The token to use when requesting the next set of items. If there are
10536
10407
  # no additional items to return, the string is empty.
@@ -11152,8 +11023,6 @@ module Aws::EC2
11152
11023
  include Aws::Structure
11153
11024
  end
11154
11025
 
11155
- # Contains the parameters for DescribeRouteTables.
11156
- #
11157
11026
  # @note When making an API call, you may pass DescribeRouteTablesRequest
11158
11027
  # data as a hash:
11159
11028
  #
@@ -11257,8 +11126,6 @@ module Aws::EC2
11257
11126
  include Aws::Structure
11258
11127
  end
11259
11128
 
11260
- # Contains the output of DescribeRouteTables.
11261
- #
11262
11129
  # @!attribute [rw] route_tables
11263
11130
  # Information about one or more route tables.
11264
11131
  # @return [Array<Types::RouteTable>]
@@ -11487,10 +11354,10 @@ module Aws::EC2
11487
11354
  # }
11488
11355
  #
11489
11356
  # @!attribute [rw] dry_run
11490
- # Checks whether you have the required permissions for the operation,
11357
+ # Checks whether you have the required permissions for the action,
11491
11358
  # without actually making the request, and provides an error response.
11492
11359
  # If you have the required permissions, the error response is
11493
- # DryRunOperation. Otherwise, it is UnauthorizedOperation.
11360
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
11494
11361
  # @return [Boolean]
11495
11362
  #
11496
11363
  # @!attribute [rw] group_id
@@ -11516,8 +11383,6 @@ module Aws::EC2
11516
11383
  include Aws::Structure
11517
11384
  end
11518
11385
 
11519
- # Contains the parameters for DescribeSecurityGroups.
11520
- #
11521
11386
  # @note When making an API call, you may pass DescribeSecurityGroupsRequest
11522
11387
  # data as a hash:
11523
11388
  #
@@ -11665,8 +11530,6 @@ module Aws::EC2
11665
11530
  include Aws::Structure
11666
11531
  end
11667
11532
 
11668
- # Contains the output of DescribeSecurityGroups.
11669
- #
11670
11533
  # @!attribute [rw] security_groups
11671
11534
  # Information about one or more security groups.
11672
11535
  # @return [Array<Types::SecurityGroup>]
@@ -12450,10 +12313,10 @@ module Aws::EC2
12450
12313
  # }
12451
12314
  #
12452
12315
  # @!attribute [rw] dry_run
12453
- # Checks whether you have the required permissions for the operation,
12316
+ # Checks whether you have the required permissions for the action,
12454
12317
  # without actually making the request, and provides an error response.
12455
12318
  # If you have the required permissions, the error response is
12456
- # DryRunOperation. Otherwise, it is UnauthorizedOperation.
12319
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
12457
12320
  # @return [Boolean]
12458
12321
  #
12459
12322
  # @!attribute [rw] max_results
@@ -12498,8 +12361,6 @@ module Aws::EC2
12498
12361
  include Aws::Structure
12499
12362
  end
12500
12363
 
12501
- # Contains the parameters for DescribeSubnets.
12502
- #
12503
12364
  # @note When making an API call, you may pass DescribeSubnetsRequest
12504
12365
  # data as a hash:
12505
12366
  #
@@ -12580,8 +12441,6 @@ module Aws::EC2
12580
12441
  include Aws::Structure
12581
12442
  end
12582
12443
 
12583
- # Contains the output of DescribeSubnets.
12584
- #
12585
12444
  # @!attribute [rw] subnets
12586
12445
  # Information about one or more subnets.
12587
12446
  # @return [Array<Types::Subnet>]
@@ -12593,8 +12452,6 @@ module Aws::EC2
12593
12452
  include Aws::Structure
12594
12453
  end
12595
12454
 
12596
- # Contains the parameters for DescribeTags.
12597
- #
12598
12455
  # @note When making an API call, you may pass DescribeTagsRequest
12599
12456
  # data as a hash:
12600
12457
  #
@@ -12622,7 +12479,7 @@ module Aws::EC2
12622
12479
  #
12623
12480
  # * `key` - The tag key.
12624
12481
  #
12625
- # * `resource-id` - The resource ID.
12482
+ # * `resource-id` - The ID of the resource.
12626
12483
  #
12627
12484
  # * `resource-type` - The resource type (`customer-gateway` \|
12628
12485
  # `dhcp-options` \| `elastic-ip` \| `fleet` \| `fpga-image` \|
@@ -12633,6 +12490,11 @@ module Aws::EC2
12633
12490
  # `vpc` \| `vpc-peering-connection` \| `vpn-connection` \|
12634
12491
  # `vpn-gateway`).
12635
12492
  #
12493
+ # * `tag`\:&lt;key&gt; - The key/value combination of the tag. For
12494
+ # example, specify "tag:Owner" for the filter name and "TeamA"
12495
+ # for the filter value to find resources with the tag
12496
+ # "Owner=TeamA".
12497
+ #
12636
12498
  # * `value` - The tag value.
12637
12499
  # @return [Array<Types::Filter>]
12638
12500
  #
@@ -12656,15 +12518,13 @@ module Aws::EC2
12656
12518
  include Aws::Structure
12657
12519
  end
12658
12520
 
12659
- # Contains the output of DescribeTags.
12660
- #
12661
12521
  # @!attribute [rw] next_token
12662
12522
  # The token to use to retrieve the next page of results. This value is
12663
12523
  # `null` when there are no more results to return.
12664
12524
  # @return [String]
12665
12525
  #
12666
12526
  # @!attribute [rw] tags
12667
- # A list of tags.
12527
+ # The tags.
12668
12528
  # @return [Array<Types::TagDescription>]
12669
12529
  #
12670
12530
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTagsResult AWS API Documentation
@@ -13055,8 +12915,6 @@ module Aws::EC2
13055
12915
  include Aws::Structure
13056
12916
  end
13057
12917
 
13058
- # Contains the parameters for DescribeVpcAttribute.
13059
- #
13060
12918
  # @note When making an API call, you may pass DescribeVpcAttributeRequest
13061
12919
  # data as a hash:
13062
12920
  #
@@ -13090,8 +12948,6 @@ module Aws::EC2
13090
12948
  include Aws::Structure
13091
12949
  end
13092
12950
 
13093
- # Contains the output of DescribeVpcAttribute.
13094
- #
13095
12951
  # @!attribute [rw] vpc_id
13096
12952
  # The ID of the VPC.
13097
12953
  # @return [String]
@@ -13118,8 +12974,6 @@ module Aws::EC2
13118
12974
  include Aws::Structure
13119
12975
  end
13120
12976
 
13121
- # Contains the parameters for DescribeVpcClassicLinkDnsSupport.
13122
- #
13123
12977
  # @note When making an API call, you may pass DescribeVpcClassicLinkDnsSupportRequest
13124
12978
  # data as a hash:
13125
12979
  #
@@ -13153,8 +13007,6 @@ module Aws::EC2
13153
13007
  include Aws::Structure
13154
13008
  end
13155
13009
 
13156
- # Contains the output of DescribeVpcClassicLinkDnsSupport.
13157
- #
13158
13010
  # @!attribute [rw] next_token
13159
13011
  # The token to use when requesting the next set of items.
13160
13012
  # @return [String]
@@ -13171,8 +13023,6 @@ module Aws::EC2
13171
13023
  include Aws::Structure
13172
13024
  end
13173
13025
 
13174
- # Contains the parameters for DescribeVpcClassicLink.
13175
- #
13176
13026
  # @note When making an API call, you may pass DescribeVpcClassicLinkRequest
13177
13027
  # data as a hash:
13178
13028
  #
@@ -13225,8 +13075,6 @@ module Aws::EC2
13225
13075
  include Aws::Structure
13226
13076
  end
13227
13077
 
13228
- # Contains the output of DescribeVpcClassicLink.
13229
- #
13230
13078
  # @!attribute [rw] vpcs
13231
13079
  # The ClassicLink status of one or more VPCs.
13232
13080
  # @return [Array<Types::VpcClassicLink>]
@@ -13724,8 +13572,6 @@ module Aws::EC2
13724
13572
  include Aws::Structure
13725
13573
  end
13726
13574
 
13727
- # Contains the parameters for DescribeVpcPeeringConnections.
13728
- #
13729
13575
  # @note When making an API call, you may pass DescribeVpcPeeringConnectionsRequest
13730
13576
  # data as a hash:
13731
13577
  #
@@ -13805,8 +13651,6 @@ module Aws::EC2
13805
13651
  include Aws::Structure
13806
13652
  end
13807
13653
 
13808
- # Contains the output of DescribeVpcPeeringConnections.
13809
- #
13810
13654
  # @!attribute [rw] vpc_peering_connections
13811
13655
  # Information about the VPC peering connections.
13812
13656
  # @return [Array<Types::VpcPeeringConnection>]
@@ -13818,8 +13662,6 @@ module Aws::EC2
13818
13662
  include Aws::Structure
13819
13663
  end
13820
13664
 
13821
- # Contains the parameters for DescribeVpcs.
13822
- #
13823
13665
  # @note When making an API call, you may pass DescribeVpcsRequest
13824
13666
  # data as a hash:
13825
13667
  #
@@ -13901,8 +13743,6 @@ module Aws::EC2
13901
13743
  include Aws::Structure
13902
13744
  end
13903
13745
 
13904
- # Contains the output of DescribeVpcs.
13905
- #
13906
13746
  # @!attribute [rw] vpcs
13907
13747
  # Information about one or more VPCs.
13908
13748
  # @return [Array<Types::Vpc>]
@@ -14091,8 +13931,6 @@ module Aws::EC2
14091
13931
  include Aws::Structure
14092
13932
  end
14093
13933
 
14094
- # Contains the parameters for DetachClassicLinkVpc.
14095
- #
14096
13934
  # @note When making an API call, you may pass DetachClassicLinkVpcRequest
14097
13935
  # data as a hash:
14098
13936
  #
@@ -14126,8 +13964,6 @@ module Aws::EC2
14126
13964
  include Aws::Structure
14127
13965
  end
14128
13966
 
14129
- # Contains the output of DetachClassicLinkVpc.
14130
- #
14131
13967
  # @!attribute [rw] return
14132
13968
  # Returns `true` if the request succeeds; otherwise, it returns an
14133
13969
  # error.
@@ -14140,8 +13976,6 @@ module Aws::EC2
14140
13976
  include Aws::Structure
14141
13977
  end
14142
13978
 
14143
- # Contains the parameters for DetachInternetGateway.
14144
- #
14145
13979
  # @note When making an API call, you may pass DetachInternetGatewayRequest
14146
13980
  # data as a hash:
14147
13981
  #
@@ -14366,8 +14200,6 @@ module Aws::EC2
14366
14200
  include Aws::Structure
14367
14201
  end
14368
14202
 
14369
- # Contains the parameters for DisableVpcClassicLinkDnsSupport.
14370
- #
14371
14203
  # @note When making an API call, you may pass DisableVpcClassicLinkDnsSupportRequest
14372
14204
  # data as a hash:
14373
14205
  #
@@ -14386,8 +14218,6 @@ module Aws::EC2
14386
14218
  include Aws::Structure
14387
14219
  end
14388
14220
 
14389
- # Contains the output of DisableVpcClassicLinkDnsSupport.
14390
- #
14391
14221
  # @!attribute [rw] return
14392
14222
  # Returns `true` if the request succeeds; otherwise, it returns an
14393
14223
  # error.
@@ -14400,8 +14230,6 @@ module Aws::EC2
14400
14230
  include Aws::Structure
14401
14231
  end
14402
14232
 
14403
- # Contains the parameters for DisableVpcClassicLink.
14404
- #
14405
14233
  # @note When making an API call, you may pass DisableVpcClassicLinkRequest
14406
14234
  # data as a hash:
14407
14235
  #
@@ -14429,8 +14257,6 @@ module Aws::EC2
14429
14257
  include Aws::Structure
14430
14258
  end
14431
14259
 
14432
- # Contains the output of DisableVpcClassicLink.
14433
- #
14434
14260
  # @!attribute [rw] return
14435
14261
  # Returns `true` if the request succeeds; otherwise, it returns an
14436
14262
  # error.
@@ -14507,8 +14333,6 @@ module Aws::EC2
14507
14333
  include Aws::Structure
14508
14334
  end
14509
14335
 
14510
- # Contains the parameters for DisassociateRouteTable.
14511
- #
14512
14336
  # @note When making an API call, you may pass DisassociateRouteTableRequest
14513
14337
  # data as a hash:
14514
14338
  #
@@ -14775,23 +14599,15 @@ module Aws::EC2
14775
14599
  # data as a hash:
14776
14600
  #
14777
14601
  # {
14778
- # encrypted: false,
14779
14602
  # delete_on_termination: false,
14780
14603
  # iops: 1,
14781
- # kms_key_id: "String",
14782
14604
  # snapshot_id: "String",
14783
14605
  # volume_size: 1,
14784
14606
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
14607
+ # encrypted: false,
14608
+ # kms_key_id: "String",
14785
14609
  # }
14786
14610
  #
14787
- # @!attribute [rw] encrypted
14788
- # Indicates whether the EBS volume is encrypted. Encrypted volumes can
14789
- # only be attached to instances that support Amazon EBS encryption. If
14790
- # you are creating a volume from a snapshot, you can't specify an
14791
- # encryption value. This is because only blank volumes can be
14792
- # encrypted on creation.
14793
- # @return [Boolean]
14794
- #
14795
14611
  # @!attribute [rw] delete_on_termination
14796
14612
  # Indicates whether the EBS volume is deleted on instance termination.
14797
14613
  # @return [Boolean]
@@ -14818,21 +14634,6 @@ module Aws::EC2
14818
14634
  # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
14819
14635
  # @return [Integer]
14820
14636
  #
14821
- # @!attribute [rw] kms_key_id
14822
- # Identifier (key ID, key alias, ID ARN, or alias ARN) for a
14823
- # user-managed CMK under which the EBS volume is encrypted.
14824
- #
14825
- # This parameter is only supported on `BlockDeviceMapping` objects
14826
- # called by [RunInstances][1], [RequestSpotFleet][2], and
14827
- # [RequestSpotInstances][3].
14828
- #
14829
- #
14830
- #
14831
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
14832
- # [2]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html
14833
- # [3]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
14834
- # @return [String]
14835
- #
14836
14637
  # @!attribute [rw] snapshot_id
14837
14638
  # The ID of the snapshot.
14838
14639
  # @return [String]
@@ -14856,16 +14657,39 @@ module Aws::EC2
14856
14657
  # Default: `standard`
14857
14658
  # @return [String]
14858
14659
  #
14660
+ # @!attribute [rw] encrypted
14661
+ # Indicates whether the EBS volume is encrypted. Encrypted volumes can
14662
+ # only be attached to instances that support Amazon EBS encryption. If
14663
+ # you are creating a volume from a snapshot, you can't specify an
14664
+ # encryption value. This is because only blank volumes can be
14665
+ # encrypted on creation.
14666
+ # @return [Boolean]
14667
+ #
14668
+ # @!attribute [rw] kms_key_id
14669
+ # Identifier (key ID, key alias, ID ARN, or alias ARN) for a
14670
+ # user-managed CMK under which the EBS volume is encrypted.
14671
+ #
14672
+ # This parameter is only supported on `BlockDeviceMapping` objects
14673
+ # called by [RunInstances][1], [RequestSpotFleet][2], and
14674
+ # [RequestSpotInstances][3].
14675
+ #
14676
+ #
14677
+ #
14678
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
14679
+ # [2]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotFleet.html
14680
+ # [3]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html
14681
+ # @return [String]
14682
+ #
14859
14683
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice AWS API Documentation
14860
14684
  #
14861
14685
  class EbsBlockDevice < Struct.new(
14862
- :encrypted,
14863
14686
  :delete_on_termination,
14864
14687
  :iops,
14865
- :kms_key_id,
14866
14688
  :snapshot_id,
14867
14689
  :volume_size,
14868
- :volume_type)
14690
+ :volume_type,
14691
+ :encrypted,
14692
+ :kms_key_id)
14869
14693
  include Aws::Structure
14870
14694
  end
14871
14695
 
@@ -15112,8 +14936,6 @@ module Aws::EC2
15112
14936
  include Aws::Structure
15113
14937
  end
15114
14938
 
15115
- # Contains the parameters for EnableVpcClassicLinkDnsSupport.
15116
- #
15117
14939
  # @note When making an API call, you may pass EnableVpcClassicLinkDnsSupportRequest
15118
14940
  # data as a hash:
15119
14941
  #
@@ -15132,8 +14954,6 @@ module Aws::EC2
15132
14954
  include Aws::Structure
15133
14955
  end
15134
14956
 
15135
- # Contains the output of EnableVpcClassicLinkDnsSupport.
15136
- #
15137
14957
  # @!attribute [rw] return
15138
14958
  # Returns `true` if the request succeeds; otherwise, it returns an
15139
14959
  # error.
@@ -15146,8 +14966,6 @@ module Aws::EC2
15146
14966
  include Aws::Structure
15147
14967
  end
15148
14968
 
15149
- # Contains the parameters for EnableVpcClassicLink.
15150
- #
15151
14969
  # @note When making an API call, you may pass EnableVpcClassicLinkRequest
15152
14970
  # data as a hash:
15153
14971
  #
@@ -15175,8 +14993,6 @@ module Aws::EC2
15175
14993
  include Aws::Structure
15176
14994
  end
15177
14995
 
15178
- # Contains the output of EnableVpcClassicLink.
15179
- #
15180
14996
  # @!attribute [rw] return
15181
14997
  # Returns `true` if the request succeeds; otherwise, it returns an
15182
14998
  # error.
@@ -15755,8 +15571,8 @@ module Aws::EC2
15755
15571
  # @return [String]
15756
15572
  #
15757
15573
  # @!attribute [rw] version
15758
- # The version number. By default, the default version of the launch
15759
- # template is used.
15574
+ # The version number of the launch template. You must specify a
15575
+ # version number.
15760
15576
  # @return [String]
15761
15577
  #
15762
15578
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateSpecification AWS API Documentation
@@ -17584,8 +17400,6 @@ module Aws::EC2
17584
17400
  include Aws::Structure
17585
17401
  end
17586
17402
 
17587
- # Contains the parameters for ImportKeyPair.
17588
- #
17589
17403
  # @note When making an API call, you may pass ImportKeyPairRequest
17590
17404
  # data as a hash:
17591
17405
  #
@@ -17620,8 +17434,6 @@ module Aws::EC2
17620
17434
  include Aws::Structure
17621
17435
  end
17622
17436
 
17623
- # Contains the output of ImportKeyPair.
17624
- #
17625
17437
  # @!attribute [rw] key_fingerprint
17626
17438
  # The MD5 public key fingerprint as specified in section 4 of RFC
17627
17439
  # 4716.
@@ -18288,7 +18100,7 @@ module Aws::EC2
18288
18100
  include Aws::Structure
18289
18101
  end
18290
18102
 
18291
- # Describes the credit option for CPU usage of a T2 instance.
18103
+ # Describes the credit option for CPU usage of a T2 or T3 instance.
18292
18104
  #
18293
18105
  # @!attribute [rw] instance_id
18294
18106
  # The ID of the instance.
@@ -18307,7 +18119,7 @@ module Aws::EC2
18307
18119
  include Aws::Structure
18308
18120
  end
18309
18121
 
18310
- # Describes the credit option for CPU usage of a T2 instance.
18122
+ # Describes the credit option for CPU usage of a T2 or T3 instance.
18311
18123
  #
18312
18124
  # @note When making an API call, you may pass InstanceCreditSpecificationRequest
18313
18125
  # data as a hash:
@@ -19028,12 +18840,10 @@ module Aws::EC2
19028
18840
  # @return [Array<Types::Ipv6Range>]
19029
18841
  #
19030
18842
  # @!attribute [rw] prefix_list_ids
19031
- # (EC2-VPC only; valid for AuthorizeSecurityGroupEgress,
19032
- # RevokeSecurityGroupEgress and DescribeSecurityGroups only) One or
19033
- # more prefix list IDs for an AWS service. In an
19034
- # AuthorizeSecurityGroupEgress request, this is the AWS service that
19035
- # you want to access through a VPC endpoint from instances associated
19036
- # with the security group.
18843
+ # \[EC2-VPC only\] One or more prefix list IDs for an AWS service.
18844
+ # With AuthorizeSecurityGroupEgress, this is the AWS service that you
18845
+ # want to access through a VPC endpoint from instances associated with
18846
+ # the security group.
19037
18847
  # @return [Array<Types::PrefixListId>]
19038
18848
  #
19039
18849
  # @!attribute [rw] to_port
@@ -20628,8 +20438,6 @@ module Aws::EC2
20628
20438
  include Aws::Structure
20629
20439
  end
20630
20440
 
20631
- # Contains the parameters for ModifyHosts.
20632
- #
20633
20441
  # @note When making an API call, you may pass ModifyHostsRequest
20634
20442
  # data as a hash:
20635
20443
  #
@@ -20654,8 +20462,6 @@ module Aws::EC2
20654
20462
  include Aws::Structure
20655
20463
  end
20656
20464
 
20657
- # Contains the output of ModifyHosts.
20658
- #
20659
20465
  # @!attribute [rw] successful
20660
20466
  # The IDs of the Dedicated Hosts that were successfully modified.
20661
20467
  # @return [Array<String>]
@@ -21112,8 +20918,6 @@ module Aws::EC2
21112
20918
  include Aws::Structure
21113
20919
  end
21114
20920
 
21115
- # Contains the parameters for ModifyInstancePlacement.
21116
- #
21117
20921
  # @note When making an API call, you may pass ModifyInstancePlacementRequest
21118
20922
  # data as a hash:
21119
20923
  #
@@ -21162,8 +20966,6 @@ module Aws::EC2
21162
20966
  include Aws::Structure
21163
20967
  end
21164
20968
 
21165
- # Contains the output of ModifyInstancePlacement.
21166
- #
21167
20969
  # @!attribute [rw] return
21168
20970
  # Is `true` if the request succeeds, and an error otherwise.
21169
20971
  # @return [Boolean]
@@ -21491,8 +21293,6 @@ module Aws::EC2
21491
21293
  include Aws::Structure
21492
21294
  end
21493
21295
 
21494
- # Contains the parameters for ModifySubnetAttribute.
21495
- #
21496
21296
  # @note When making an API call, you may pass ModifySubnetAttributeRequest
21497
21297
  # data as a hash:
21498
21298
  #
@@ -21653,8 +21453,6 @@ module Aws::EC2
21653
21453
  include Aws::Structure
21654
21454
  end
21655
21455
 
21656
- # Contains the parameters for ModifyVpcAttribute.
21657
- #
21658
21456
  # @note When making an API call, you may pass ModifyVpcAttributeRequest
21659
21457
  # data as a hash:
21660
21458
  #
@@ -21997,7 +21795,7 @@ module Aws::EC2
21997
21795
  # @return [Types::PeeringConnectionOptionsRequest]
21998
21796
  #
21999
21797
  # @!attribute [rw] dry_run
22000
- # Checks whether you have the required permissions for the operation,
21798
+ # Checks whether you have the required permissions for the action,
22001
21799
  # without actually making the request, and provides an error response.
22002
21800
  # If you have the required permissions, the error response is
22003
21801
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -22039,8 +21837,6 @@ module Aws::EC2
22039
21837
  include Aws::Structure
22040
21838
  end
22041
21839
 
22042
- # Contains the parameters for ModifyVpcTenancy.
22043
- #
22044
21840
  # @note When making an API call, you may pass ModifyVpcTenancyRequest
22045
21841
  # data as a hash:
22046
21842
  #
@@ -22059,7 +21855,7 @@ module Aws::EC2
22059
21855
  # @return [String]
22060
21856
  #
22061
21857
  # @!attribute [rw] dry_run
22062
- # Checks whether you have the required permissions for the operation,
21858
+ # Checks whether you have the required permissions for the action,
22063
21859
  # without actually making the request, and provides an error response.
22064
21860
  # If you have the required permissions, the error response is
22065
21861
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
@@ -22074,8 +21870,6 @@ module Aws::EC2
22074
21870
  include Aws::Structure
22075
21871
  end
22076
21872
 
22077
- # Contains the output of ModifyVpcTenancy.
22078
- #
22079
21873
  # @!attribute [rw] return_value
22080
21874
  # Returns `true` if the request succeeds; otherwise, returns an error.
22081
21875
  # @return [Boolean]
@@ -22883,13 +22677,13 @@ module Aws::EC2
22883
22677
  #
22884
22678
  # @!attribute [rw] allow_egress_from_local_classic_link_to_remote_vpc
22885
22679
  # If true, enables outbound communication from an EC2-Classic instance
22886
- # that's linked to a local VPC via ClassicLink to instances in a peer
22887
- # VPC.
22680
+ # that's linked to a local VPC using ClassicLink to instances in a
22681
+ # peer VPC.
22888
22682
  # @return [Boolean]
22889
22683
  #
22890
22684
  # @!attribute [rw] allow_egress_from_local_vpc_to_remote_classic_link
22891
22685
  # If true, enables outbound communication from instances in a local
22892
- # VPC to an EC2-Classic instance that's linked to a peer VPC via
22686
+ # VPC to an EC2-Classic instance that's linked to a peer VPC using
22893
22687
  # ClassicLink.
22894
22688
  # @return [Boolean]
22895
22689
  #
@@ -22920,13 +22714,13 @@ module Aws::EC2
22920
22714
  #
22921
22715
  # @!attribute [rw] allow_egress_from_local_classic_link_to_remote_vpc
22922
22716
  # If true, enables outbound communication from an EC2-Classic instance
22923
- # that's linked to a local VPC via ClassicLink to instances in a peer
22924
- # VPC.
22717
+ # that's linked to a local VPC using ClassicLink to instances in a
22718
+ # peer VPC.
22925
22719
  # @return [Boolean]
22926
22720
  #
22927
22721
  # @!attribute [rw] allow_egress_from_local_vpc_to_remote_classic_link
22928
22722
  # If true, enables outbound communication from instances in a local
22929
- # VPC to an EC2-Classic instance that's linked to a peer VPC via
22723
+ # VPC to an EC2-Classic instance that's linked to a peer VPC using
22930
22724
  # ClassicLink.
22931
22725
  # @return [Boolean]
22932
22726
  #
@@ -23066,7 +22860,7 @@ module Aws::EC2
23066
22860
  include Aws::Structure
23067
22861
  end
23068
22862
 
23069
- # \[EC2-VPC only\] The ID of the prefix.
22863
+ # Describes a prefix list ID.
23070
22864
  #
23071
22865
  # @note When making an API call, you may pass PrefixListId
23072
22866
  # data as a hash:
@@ -23706,13 +23500,13 @@ module Aws::EC2
23706
23500
  # device_name: "String",
23707
23501
  # virtual_name: "String",
23708
23502
  # ebs: {
23709
- # encrypted: false,
23710
23503
  # delete_on_termination: false,
23711
23504
  # iops: 1,
23712
- # kms_key_id: "String",
23713
23505
  # snapshot_id: "String",
23714
23506
  # volume_size: 1,
23715
23507
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
23508
+ # encrypted: false,
23509
+ # kms_key_id: "String",
23716
23510
  # },
23717
23511
  # no_device: "String",
23718
23512
  # },
@@ -23884,8 +23678,6 @@ module Aws::EC2
23884
23678
  include Aws::Structure
23885
23679
  end
23886
23680
 
23887
- # Contains the parameters for RejectVpcPeeringConnection.
23888
- #
23889
23681
  # @note When making an API call, you may pass RejectVpcPeeringConnectionRequest
23890
23682
  # data as a hash:
23891
23683
  #
@@ -23913,8 +23705,6 @@ module Aws::EC2
23913
23705
  include Aws::Structure
23914
23706
  end
23915
23707
 
23916
- # Contains the output of RejectVpcPeeringConnection.
23917
- #
23918
23708
  # @!attribute [rw] return
23919
23709
  # Returns `true` if the request succeeds; otherwise, it returns an
23920
23710
  # error.
@@ -23962,8 +23752,6 @@ module Aws::EC2
23962
23752
  include Aws::Structure
23963
23753
  end
23964
23754
 
23965
- # Contains the parameters for ReleaseHosts.
23966
- #
23967
23755
  # @note When making an API call, you may pass ReleaseHostsRequest
23968
23756
  # data as a hash:
23969
23757
  #
@@ -23982,8 +23770,6 @@ module Aws::EC2
23982
23770
  include Aws::Structure
23983
23771
  end
23984
23772
 
23985
- # Contains the output of ReleaseHosts.
23986
- #
23987
23773
  # @!attribute [rw] successful
23988
23774
  # The IDs of the Dedicated Hosts that were successfully released.
23989
23775
  # @return [Array<String>]
@@ -24039,8 +23825,6 @@ module Aws::EC2
24039
23825
  include Aws::Structure
24040
23826
  end
24041
23827
 
24042
- # Contains the parameters for ReplaceNetworkAclAssociation.
24043
- #
24044
23828
  # @note When making an API call, you may pass ReplaceNetworkAclAssociationRequest
24045
23829
  # data as a hash:
24046
23830
  #
@@ -24075,8 +23859,6 @@ module Aws::EC2
24075
23859
  include Aws::Structure
24076
23860
  end
24077
23861
 
24078
- # Contains the output of ReplaceNetworkAclAssociation.
24079
- #
24080
23862
  # @!attribute [rw] new_association_id
24081
23863
  # The ID of the new association.
24082
23864
  # @return [String]
@@ -24088,8 +23870,6 @@ module Aws::EC2
24088
23870
  include Aws::Structure
24089
23871
  end
24090
23872
 
24091
- # Contains the parameters for ReplaceNetworkAclEntry.
24092
- #
24093
23873
  # @note When making an API call, you may pass ReplaceNetworkAclEntryRequest
24094
23874
  # data as a hash:
24095
23875
  #
@@ -24186,8 +23966,6 @@ module Aws::EC2
24186
23966
  include Aws::Structure
24187
23967
  end
24188
23968
 
24189
- # Contains the parameters for ReplaceRoute.
24190
- #
24191
23969
  # @note When making an API call, you may pass ReplaceRouteRequest
24192
23970
  # data as a hash:
24193
23971
  #
@@ -24267,8 +24045,6 @@ module Aws::EC2
24267
24045
  include Aws::Structure
24268
24046
  end
24269
24047
 
24270
- # Contains the parameters for ReplaceRouteTableAssociation.
24271
- #
24272
24048
  # @note When making an API call, you may pass ReplaceRouteTableAssociationRequest
24273
24049
  # data as a hash:
24274
24050
  #
@@ -24302,8 +24078,6 @@ module Aws::EC2
24302
24078
  include Aws::Structure
24303
24079
  end
24304
24080
 
24305
- # Contains the output of ReplaceRouteTableAssociation.
24306
- #
24307
24081
  # @!attribute [rw] new_association_id
24308
24082
  # The ID of the new association.
24309
24083
  # @return [String]
@@ -24644,7 +24418,7 @@ module Aws::EC2
24644
24418
  # @return [Types::LaunchTemplateInstanceMarketOptionsRequest]
24645
24419
  #
24646
24420
  # @!attribute [rw] credit_specification
24647
- # The credit option for CPU usage of the instance. Valid for T2
24421
+ # The credit option for CPU usage of the instance. Valid for T2 or T3
24648
24422
  # instances only.
24649
24423
  # @return [Types::CreditSpecificationRequest]
24650
24424
  #
@@ -24714,13 +24488,13 @@ module Aws::EC2
24714
24488
  # device_name: "String",
24715
24489
  # virtual_name: "String",
24716
24490
  # ebs: {
24717
- # encrypted: false,
24718
24491
  # delete_on_termination: false,
24719
24492
  # iops: 1,
24720
- # kms_key_id: "String",
24721
24493
  # snapshot_id: "String",
24722
24494
  # volume_size: 1,
24723
24495
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
24496
+ # encrypted: false,
24497
+ # kms_key_id: "String",
24724
24498
  # },
24725
24499
  # no_device: "String",
24726
24500
  # },
@@ -24886,13 +24660,13 @@ module Aws::EC2
24886
24660
  # device_name: "String",
24887
24661
  # virtual_name: "String",
24888
24662
  # ebs: {
24889
- # encrypted: false,
24890
24663
  # delete_on_termination: false,
24891
24664
  # iops: 1,
24892
- # kms_key_id: "String",
24893
24665
  # snapshot_id: "String",
24894
24666
  # volume_size: 1,
24895
24667
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
24668
+ # encrypted: false,
24669
+ # kms_key_id: "String",
24896
24670
  # },
24897
24671
  # no_device: "String",
24898
24672
  # },
@@ -25102,13 +24876,13 @@ module Aws::EC2
25102
24876
  # device_name: "String",
25103
24877
  # virtual_name: "String",
25104
24878
  # ebs: {
25105
- # encrypted: false,
25106
24879
  # delete_on_termination: false,
25107
24880
  # iops: 1,
25108
- # kms_key_id: "String",
25109
24881
  # snapshot_id: "String",
25110
24882
  # volume_size: 1,
25111
24883
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
24884
+ # encrypted: false,
24885
+ # kms_key_id: "String",
25112
24886
  # },
25113
24887
  # no_device: "String",
25114
24888
  # },
@@ -26147,8 +25921,6 @@ module Aws::EC2
26147
25921
  include Aws::Structure
26148
25922
  end
26149
25923
 
26150
- # Contains the parameters for RevokeSecurityGroupEgress.
26151
- #
26152
25924
  # @note When making an API call, you may pass RevokeSecurityGroupEgressRequest
26153
25925
  # data as a hash:
26154
25926
  #
@@ -26258,8 +26030,6 @@ module Aws::EC2
26258
26030
  include Aws::Structure
26259
26031
  end
26260
26032
 
26261
- # Contains the parameters for RevokeSecurityGroupIngress.
26262
- #
26263
26033
  # @note When making an API call, you may pass RevokeSecurityGroupIngressRequest
26264
26034
  # data as a hash:
26265
26035
  #
@@ -26575,13 +26345,13 @@ module Aws::EC2
26575
26345
  # device_name: "String",
26576
26346
  # virtual_name: "String",
26577
26347
  # ebs: {
26578
- # encrypted: false,
26579
26348
  # delete_on_termination: false,
26580
26349
  # iops: 1,
26581
- # kms_key_id: "String",
26582
26350
  # snapshot_id: "String",
26583
26351
  # volume_size: 1,
26584
26352
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
26353
+ # encrypted: false,
26354
+ # kms_key_id: "String",
26585
26355
  # },
26586
26356
  # no_device: "String",
26587
26357
  # },
@@ -26938,14 +26708,15 @@ module Aws::EC2
26938
26708
  # @!attribute [rw] credit_specification
26939
26709
  # The credit option for CPU usage of the instance. Valid values are
26940
26710
  # `standard` and `unlimited`. To change this attribute after launch,
26941
- # use ModifyInstanceCreditSpecification. For more information, see [T2
26942
- # Instances][1] in the *Amazon Elastic Compute Cloud User Guide*.
26711
+ # use ModifyInstanceCreditSpecification. For more information, see
26712
+ # [Burstable Performance Instances][1] in the *Amazon Elastic Compute
26713
+ # Cloud User Guide*.
26943
26714
  #
26944
- # Default: `standard`
26715
+ # Default: `standard` (T2 instances) or `unlimited` (T3 instances)
26945
26716
  #
26946
26717
  #
26947
26718
  #
26948
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html
26719
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
26949
26720
  # @return [Types::CreditSpecificationRequest]
26950
26721
  #
26951
26722
  # @!attribute [rw] cpu_options
@@ -28511,13 +28282,13 @@ module Aws::EC2
28511
28282
  # device_name: "String",
28512
28283
  # virtual_name: "String",
28513
28284
  # ebs: {
28514
- # encrypted: false,
28515
28285
  # delete_on_termination: false,
28516
28286
  # iops: 1,
28517
- # kms_key_id: "String",
28518
28287
  # snapshot_id: "String",
28519
28288
  # volume_size: 1,
28520
28289
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
28290
+ # encrypted: false,
28291
+ # kms_key_id: "String",
28521
28292
  # },
28522
28293
  # no_device: "String",
28523
28294
  # },
@@ -28793,13 +28564,13 @@ module Aws::EC2
28793
28564
  # device_name: "String",
28794
28565
  # virtual_name: "String",
28795
28566
  # ebs: {
28796
- # encrypted: false,
28797
28567
  # delete_on_termination: false,
28798
28568
  # iops: 1,
28799
- # kms_key_id: "String",
28800
28569
  # snapshot_id: "String",
28801
28570
  # volume_size: 1,
28802
28571
  # volume_type: "standard", # accepts standard, io1, gp2, sc1, st1
28572
+ # encrypted: false,
28573
+ # kms_key_id: "String",
28803
28574
  # },
28804
28575
  # no_device: "String",
28805
28576
  # },
@@ -29877,7 +29648,7 @@ module Aws::EC2
29877
29648
  include Aws::Structure
29878
29649
  end
29879
29650
 
29880
- # Describes the T2 instance whose credit option for CPU usage was
29651
+ # Describes the T2 or T3 instance whose credit option for CPU usage was
29881
29652
  # successfully modified.
29882
29653
  #
29883
29654
  # @!attribute [rw] instance_id
@@ -29905,7 +29676,7 @@ module Aws::EC2
29905
29676
  # The key of the tag.
29906
29677
  #
29907
29678
  # Constraints: Tag keys are case-sensitive and accept a maximum of 127
29908
- # Unicode characters. May not begin with `aws:`
29679
+ # Unicode characters. May not begin with `aws:`.
29909
29680
  # @return [String]
29910
29681
  #
29911
29682
  # @!attribute [rw] value
@@ -30333,16 +30104,16 @@ module Aws::EC2
30333
30104
  include Aws::Structure
30334
30105
  end
30335
30106
 
30336
- # Describes the T2 instance whose credit option for CPU usage was not
30337
- # modified.
30107
+ # Describes the T2 or T3 instance whose credit option for CPU usage was
30108
+ # not modified.
30338
30109
  #
30339
30110
  # @!attribute [rw] instance_id
30340
30111
  # The ID of the instance.
30341
30112
  # @return [String]
30342
30113
  #
30343
30114
  # @!attribute [rw] error
30344
- # The applicable error for the T2 instance whose credit option for CPU
30345
- # usage was not modified.
30115
+ # The applicable error for the T2 or T3 instance whose credit option
30116
+ # for CPU usage was not modified.
30346
30117
  # @return [Types::UnsuccessfulInstanceCreditSpecificationItemError]
30347
30118
  #
30348
30119
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnsuccessfulInstanceCreditSpecificationItem AWS API Documentation
@@ -30353,8 +30124,8 @@ module Aws::EC2
30353
30124
  include Aws::Structure
30354
30125
  end
30355
30126
 
30356
- # Information about the error for the T2 instance whose credit option
30357
- # for CPU usage was not modified.
30127
+ # Information about the error for the T2 or T3 instance whose credit
30128
+ # option for CPU usage was not modified.
30358
30129
  #
30359
30130
  # @!attribute [rw] code
30360
30131
  # The error code.
@@ -30414,8 +30185,6 @@ module Aws::EC2
30414
30185
  include Aws::Structure
30415
30186
  end
30416
30187
 
30417
- # Contains the parameters for UpdateSecurityGroupRuleDescriptionsEgress.
30418
- #
30419
30188
  # @note When making an API call, you may pass UpdateSecurityGroupRuleDescriptionsEgressRequest
30420
30189
  # data as a hash:
30421
30190
  #
@@ -30494,8 +30263,6 @@ module Aws::EC2
30494
30263
  include Aws::Structure
30495
30264
  end
30496
30265
 
30497
- # Contains the output of UpdateSecurityGroupRuleDescriptionsEgress.
30498
- #
30499
30266
  # @!attribute [rw] return
30500
30267
  # Returns `true` if the request succeeds; otherwise, returns an error.
30501
30268
  # @return [Boolean]
@@ -30507,9 +30274,6 @@ module Aws::EC2
30507
30274
  include Aws::Structure
30508
30275
  end
30509
30276
 
30510
- # Contains the parameters for
30511
- # UpdateSecurityGroupRuleDescriptionsIngress.
30512
- #
30513
30277
  # @note When making an API call, you may pass UpdateSecurityGroupRuleDescriptionsIngressRequest
30514
30278
  # data as a hash:
30515
30279
  #
@@ -30588,8 +30352,6 @@ module Aws::EC2
30588
30352
  include Aws::Structure
30589
30353
  end
30590
30354
 
30591
- # Contains the output of UpdateSecurityGroupRuleDescriptionsIngress.
30592
- #
30593
30355
  # @!attribute [rw] return
30594
30356
  # Returns `true` if the request succeeds; otherwise, returns an error.
30595
30357
  # @return [Boolean]