aws-sdk-ec2 1.309.0 → 1.310.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
  SHA256:
3
- metadata.gz: 2e285a4ec10318bc908bea452a07179d6083076c04c1e9f98ccc560bceb99889
4
- data.tar.gz: 5b4b2f2a824da32e96c119e1e8e8b9d9a82aed3003f35e8cb309813e17cea6b2
3
+ metadata.gz: d6d16e102841226758942173e88de68c2a6d3643a5e541eefee5fc4be6e42824
4
+ data.tar.gz: d5bfc1a91b8a1d0f5f3c45729e738acbc663f568305fc66844a3f7cafd7fe66d
5
5
  SHA512:
6
- metadata.gz: c99bb361a69770847fda20d0f8dfd8be23887472077901ad63e4ef4952a0e1f6a72ad487cc81b82f2f1400ecc026a46d197f62d51433090beb7c560a83a3fce5
7
- data.tar.gz: ea4719f3d4e8a0343b54aed166361d3015e9cfb1a3602300e4cf3d3794593a01c4b519be4b4f535304c1de3e82d82d080c2243f8f201f0729efea90894fb1c9f
6
+ metadata.gz: 44c718979385664a51bbe635bf1b42fe93dae5eb1086d1f6956b2593d271a0df27a9805f914aa47150210b0abf3152f450190933f05b257fdb5fe67b4bd65cc7
7
+ data.tar.gz: 7098d891cc988897164d8ee79c1b544b37950fc7c2742664ee9f18ce1550cd21eb20ff1cc9cd612a9ca4bbc4b63c7f7b12ddd73601e4a9bbb7eb8c3ebbb7004f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.310.0 (2022-05-03)
5
+ ------------------
6
+
7
+ * Feature - Adds support for allocating Dedicated Hosts on AWS Outposts. The AllocateHosts API now accepts an OutpostArn request parameter, and the DescribeHosts API now includes an OutpostArn response parameter.
8
+
4
9
  1.309.0 (2022-04-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.309.0
1
+ 1.310.0
@@ -961,6 +961,10 @@ module Aws::EC2
961
961
  #
962
962
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html
963
963
  #
964
+ # @option params [String] :outpost_arn
965
+ # The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
966
+ # which to allocate the Dedicated Host.
967
+ #
964
968
  # @return [Types::AllocateHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
965
969
  #
966
970
  # * {Types::AllocateHostsResult#host_ids #host_ids} => Array<String>
@@ -986,6 +990,7 @@ module Aws::EC2
986
990
  # },
987
991
  # ],
988
992
  # host_recovery: "on", # accepts on, off
993
+ # outpost_arn: "String",
989
994
  # })
990
995
  #
991
996
  # @example Response structure
@@ -19859,6 +19864,7 @@ module Aws::EC2
19859
19864
  # resp.hosts[0].owner_id #=> String
19860
19865
  # resp.hosts[0].availability_zone_id #=> String
19861
19866
  # resp.hosts[0].member_of_service_linked_resource_group #=> Boolean
19867
+ # resp.hosts[0].outpost_arn #=> String
19862
19868
  # resp.next_token #=> String
19863
19869
  #
19864
19870
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts AWS API Documentation
@@ -48742,12 +48748,13 @@ module Aws::EC2
48742
48748
  req.send_request(options)
48743
48749
  end
48744
48750
 
48745
- # Stops an Amazon EBS-backed instance.
48751
+ # Stops an Amazon EBS-backed instance. For more information, see [Stop
48752
+ # and start your instance][1] in the *Amazon EC2 User Guide*.
48746
48753
  #
48747
48754
  # You can use the Stop action to hibernate an instance if the instance
48748
- # is [enabled for hibernation][1] and it meets the [hibernation
48749
- # prerequisites][2]. For more information, see [Hibernate your
48750
- # instance][3] in the *Amazon EC2 User Guide*.
48755
+ # is [enabled for hibernation][2] and it meets the [hibernation
48756
+ # prerequisites][3]. For more information, see [Hibernate your
48757
+ # instance][4] in the *Amazon EC2 User Guide*.
48751
48758
  #
48752
48759
  # We don't charge usage for a stopped instance, or data transfer fees;
48753
48760
  # however, your root partition Amazon EBS volume remains and continues
@@ -48760,7 +48767,7 @@ module Aws::EC2
48760
48767
  # can't use the Stop action to hibernate Spot Instances, but you can
48761
48768
  # specify that Amazon EC2 should hibernate Spot Instances when they are
48762
48769
  # interrupted. For more information, see [Hibernating interrupted Spot
48763
- # Instances][4] in the *Amazon EC2 User Guide*.
48770
+ # Instances][5] in the *Amazon EC2 User Guide*.
48764
48771
  #
48765
48772
  # When you stop or hibernate an instance, we shut it down. You can
48766
48773
  # restart your instance at any time. Before stopping or hibernating an
@@ -48776,22 +48783,23 @@ module Aws::EC2
48776
48783
  # devices attached during the instance launch are automatically deleted.
48777
48784
  # For more information about the differences between rebooting,
48778
48785
  # stopping, hibernating, and terminating instances, see [Instance
48779
- # lifecycle][5] in the *Amazon EC2 User Guide*.
48786
+ # lifecycle][6] in the *Amazon EC2 User Guide*.
48780
48787
  #
48781
48788
  # When you stop an instance, we attempt to shut it down forcibly after a
48782
48789
  # short while. If your instance appears stuck in the stopping state
48783
48790
  # after a period of time, there may be an issue with the underlying host
48784
48791
  # computer. For more information, see [Troubleshoot stopping your
48785
- # instance][6] in the *Amazon EC2 User Guide*.
48792
+ # instance][7] in the *Amazon EC2 User Guide*.
48786
48793
  #
48787
48794
  #
48788
48795
  #
48789
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation
48790
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
48791
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
48792
- # [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances
48793
- # [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
48794
- # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
48796
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
48797
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#enabling-hibernation
48798
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites
48799
+ # [4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
48800
+ # [5]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#hibernate-spot-instances
48801
+ # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html
48802
+ # [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesStopping.html
48795
48803
  #
48796
48804
  # @option params [required, Array<String>] :instance_ids
48797
48805
  # The IDs of the instances.
@@ -49506,7 +49514,7 @@ module Aws::EC2
49506
49514
  params: params,
49507
49515
  config: config)
