aws-sdk-ec2 1.132.0 → 1.133.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b949836d0bc279bb51873ec0cb1c13f204d868ce
4
- data.tar.gz: 209e2bd353bdd4703e59cedbdbc49c770b0df44e
3
+ metadata.gz: 34485e575745035b37fdd7c4fb870774232288c9
4
+ data.tar.gz: b295ce946a2931d8796480b90f8e4de95ddb19c7
5
5
  SHA512:
6
- metadata.gz: b4edbf25eb726ba35ed1a570ca1e4e64ddc0f5df463646845f74c072aa213a24fd3144aefc95d15e15ac30db31c4228810f19495252470c6a386241955c7671d
7
- data.tar.gz: 000e216401f50729ff958e6815e9e50470ec024e0973c37e5cdbc7d87419874f7f9a87de3c45f373b63d4995f710e4df200b1ba201d0d184553394bbc493585e
6
+ metadata.gz: d1a136b42f1a5d9461fdab3a957764982417dd8f5acda5c0e10541c34fbe7a9c1809dbbbbdcaad3f3a013343bd0b44998ff2a89454d270261f66e3e91dad6b2a
7
+ data.tar.gz: 70ed54841223614f12e633e4b77e2355f9367f16ba6f7c890675fceba907d45dd13625bef9e5df5e95418bb28e741702f67096159e36831015c1673f57752c12
@@ -66,6 +66,6 @@ require_relative 'aws-sdk-ec2/customizations'
66
66
  # @service
67
67
  module Aws::EC2
68
68
 
69
- GEM_VERSION = '1.132.0'
69
+ GEM_VERSION = '1.133.0'
70
70
 
71
71
  end
@@ -5206,6 +5206,7 @@ module Aws::EC2
5206
5206
  # tenancy: "default", # accepts default, dedicated, host
5207
5207
  # spread_domain: "String",
5208
5208
  # host_resource_group_arn: "String",
5209
+ # partition_number: 1,
5209
5210
  # },
5210
5211
  # ram_disk_id: "String",
5211
5212
  # disable_api_termination: false,
@@ -5266,6 +5267,11 @@ module Aws::EC2
5266
5267
  # hibernation_options: {
5267
5268
  # configured: false,
5268
5269
  # },
5270
+ # metadata_options: {
5271
+ # http_tokens: "optional", # accepts optional, required
5272
+ # http_put_response_hop_limit: 1,
5273
+ # http_endpoint: "disabled", # accepts disabled, enabled
5274
+ # },
5269
5275
  # },
5270
5276
  # tag_specifications: [
5271
5277
  # {
@@ -5468,6 +5474,7 @@ module Aws::EC2
5468
5474
  # tenancy: "default", # accepts default, dedicated, host
5469
5475
  # spread_domain: "String",
5470
5476
  # host_resource_group_arn: "String",
5477
+ # partition_number: 1,
5471
5478
  # },
5472
5479
  # ram_disk_id: "String",
5473
5480
  # disable_api_termination: false,
@@ -5528,6 +5535,11 @@ module Aws::EC2
5528
5535
  # hibernation_options: {
5529
5536
  # configured: false,
5530
5537
  # },
5538
+ # metadata_options: {
5539
+ # http_tokens: "optional", # accepts optional, required
5540
+ # http_put_response_hop_limit: 1,
5541
+ # http_endpoint: "disabled", # accepts disabled, enabled
5542
+ # },
5531
5543
  # },
5532
5544
  # })
5533
5545
  #
@@ -5584,6 +5596,7 @@ module Aws::EC2
5584
5596
  # resp.launch_template_version.launch_template_data.placement.tenancy #=> String, one of "default", "dedicated", "host"
5585
5597
  # resp.launch_template_version.launch_template_data.placement.spread_domain #=> String
5586
5598
  # resp.launch_template_version.launch_template_data.placement.host_resource_group_arn #=> String
5599
+ # resp.launch_template_version.launch_template_data.placement.partition_number #=> Integer
5587
5600
  # resp.launch_template_version.launch_template_data.ram_disk_id #=> String
5588
5601
  # resp.launch_template_version.launch_template_data.disable_api_termination #=> Boolean
5589
5602
  # resp.launch_template_version.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
@@ -5616,6 +5629,10 @@ module Aws::EC2
5616
5629
  # resp.launch_template_version.launch_template_data.license_specifications #=> Array
