aws-sdk-ec2 1.32.0 → 1.33.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: 3d2314e81f39e2cd97dacb34046ea09a7ff5cf59
4
- data.tar.gz: 05c90c61e44bcbbbb9e85accd51e77f444c6f125
3
+ metadata.gz: c80d10eb363dba4374f7c9f76b3f2b32cf62c6ed
4
+ data.tar.gz: 16d681a6e35a61f4d82e252ed0e34659718dc4e9
5
5
  SHA512:
6
- metadata.gz: 6eeade0a100b7cb827cdd5a6de724c5ab41d67142b4c4edab59037116e4a6080ce422b1f47640b15f9c3fd264d8c10ad8579202492e0d5ec92f6a97ac974be0a
7
- data.tar.gz: a0ff8df8f6942643e08a77cfc2b581f1ebd502e079362d431554474f0b3e1e83d8c948aab73cb7c41f8d5f4f59ad3f6b71cb4e64b2a597ece962e89d5a64d0cc
6
+ metadata.gz: 1564852f4c581294a453a5c05f8ef0b0b40ea970975b18460f0211c0cdf8404637a48af52c2375ee01f4cffbb97ad1dc0bddfd88c736bb75a2d3bd7311975c9d
7
+ data.tar.gz: 1d0ec73b32e8c47d905cdb2cee910fb83855c8b7e8affffd11db97a0314331eb5bbfa97e8bc0989d2c44d4bad7f883cefd7c82ecf16d222d7bd251cf806f6d5b
data/lib/aws-sdk-ec2.rb CHANGED
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.32.0'
68
+ GEM_VERSION = '1.33.0'
69
69
 
70
70
  end
@@ -3904,11 +3904,12 @@ module Aws::EC2
3904
3904
  req.send_request(options)
3905
3905
  end
3906
3906
 
3907
- # Creates a NAT gateway in the specified subnet. A NAT gateway can be
3908
- # used to enable instances in a private subnet to connect to the
3909
- # Internet. This action creates a network interface in the specified
3910
- # subnet with a private IP address from the IP address range of the
3911
- # subnet. For more information, see [NAT Gateways][1] in the *Amazon
3907
+ # Creates a NAT gateway in the specified public subnet. This action
3908
+ # creates a network interface in the specified subnet with a private IP
3909
+ # address from the IP address range of the subnet. Internet-bound
3910
+ # traffic from a private subnet can be routed to the NAT gateway,
3911
+ # therefore enabling instances in the private subnet to connect to the
3912
+ # internet. For more information, see [NAT Gateways][1] in the *Amazon
3912
3913
  # Virtual Private Cloud User Guide*.
3913
3914
  #
3914
3915
  #
@@ -4164,13 +4165,13 @@ module Aws::EC2
4164
4165
  #
4165
4166
  # @option params [required, String] :protocol
4166
4167
  # The protocol. A value of `-1` or `all` means all protocols. If you
4167
- # specify `all`, `-1`, or a protocol number other than `tcp`, `udp`, or
4168
- # `icmp`, traffic on all ports is allowed, regardless of any ports or
4169
- # ICMP types or codes you specify. If you specify protocol `58` (ICMPv6)
4170
- # and specify an IPv4 CIDR block, traffic for all ICMP types and codes
4171
- # allowed, regardless of any that you specify. If you specify protocol
4172
- # `58` (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP
4173
- # type and code.
4168
+ # specify `all`, `-1`, or a protocol number other than `6` (tcp), `17`
4169
+ # (udp), or `1` (icmp), traffic on all ports is allowed, regardless of
4170
+ # any ports or ICMP types or codes you specify. If you specify protocol
4171
+ # `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP
4172
+ # types and codes allowed, regardless of any that you specify. If you
4173
+ # specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
4174
+ # must specify an ICMP type and code.
4174
4175
  #
4175
4176
  # @option params [required, String] :rule_action
4176
4177
  # Indicates whether to allow or deny the traffic that matches the rule.
@@ -18139,26 +18140,23 @@ module Aws::EC2
18139
18140
  req.send_request(options)
18140
18141
  end
18141
18142
 
18142
- # Gets the console output for the specified instance.
18143
+ # Gets the console output for the specified instance. For Linux
18144
+ # instances, the instance console output displays the exact console
18145
+ # output that would normally be displayed on a physical monitor attached
18146
+ # to a computer. For Windows instances, the instance console output
18147
+ # includes output from the EC2Config service.
18143
18148
  #
