aws-sdk-ec2 1.98.0 → 1.99.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +17 -10
- data/lib/aws-sdk-ec2/client_api.rb +13 -1
- data/lib/aws-sdk-ec2/network_interface.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +0 -3
- data/lib/aws-sdk-ec2/snapshot.rb +6 -5
- data/lib/aws-sdk-ec2/subnet.rb +0 -3
- data/lib/aws-sdk-ec2/types.rb +34 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90ed0f070171df5327fa76caf784823393e2368e
|
4
|
+
data.tar.gz: 43556e0c5aaecf4ed636eaeb3258827c1413cf73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63cc080f3d45c5218381d2ddcc6cfcd9f6ae5dd08af2dec1429e57c58bb189e3a101678b854ea89cda5fc6d6342c4b888552af2d8fb34d82aa4820ce1b474a31
|
7
|
+
data.tar.gz: 406c110a2edbf1d32b22cb1d344316942b31ca2ec2a93ba0337140541ce7255013b0e02d4f82e0ca821537c08547f84abdae9d65e2e404307fe16802d09a32d3
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -881,7 +881,10 @@ module Aws::EC2
|
|
881
881
|
# interface. You can't specify this parameter when also specifying
|
882
882
|
# private IP addresses.
|
883
883
|
#
|
884
|
-
# @return [
|
884
|
+
# @return [Types::AssignPrivateIpAddressesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
885
|
+
#
|
886
|
+
# * {Types::AssignPrivateIpAddressesResult#network_interface_id #network_interface_id} => String
|
887
|
+
# * {Types::AssignPrivateIpAddressesResult#assigned_private_ip_addresses #assigned_private_ip_addresses} => Array<Types::AssignedPrivateIpAddress>
|
885
888
|
#
|
886
889
|
#
|
887
890
|
# @example Example: To assign a specific secondary private IP address to an interface
|
@@ -915,6 +918,12 @@ module Aws::EC2
|
|
915
918
|
# secondary_private_ip_address_count: 1,
|
916
919
|
# })
|
917
920
|
#
|
921
|
+
# @example Response structure
|
922
|
+
#
|
923
|
+
# resp.network_interface_id #=> String
|
924
|
+
# resp.assigned_private_ip_addresses #=> Array
|
925
|
+
# resp.assigned_private_ip_addresses[0].private_ip_address #=> String
|
926
|
+
#
|
918
927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddresses AWS API Documentation
|
919
928
|
#
|
920
929
|
# @overload assign_private_ip_addresses(params = {})
|
@@ -3047,11 +3056,12 @@ module Aws::EC2
|
|
3047
3056
|
# default Region in your AWS configuration file.
|
3048
3057
|
#
|
3049
3058
|
# @option params [Boolean] :encrypted
|
3050
|
-
#
|
3051
|
-
#
|
3052
|
-
#
|
3053
|
-
#
|
3054
|
-
#
|
3059
|
+
# To encrypt a copy of an unencrypted snapshot if encryption by default
|
3060
|
+
# is not enabled, enable encryption using this parameter. Otherwise,
|
3061
|
+
# omit this parameter. Encrypted snapshots are encrypted, even if you
|
3062
|
+
# omit this parameter and encryption by default is not enabled. You
|
3063
|
+
# cannot set this parameter to false. For more information, see [Amazon
|
3064
|
+
# EBS Encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
3055
3065
|
#
|
3056
3066
|
#
|
3057
3067
|
#
|
@@ -5710,9 +5720,6 @@ module Aws::EC2
|
|
5710
5720
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
5711
5721
|
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
5712
5722
|
#
|
5713
|
-
# If you are not creating an EFA, specify `interface` or omit this
|
5714
|
-
# parameter.
|
5715
|
-
#
|
5716
5723
|
#
|
5717
5724
|
#
|
5718
5725
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
@@ -31874,7 +31881,7 @@ module Aws::EC2
|
|
31874
31881
|
params: params,
|
31875
31882
|
config: config)
|
31876
31883
|
context[:gem_name] = 'aws-sdk-ec2'
|
31877
|
-
context[:gem_version] = '1.
|
31884
|
+
context[:gem_version] = '1.99.0'
|
31878
31885
|
Seahorse::Client::Request.new(handlers, context)
|
31879
31886
|
end
|
31880
31887
|
|
@@ -48,6 +48,9 @@ module Aws::EC2
|
|
48
48
|
AssignIpv6AddressesRequest = Shapes::StructureShape.new(name: 'AssignIpv6AddressesRequest')
|
49
49
|
AssignIpv6AddressesResult = Shapes::StructureShape.new(name: 'AssignIpv6AddressesResult')
|
50
50
|
AssignPrivateIpAddressesRequest = Shapes::StructureShape.new(name: 'AssignPrivateIpAddressesRequest')
|
51
|
+
AssignPrivateIpAddressesResult = Shapes::StructureShape.new(name: 'AssignPrivateIpAddressesResult')
|
52
|
+
AssignedPrivateIpAddress = Shapes::StructureShape.new(name: 'AssignedPrivateIpAddress')
|
53
|
+
AssignedPrivateIpAddressList = Shapes::ListShape.new(name: 'AssignedPrivateIpAddressList')
|
51
54
|
AssociateAddressRequest = Shapes::StructureShape.new(name: 'AssociateAddressRequest')
|
52
55
|
AssociateAddressResult = Shapes::StructureShape.new(name: 'AssociateAddressResult')
|
53
56
|
AssociateClientVpnTargetNetworkRequest = Shapes::StructureShape.new(name: 'AssociateClientVpnTargetNetworkRequest')
|
@@ -1687,6 +1690,15 @@ module Aws::EC2
|
|
1687
1690
|
AssignPrivateIpAddressesRequest.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
|
1688
1691
|
AssignPrivateIpAddressesRequest.struct_class = Types::AssignPrivateIpAddressesRequest
|
1689
1692
|
|
1693
|
+
AssignPrivateIpAddressesResult.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "networkInterfaceId"))
|
1694
|
+
AssignPrivateIpAddressesResult.add_member(:assigned_private_ip_addresses, Shapes::ShapeRef.new(shape: AssignedPrivateIpAddressList, location_name: "assignedPrivateIpAddressesSet"))
|
1695
|
+
AssignPrivateIpAddressesResult.struct_class = Types::AssignPrivateIpAddressesResult
|
1696
|
+
|
1697
|
+
AssignedPrivateIpAddress.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
|
1698
|
+
AssignedPrivateIpAddress.struct_class = Types::AssignedPrivateIpAddress
|
1699
|
+
|
1700
|
+
AssignedPrivateIpAddressList.member = Shapes::ShapeRef.new(shape: AssignedPrivateIpAddress, location_name: "item")
|
1701
|
+
|
1690
1702
|
AssociateAddressRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "AllocationId"))
|
1691
1703
|
AssociateAddressRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "InstanceId"))
|
1692
1704
|
AssociateAddressRequest.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "PublicIp"))
|
@@ -8063,7 +8075,7 @@ module Aws::EC2
|
|
8063
8075
|
o.http_method = "POST"
|
8064
8076
|
o.http_request_uri = "/"
|
8065
8077
|
o.input = Shapes::ShapeRef.new(shape: AssignPrivateIpAddressesRequest)
|
8066
|
-
o.output = Shapes::ShapeRef.new(shape:
|
8078
|
+
o.output = Shapes::ShapeRef.new(shape: AssignPrivateIpAddressesResult)
|
8067
8079
|
end)
|
8068
8080
|
|
8069
8081
|
api.add_operation(:associate_address, Seahorse::Model::Operation.new.tap do |o|
|
@@ -295,7 +295,7 @@ module Aws::EC2
|
|
295
295
|
# The number of secondary IP addresses to assign to the network
|
296
296
|
# interface. You can't specify this parameter when also specifying
|
297
297
|
# private IP addresses.
|
298
|
-
# @return [
|
298
|
+
# @return [Types::AssignPrivateIpAddressesResult]
|
299
299
|
def assign_private_ip_addresses(options = {})
|
300
300
|
options = options.merge(network_interface_id: @id)
|
301
301
|
resp = @client.assign_private_ip_addresses(options)
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -619,9 +619,6 @@ module Aws::EC2
|
|
619
619
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
620
620
|
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
621
621
|
#
|
622
|
-
# If you are not creating an EFA, specify `interface` or omit this
|
623
|
-
# parameter.
|
624
|
-
#
|
625
622
|
#
|
626
623
|
#
|
627
624
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -301,11 +301,12 @@ module Aws::EC2
|
|
301
301
|
# AWS CLI, this is specified using the `--region` parameter or the
|
302
302
|
# default Region in your AWS configuration file.
|
303
303
|
# @option options [Boolean] :encrypted
|
304
|
-
#
|
305
|
-
#
|
306
|
-
#
|
307
|
-
#
|
308
|
-
#
|
304
|
+
# To encrypt a copy of an unencrypted snapshot if encryption by default
|
305
|
+
# is not enabled, enable encryption using this parameter. Otherwise,
|
306
|
+
# omit this parameter. Encrypted snapshots are encrypted, even if you
|
307
|
+
# omit this parameter and encryption by default is not enabled. You
|
308
|
+
# cannot set this parameter to false. For more information, see [Amazon
|
309
|
+
# EBS Encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
309
310
|
#
|
310
311
|
#
|
311
312
|
#
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -738,9 +738,6 @@ module Aws::EC2
|
|
738
738
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
739
739
|
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
740
740
|
#
|
741
|
-
# If you are not creating an EFA, specify `interface` or omit this
|
742
|
-
# parameter.
|
743
|
-
#
|
744
741
|
#
|
745
742
|
#
|
746
743
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -696,6 +696,35 @@ module Aws::EC2
|
|
696
696
|
include Aws::Structure
|
697
697
|
end
|
698
698
|
|
699
|
+
# @!attribute [rw] network_interface_id
|
700
|
+
# The ID of the network interface.
|
701
|
+
# @return [String]
|
702
|
+
#
|
703
|
+
# @!attribute [rw] assigned_private_ip_addresses
|
704
|
+
# The private IP addresses assigned to the network interface.
|
705
|
+
# @return [Array<Types::AssignedPrivateIpAddress>]
|
706
|
+
#
|
707
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddressesResult AWS API Documentation
|
708
|
+
#
|
709
|
+
class AssignPrivateIpAddressesResult < Struct.new(
|
710
|
+
:network_interface_id,
|
711
|
+
:assigned_private_ip_addresses)
|
712
|
+
include Aws::Structure
|
713
|
+
end
|
714
|
+
|
715
|
+
# Describes the private IP addresses assigned to a network interface.
|
716
|
+
#
|
717
|
+
# @!attribute [rw] private_ip_address
|
718
|
+
# The private IP address assigned to the network interface.
|
719
|
+
# @return [String]
|
720
|
+
#
|
721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignedPrivateIpAddress AWS API Documentation
|
722
|
+
#
|
723
|
+
class AssignedPrivateIpAddress < Struct.new(
|
724
|
+
:private_ip_address)
|
725
|
+
include Aws::Structure
|
726
|
+
end
|
727
|
+
|
699
728
|
# @note When making an API call, you may pass AssociateAddressRequest
|
700
729
|
# data as a hash:
|
701
730
|
#
|
@@ -3788,9 +3817,11 @@ module Aws::EC2
|
|
3788
3817
|
# @return [String]
|
3789
3818
|
#
|
3790
3819
|
# @!attribute [rw] encrypted
|
3791
|
-
#
|
3792
|
-
#
|
3793
|
-
#
|
3820
|
+
# To encrypt a copy of an unencrypted snapshot if encryption by
|
3821
|
+
# default is not enabled, enable encryption using this parameter.
|
3822
|
+
# Otherwise, omit this parameter. Encrypted snapshots are encrypted,
|
3823
|
+
# even if you omit this parameter and encryption by default is not
|
3824
|
+
# enabled. You cannot set this parameter to false. For more
|
3794
3825
|
# information, see [Amazon EBS Encryption][1] in the *Amazon Elastic
|
3795
3826
|
# Compute Cloud User Guide*.
|
3796
3827
|
#
|
@@ -6019,9 +6050,6 @@ module Aws::EC2
|
|
6019
6050
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
6020
6051
|
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
6021
6052
|
#
|
6022
|
-
# If you are not creating an EFA, specify `interface` or omit this
|
6023
|
-
# parameter.
|
6024
|
-
#
|
6025
6053
|
#
|
6026
6054
|
#
|
6027
6055
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
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.99.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: 2019-07-
|
11
|
+
date: 2019-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|