5617
5630
  # resp.launch_template_version.launch_template_data.license_specifications[0].license_configuration_arn #=> String
5618
5631
  # resp.launch_template_version.launch_template_data.hibernation_options.configured #=> Boolean
5632
+ # resp.launch_template_version.launch_template_data.metadata_options.state #=> String, one of "pending", "applied"
5633
+ # resp.launch_template_version.launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
5634
+ # resp.launch_template_version.launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
5635
+ # resp.launch_template_version.launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
5619
5636
  #
5620
5637
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion AWS API Documentation
5621
5638
  #
@@ -15666,7 +15683,7 @@ module Aws::EC2
15666
15683
  # instance type.
15667
15684
  #
15668
15685
  # * `vcpu-info.default-threads-per-core` - The default number of threads
15669
- # per core for the instance type.
15686
+ # per cores for the instance type.
15670
15687
  #
15671
15688
  # * `vcpu-info.default-vcpus` - The default number of vCPUs for the
15672
15689
  # instance type.
@@ -16701,6 +16718,7 @@ module Aws::EC2
16701
16718
  # resp.launch_template_versions[0].launch_template_data.placement.tenancy #=> String, one of "default", "dedicated", "host"
16702
16719
  # resp.launch_template_versions[0].launch_template_data.placement.spread_domain #=> String
16703
16720
  # resp.launch_template_versions[0].launch_template_data.placement.host_resource_group_arn #=> String
16721
+ # resp.launch_template_versions[0].launch_template_data.placement.partition_number #=> Integer
16704
16722
  # resp.launch_template_versions[0].launch_template_data.ram_disk_id #=> String
16705
16723
  # resp.launch_template_versions[0].launch_template_data.disable_api_termination #=> Boolean
16706
16724
  # resp.launch_template_versions[0].launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
@@ -16733,6 +16751,10 @@ module Aws::EC2
16733
16751
  # resp.launch_template_versions[0].launch_template_data.license_specifications #=> Array
16734
16752
  # resp.launch_template_versions[0].launch_template_data.license_specifications[0].license_configuration_arn #=> String
16735
16753
  # resp.launch_template_versions[0].launch_template_data.hibernation_options.configured #=> Boolean
16754
+ # resp.launch_template_versions[0].launch_template_data.metadata_options.state #=> String, one of "pending", "applied"
16755
+ # resp.launch_template_versions[0].launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
16756
+ # resp.launch_template_versions[0].launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
16757
+ # resp.launch_template_versions[0].launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
16736
16758
  # resp.next_token #=> String
16737
16759
  #
16738
16760
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions AWS API Documentation
@@ -26199,6 +26221,7 @@ module Aws::EC2
26199
26221
  # resp.launch_template_data.placement.tenancy #=> String, one of "default", "dedicated", "host"
26200
26222
  # resp.launch_template_data.placement.spread_domain #=> String
26201
26223
  # resp.launch_template_data.placement.host_resource_group_arn #=> String
26224
+ # resp.launch_template_data.placement.partition_number #=> Integer
26202
26225
  # resp.launch_template_data.ram_disk_id #=> String
26203
26226
  # resp.launch_template_data.disable_api_termination #=> Boolean
26204
26227
  # resp.launch_template_data.instance_initiated_shutdown_behavior #=> String, one of "stop", "terminate"
@@ -26231,6 +26254,10 @@ module Aws::EC2
26231
26254
  # resp.launch_template_data.license_specifications #=> Array
26232
26255
  # resp.launch_template_data.license_specifications[0].license_configuration_arn #=> String
26233
26256
  # resp.launch_template_data.hibernation_options.configured #=> Boolean
26257
+ # resp.launch_template_data.metadata_options.state #=> String, one of "pending", "applied"
26258
+ # resp.launch_template_data.metadata_options.http_tokens #=> String, one of "optional", "required"
26259
+ # resp.launch_template_data.metadata_options.http_put_response_hop_limit #=> Integer
26260
+ # resp.launch_template_data.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
26234
26261
  #
26235
26262
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData AWS API Documentation
26236
26263
  #
@@ -34944,10 +34971,11 @@ module Aws::EC2
34944
34971
  # EC2 charges a one-minute minimum for instance usage, and thereafter
34945
34972
  # charges per second for instance usage.
34946
34973
  #
