aws-sdk-ec2 1.166.1 → 1.171.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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aws-sdk-ec2.rb +3 -1
  3. data/lib/aws-sdk-ec2/classic_address.rb +2 -0
  4. data/lib/aws-sdk-ec2/client.rb +245 -131
  5. data/lib/aws-sdk-ec2/client_api.rb +15 -2
  6. data/lib/aws-sdk-ec2/customizations.rb +2 -0
  7. data/lib/aws-sdk-ec2/customizations/instance.rb +2 -0
  8. data/lib/aws-sdk-ec2/customizations/resource.rb +2 -0
  9. data/lib/aws-sdk-ec2/dhcp_options.rb +2 -0
  10. data/lib/aws-sdk-ec2/errors.rb +2 -0
  11. data/lib/aws-sdk-ec2/image.rb +2 -0
  12. data/lib/aws-sdk-ec2/instance.rb +8 -6
  13. data/lib/aws-sdk-ec2/internet_gateway.rb +2 -0
  14. data/lib/aws-sdk-ec2/key_pair.rb +2 -0
  15. data/lib/aws-sdk-ec2/key_pair_info.rb +2 -0
  16. data/lib/aws-sdk-ec2/nat_gateway.rb +2 -0
  17. data/lib/aws-sdk-ec2/network_acl.rb +2 -0
  18. data/lib/aws-sdk-ec2/network_interface.rb +2 -0
  19. data/lib/aws-sdk-ec2/network_interface_association.rb +2 -0
  20. data/lib/aws-sdk-ec2/placement_group.rb +2 -0
  21. data/lib/aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb +2 -0
  22. data/lib/aws-sdk-ec2/plugins/region_validation.rb +2 -0
  23. data/lib/aws-sdk-ec2/resource.rb +23 -19
  24. data/lib/aws-sdk-ec2/route.rb +2 -0
  25. data/lib/aws-sdk-ec2/route_table.rb +2 -0
  26. data/lib/aws-sdk-ec2/route_table_association.rb +2 -0
  27. data/lib/aws-sdk-ec2/security_group.rb +2 -0
  28. data/lib/aws-sdk-ec2/snapshot.rb +7 -5
  29. data/lib/aws-sdk-ec2/subnet.rb +9 -7
  30. data/lib/aws-sdk-ec2/tag.rb +2 -0
  31. data/lib/aws-sdk-ec2/types.rb +1495 -132
  32. data/lib/aws-sdk-ec2/volume.rb +11 -7
  33. data/lib/aws-sdk-ec2/vpc.rb +2 -0
  34. data/lib/aws-sdk-ec2/vpc_address.rb +2 -0
  35. data/lib/aws-sdk-ec2/vpc_peering_connection.rb +2 -0
  36. data/lib/aws-sdk-ec2/waiters.rb +2 -0
  37. metadata +2 -2
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -801,6 +803,7 @@ module Aws::EC2
801
803
  EbsInfo = Shapes::StructureShape.new(name: 'EbsInfo')
802
804
  EbsInstanceBlockDevice = Shapes::StructureShape.new(name: 'EbsInstanceBlockDevice')
803
805
  EbsInstanceBlockDeviceSpecification = Shapes::StructureShape.new(name: 'EbsInstanceBlockDeviceSpecification')
806
+ EbsNvmeSupport = Shapes::StringShape.new(name: 'EbsNvmeSupport')
804
807
  EbsOptimizedInfo = Shapes::StructureShape.new(name: 'EbsOptimizedInfo')
805
808
  EbsOptimizedSupport = Shapes::StringShape.new(name: 'EbsOptimizedSupport')
806
809
  EfaSupportedFlag = Shapes::BooleanShape.new(name: 'EfaSupportedFlag')
@@ -2975,6 +2978,7 @@ module Aws::EC2
2975
2978
  CreateInstanceExportTaskRequest.add_member(:export_to_s3_task, Shapes::ShapeRef.new(shape: ExportToS3TaskSpecification, location_name: "exportToS3"))
2976
2979
  CreateInstanceExportTaskRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "instanceId"))
2977
2980
  CreateInstanceExportTaskRequest.add_member(:target_environment, Shapes::ShapeRef.new(shape: ExportEnvironment, location_name: "targetEnvironment"))
