aws-sdk-ec2 1.222.0 → 1.227.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -293,6 +293,7 @@ module Aws::EC2
293
293
  #
294
294
  # snapshot = volume.create_snapshot({
295
295
  # description: "String",
296
+ # outpost_arn: "String",
296
297
  # tag_specifications: [
297
298
  # {
298
299
  # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, 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, network-insights-analysis, network-insights-path, 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-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
@@ -309,6 +310,27 @@ module Aws::EC2
309
310
  # @param [Hash] options ({})
310
311
  # @option options [String] :description
311
312
  # A description for the snapshot.
313
+ # @option options [String] :outpost_arn
314
+ # The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
315
+ # local snapshot.
316
+ #
317
+ # * To create a snapshot of a volume in a Region, omit this parameter.
318
+ # The snapshot is created in the same Region as the volume.
319
+ #
320
+ # * To create a snapshot of a volume on an Outpost and store the
321
+ # snapshot in the Region, omit this parameter. The snapshot is created
322
+ # in the Region for the Outpost.
323
+ #
324
+ # * To create a snapshot of a volume on an Outpost and store the
325
+ # snapshot on an Outpost, specify the ARN of the destination Outpost.
326
+ # The snapshot must be created on the same Outpost as the volume.
327
+ #
328
+ # For more information, see [ Creating local snapshots from volumes on
329
+ # an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
330
+ #
331
+ #
332
+ #
333
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
312
334
  # @option options [Array<Types::TagSpecification>] :tag_specifications
313
335
  # The tags to apply to the snapshot during creation.
314
336
  # @option options [Boolean] :dry_run
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -480,10 +480,10 @@ module Aws::EC2
480
480
  # ],
481
481
  # availability_zone: "String",
482
482
  # availability_zone_id: "String",
483
- # cidr_block: "String", # required
484
483
  # ipv_6_cidr_block: "String",
485
484
  # outpost_arn: "String",
486
485
  # dry_run: false,
486
+ # cidr_block: "String", # required
487
487
  # })
488
488
  # @param [Hash] options ({})
489
489
  # @option options [Array<Types::TagSpecification>] :tag_specifications
@@ -508,11 +508,6 @@ module Aws::EC2
508
508
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
509
509
  # @option options [String] :availability_zone_id
510
510
  # The AZ ID or the Local Zone ID of the subnet.
511
- # @option options [required, String] :cidr_block
512
- # The IPv4 network range for the subnet, in CIDR notation. For example,
513
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
514
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
515
- # `100.68.0.0/18`.
516
511
  # @option options [String] :ipv_6_cidr_block
517
512
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
518
513
  # size must use a /64 prefix length.
@@ -525,6 +520,11 @@ module Aws::EC2
525
520
  # without actually making the request, and provides an error response.
526
521
  # If you have the required permissions, the error response is
527
522
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
523
+ # @option options [required, String] :cidr_block
524
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
525
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
526
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
527
+ # `100.68.0.0/18`.
528
528
  # @return [Subnet]
529
529
  def create_subnet(options = {})
530
530
  options = options.merge(vpc_id: @id)
@@ -1495,9 +1495,8 @@ module Aws::EC2
1495
1495
  # * `private-dns-name` - The private DNS name of the network interface
1496
1496
  # (IPv4).
1497
1497
  #
1498
- # * `requester-id` - The ID of the entity that launched the instance on
1499
- # your behalf (for example, AWS Management Console, Auto Scaling, and
1500
- # so on).
1498
+ # * `requester-id` - The alias or AWS account ID of the principal or
1499
+ # service that created the network interface.
1501
1500
  #
1502
1501
  # * `requester-managed` - Indicates whether the network interface is
1503
1502
  # being managed by an AWS service (for example, AWS Management
@@ -1789,7 +1788,7 @@ module Aws::EC2
1789
1788
  # has been referenced in an outbound security group rule.
1790
1789
  #
1791
1790
  # * `egress.ip-permission.group-name` - The name of a security group
1792
- # that has been referenced in an outbound security group rule.
1791
+ # that is referenced in an outbound security group rule.
1793
1792
  #
1794
1793
  # * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
1795
1794
  # outbound security group rule.
@@ -1798,7 +1797,8 @@ module Aws::EC2
1798
1797
  # which a security group rule allows outbound access.
1799
1798
  #
1800
1799
  # * `egress.ip-permission.protocol` - The IP protocol for an outbound
1801
- # security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
1800
+ # security group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or
1801
+ # -1 for all protocols).
1802
1802
  #
1803
1803
  # * `egress.ip-permission.to-port` - For an outbound rule, the end of
1804
1804
  # port range for the TCP and UDP protocols, or an ICMP code.
@@ -1819,8 +1819,8 @@ module Aws::EC2
1819
1819
  # * `ip-permission.group-id` - The ID of a security group that has been
1820
1820
  # referenced in an inbound security group rule.
1821
1821
  #
1822
- # * `ip-permission.group-name` - The name of a security group that has
1823
- # been referenced in an inbound security group rule.
1822
+ # * `ip-permission.group-name` - The name of a security group that is
1823
+ # referenced in an inbound security group rule.
1824
1824
  #
1825
1825
  # * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
1826
1826
  # security group rule.
@@ -1829,7 +1829,8 @@ module Aws::EC2
1829
1829
  # a security group rule allows inbound access.
1830
1830
  #
1831
1831
  # * `ip-permission.protocol` - The IP protocol for an inbound security
1832
- # group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
1832
+ # group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
1833
+ # all protocols).
1833
1834
  #
1834
1835
  # * `ip-permission.to-port` - For an inbound rule, the end of port range
1835
1836
  # for the TCP and UDP protocols, or an ICMP code.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -263,13 +263,13 @@ module Aws::EC2
263
263
  # })
264
264
  # @param [Hash] options ({})
265
265
  # @option options [String] :instance_id
266
- # The ID of the instance. This is required for EC2-Classic. For EC2-VPC,
267
- # you can specify either the instance ID or the network interface ID,
268
- # but not both. The operation fails if you specify an instance ID unless
269
- # exactly one network interface is attached.
266
+ # The ID of the instance. The instance must have exactly one attached
267
+ # network interface. For EC2-VPC, you can specify either the instance ID
268
+ # or the network interface ID, but not both. For EC2-Classic, you must
269
+ # specify an instance ID and the instance must be in the running state.
270
270
  # @option options [String] :public_ip
271
- # The Elastic IP address to associate with the instance. This is
272
- # required for EC2-Classic.
271
+ # \[EC2-Classic\] The Elastic IP address to associate with the instance.
272
+ # This is required for EC2-Classic.
273
273
  # @option options [Boolean] :allow_reassociation
274
274
  # \[EC2-VPC\] For a VPC in an EC2-Classic account, specify true to allow
275
275
  # an Elastic IP address that is already associated with an instance or
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
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.222.0
4
+ version: 1.227.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Amazon Elastic Compute Cloud (Amazon EC2).
48
48
  This gem is part of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-ec2.rb
56
59
  - lib/aws-sdk-ec2/classic_address.rb
57
60
  - lib/aws-sdk-ec2/client.rb