34947
- # You can't hibernate Spot Instances, and you can't stop or hibernate
34948
- # instance store-backed instances. For information about using
34949
- # hibernation for Spot Instances, see [Hibernating Interrupted Spot
34950
- # Instances][4] in the *Amazon Elastic Compute Cloud User Guide*.
34974
+ # You can't start, stop, or hibernate Spot Instances, and you can't
34975
+ # stop or hibernate instance store-backed instances. For information
34976
+ # about using hibernation for Spot Instances, see [Hibernating
34977
+ # Interrupted Spot Instances][4] in the *Amazon Elastic Compute Cloud
34978
+ # User Guide*.
34951
34979
  #
34952
34980
  # When you stop or hibernate an instance, we shut it down. You can
34953
34981
  # restart your instance at any time. Before stopping or hibernating an
@@ -35632,7 +35660,7 @@ module Aws::EC2
35632
35660
  params: params,
35633
35661
  config: config)
35634
35662
  context[:gem_name] = 'aws-sdk-ec2'
35635
- context[:gem_version] = '1.132.0'
35663
+ context[:gem_version] = '1.133.0'
35636
35664
  Seahorse::Client::Request.new(handlers, context)
35637
35665
  end
35638
35666
 
@@ -1150,11 +1150,16 @@ module Aws::EC2
1150
1150
  LaunchTemplateErrorCode = Shapes::StringShape.new(name: 'LaunchTemplateErrorCode')
1151
1151
  LaunchTemplateHibernationOptions = Shapes::StructureShape.new(name: 'LaunchTemplateHibernationOptions')
1152
1152
  LaunchTemplateHibernationOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateHibernationOptionsRequest')
1153
+ LaunchTemplateHttpTokensState = Shapes::StringShape.new(name: 'LaunchTemplateHttpTokensState')
1153
1154
  LaunchTemplateIamInstanceProfileSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateIamInstanceProfileSpecification')
1154
1155
  LaunchTemplateIamInstanceProfileSpecificationRequest = Shapes::StructureShape.new(name: 'LaunchTemplateIamInstanceProfileSpecificationRequest')
1155
1156
  LaunchTemplateId = Shapes::StringShape.new(name: 'LaunchTemplateId')
1156
1157
  LaunchTemplateInstanceMarketOptions = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMarketOptions')
1157
1158
  LaunchTemplateInstanceMarketOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMarketOptionsRequest')
1159
+ LaunchTemplateInstanceMetadataEndpointState = Shapes::StringShape.new(name: 'LaunchTemplateInstanceMetadataEndpointState')
1160
+ LaunchTemplateInstanceMetadataOptions = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMetadataOptions')
1161
+ LaunchTemplateInstanceMetadataOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMetadataOptionsRequest')
1162
+ LaunchTemplateInstanceMetadataOptionsState = Shapes::StringShape.new(name: 'LaunchTemplateInstanceMetadataOptionsState')
1158
1163
  LaunchTemplateInstanceNetworkInterfaceSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecification')
1159
1164
  LaunchTemplateInstanceNetworkInterfaceSpecificationList = Shapes::ListShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationList')
1160
1165
  LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationRequest')
@@ -6480,6 +6485,17 @@ module Aws::EC2
6480
6485
  LaunchTemplateInstanceMarketOptionsRequest.add_member(:spot_options, Shapes::ShapeRef.new(shape: LaunchTemplateSpotMarketOptionsRequest, location_name: "SpotOptions"))
6481
6486
  LaunchTemplateInstanceMarketOptionsRequest.struct_class = Types::LaunchTemplateInstanceMarketOptionsRequest
6482
6487
 
6488
+ LaunchTemplateInstanceMetadataOptions.add_member(:state, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataOptionsState, location_name: "state"))
6489
+ LaunchTemplateInstanceMetadataOptions.add_member(:http_tokens, Shapes::ShapeRef.new(shape: LaunchTemplateHttpTokensState, location_name: "httpTokens"))
6490
+ LaunchTemplateInstanceMetadataOptions.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "httpPutResponseHopLimit"))
6491
+ LaunchTemplateInstanceMetadataOptions.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataEndpointState, location_name: "httpEndpoint"))
6492
+ LaunchTemplateInstanceMetadataOptions.struct_class = Types::LaunchTemplateInstanceMetadataOptions
6493
+
6494
+ LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: LaunchTemplateHttpTokensState, location_name: "HttpTokens"))
6495
+ LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "HttpPutResponseHopLimit"))
6496
+ LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataEndpointState, location_name: "HttpEndpoint"))
6497
+ LaunchTemplateInstanceMetadataOptionsRequest.struct_class = Types::LaunchTemplateInstanceMetadataOptionsRequest
6498
+
6483
6499
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "associatePublicIpAddress"))
6484
6500
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
6485
6501
  LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -6543,6 +6559,7 @@ module Aws::EC2