2981
+ CreateInstanceExportTaskRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
2978
2982
  CreateInstanceExportTaskRequest.struct_class = Types::CreateInstanceExportTaskRequest
2979
2983
 
2980
2984
  CreateInstanceExportTaskResult.add_member(:export_task, Shapes::ShapeRef.new(shape: ExportTask, location_name: "exportTask"))
@@ -5243,6 +5247,7 @@ module Aws::EC2
5243
5247
  EbsInfo.add_member(:ebs_optimized_support, Shapes::ShapeRef.new(shape: EbsOptimizedSupport, location_name: "ebsOptimizedSupport"))
5244
5248
  EbsInfo.add_member(:encryption_support, Shapes::ShapeRef.new(shape: EbsEncryptionSupport, location_name: "encryptionSupport"))
5245
5249
  EbsInfo.add_member(:ebs_optimized_info, Shapes::ShapeRef.new(shape: EbsOptimizedInfo, location_name: "ebsOptimizedInfo"))
5250
+ EbsInfo.add_member(:nvme_support, Shapes::ShapeRef.new(shape: EbsNvmeSupport, location_name: "nvmeSupport"))
5246
5251
  EbsInfo.struct_class = Types::EbsInfo
5247
5252
 
5248
5253
  EbsInstanceBlockDevice.add_member(:attach_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "attachTime"))
@@ -5431,6 +5436,7 @@ module Aws::EC2
5431
5436
  ExportImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
5432
5437
  ExportImageRequest.add_member(:s3_export_location, Shapes::ShapeRef.new(shape: ExportTaskS3LocationRequest, required: true, location_name: "S3ExportLocation"))
5433
5438
  ExportImageRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: String, location_name: "RoleName"))
5439
+ ExportImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
5434
5440
  ExportImageRequest.struct_class = Types::ExportImageRequest
5435
5441
 
5436
5442
  ExportImageResult.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -5442,6 +5448,7 @@ module Aws::EC2
5442
5448
  ExportImageResult.add_member(:s3_export_location, Shapes::ShapeRef.new(shape: ExportTaskS3Location, location_name: "s3ExportLocation"))
5443
5449
  ExportImageResult.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
5444
5450
  ExportImageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
5451
+ ExportImageResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
5445
5452
  ExportImageResult.struct_class = Types::ExportImageResult
5446
5453
 
5447
5454
  ExportImageTask.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -5451,6 +5458,7 @@ module Aws::EC2
5451
5458
  ExportImageTask.add_member(:s3_export_location, Shapes::ShapeRef.new(shape: ExportTaskS3Location, location_name: "s3ExportLocation"))
5452
5459
  ExportImageTask.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
5453
5460
  ExportImageTask.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
5461
+ ExportImageTask.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
5454
5462
  ExportImageTask.struct_class = Types::ExportImageTask
5455
5463
 
5456
5464
  ExportImageTaskIdList.member = Shapes::ShapeRef.new(shape: ExportImageTaskId, location_name: "ExportImageTaskId")
@@ -6053,6 +6061,7 @@ module Aws::EC2
6053
6061
  ImportImageRequest.add_member(:platform, Shapes::ShapeRef.new(shape: String, location_name: "Platform"))
6054
6062
  ImportImageRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: String, location_name: "RoleName"))
6055
6063
  ImportImageRequest.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListRequest, location_name: "LicenseSpecifications"))
6064
+ ImportImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
6056
6065
  ImportImageRequest.struct_class = Types::ImportImageRequest
6057
6066
 
6058
6067
  ImportImageResult.add_member(:architecture, Shapes::ShapeRef.new(shape: String, location_name: "architecture"))
@@ -6060,8 +6069,8 @@ module Aws::EC2
6060
6069
  ImportImageResult.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
6061
6070
  ImportImageResult.add_member(:hypervisor, Shapes::ShapeRef.new(shape: String, location_name: "hypervisor"))
6062
6071
  ImportImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
6063
- ImportImageResult.add_member(:import_task_id, Shapes::ShapeRef.new(shape: String, location_name: "importTaskId"))
6064
- ImportImageResult.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
6072
+ ImportImageResult.add_member(:import_task_id, Shapes::ShapeRef.new(shape: ImportImageTaskId, location_name: "importTaskId"))
6073
+ ImportImageResult.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
6065
6074
  ImportImageResult.add_member(:license_type, Shapes::ShapeRef.new(shape: String, location_name: "licenseType"))