49508
49516
  context[:gem_name] = 'aws-sdk-ec2'
49509
- context[:gem_version] = '1.309.0'
49517
+ context[:gem_version] = '1.310.0'
49510
49518
  Seahorse::Client::Request.new(handlers, context)
49511
49519
  end
49512
49520
 
@@ -2872,6 +2872,7 @@ module Aws::EC2
2872
2872
  AllocateHostsRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "quantity"))
2873
2873
  AllocateHostsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
2874
2874
  AllocateHostsRequest.add_member(:host_recovery, Shapes::ShapeRef.new(shape: HostRecovery, location_name: "HostRecovery"))
2875
+ AllocateHostsRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
2875
2876
  AllocateHostsRequest.struct_class = Types::AllocateHostsRequest
2876
2877
 
2877
2878
  AllocateHostsResult.add_member(:host_ids, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "hostIdSet"))
@@ -7930,6 +7931,7 @@ module Aws::EC2
7930
7931
  Host.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
7931
7932
  Host.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
7932
7933
  Host.add_member(:member_of_service_linked_resource_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "memberOfServiceLinkedResourceGroup"))
7934
+ Host.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
7933
7935
  Host.struct_class = Types::Host
7934
7936
 
7935
7937
  HostInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
@@ -995,6 +995,7 @@ module Aws::EC2
995
995
  # },
996
996
  # ],
997
997
  # host_recovery: "on", # accepts on, off
998
+ # outpost_arn: "String",
998
999
  # }
999
1000
  #
1000
1001
  # @!attribute [rw] auto_placement
@@ -1068,6 +1069,11 @@ module Aws::EC2
1068
1069
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-recovery.html
1069
1070
  # @return [String]
1070
1071
  #
1072
+ # @!attribute [rw] outpost_arn
1073
+ # The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
1074
+ # which to allocate the Dedicated Host.
1075
+ # @return [String]
1076
+ #
1071
1077
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest AWS API Documentation
1072
1078
  #
1073
1079
  class AllocateHostsRequest < Struct.new(
@@ -1078,7 +1084,8 @@ module Aws::EC2
1078
1084
  :instance_family,
1079
1085
  :quantity,
1080
1086
  :tag_specifications,
1081
- :host_recovery)
1087
+ :host_recovery,
1088
+ :outpost_arn)
1082
1089
  SENSITIVE = []
1083
1090
  include Aws::Structure
1084
1091
  end
@@ -37345,6 +37352,11 @@ module Aws::EC2
37345
37352
  # host resource group; otherwise, it is not.
37346
37353
  # @return [Boolean]
37347
37354
  #
37355
+ # @!attribute [rw] outpost_arn
37356
+ # The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
37357
+ # which the Dedicated Host is allocated.
37358
+ # @return [String]
37359
+ #
37348
37360
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
37349
37361
  #
37350
37362
  class Host < Struct.new(
@@ -37364,7 +37376,8 @@ module Aws::EC2
37364
37376
  :allows_multiple_instance_types,
37365
37377
  :owner_id,
37366
37378
  :availability_zone_id,
37367
- :member_of_service_linked_resource_group)
37379
+ :member_of_service_linked_resource_group,
37380
+ :outpost_arn)
37368
37381
  SENSITIVE = []
37369
37382
  include Aws::Structure
37370
37383
  end
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.309.0'
75
+ GEM_VERSION = '1.310.0'
76
76
 
77
77
  end
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.309.0
4
+ version: 1.310.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: 2022-04-28 00:00:00.000000000 Z
11
+ date: 2022-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4