6543
6559
  LaunchTemplatePlacement.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "tenancy"))
6544
6560
  LaunchTemplatePlacement.add_member(:spread_domain, Shapes::ShapeRef.new(shape: String, location_name: "spreadDomain"))
6545
6561
  LaunchTemplatePlacement.add_member(:host_resource_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "hostResourceGroupArn"))
6562
+ LaunchTemplatePlacement.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "partitionNumber"))
6546
6563
  LaunchTemplatePlacement.struct_class = Types::LaunchTemplatePlacement
6547
6564
 
6548
6565
  LaunchTemplatePlacementRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
@@ -6552,6 +6569,7 @@ module Aws::EC2
6552
6569
  LaunchTemplatePlacementRequest.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "Tenancy"))
6553
6570
  LaunchTemplatePlacementRequest.add_member(:spread_domain, Shapes::ShapeRef.new(shape: String, location_name: "SpreadDomain"))
6554
6571
  LaunchTemplatePlacementRequest.add_member(:host_resource_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "HostResourceGroupArn"))
6572
+ LaunchTemplatePlacementRequest.add_member(:partition_number, Shapes::ShapeRef.new(shape: Integer, location_name: "PartitionNumber"))
6555
6573
  LaunchTemplatePlacementRequest.struct_class = Types::LaunchTemplatePlacementRequest
6556
6574
 
6557
6575
  LaunchTemplateSet.member = Shapes::ShapeRef.new(shape: LaunchTemplate, location_name: "item")
@@ -7782,6 +7800,7 @@ module Aws::EC2
7782
7800
  RequestLaunchTemplateData.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: LaunchTemplateCapacityReservationSpecificationRequest, location_name: "CapacityReservationSpecification"))
7783
7801
  RequestLaunchTemplateData.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LaunchTemplateLicenseSpecificationListRequest, location_name: "LicenseSpecification"))
7784
7802
  RequestLaunchTemplateData.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: LaunchTemplateHibernationOptionsRequest, location_name: "HibernationOptions"))
7803
+ RequestLaunchTemplateData.add_member(:metadata_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataOptionsRequest, location_name: "MetadataOptions"))
7785
7804
  RequestLaunchTemplateData.struct_class = Types::RequestLaunchTemplateData
7786
7805
 
7787
7806
  RequestSpotFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -8017,6 +8036,7 @@ module Aws::EC2
8017
8036
  ResponseLaunchTemplateData.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: LaunchTemplateCapacityReservationSpecificationResponse, location_name: "capacityReservationSpecification"))
8018
8037
  ResponseLaunchTemplateData.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LaunchTemplateLicenseList, location_name: "licenseSet"))
8019
8038
  ResponseLaunchTemplateData.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: LaunchTemplateHibernationOptions, location_name: "hibernationOptions"))
8039
+ ResponseLaunchTemplateData.add_member(:metadata_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataOptions, location_name: "metadataOptions"))
8020
8040
  ResponseLaunchTemplateData.struct_class = Types::ResponseLaunchTemplateData
8021
8041
 
8022
8042
  RestorableByStringList.member = Shapes::ShapeRef.new(shape: String)
@@ -5880,6 +5880,7 @@ module Aws::EC2
5880
5880
  # tenancy: "default", # accepts default, dedicated, host
5881
5881
  # spread_domain: "String",
5882
5882
  # host_resource_group_arn: "String",
5883
+ # partition_number: 1,
5883
5884
  # },
5884
5885
  # ram_disk_id: "String",
5885
5886
  # disable_api_termination: false,
@@ -5940,6 +5941,11 @@ module Aws::EC2
5940
5941
  # hibernation_options: {
5941
5942
  # configured: false,
5942
5943
  # },