6066
6075
  ImportImageResult.add_member(:platform, Shapes::ShapeRef.new(shape: String, location_name: "platform"))
6067
6076
  ImportImageResult.add_member(:progress, Shapes::ShapeRef.new(shape: String, location_name: "progress"))
@@ -6069,6 +6078,7 @@ module Aws::EC2
6069
6078
  ImportImageResult.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
6070
6079
  ImportImageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
6071
6080
  ImportImageResult.add_member(:license_specifications, Shapes::ShapeRef.new(shape: ImportImageLicenseSpecificationListResponse, location_name: "licenseSpecifications"))
6081
+ ImportImageResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
6072
6082
  ImportImageResult.struct_class = Types::ImportImageResult
6073
6083
 
6074
6084
  ImportImageTask.add_member(:architecture, Shapes::ShapeRef.new(shape: String, location_name: "architecture"))
@@ -6150,11 +6160,13 @@ module Aws::EC2
6150
6160
  ImportSnapshotRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
6151
6161
  ImportSnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
6152
6162
  ImportSnapshotRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: String, location_name: "RoleName"))
6163
+ ImportSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
6153
6164
  ImportSnapshotRequest.struct_class = Types::ImportSnapshotRequest
6154
6165
 
6155
6166
  ImportSnapshotResult.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
6156
6167
  ImportSnapshotResult.add_member(:import_task_id, Shapes::ShapeRef.new(shape: String, location_name: "importTaskId"))
6157
6168
  ImportSnapshotResult.add_member(:snapshot_task_detail, Shapes::ShapeRef.new(shape: SnapshotTaskDetail, location_name: "snapshotTaskDetail"))
6169
+ ImportSnapshotResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
6158
6170
  ImportSnapshotResult.struct_class = Types::ImportSnapshotResult
6159
6171
 
6160
6172
  ImportSnapshotTask.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -7832,6 +7844,7 @@ module Aws::EC2
7832
7844
  PurchaseHostReservationRequest.add_member(:host_id_set, Shapes::ShapeRef.new(shape: RequestHostIdSet, required: true, location_name: "HostIdSet"))
7833
7845
  PurchaseHostReservationRequest.add_member(:limit_price, Shapes::ShapeRef.new(shape: String, location_name: "LimitPrice"))
7834
7846
  PurchaseHostReservationRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: OfferingId, required: true, location_name: "OfferingId"))
7847
+ PurchaseHostReservationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
7835
7848
  PurchaseHostReservationRequest.struct_class = Types::PurchaseHostReservationRequest
7836
7849
 
7837
7850
  PurchaseHostReservationResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # customizations to generated classes
2
4
  require 'aws-sdk-ec2/customizations/resource'
3
5
  require 'aws-sdk-ec2/customizations/instance'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'openssl'
2
4
 
3
5
  module Aws
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Aws
2
4
  module EC2
3
5
  class Resource
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -898,7 +900,7 @@ module Aws::EC2
898
900
  #
899
901
  # To add instance store volumes to an Amazon EBS-backed instance, you
900
902
  # must add them when you launch the instance. For more information, see
901
- # [Updating the Block Device Mapping when Launching an Instance][1] in
903
+ # [Updating the block device mapping when launching an instance][1] in
902
904
  # the *Amazon Elastic Compute Cloud User Guide*.
903
905
  #
904
906
  #
@@ -935,7 +937,7 @@ module Aws::EC2
935
937
  # system shutdown).
936
938
  # @option options [Types::AttributeValue] :instance_type
937
939
  # Changes the instance type to the specified value. For more
938
- # information, see [Instance Types][1]. If the instance type is not
940
+ # information, see [Instance types][1]. If the instance type is not
939
941
  # valid, the error returned is `InvalidInstanceAttributeValue`.
940
942
  #
941
943
  #
@@ -1214,8 +1216,8 @@ module Aws::EC2
1214
1216
  # @option options [Boolean] :hibernate
1215
1217
  # Hibernates the instance if the instance was enabled for hibernation at
1216
1218
  # launch. If the instance cannot hibernate successfully, a normal