18144
- # Instances do not have a physical monitor through which you can view
18145
- # their console output. They also lack physical controls that allow you
18146
- # to power up, reboot, or shut them down. To allow these actions, we
18147
- # provide them through the Amazon EC2 API and command line interface.
18149
+ # GetConsoleOutput returns up to 64 KB of console output shortly after
18150
+ # it's generated by the instance.
18148
18151
  #
18149
- # Instance console output is buffered and posted shortly after instance
18150
- # boot, reboot, and termination. Amazon EC2 preserves the most recent 64
18151
- # KB output, which is available for at least one hour after the most
18152
- # recent post.
18152
+ # By default, the console output returns buffered information that was
18153
+ # posted shortly after an instance transition state (start, stop,
18154
+ # reboot, or terminate). This information is available for at least one
18155
+ # hour after the most recent post.
18153
18156
  #
18154
- # For Linux instances, the instance console output displays the exact
18155
- # console output that would normally be displayed on a physical monitor
18156
- # attached to a computer. This output is buffered because the instance
18157
- # produces it and then posts it to a store where the instance's owner
18158
- # can retrieve it.
18159
- #
18160
- # For Windows instances, the instance console output includes output
18161
- # from the EC2Config service.
18157
+ # You can optionally retrieve the latest serial console output at any
18158
+ # time during the instance lifecycle. This option is only supported on
18159
+ # C5, M5, and `i3.metal` instances.
18162
18160
  #
18163
18161
  # @option params [required, String] :instance_id
18164
18162
  # The ID of the instance.
@@ -18169,6 +18167,11 @@ module Aws::EC2
18169
18167
  # If you have the required permissions, the error response is
18170
18168
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18171
18169
  #
18170
+ # @option params [Boolean] :latest
18171
+ # When enabled, retrieves the latest console output for the instance.
18172
+ #
18173
+ # Default: disabled (`false`)
18174
+ #
18172
18175
  # @return [Types::GetConsoleOutputResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18173
18176
  #
18174
18177
  # * {Types::GetConsoleOutputResult#instance_id #instance_id} => String
@@ -18180,6 +18183,7 @@ module Aws::EC2
18180
18183
  # resp = client.get_console_output({
18181
18184
  # instance_id: "String", # required
18182
18185
  # dry_run: false,
18186
+ # latest: false,
18183
18187
  # })
18184
18188
  #
18185
18189
  # @example Response structure
@@ -24616,7 +24620,7 @@ module Aws::EC2
24616
24620
  params: params,
24617
24621
  config: config)
24618
24622
  context[:gem_name] = 'aws-sdk-ec2'
24619
- context[:gem_version] = '1.32.0'
24623
+ context[:gem_version] = '1.33.0'
24620
24624
  Seahorse::Client::Request.new(handlers, context)
24621
24625
  end
24622
24626
 
@@ -3411,6 +3411,7 @@ module Aws::EC2
3411
3411
 
3412
3412
  GetConsoleOutputRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceId"))
3413
3413
  GetConsoleOutputRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3414
+ GetConsoleOutputRequest.add_member(:latest, Shapes::ShapeRef.new(shape: Boolean, location_name: "Latest"))
3414
3415
  GetConsoleOutputRequest.struct_class = Types::GetConsoleOutputRequest
3415
3416
 
3416
3417
  GetConsoleOutputResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
@@ -561,6 +561,7 @@ module Aws::EC2
561
561
  #
562
562
  # instance.console_output({
563
563
  # dry_run: false,
564
+ # latest: false,
564
565
  # })
565
566
  # @param [Hash] options ({})
566
567
  # @option options [Boolean] :dry_run
@@ -568,6 +569,10 @@ module Aws::EC2
568
569
  # without actually making the request, and provides an error response.
569
570
  # If you have the required permissions, the error response is
570
571
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
572
+ # @option options [Boolean] :latest
573
+ # When enabled, retrieves the latest console output for the instance.
574
+ #
575
+ # Default: disabled (`false`)
571
576
  # @return [Types::GetConsoleOutputResult]
572
577
  def console_output(options = {})
573
578
  options = options.merge(instance_id: @id)
@@ -235,13 +235,13 @@ module Aws::EC2
235
235
  # TCP or UDP protocols: The range of ports the rule applies to.
236
236
  # @option options [required, String] :protocol