5944
+ # metadata_options: {
5945
+ # http_tokens: "optional", # accepts optional, required
5946
+ # http_put_response_hop_limit: 1,
5947
+ # http_endpoint: "disabled", # accepts disabled, enabled
5948
+ # },
5943
5949
  # },
5944
5950
  # tag_specifications: [
5945
5951
  # {
@@ -6085,6 +6091,7 @@ module Aws::EC2
6085
6091
  # tenancy: "default", # accepts default, dedicated, host
6086
6092
  # spread_domain: "String",
6087
6093
  # host_resource_group_arn: "String",
6094
+ # partition_number: 1,
6088
6095
  # },
6089
6096
  # ram_disk_id: "String",
6090
6097
  # disable_api_termination: false,
@@ -6145,6 +6152,11 @@ module Aws::EC2
6145
6152
  # hibernation_options: {
6146
6153
  # configured: false,
6147
6154
  # },
6155
+ # metadata_options: {
6156
+ # http_tokens: "optional", # accepts optional, required
6157
+ # http_put_response_hop_limit: 1,
6158
+ # http_endpoint: "disabled", # accepts disabled, enabled
6159
+ # },
6148
6160
  # },
6149
6161
  # }
6150
6162
  #
@@ -14432,7 +14444,7 @@ module Aws::EC2
14432
14444
  # instance type.
14433
14445
  #
14434
14446
  # * `vcpu-info.default-threads-per-core` - The default number of
14435
- # threads per core for the instance type.
14447
+ # threads per cores for the instance type.
14436
14448
  #
14437
14449
  # * `vcpu-info.default-vcpus` - The default number of vCPUs for the
14438
14450
  # instance type.
@@ -29625,6 +29637,138 @@ module Aws::EC2
29625
29637
  include Aws::Structure
29626
29638
  end
29627
29639
 