1217
- # shutdown occurs. For more information, see [Hibernate Your
1218
- # Instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1219
+ # shutdown occurs. For more information, see [Hibernate your
1220
+ # instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1219
1221
  #
1220
1222
  # Default: `false`
1221
1223
  #
@@ -1755,8 +1757,8 @@ module Aws::EC2
1755
1757
  # @option options [Boolean] :hibernate
1756
1758
  # Hibernates the instance if the instance was enabled for hibernation at
1757
1759
  # launch. If the instance cannot hibernate successfully, a normal
1758
- # shutdown occurs. For more information, see [Hibernate Your
1759
- # Instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1760
+ # shutdown occurs. For more information, see [Hibernate your
1761
+ # instance][1] in the *Amazon Elastic Compute Cloud User Guide*.
1760
1762
  #
1761
1763
  # Default: `false`
1762
1764
  #
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'aws-sigv4'
2
4
 
3
5
  module Aws
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Aws
2
4
  module EC2
3
5
  module Plugins
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -161,7 +163,7 @@ module Aws::EC2
161
163
  # ],
162
164
  # tag_specifications: [
163
165
  # {
164
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
166
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
165
167
  # tags: [
166
168
  # {
167
169
  # key: "String",
@@ -219,7 +221,7 @@ module Aws::EC2
219
221
  # The ID of the AMI. An AMI ID is required to launch an instance and
220
222
  # must be specified here or in a launch template.
221
223
  # @option options [String] :instance_type
222
- # The instance type. For more information, see [Instance Types][1] in
224
+ # The instance type. For more information, see [Instance types][1] in
223
225
  # the *Amazon Elastic Compute Cloud User Guide*.
224
226
  #
225
227
  # Default: `m1.small`
@@ -337,7 +339,7 @@ module Aws::EC2
337
339
  # part of the network interface.
338
340
  # @option options [String] :user_data
339
341
  # The user data to make available to the instance. For more information,
340
- # see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
342
+ # see [Running commands on your Linux instance at launch][1] (Linux) and
341
343
  # [Adding User Data][2] (Windows). If you are using a command line tool,
342
344
  # base64-encoding is performed for you, and you can load the text from a
343
345
  # file. Otherwise, you must provide base64-encoded text. User data is
@@ -455,7 +457,7 @@ module Aws::EC2
455
457
  # The credit option for CPU usage of the burstable performance instance.
456
458
  # Valid values are `standard` and `unlimited`. To change this attribute
457
459
  # after launch, use [ ModifyInstanceCreditSpecification][1]. For more
458
- # information, see [Burstable Performance Instances][2] in the *Amazon
460
+ # information, see [Burstable performance instances][2] in the *Amazon
459
461
  # Elastic Compute Cloud User Guide*.
460
462
  #
461
463
  # Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
@@ -466,7 +468,7 @@ module Aws::EC2
466
468
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
467
469
  # @option options [Types::CpuOptionsRequest] :cpu_options
468
470
  # The CPU options for the instance. For more information, see
469
- # [Optimizing CPU Options][1] in the *Amazon Elastic Compute Cloud User
471
+ # [Optimizing CPU options][1] in the *Amazon Elastic Compute Cloud User
470
472
  # Guide*.
471
473
  #
472
474
  #
@@ -480,7 +482,7 @@ module Aws::EC2
480
482
  # platform, Availability Zone).
481
483
  # @option options [Types::HibernationOptionsRequest] :hibernation_options
482
484
  # Indicates whether an instance is enabled for hibernation. For more
483
- # information, see [Hibernate Your Instance][1] in the *Amazon Elastic
485
+ # information, see [Hibernate your instance][1] in the *Amazon Elastic
484
486
  # Compute Cloud User Guide*.
485
487
  #
486
488
  #
@@ -490,7 +492,7 @@ module Aws::EC2
490
492
  # The license configurations.
491
493
  # @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
492
494
  # The metadata options for the instance. For more information, see
493
- # [Instance Metadata and User Data][1].
495
+ # [Instance metadata and user data][1].
494
496
  #
495
497
  #
496
498
  #
@@ -537,7 +539,7 @@ module Aws::EC2
537
539
  # dry_run: false,
538
540
  # tag_specifications: [
539
541
  # {
540
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
542
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
541
543
  # tags: [
542
544
  # {