237
237
  # The protocol. A value of `-1` or `all` means all protocols. If you
238
- # specify `all`, `-1`, or a protocol number other than `tcp`, `udp`, or
239
- # `icmp`, traffic on all ports is allowed, regardless of any ports or
240
- # ICMP types or codes you specify. If you specify protocol `58` (ICMPv6)
241
- # and specify an IPv4 CIDR block, traffic for all ICMP types and codes
242
- # allowed, regardless of any that you specify. If you specify protocol
243
- # `58` (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP
244
- # type and code.
238
+ # specify `all`, `-1`, or a protocol number other than `6` (tcp), `17`
239
+ # (udp), or `1` (icmp), traffic on all ports is allowed, regardless of
240
+ # any ports or ICMP types or codes you specify. If you specify protocol
241
+ # `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP
242
+ # types and codes allowed, regardless of any that you specify. If you
243
+ # specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
244
+ # must specify an ICMP type and code.
245
245
  # @option options [required, String] :rule_action
246
246
  # Indicates whether to allow or deny the traffic that matches the rule.
247
247
  # @option options [required, Integer] :rule_number
@@ -3885,13 +3885,13 @@ module Aws::EC2
3885
3885
  #
3886
3886
  # @!attribute [rw] protocol
3887
3887
  # The protocol. A value of `-1` or `all` means all protocols. If you
3888
- # specify `all`, `-1`, or a protocol number other than `tcp`, `udp`,
3889
- # or `icmp`, traffic on all ports is allowed, regardless of any ports
3890
- # or ICMP types or codes you specify. If you specify protocol `58`
3891
- # (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types
3892
- # and codes allowed, regardless of any that you specify. If you
3893
- # specify protocol `58` (ICMPv6) and specify an IPv6 CIDR block, you
3894
- # must specify an ICMP type and code.
3888
+ # specify `all`, `-1`, or a protocol number other than `6` (tcp), `17`
3889
+ # (udp), or `1` (icmp), traffic on all ports is allowed, regardless of
3890
+ # any ports or ICMP types or codes you specify. If you specify
3891
+ # protocol `58` (ICMPv6) and specify an IPv4 CIDR block, traffic for
3892
+ # all ICMP types and codes allowed, regardless of any that you
3893
+ # specify. If you specify protocol `58` (ICMPv6) and specify an IPv6
3894
+ # CIDR block, you must specify an ICMP type and code.
3895
3895
  # @return [String]
3896
3896
  #
3897
3897
  # @!attribute [rw] rule_action
@@ -16026,6 +16026,7 @@ module Aws::EC2
16026
16026
  # {
16027
16027
  # instance_id: "String", # required
16028
16028
  # dry_run: false,
16029
+ # latest: false,
16029
16030
  # }
16030
16031
  #
16031
16032
  # @!attribute [rw] instance_id
@@ -16039,11 +16040,18 @@ module Aws::EC2
16039
16040
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
16040
16041
  # @return [Boolean]
16041
16042
  #
16043
+ # @!attribute [rw] latest
16044
+ # When enabled, retrieves the latest console output for the instance.
16045
+ #
16046
+ # Default: disabled (`false`)
16047
+ # @return [Boolean]
16048
+ #
16042
16049
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutputRequest AWS API Documentation
16043
16050
  #
16044
16051
  class GetConsoleOutputRequest < Struct.new(
16045
16052
  :instance_id,
16046
- :dry_run)
16053
+ :dry_run,
16054
+ :latest)
16047
16055
  include Aws::Structure
16048
16056
  end
16049
16057
 
@@ -16054,12 +16062,12 @@ module Aws::EC2
16054
16062
  # @return [String]
16055
16063
  #
16056
16064
  # @!attribute [rw] output
16057
- # The console output, Base64-encoded. If using a command line tool,
16058
- # the tool decodes the output for you.
16065
+ # The console output, base64-encoded. If you are using a command line
16066
+ # tool, the tool decodes the output for you.
16059
16067
  # @return [String]
16060
16068
  #
16061
16069
  # @!attribute [rw] timestamp
16062
- # The time the output was last updated.
16070
+ # The time at which the output was last updated.
16063
16071
  # @return [Time]
16064
16072
  #
16065
16073
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutputResult AWS API Documentation
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.32.0
4
+ version: 1.33.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: 2018-05-08 00:00:00.000000000 Z
11
+ date: 2018-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4