29640
+ # The metadata options for the instance. For more information, see
29641
+ # [Instance Metadata and User Data][1] in the *Amazon Elastic Compute
29642
+ # Cloud User Guide*.
29643
+ #
29644
+ #
29645
+ #
29646
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
29647
+ #
29648
+ # @!attribute [rw] state
29649
+ # The state of the metadata option changes.
29650
+ #
29651
+ # `pending` - The metadata options are being updated and the instance
29652
+ # is not ready to process metadata traffic with the new selection.
29653
+ #
29654
+ # `applied` - The metadata options have been successfully applied on
29655
+ # the instance.
29656
+ # @return [String]
29657
+ #
29658
+ # @!attribute [rw] http_tokens
29659
+ # The state of token usage for your instance metadata requests. If the
29660
+ # parameter is not specified in the request, the default state is
29661
+ # `optional`.
29662
+ #
29663
+ # If the state is `optional`, you can choose to retrieve instance
29664
+ # metadata with or without a signed token header on your request. If
29665
+ # you retrieve the IAM role credentials without a token, the version
29666
+ # 1.0 role credentials are returned. If you retrieve the IAM role
29667
+ # credentials using a valid signed token, the version 2.0 role
29668
+ # credentials are returned.
29669
+ #
29670
+ # If the state is `required`, you must send a signed token header with
29671
+ # any instance metadata retrieval requests. In this state, retrieving
29672
+ # the IAM role credentials always returns the version 2.0 credentials;
29673
+ # the version 1.0 credentials are not available.
29674
+ # @return [String]
29675
+ #
29676
+ # @!attribute [rw] http_put_response_hop_limit
29677
+ # The desired HTTP PUT response hop limit for instance metadata
29678
+ # requests. The larger the number, the further instance metadata
29679
+ # requests can travel.
29680
+ #
29681
+ # Default: 1
29682
+ #
29683
+ # Possible values: Integers from 1 to 64
29684
+ # @return [Integer]
29685
+ #
29686
+ # @!attribute [rw] http_endpoint
29687
+ # This parameter enables or disables the HTTP metadata endpoint on
29688
+ # your instances. If the parameter is not specified, the default state
29689
+ # is `enabled`.
29690
+ #
29691
+ # <note markdown="1"> If you specify a value of `disabled`, you will not be able to access
29692
+ # your instance metadata.
29693
+ #
29694
+ # </note>
29695
+ # @return [String]
29696
+ #
29697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptions AWS API Documentation
29698
+ #
29699
+ class LaunchTemplateInstanceMetadataOptions < Struct.new(
29700
+ :state,
29701
+ :http_tokens,
29702
+ :http_put_response_hop_limit,
29703
+ :http_endpoint)
29704
+ include Aws::Structure
29705
+ end
29706
+
29707
+ # The metadata options for the instance. For more information, see
29708
+ # [Instance Metadata and User Data][1] in the *Amazon Elastic Compute
29709
+ # Cloud User Guide*.
29710
+ #
29711
+ #
29712
+ #
29713
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
29714
+ #
29715
+ # @note When making an API call, you may pass LaunchTemplateInstanceMetadataOptionsRequest
29716
+ # data as a hash:
29717
+ #
29718
+ # {
29719
+ # http_tokens: "optional", # accepts optional, required
29720
+ # http_put_response_hop_limit: 1,
29721
+ # http_endpoint: "disabled", # accepts disabled, enabled
29722
+ # }
29723
+ #
29724
+ # @!attribute [rw] http_tokens
29725
+ # The state of token usage for your instance metadata requests. If the
29726
+ # parameter is not specified in the request, the default state is
29727
+ # `optional`.
29728
+ #
29729
+ # If the state is `optional`, you can choose to retrieve instance
29730
+ # metadata with or without a signed token header on your request. If
29731
+ # you retrieve the IAM role credentials without a token, the version
29732
+ # 1.0 role credentials are returned. If you retrieve the IAM role
29733
+ # credentials using a valid signed token, the version 2.0 role
29734
+ # credentials are returned.
29735
+ #
29736
+ # If the state is `required`, you must send a signed token header with
29737
+ # any instance metadata retrieval requests. In this state, retrieving
29738
+ # the IAM role credentials always returns the version 2.0 credentials;
29739
+ # the version 1.0 credentials are not available.
29740
+ # @return [String]
29741
+ #
29742
+ # @!attribute [rw] http_put_response_hop_limit
29743
+ # The desired HTTP PUT response hop limit for instance metadata
29744
+ # requests. The larger the number, the further instance metadata
29745
+ # requests can travel.
29746
+ #
29747
+ # Default: 1
29748
+ #
29749
+ # Possible values: Integers from 1 to 64
29750
+ # @return [Integer]
29751
+ #
29752
+ # @!attribute [rw] http_endpoint
29753
+ # This parameter enables or disables the HTTP metadata endpoint on
29754
+ # your instances. If the parameter is not specified, the default state
29755
+ # is `enabled`.
29756
+ #
29757
+ # <note markdown="1"> If you specify a value of `disabled`, you will not be able to access
29758
+ # your instance metadata.
29759
+ #
29760
+ # </note>
29761
+ # @return [String]
29762
+ #
29763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceMetadataOptionsRequest AWS API Documentation
29764
+ #
29765
+ class LaunchTemplateInstanceMetadataOptionsRequest < Struct.new(
29766
+ :http_tokens,
29767
+ :http_put_response_hop_limit,
29768
+ :http_endpoint)
29769
+ include Aws::Structure
29770
+ end
29771
+
29628
29772
  # Describes a network interface.
29629
29773
  #
29630
29774
  # @!attribute [rw] associate_public_ip_address
@@ -29943,6 +30087,11 @@ module Aws::EC2
29943
30087
  # The ARN of the host resource group in which to launch the instances.
29944
30088
  # @return [String]
29945
30089
  #
30090
+ # @!attribute [rw] partition_number
30091
+ # The number of the partition the instance should launch in. Valid
30092
+ # only if the placement group strategy is set to `partition`.
30093
+ # @return [Integer]
30094
+ #
29946
30095
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatePlacement AWS API Documentation
29947
30096
  #
29948
30097
  class LaunchTemplatePlacement < Struct.new(
@@ -29952,7 +30101,8 @@ module Aws::EC2
29952
30101
  :host_id,
29953
30102
  :tenancy,
29954
30103
  :spread_domain,
29955
- :host_resource_group_arn)
30104
+ :host_resource_group_arn,
30105
+ :partition_number)
29956
30106
  include Aws::Structure
29957
30107
  end
29958
30108
 
@@ -29969,6 +30119,7 @@ module Aws::EC2
29969
30119
  # tenancy: "default", # accepts default, dedicated, host
29970
30120
  # spread_domain: "String",
29971
30121
  # host_resource_group_arn: "String",
30122
+ # partition_number: 1,
29972
30123
  # }