543
545
  # key: "String",
@@ -578,7 +580,7 @@ module Aws::EC2
578
580
  # subnet_id: "SubnetId", # required
579
581
  # tag_specifications: [
580
582
  # {
581
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
583
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
582
584
  # tags: [
583
585
  # {
584
586
  # key: "String",
@@ -741,7 +743,7 @@ module Aws::EC2
741
743
  # partition_count: 1,
742
744
  # tag_specifications: [
743
745
  # {
744
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
746
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
745
747
  # tags: [
746
748
  # {
747
749
  # key: "String",
@@ -852,7 +854,7 @@ module Aws::EC2
852
854
  # volume_id: "VolumeId", # required
853
855
  # tag_specifications: [
854
856
  # {
855
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
857
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
856
858
  # tags: [
857
859
  # {
858
860
  # key: "String",
@@ -1030,7 +1032,7 @@ module Aws::EC2
1030
1032
  # dry_run: false,
1031
1033
  # tag_specifications: [
1032
1034
  # {
1033
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1035
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1034
1036
  # tags: [
1035
1037
  # {
1036
1038
  # key: "String",
@@ -1274,7 +1276,7 @@ module Aws::EC2
1274
1276
  # public_key_material: "data", # required
1275
1277
  # tag_specifications: [
1276
1278
  # {
1277
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1279
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1278
1280
  # tags: [
1279
1281
  # {
1280
1282
  # key: "String",
@@ -2884,12 +2886,13 @@ module Aws::EC2
2884
2886
  # * `encrypted` - Indicates whether the snapshot is encrypted (`true` \|
2885
2887
  # `false`)
2886
2888
  #
2887
- # * `owner-alias` - Value from an Amazon-maintained list (`amazon` \|
2888
- # `self` \| `all` \| `aws-marketplace` \| `microsoft`) of snapshot
2889
- # owners. Not to be confused with the user-configured AWS account
2890
- # alias, which is set from the IAM console.
2889
+ # * `owner-alias` - The owner alias, from an Amazon-maintained list
2890
+ # (`amazon`). This is not the user-configured AWS account alias set
2891
+ # using the IAM console. We recommend that you use the related
2892
+ # parameter instead of this filter.
2891
2893
  #
2892
- # * `owner-id` - The ID of the AWS account that owns the snapshot.
2894
+ # * `owner-id` - The AWS account ID of the owner. We recommend that you
2895
+ # use the related parameter instead of this filter.
2893
2896
  #
2894
2897
  # * `progress` - The progress of the snapshot, as a percentage (for
2895
2898
  # example, 80%).
@@ -2915,7 +2918,8 @@ module Aws::EC2
2915
2918
  #
2916
2919
  # * `volume-size` - The size of the volume, in GiB.
2917
2920
  # @option options [Array<String>] :owner_ids
2918
- # Describes the snapshots owned by these owners.
2921
+ # Scopes the results to snapshots with the specified owners. You can
2922
+ # specify a combination of AWS account IDs, `self`, and `amazon`.
2919
2923
  # @option options [Array<String>] :restorable_by_user_ids
2920
2924
  # The IDs of the AWS accounts that can create volumes from the snapshot.
2921
2925
  # @option options [Array<String>] :snapshot_ids
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -113,10 +115,10 @@ module Aws::EC2
113
115
  data[:volume_size]
114
116
  end
115
117
 
116
- # Value from an Amazon-maintained list (`amazon` \| `self` \| `all` \|
117
- # `aws-marketplace` \| `microsoft`) of snapshot owners. Not to be
118
- # confused with the user-configured AWS account alias, which is set from
119
- # the IAM console.
118
+ # The AWS owner alias, as maintained by Amazon. The possible values are:
119
+ # `amazon` \| `self` \| `all` \| `aws-marketplace` \| `microsoft`. This
120
+ # AWS owner alias is not to be confused with the user-configured AWS
121
+ # account alias, which is set from the IAM console.
120
122
  # @return [String]
121
123
  def owner_alias
122
124
  data[:owner_alias]
@@ -291,7 +293,7 @@ module Aws::EC2
291
293
  # source_region: "String", # required
292
294
  # tag_specifications: [
293
295
  # {
294
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
296
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
295
297
  # tags: [
296
298
  # {
297
299
  # key: "String",