aws-sdk-ec2 1.161.0 → 1.162.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +21 -5
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +1 -1
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +32 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c793bb04a97cba6ce5a59f3888c012289c90b1f398f7b69bc034275e832fcca0
|
4
|
+
data.tar.gz: 0376d6af067f4433dd329182d5ed089374ac4d0230e0a9ee12bc0dca01500365
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d091bafb4e7971706a6c22edca54dbd367a2e956f498a25b2814658251b698249dea365904383d9d43c11044e49deaf1a1bf55e76f2e55933b4a834da49885ae
|
7
|
+
data.tar.gz: c37a20ff3567feaa4e276b2cc585118577d3452b1b80a1723c6b3017b918bc61e3bacbfcd4d58a1a877cccde3992137149afe5621933db364f71e9ba4e4d7b8d
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -7519,10 +7519,11 @@ module Aws::EC2
|
|
7519
7519
|
req.send_request(options)
|
7520
7520
|
end
|
7521
7521
|
|
7522
|
-
# Adds or overwrites the specified tags for the specified Amazon
|
7523
|
-
# resource or resources.
|
7524
|
-
#
|
7525
|
-
#
|
7522
|
+
# Adds or overwrites only the specified tags for the specified Amazon
|
7523
|
+
# EC2 resource or resources. When you specify an existing tag key, the
|
7524
|
+
# value is overwritten with the new value. Each resource can have a
|
7525
|
+
# maximum of 50 tags. Each tag consists of a key and optional value. Tag
|
7526
|
+
# keys must be unique per resource.
|
7526
7527
|
#
|
7527
7528
|
# For more information about tags, see [Tagging Your Resources][1] in
|
7528
7529
|
# the *Amazon Elastic Compute Cloud User Guide*. For more information
|
@@ -19256,6 +19257,7 @@ module Aws::EC2
|
|
19256
19257
|
# resp.public_ipv_4_pools[0].pool_address_ranges[0].available_address_count #=> Integer
|
19257
19258
|
# resp.public_ipv_4_pools[0].total_address_count #=> Integer
|
19258
19259
|
# resp.public_ipv_4_pools[0].total_available_address_count #=> Integer
|
19260
|
+
# resp.public_ipv_4_pools[0].network_border_group #=> String
|
19259
19261
|
# resp.public_ipv_4_pools[0].tags #=> Array
|
19260
19262
|
# resp.public_ipv_4_pools[0].tags[0].key #=> String
|
19261
19263
|
# resp.public_ipv_4_pools[0].tags[0].value #=> String
|
@@ -32007,6 +32009,9 @@ module Aws::EC2
|
|
32007
32009
|
# If you have the required permissions, the error response is
|
32008
32010
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
32009
32011
|
#
|
32012
|
+
# @option params [Array<Types::TagSpecification>] :pool_tag_specifications
|
32013
|
+
# The tags to apply to the address pool.
|
32014
|
+
#
|
32010
32015
|
# @return [Types::ProvisionByoipCidrResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
32011
32016
|
#
|
32012
32017
|
# * {Types::ProvisionByoipCidrResult#byoip_cidr #byoip_cidr} => Types::ByoipCidr
|
@@ -32022,6 +32027,17 @@ module Aws::EC2
|
|
32022
32027
|
# publicly_advertisable: false,
|
32023
32028
|
# description: "String",
|
32024
32029
|
# dry_run: false,
|
32030
|
+
# pool_tag_specifications: [
|
32031
|
+
# {
|
32032
|
+
# 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
|
32033
|
+
# tags: [
|
32034
|
+
# {
|
32035
|
+
# key: "String",
|
32036
|
+
# value: "String",
|
32037
|
+
# },
|
32038
|
+
# ],
|
32039
|
+
# },
|
32040
|
+
# ],
|
32025
32041
|
# })
|
32026
32042
|
#
|
32027
32043
|
# @example Response structure
|
@@ -36961,7 +36977,7 @@ module Aws::EC2
|
|
36961
36977
|
params: params,
|
36962
36978
|
config: config)
|
36963
36979
|
context[:gem_name] = 'aws-sdk-ec2'
|
36964
|
-
context[:gem_version] = '1.
|
36980
|
+
context[:gem_version] = '1.162.0'
|
36965
36981
|
Seahorse::Client::Request.new(handlers, context)
|
36966
36982
|
end
|
36967
36983
|
|
@@ -7761,6 +7761,7 @@ module Aws::EC2
|
|
7761
7761
|
ProvisionByoipCidrRequest.add_member(:publicly_advertisable, Shapes::ShapeRef.new(shape: Boolean, location_name: "PubliclyAdvertisable"))
|
7762
7762
|
ProvisionByoipCidrRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
7763
7763
|
ProvisionByoipCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7764
|
+
ProvisionByoipCidrRequest.add_member(:pool_tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "PoolTagSpecification"))
|
7764
7765
|
ProvisionByoipCidrRequest.struct_class = Types::ProvisionByoipCidrRequest
|
7765
7766
|
|
7766
7767
|
ProvisionByoipCidrResult.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "byoipCidr"))
|
@@ -7780,6 +7781,7 @@ module Aws::EC2
|
|
7780
7781
|
PublicIpv4Pool.add_member(:pool_address_ranges, Shapes::ShapeRef.new(shape: PublicIpv4PoolRangeSet, location_name: "poolAddressRangeSet"))
|
7781
7782
|
PublicIpv4Pool.add_member(:total_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "totalAddressCount"))
|
7782
7783
|
PublicIpv4Pool.add_member(:total_available_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "totalAvailableAddressCount"))
|
7784
|
+
PublicIpv4Pool.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "networkBorderGroup"))
|
7783
7785
|
PublicIpv4Pool.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
7784
7786
|
PublicIpv4Pool.struct_class = Types::PublicIpv4Pool
|
7785
7787
|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -768,7 +768,7 @@ module Aws::EC2
|
|
768
768
|
# The tags to apply to the new placement group.
|
769
769
|
# @return [PlacementGroup]
|
770
770
|
def create_placement_group(options = {})
|
771
|
-
|
771
|
+
@client.create_placement_group(options)
|
772
772
|
PlacementGroup.new(
|
773
773
|
name: options[:group_name],
|
774
774
|
client: @client
|
@@ -267,7 +267,7 @@ module Aws::EC2
|
|
267
267
|
# @return [Route]
|
268
268
|
def create_route(options = {})
|
269
269
|
options = options.merge(route_table_id: @id)
|
270
|
-
|
270
|
+
@client.create_route(options)
|
271
271
|
Route.new(
|
272
272
|
route_table_id: @id,
|
273
273
|
destination_cidr_block: options[:destination_cidr_block],
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -36557,6 +36557,17 @@ module Aws::EC2
|
|
36557
36557
|
# publicly_advertisable: false,
|
36558
36558
|
# description: "String",
|
36559
36559
|
# dry_run: false,
|
36560
|
+
# pool_tag_specifications: [
|
36561
|
+
# {
|
36562
|
+
# 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
|
36563
|
+
# tags: [
|
36564
|
+
# {
|
36565
|
+
# key: "String",
|
36566
|
+
# value: "String",
|
36567
|
+
# },
|
36568
|
+
# ],
|
36569
|
+
# },
|
36570
|
+
# ],
|
36560
36571
|
# }
|
36561
36572
|
#
|
36562
36573
|
# @!attribute [rw] cidr
|
@@ -36590,6 +36601,10 @@ module Aws::EC2
|
|
36590
36601
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36591
36602
|
# @return [Boolean]
|
36592
36603
|
#
|
36604
|
+
# @!attribute [rw] pool_tag_specifications
|
36605
|
+
# The tags to apply to the address pool.
|
36606
|
+
# @return [Array<Types::TagSpecification>]
|
36607
|
+
#
|
36593
36608
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionByoipCidrRequest AWS API Documentation
|
36594
36609
|
#
|
36595
36610
|
class ProvisionByoipCidrRequest < Struct.new(
|
@@ -36597,7 +36612,8 @@ module Aws::EC2
|
|
36597
36612
|
:cidr_authorization_context,
|
36598
36613
|
:publicly_advertisable,
|
36599
36614
|
:description,
|
36600
|
-
:dry_run
|
36615
|
+
:dry_run,
|
36616
|
+
:pool_tag_specifications)
|
36601
36617
|
include Aws::Structure
|
36602
36618
|
end
|
36603
36619
|
|
@@ -36703,6 +36719,12 @@ module Aws::EC2
|
|
36703
36719
|
# The total number of available addresses.
|
36704
36720
|
# @return [Integer]
|
36705
36721
|
#
|
36722
|
+
# @!attribute [rw] network_border_group
|
36723
|
+
# The name of the location from which the address pool is advertised.
|
36724
|
+
# A network border group is a unique set of Availability Zones or
|
36725
|
+
# Local Zones from where AWS advertises public IP addresses.
|
36726
|
+
# @return [String]
|
36727
|
+
#
|
36706
36728
|
# @!attribute [rw] tags
|
36707
36729
|
# Any tags for the address pool.
|
36708
36730
|
# @return [Array<Types::Tag>]
|
@@ -36715,6 +36737,7 @@ module Aws::EC2
|
|
36715
36737
|
:pool_address_ranges,
|
36716
36738
|
:total_address_count,
|
36717
36739
|
:total_available_address_count,
|
36740
|
+
:network_border_group,
|
36718
36741
|
:tags)
|
36719
36742
|
include Aws::Structure
|
36720
36743
|
end
|
@@ -44819,14 +44842,14 @@ module Aws::EC2
|
|
44819
44842
|
# The type of resource to tag. Currently, the resource types that
|
44820
44843
|
# support tagging on creation are: `capacity-reservation` \|
|
44821
44844
|
# `client-vpn-endpoint` \| `dedicated-host` \| `fleet` \| `fpga-image`
|
44822
|
-
# \| `instance` \| `
|
44823
|
-
#
|
44824
|
-
# `
|
44825
|
-
# `traffic-mirror-
|
44826
|
-
# `transit-gateway
|
44827
|
-
# `vpc-endpoint` (for interface VPC
|
44828
|
-
# `vpc-endpoint-service` (for gateway VPC endpoints) \|
|
44829
|
-
# `vpc-flow-log`.
|
44845
|
+
# \| `instance` \| `ipv4pool-ec2` \| `ipv6pool-ec2` \| `key-pair` \|
|
44846
|
+
# `launch-template` \| `natgateway` \| `spot-fleet-request` \|
|
44847
|
+
# `placement-group` \| `snapshot` \| `traffic-mirror-filter` \|
|
44848
|
+
# `traffic-mirror-session` \| `traffic-mirror-target` \|
|
44849
|
+
# `transit-gateway` \| `transit-gateway-attachment` \|
|
44850
|
+
# `transit-gateway-route-table` \| `vpc-endpoint` (for interface VPC
|
44851
|
+
# endpoints)\| `vpc-endpoint-service` (for gateway VPC endpoints) \|
|
44852
|
+
# `volume` \| `vpc-flow-log`.
|
44830
44853
|
#
|
44831
44854
|
# To tag a resource after it has been created, see [CreateTags][1].
|
44832
44855
|
#
|
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.
|
4
|
+
version: 1.162.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-05-
|
11
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|