29973
30124
  #
29974
30125
  # @!attribute [rw] availability_zone
@@ -30003,6 +30154,11 @@ module Aws::EC2
30003
30154
  # parameter or set it to `host`.
30004
30155
  # @return [String]
30005
30156
  #
30157
+ # @!attribute [rw] partition_number
30158
+ # The number of the partition the instance should launch in. Valid
30159
+ # only if the placement group strategy is set to `partition`.
30160
+ # @return [Integer]
30161
+ #
30006
30162
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplatePlacementRequest AWS API Documentation
30007
30163
  #
30008
30164
  class LaunchTemplatePlacementRequest < Struct.new(
@@ -30012,7 +30168,8 @@ module Aws::EC2
30012
30168
  :host_id,
30013
30169
  :tenancy,
30014
30170
  :spread_domain,
30015
- :host_resource_group_arn)
30171
+ :host_resource_group_arn,
30172
+ :partition_number)
30016
30173
  include Aws::Structure
30017
30174
  end
30018
30175
 
@@ -36830,6 +36987,7 @@ module Aws::EC2
36830
36987
  # tenancy: "default", # accepts default, dedicated, host
36831
36988
  # spread_domain: "String",
36832
36989
  # host_resource_group_arn: "String",
36990
+ # partition_number: 1,
36833
36991
  # },
36834
36992
  # ram_disk_id: "String",
36835
36993
  # disable_api_termination: false,
@@ -36890,6 +37048,11 @@ module Aws::EC2
36890
37048
  # hibernation_options: {
36891
37049
  # configured: false,
36892
37050
  # },
37051
+ # metadata_options: {
37052
+ # http_tokens: "optional", # accepts optional, required
37053
+ # http_put_response_hop_limit: 1,
37054
+ # http_endpoint: "disabled", # accepts disabled, enabled
37055
+ # },
36893
37056
  # }
36894
37057
  #
36895
37058
  # @!attribute [rw] kernel_id
@@ -37093,6 +37256,16 @@ module Aws::EC2
37093
37256
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
37094
37257
  # @return [Types::LaunchTemplateHibernationOptionsRequest]
37095
37258
  #
37259
+ # @!attribute [rw] metadata_options
37260
+ # The metadata options for the instance. For more information, see
37261
+ # [Instance Metadata and User Data][1] in the *Amazon Elastic Compute
37262
+ # Cloud User Guide*.
37263
+ #
37264
+ #
37265
+ #
37266
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
37267
+ # @return [Types::LaunchTemplateInstanceMetadataOptionsRequest]
37268
+ #
37096
37269
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestLaunchTemplateData AWS API Documentation
37097
37270
  #
37098
37271
  class RequestLaunchTemplateData < Struct.new(
@@ -37120,7 +37293,8 @@ module Aws::EC2
37120
37293
  :cpu_options,
37121
37294
  :capacity_reservation_specification,
37122
37295
  :license_specifications,
37123
- :hibernation_options)
37296
+ :hibernation_options,
37297
+ :metadata_options)
37124
37298
  include Aws::Structure
37125
37299
  end
37126
37300
 
@@ -38579,6 +38753,16 @@ module Aws::EC2
38579
38753
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
38580
38754
  # @return [Types::LaunchTemplateHibernationOptions]
38581
38755
  #
38756
+ # @!attribute [rw] metadata_options
38757
+ # The metadata options for the instance. For more information, see
38758
+ # [Instance Metadata and User Data][1] in the *Amazon Elastic Compute
38759
+ # Cloud User Guide*.
38760
+ #
38761
+ #
38762
+ #
38763
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
38764
+ # @return [Types::LaunchTemplateInstanceMetadataOptions]
38765
+ #
38582
38766
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResponseLaunchTemplateData AWS API Documentation
38583
38767
  #
38584
38768
  class ResponseLaunchTemplateData < Struct.new(
@@ -38606,7 +38790,8 @@ module Aws::EC2
38606
38790
  :cpu_options,
38607
38791
  :capacity_reservation_specification,
38608
38792
  :license_specifications,
38609
- :hibernation_options)
38793
+ :hibernation_options,
38794
+ :metadata_options)
38610
38795
  include Aws::Structure
38611
38796
  end
38612
38797
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.132.0
4
+ version: 1.133.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-13 00:00:00.000000000 Z
11
+ date: 2020-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4