aws-sdk-ec2 1.10.0 → 1.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28f065a9c2348491bf5d372a9050dbfdf34a3fc0
4
- data.tar.gz: 0d05024577b75af9b7403d09eeee23e387af953d
3
+ metadata.gz: 91ed02fcd289b4b344767d7564d54976c936ba25
4
+ data.tar.gz: e3a21bde6e0309391d84c99346d5919ab28cc36a
5
5
  SHA512:
6
- metadata.gz: 0652cf3daaec3536b641c2ce47318f6bca47baaf6b6347860355b537125601cbc81a267f0202f3508cb4791ff6dda47a44d2b0dfa2470ebfdbd96c5a5a1c1f93
7
- data.tar.gz: db9c620bd8fbf8ad76a1eaf61e302a013e51c05d039df3873b009f0e6027ac4a723968ed82b6941f26645b0461052111c7efff69c7c8fe56ff60c58f0498903f
6
+ metadata.gz: a482f7f6fe6beca0dcdb3f0f4112e9aa6d50568e63fac3f3e5f5e20f05c613eacbf51fd2c3d0afee1803763b083d82bf5dcbddc1bd21c35a700fdd903d38a1b6
7
+ data.tar.gz: b0c68d1a01ceda868f7dd58e443f70ea845618f7cb65212666a4b29a30f698ca34663612d1ddf71122bac1843e7356dc6b3413713b03a46f15436eceaa117353
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.10.0'
68
+ GEM_VERSION = '1.11.0'
69
69
 
70
70
  end
@@ -1241,8 +1241,8 @@ module Aws::EC2
1241
1241
  # Attaches a virtual private gateway to a VPC. You can attach one
1242
1242
  # virtual private gateway to one VPC at a time.
1243
1243
  #
1244
- # For more information, see [Adding a Hardware Virtual Private Gateway
1245
- # to Your VPC][1] in the *Amazon Virtual Private Cloud User Guide*.
1244
+ # For more information, see [AWS Managed VPN Connections][1] in the
1245
+ # *Amazon Virtual Private Cloud User Guide*.
1246
1246
  #
1247
1247
  #
1248
1248
  #
@@ -1320,36 +1320,30 @@ module Aws::EC2
1320
1320
  # The ID of the security group.
1321
1321
  #
1322
1322
  # @option params [Array<Types::IpPermission>] :ip_permissions
1323
- # A set of IP permissions. You can't specify a destination security
1324
- # group and a CIDR IP address range.
1323
+ # One or more sets of IP permissions. You can't specify a destination
1324
+ # security group and a CIDR IP address range in the same set of
1325
+ # permissions.
1325
1326
  #
1326
1327
  # @option params [String] :cidr_ip
1327
- # The CIDR IPv4 address range. We recommend that you specify the CIDR
1328
- # range in a set of IP permissions instead.
1328
+ # Not supported. Use a set of IP permissions to specify the CIDR.
1329
1329
  #
1330
1330
  # @option params [Integer] :from_port
1331
- # The start of port range for the TCP and UDP protocols, or an ICMP type
1332
- # number. We recommend that you specify the port range in a set of IP
1333
- # permissions instead.
1331
+ # Not supported. Use a set of IP permissions to specify the port.
1334
1332
  #
1335
1333
  # @option params [String] :ip_protocol
1336
- # The IP protocol name or number. We recommend that you specify the
1337
- # protocol in a set of IP permissions instead.
1334
+ # Not supported. Use a set of IP permissions to specify the protocol
1335
+ # name or number.
1338
1336
  #
1339
1337
  # @option params [Integer] :to_port
1340
- # The end of port range for the TCP and UDP protocols, or an ICMP type
1341
- # number. We recommend that you specify the port range in a set of IP
1342
- # permissions instead.
1338
+ # Not supported. Use a set of IP permissions to specify the port.
1343
1339
  #
1344
1340
  # @option params [String] :source_security_group_name
1345
- # The name of a destination security group. To authorize outbound access
1346
- # to a destination security group, we recommend that you use a set of IP
1347
- # permissions instead.
1341
+ # Not supported. Use a set of IP permissions to specify a destination
1342
+ # security group.
1348
1343
  #
1349
1344
  # @option params [String] :source_security_group_owner_id
1350
- # The AWS account number for a destination security group. To authorize
1351
- # outbound access to a destination security group, we recommend that you
1352
- # use a set of IP permissions instead.
1345
+ # Not supported. Use a set of IP permissions to specify a destination
1346
+ # security group.
1353
1347
  #
1354
1348
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1355
1349
  #
@@ -1457,8 +1451,8 @@ module Aws::EC2
1457
1451
  # request.
1458
1452
  #
1459
1453
  # @option params [Array<Types::IpPermission>] :ip_permissions
1460
- # A set of IP permissions. Can be used to specify multiple rules in a
1461
- # single command.
1454
+ # One or more sets of IP permissions. Can be used to specify multiple
1455
+ # rules in a single command.
1462
1456
  #
1463
1457
  # @option params [String] :ip_protocol
1464
1458
  # The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
@@ -1483,8 +1477,8 @@ module Aws::EC2
1483
1477
  # EC2-VPC, the source security group must be in the same VPC.
1484
1478
  #
1485
1479
  # @option params [String] :source_security_group_owner_id
1486
- # \[EC2-Classic\] The AWS account number for the source security group,
1487
- # if the source security group is in a different account. You can't
1480
+ # \[EC2-Classic\] The AWS account ID for the source security group, if
1481
+ # the source security group is in a different account. You can't
1488
1482
  # specify this parameter in combination with the following parameters:
1489
1483
  # the CIDR IP address range, the IP protocol, the start of the port
1490
1484
  # range, and the end of the port range. Creates rules that grant full
@@ -2439,9 +2433,8 @@ module Aws::EC2
2439
2433
  #
2440
2434
  # </note>
2441
2435
  #
2442
- # For more information about VPN customer gateways, see [Adding a
2443
- # Hardware Virtual Private Gateway to Your VPC][1] in the *Amazon
2444
- # Virtual Private Cloud User Guide*.
2436
+ # For more information about VPN customer gateways, see [AWS Managed VPN
2437
+ # Connections][1] in the *Amazon Virtual Private Cloud User Guide*.
2445
2438
  #
2446
2439
  # You cannot create more than one customer gateway with the same VPN
2447
2440
  # type, IP address, and BGP ASN parameter values. If you run an
@@ -5247,9 +5240,8 @@ module Aws::EC2
5247
5240
  # static route allows traffic to be routed from the virtual private
5248
5241
  # gateway to the VPN customer gateway.
5249
5242
  #
5250
- # For more information about VPN connections, see [Adding a Hardware
5251
- # Virtual Private Gateway to Your VPC][1] in the *Amazon Virtual Private
5252
- # Cloud User Guide*.
5243
+ # For more information about VPN connections, see [AWS Managed VPN
5244
+ # Connections][1] in the *Amazon Virtual Private Cloud User Guide*.
5253
5245
  #
5254
5246
  #
5255
5247
  #
@@ -5284,9 +5276,8 @@ module Aws::EC2
5284
5276
  # endpoint on the VPC side of your VPN connection. You can create a
5285
5277
  # virtual private gateway before creating the VPC itself.
5286
5278
  #
5287
- # For more information about virtual private gateways, see [Adding a
5288
- # Hardware Virtual Private Gateway to Your VPC][1] in the *Amazon
5289
- # Virtual Private Cloud User Guide*.
5279
+ # For more information about virtual private gateways, see [AWS Managed
5280
+ # VPN Connections][1] in the *Amazon Virtual Private Cloud User Guide*.
5290
5281
  #
5291
5282
  #
5292
5283
  #
@@ -5298,6 +5289,14 @@ module Aws::EC2
5298
5289
  # @option params [required, String] :type
5299
5290
  # The type of VPN connection this virtual private gateway supports.
5300
5291
  #
5292
+ # @option params [Integer] :amazon_side_asn
5293
+ # A private Autonomous System Number (ASN) for the Amazon side of a BGP
5294
+ # session. If you're using a 16-bit ASN, it must be in the 64512 to
5295
+ # 65534 range. If you're using a 32-bit ASN, it must be in the
5296
+ # 4200000000 to 4294967294 range.
5297
+ #
5298
+ # Default: 64512
5299
+ #
5301
5300
  # @option params [Boolean] :dry_run
5302
5301
  # Checks whether you have the required permissions for the action,
5303
5302
  # without actually making the request, and provides an error response.
@@ -5313,6 +5312,7 @@ module Aws::EC2
5313
5312
  # resp = client.create_vpn_gateway({
5314
5313
  # availability_zone: "String",
5315
5314
  # type: "ipsec.1", # required, accepts ipsec.1
5315
+ # amazon_side_asn: 1,
5316
5316
  # dry_run: false,
5317
5317
  # })
5318
5318
  #
@@ -5325,6 +5325,7 @@ module Aws::EC2
5325
5325
  # resp.vpn_gateway.vpc_attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached"
5326
5326
  # resp.vpn_gateway.vpc_attachments[0].vpc_id #=> String
5327
5327
  # resp.vpn_gateway.vpn_gateway_id #=> String
5328
+ # resp.vpn_gateway.amazon_side_asn #=> Integer
5328
5329
  # resp.vpn_gateway.tags #=> Array
5329
5330
  # resp.vpn_gateway.tags[0].key #=> String
5330
5331
  # resp.vpn_gateway.tags[0].value #=> String
@@ -7208,9 +7209,8 @@ module Aws::EC2
7208
7209
 
7209
7210
  # Describes one or more of your VPN customer gateways.
7210
7211
  #
7211
- # For more information about VPN customer gateways, see [Adding a
7212
- # Hardware Virtual Private Gateway to Your VPC][1] in the *Amazon
7213
- # Virtual Private Cloud User Guide*.
7212
+ # For more information about VPN customer gateways, see [AWS Managed VPN
7213
+ # Connections][1] in the *Amazon Virtual Private Cloud User Guide*.
7214
7214
  #
7215
7215
  #
7216
7216
  #
@@ -14776,9 +14776,8 @@ module Aws::EC2
14776
14776
 
14777
14777
  # Describes one or more of your VPN connections.
14778
14778
  #
14779
- # For more information about VPN connections, see [Adding a Hardware
14780
- # Virtual Private Gateway to Your VPC][1] in the *Amazon Virtual Private
14781
- # Cloud User Guide*.
14779
+ # For more information about VPN connections, see [AWS Managed VPN
14780
+ # Connections][1] in the *Amazon Virtual Private Cloud User Guide*.
14782
14781
  #
14783
14782
  #
14784
14783
  #
@@ -14895,9 +14894,8 @@ module Aws::EC2
14895
14894
 
14896
14895
  # Describes one or more of your virtual private gateways.
14897
14896
  #
14898
- # For more information about virtual private gateways, see [Adding an
14899
- # IPsec Hardware VPN to Your VPC][1] in the *Amazon Virtual Private
14900
- # Cloud User Guide*.
14897
+ # For more information about virtual private gateways, see [AWS Managed
14898
+ # VPN Connections][1] in the *Amazon Virtual Private Cloud User Guide*.
14901
14899
  #
14902
14900
  #
14903
14901
  #
@@ -14906,6 +14904,9 @@ module Aws::EC2
14906
14904
  # @option params [Array<Types::Filter>] :filters
14907
14905
  # One or more filters.
14908
14906
  #
14907
+ # * `amazon-side-asn` - The Autonomous System Number (ASN) for the
14908
+ # Amazon side of the gateway.
14909
+ #
14909
14910
  # * `attachment.state` - The current state of the attachment between the
14910
14911
  # gateway and the VPC (`attaching` \| `attached` \| `detaching` \|
14911
14912
  # `detached`).
@@ -14978,6 +14979,7 @@ module Aws::EC2
14978
14979
  # resp.vpn_gateways[0].vpc_attachments[0].state #=> String, one of "attaching", "attached", "detaching", "detached"
14979
14980
  # resp.vpn_gateways[0].vpc_attachments[0].vpc_id #=> String
14980
14981
  # resp.vpn_gateways[0].vpn_gateway_id #=> String
14982
+ # resp.vpn_gateways[0].amazon_side_asn #=> Integer
14981
14983
  # resp.vpn_gateways[0].tags #=> Array
14982
14984
  # resp.vpn_gateways[0].tags[0].key #=> String
14983
14985
  # resp.vpn_gateways[0].tags[0].value #=> String
@@ -16780,51 +16782,50 @@ module Aws::EC2
16780
16782
  end
16781
16783
 
16782
16784
  # Modifies the specified attribute of the specified AMI. You can specify
16783
- # only one attribute at a time.
16785
+ # only one attribute at a time. You can use the `Attribute` parameter to
16786
+ # specify the attribute or one of the following parameters:
16787
+ # `Description`, `LaunchPermission`, or `ProductCode`.
16784
16788
  #
16785
- # <note markdown="1"> AWS Marketplace product codes cannot be modified. Images with an AWS
16789
+ # AWS Marketplace product codes cannot be modified. Images with an AWS
16786
16790
  # Marketplace product code cannot be made public.
16787
16791
  #
16788
- # </note>
16789
- #
16790
- # <note markdown="1"> The SriovNetSupport enhanced networking attribute cannot be changed
16791
- # using this command. Instead, enable SriovNetSupport on an instance and
16792
- # create an AMI from the instance. This will result in an image with
16793
- # SriovNetSupport enabled.
16794
- #
16795
- # </note>
16792
+ # To enable the SriovNetSupport enhanced networking attribute of an
16793
+ # image, enable SriovNetSupport on an instance and create an AMI from
16794
+ # the instance.
16796
16795
  #
16797
16796
  # @option params [String] :attribute
16798
- # The name of the attribute to modify.
16797
+ # The name of the attribute to modify. The valid values are
16798
+ # `description`, `launchPermission`, and `productCodes`.
16799
16799
  #
16800
16800
  # @option params [Types::AttributeValue] :description
16801
- # A description for the AMI.
16801
+ # A new description for the AMI.
16802
16802
  #
16803
16803
  # @option params [required, String] :image_id
16804
16804
  # The ID of the AMI.
16805
16805
  #
16806
16806
  # @option params [Types::LaunchPermissionModifications] :launch_permission
16807
- # A launch permission modification.
16807
+ # A new launch permission for the AMI.
16808
16808
  #
16809
16809
  # @option params [String] :operation_type
16810
- # The operation type.
16810
+ # The operation type. This parameter can be used only when the
16811
+ # `Attribute` parameter is `launchPermission`.
16811
16812
  #
16812
16813
  # @option params [Array<String>] :product_codes
16813
- # One or more product codes. After you add a product code to an AMI, it
16814
- # can't be removed. This is only valid when modifying the
16815
- # `productCodes` attribute.
16814
+ # One or more DevPay product codes. After you add a product code to an
16815
+ # AMI, it can't be removed.
16816
16816
  #
16817
16817
  # @option params [Array<String>] :user_groups
16818
- # One or more user groups. This is only valid when modifying the
16819
- # `launchPermission` attribute.
16818
+ # One or more user groups. This parameter can be used only when the
16819
+ # `Attribute` parameter is `launchPermission`.
16820
16820
  #
16821
16821
  # @option params [Array<String>] :user_ids
16822
- # One or more AWS account IDs. This is only valid when modifying the
16823
- # `launchPermission` attribute.
16822
+ # One or more AWS account IDs. This parameter can be used only when the
16823
+ # `Attribute` parameter is `launchPermission`.
16824
16824
  #
16825
16825
  # @option params [String] :value
16826
- # The value of the attribute being modified. This is only valid when
16827
- # modifying the `description` attribute.
16826
+ # The value of the attribute being modified. This parameter can be used
16827
+ # only when the `Attribute` parameter is `description` or
16828
+ # `productCodes`.
16828
16829
  #
16829
16830
  # @option params [Boolean] :dry_run
16830
16831
  # Checks whether you have the required permissions for the action,
@@ -20046,36 +20047,30 @@ module Aws::EC2
20046
20047
  # The ID of the security group.
20047
20048
  #
20048
20049
  # @option params [Array<Types::IpPermission>] :ip_permissions
20049
- # A set of IP permissions. You can't specify a destination security
20050
- # group and a CIDR IP address range.
20050
+ # One or more sets of IP permissions. You can't specify a destination
20051
+ # security group and a CIDR IP address range in the same set of
20052
+ # permissions.
20051
20053
  #
20052
20054
  # @option params [String] :cidr_ip
20053
- # The CIDR IP address range. We recommend that you specify the CIDR
20054
- # range in a set of IP permissions instead.
20055
+ # Not supported. Use a set of IP permissions to specify the CIDR.
20055
20056
  #
20056
20057
  # @option params [Integer] :from_port
20057
- # The start of port range for the TCP and UDP protocols, or an ICMP type
20058
- # number. We recommend that you specify the port range in a set of IP
20059
- # permissions instead.
20058
+ # Not supported. Use a set of IP permissions to specify the port.
20060
20059
  #
20061
20060
  # @option params [String] :ip_protocol
20062
- # The IP protocol name or number. We recommend that you specify the
20063
- # protocol in a set of IP permissions instead.
20061
+ # Not supported. Use a set of IP permissions to specify the protocol
20062
+ # name or number.
20064
20063
  #
20065
20064
  # @option params [Integer] :to_port
20066
- # The end of port range for the TCP and UDP protocols, or an ICMP type
20067
- # number. We recommend that you specify the port range in a set of IP
20068
- # permissions instead.
20065
+ # Not supported. Use a set of IP permissions to specify the port.
20069
20066
  #
20070
20067
  # @option params [String] :source_security_group_name
20071
- # The name of a destination security group. To revoke outbound access to
20072
- # a destination security group, we recommend that you use a set of IP
20073
- # permissions instead.
20068
+ # Not supported. Use a set of IP permissions to specify a destination
20069
+ # security group.
20074
20070
  #
20075
20071
  # @option params [String] :source_security_group_owner_id
20076
- # The AWS account number for a destination security group. To revoke
20077
- # outbound access to a destination security group, we recommend that you
20078
- # use a set of IP permissions instead.
20072
+ # Not supported. Use a set of IP permissions to specify a destination
20073
+ # security group.
20079
20074
  #
20080
20075
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
20081
20076
  #
@@ -20166,15 +20161,19 @@ module Aws::EC2
20166
20161
  # number. For the ICMP type number, use `-1` to specify all ICMP types.
20167
20162
  #
20168
20163
  # @option params [String] :group_id
20169
- # The ID of the security group. Required for a security group in a
20170
- # nondefault VPC.
20164
+ # The ID of the security group. You must specify either the security
20165
+ # group ID or the security group name in the request. For security
20166
+ # groups in a nondefault VPC, you must specify the security group ID.
20171
20167
  #
20172
20168
  # @option params [String] :group_name
20173
- # \[EC2-Classic, default VPC\] The name of the security group.
20169
+ # \[EC2-Classic, default VPC\] The name of the security group. You must
20170
+ # specify either the security group ID or the security group name in the
20171
+ # request.
20174
20172
  #
20175
20173
  # @option params [Array<Types::IpPermission>] :ip_permissions
20176
- # A set of IP permissions. You can't specify a source security group
20177
- # and a CIDR IP address range.
20174
+ # One or more sets of IP permissions. You can't specify a source
20175
+ # security group and a CIDR IP address range in the same set of
20176
+ # permissions.
20178
20177
  #
20179
20178
  # @option params [String] :ip_protocol
20180
20179
  # The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
@@ -21498,7 +21497,7 @@ module Aws::EC2
21498
21497
  params: params,
21499
21498
  config: config)
21500
21499
  context[:gem_name] = 'aws-sdk-ec2'
21501
- context[:gem_version] = '1.10.0'
21500
+ context[:gem_version] = '1.11.0'
21502
21501
  Seahorse::Client::Request.new(handlers, context)
21503
21502
  end
21504
21503
 
@@ -1684,6 +1684,7 @@ module Aws::EC2
1684
1684
 
1685
1685
  CreateVpnGatewayRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
1686
1686
  CreateVpnGatewayRequest.add_member(:type, Shapes::ShapeRef.new(shape: GatewayType, required: true, location_name: "Type"))
1687
+ CreateVpnGatewayRequest.add_member(:amazon_side_asn, Shapes::ShapeRef.new(shape: Long, location_name: "AmazonSideAsn"))
1687
1688
  CreateVpnGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
1688
1689
  CreateVpnGatewayRequest.struct_class = Types::CreateVpnGatewayRequest
1689
1690
 
@@ -5051,6 +5052,7 @@ module Aws::EC2
5051
5052
  VpnGateway.add_member(:type, Shapes::ShapeRef.new(shape: GatewayType, location_name: "type"))
5052
5053
  VpnGateway.add_member(:vpc_attachments, Shapes::ShapeRef.new(shape: VpcAttachmentList, location_name: "attachments"))
5053
5054
  VpnGateway.add_member(:vpn_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "vpnGatewayId"))
5055
+ VpnGateway.add_member(:amazon_side_asn, Shapes::ShapeRef.new(shape: Long, location_name: "amazonSideAsn"))
5054
5056
  VpnGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
5055
5057
  VpnGateway.struct_class = Types::VpnGateway
5056
5058
 
@@ -451,26 +451,28 @@ module Aws::EC2
451
451
  # })
452
452
  # @param [Hash] options ({})
453
453
  # @option options [String] :attribute
454
- # The name of the attribute to modify.
454
+ # The name of the attribute to modify. The valid values are
455
+ # `description`, `launchPermission`, and `productCodes`.
455
456
  # @option options [Types::AttributeValue] :description
456
- # A description for the AMI.
457
+ # A new description for the AMI.
457
458
  # @option options [Types::LaunchPermissionModifications] :launch_permission
458
- # A launch permission modification.
459
+ # A new launch permission for the AMI.
459
460
  # @option options [String] :operation_type
460
- # The operation type.
461
+ # The operation type. This parameter can be used only when the
462
+ # `Attribute` parameter is `launchPermission`.
461
463
  # @option options [Array<String>] :product_codes
462
- # One or more product codes. After you add a product code to an AMI, it
463
- # can't be removed. This is only valid when modifying the
464
- # `productCodes` attribute.
464
+ # One or more DevPay product codes. After you add a product code to an
465
+ # AMI, it can't be removed.
465
466
  # @option options [Array<String>] :user_groups
466
- # One or more user groups. This is only valid when modifying the
467
- # `launchPermission` attribute.
467
+ # One or more user groups. This parameter can be used only when the
468
+ # `Attribute` parameter is `launchPermission`.
468
469
  # @option options [Array<String>] :user_ids
469
- # One or more AWS account IDs. This is only valid when modifying the
470
- # `launchPermission` attribute.
470
+ # One or more AWS account IDs. This parameter can be used only when the
471
+ # `Attribute` parameter is `launchPermission`.
471
472
  # @option options [String] :value
472
- # The value of the attribute being modified. This is only valid when
473
- # modifying the `description` attribute.
473
+ # The value of the attribute being modified. This parameter can be used
474
+ # only when the `Attribute` parameter is `description` or
475
+ # `productCodes`.
474
476
  # @option options [Boolean] :dry_run
475
477
  # Checks whether you have the required permissions for the action,
476
478
  # without actually making the request, and provides an error response.
@@ -260,30 +260,24 @@ module Aws::EC2
260
260
  # If you have the required permissions, the error response is
261
261
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
262
262
  # @option options [Array<Types::IpPermission>] :ip_permissions
263
- # A set of IP permissions. You can't specify a destination security
264
- # group and a CIDR IP address range.
263
+ # One or more sets of IP permissions. You can't specify a destination
264
+ # security group and a CIDR IP address range in the same set of
265
+ # permissions.
265
266
  # @option options [String] :cidr_ip
266
- # The CIDR IPv4 address range. We recommend that you specify the CIDR
267
- # range in a set of IP permissions instead.
267
+ # Not supported. Use a set of IP permissions to specify the CIDR.
268
268
  # @option options [Integer] :from_port
269
- # The start of port range for the TCP and UDP protocols, or an ICMP type
270
- # number. We recommend that you specify the port range in a set of IP
271
- # permissions instead.
269
+ # Not supported. Use a set of IP permissions to specify the port.
272
270
  # @option options [String] :ip_protocol
273
- # The IP protocol name or number. We recommend that you specify the
274
- # protocol in a set of IP permissions instead.
271
+ # Not supported. Use a set of IP permissions to specify the protocol
272
+ # name or number.
275
273
  # @option options [Integer] :to_port
276
- # The end of port range for the TCP and UDP protocols, or an ICMP type
277
- # number. We recommend that you specify the port range in a set of IP
278
- # permissions instead.
274
+ # Not supported. Use a set of IP permissions to specify the port.
279
275
  # @option options [String] :source_security_group_name
280
- # The name of a destination security group. To authorize outbound access
281
- # to a destination security group, we recommend that you use a set of IP
282
- # permissions instead.
276
+ # Not supported. Use a set of IP permissions to specify a destination
277
+ # security group.
283
278
  # @option options [String] :source_security_group_owner_id
284
- # The AWS account number for a destination security group. To authorize
285
- # outbound access to a destination security group, we recommend that you
286
- # use a set of IP permissions instead.
279
+ # Not supported. Use a set of IP permissions to specify a destination
280
+ # security group.
287
281
  # @return [EmptyStructure]
288
282
  def authorize_egress(options = {})
289
283
  options = options.merge(group_id: @id)
@@ -353,8 +347,8 @@ module Aws::EC2
353
347
  # specify either the security group ID or the security group name in the
354
348
  # request.
355
349
  # @option options [Array<Types::IpPermission>] :ip_permissions
356
- # A set of IP permissions. Can be used to specify multiple rules in a
357
- # single command.
350
+ # One or more sets of IP permissions. Can be used to specify multiple
351
+ # rules in a single command.
358
352
  # @option options [String] :ip_protocol
359
353
  # The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
360
354
  # Numbers][1]). (VPC only) Use `-1` to specify all protocols. If you
@@ -376,8 +370,8 @@ module Aws::EC2
376
370
  # IP protocol and port range, use a set of IP permissions instead. For
377
371
  # EC2-VPC, the source security group must be in the same VPC.
378
372
  # @option options [String] :source_security_group_owner_id
379
- # \[EC2-Classic\] The AWS account number for the source security group,
380
- # if the source security group is in a different account. You can't
373
+ # \[EC2-Classic\] The AWS account ID for the source security group, if
374
+ # the source security group is in a different account. You can't
381
375
  # specify this parameter in combination with the following parameters:
382
376
  # the CIDR IP address range, the IP protocol, the start of the port
383
377
  # range, and the end of the port range. Creates rules that grant full
@@ -513,30 +507,24 @@ module Aws::EC2
513
507
  # If you have the required permissions, the error response is
514
508
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
515
509
  # @option options [Array<Types::IpPermission>] :ip_permissions
516
- # A set of IP permissions. You can't specify a destination security
517
- # group and a CIDR IP address range.
510
+ # One or more sets of IP permissions. You can't specify a destination
511
+ # security group and a CIDR IP address range in the same set of
512
+ # permissions.
518
513
  # @option options [String] :cidr_ip
519
- # The CIDR IP address range. We recommend that you specify the CIDR
520
- # range in a set of IP permissions instead.
514
+ # Not supported. Use a set of IP permissions to specify the CIDR.
521
515
  # @option options [Integer] :from_port
522
- # The start of port range for the TCP and UDP protocols, or an ICMP type
523
- # number. We recommend that you specify the port range in a set of IP
524
- # permissions instead.
516
+ # Not supported. Use a set of IP permissions to specify the port.
525
517
  # @option options [String] :ip_protocol
526
- # The IP protocol name or number. We recommend that you specify the
527
- # protocol in a set of IP permissions instead.
518
+ # Not supported. Use a set of IP permissions to specify the protocol
519
+ # name or number.
528
520
  # @option options [Integer] :to_port
529
- # The end of port range for the TCP and UDP protocols, or an ICMP type
530
- # number. We recommend that you specify the port range in a set of IP
531
- # permissions instead.
521
+ # Not supported. Use a set of IP permissions to specify the port.
532
522
  # @option options [String] :source_security_group_name
533
- # The name of a destination security group. To revoke outbound access to
534
- # a destination security group, we recommend that you use a set of IP
535
- # permissions instead.
523
+ # Not supported. Use a set of IP permissions to specify a destination
524
+ # security group.
536
525
  # @option options [String] :source_security_group_owner_id
537
- # The AWS account number for a destination security group. To revoke
538
- # outbound access to a destination security group, we recommend that you
539
- # use a set of IP permissions instead.
526
+ # Not supported. Use a set of IP permissions to specify a destination
527
+ # security group.
540
528
  # @return [EmptyStructure]
541
529
  def revoke_egress(options = {})
542
530
  options = options.merge(group_id: @id)
@@ -600,10 +588,13 @@ module Aws::EC2
600
588
  # The start of port range for the TCP and UDP protocols, or an ICMP type
601
589
  # number. For the ICMP type number, use `-1` to specify all ICMP types.
602
590
  # @option options [String] :group_name
603
- # \[EC2-Classic, default VPC\] The name of the security group.
591
+ # \[EC2-Classic, default VPC\] The name of the security group. You must
592
+ # specify either the security group ID or the security group name in the
593
+ # request.
604
594
  # @option options [Array<Types::IpPermission>] :ip_permissions
605
- # A set of IP permissions. You can't specify a source security group
606
- # and a CIDR IP address range.
595
+ # One or more sets of IP permissions. You can't specify a source
596
+ # security group and a CIDR IP address range in the same set of
597
+ # permissions.
607
598
  # @option options [String] :ip_protocol
608
599
  # The IP protocol name (`tcp`, `udp`, `icmp`) or number (see [Protocol
609
600
  # Numbers][1]). Use `-1` to specify all.
@@ -1095,42 +1095,36 @@ module Aws::EC2
1095
1095
  # @return [String]
1096
1096
  #
1097
1097
  # @!attribute [rw] ip_permissions
1098
- # A set of IP permissions. You can't specify a destination security
1099
- # group and a CIDR IP address range.
1098
+ # One or more sets of IP permissions. You can't specify a destination
1099
+ # security group and a CIDR IP address range in the same set of
1100
+ # permissions.
1100
1101
  # @return [Array<Types::IpPermission>]
1101
1102
  #
1102
1103
  # @!attribute [rw] cidr_ip
1103
- # The CIDR IPv4 address range. We recommend that you specify the CIDR
1104
- # range in a set of IP permissions instead.
1104
+ # Not supported. Use a set of IP permissions to specify the CIDR.
1105
1105
  # @return [String]
1106
1106
  #
1107
1107
  # @!attribute [rw] from_port
1108
- # The start of port range for the TCP and UDP protocols, or an ICMP
1109
- # type number. We recommend that you specify the port range in a set
1110
- # of IP permissions instead.
1108
+ # Not supported. Use a set of IP permissions to specify the port.
1111
1109
  # @return [Integer]
1112
1110
  #
1113
1111
  # @!attribute [rw] ip_protocol
1114
- # The IP protocol name or number. We recommend that you specify the
1115
- # protocol in a set of IP permissions instead.
1112
+ # Not supported. Use a set of IP permissions to specify the protocol
1113
+ # name or number.
1116
1114
  # @return [String]
1117
1115
  #
1118
1116
  # @!attribute [rw] to_port
1119
- # The end of port range for the TCP and UDP protocols, or an ICMP type
1120
- # number. We recommend that you specify the port range in a set of IP
1121
- # permissions instead.
1117
+ # Not supported. Use a set of IP permissions to specify the port.
1122
1118
  # @return [Integer]
1123
1119
  #
1124
1120
  # @!attribute [rw] source_security_group_name
1125
- # The name of a destination security group. To authorize outbound
1126
- # access to a destination security group, we recommend that you use a
1127
- # set of IP permissions instead.
1121
+ # Not supported. Use a set of IP permissions to specify a destination
1122
+ # security group.
1128
1123
  # @return [String]
1129
1124
  #
1130
1125
  # @!attribute [rw] source_security_group_owner_id
1131
- # The AWS account number for a destination security group. To
1132
- # authorize outbound access to a destination security group, we
1133
- # recommend that you use a set of IP permissions instead.
1126
+ # Not supported. Use a set of IP permissions to specify a destination
1127
+ # security group.
1134
1128
  # @return [String]
1135
1129
  #
1136
1130
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgressRequest AWS API Documentation
@@ -1226,8 +1220,8 @@ module Aws::EC2
1226
1220
  # @return [String]
1227
1221
  #
1228
1222
  # @!attribute [rw] ip_permissions
1229
- # A set of IP permissions. Can be used to specify multiple rules in a
1230
- # single command.
1223
+ # One or more sets of IP permissions. Can be used to specify multiple
1224
+ # rules in a single command.
1231
1225
  # @return [Array<Types::IpPermission>]
1232
1226
  #
1233
1227
  # @!attribute [rw] ip_protocol
@@ -1257,14 +1251,13 @@ module Aws::EC2
1257
1251
  # @return [String]
1258
1252
  #
1259
1253
  # @!attribute [rw] source_security_group_owner_id
1260
- # \[EC2-Classic\] The AWS account number for the source security
1261
- # group, if the source security group is in a different account. You
1262
- # can't specify this parameter in combination with the following
1263
- # parameters: the CIDR IP address range, the IP protocol, the start of
1264
- # the port range, and the end of the port range. Creates rules that
1265
- # grant full ICMP, UDP, and TCP access. To create a rule with a
1266
- # specific IP protocol and port range, use a set of IP permissions
1267
- # instead.
1254
+ # \[EC2-Classic\] The AWS account ID for the source security group, if
1255
+ # the source security group is in a different account. You can't
1256
+ # specify this parameter in combination with the following parameters:
1257
+ # the CIDR IP address range, the IP protocol, the start of the port
1258
+ # range, and the end of the port range. Creates rules that grant full
1259
+ # ICMP, UDP, and TCP access. To create a rule with a specific IP
1260
+ # protocol and port range, use a set of IP permissions instead.
1268
1261
  # @return [String]
1269
1262
  #
1270
1263
  # @!attribute [rw] to_port
@@ -4372,6 +4365,7 @@ module Aws::EC2
4372
4365
  # {
4373
4366
  # availability_zone: "String",
4374
4367
  # type: "ipsec.1", # required, accepts ipsec.1
4368
+ # amazon_side_asn: 1,
4375
4369
  # dry_run: false,
4376
4370
  # }
4377
4371
  #
@@ -4383,6 +4377,15 @@ module Aws::EC2
4383
4377
  # The type of VPN connection this virtual private gateway supports.
4384
4378
  # @return [String]
4385
4379
  #
4380
+ # @!attribute [rw] amazon_side_asn
4381
+ # A private Autonomous System Number (ASN) for the Amazon side of a
4382
+ # BGP session. If you're using a 16-bit ASN, it must be in the 64512
4383
+ # to 65534 range. If you're using a 32-bit ASN, it must be in the
4384
+ # 4200000000 to 4294967294 range.
4385
+ #
4386
+ # Default: 64512
4387
+ # @return [Integer]
4388
+ #
4386
4389
  # @!attribute [rw] dry_run
4387
4390
  # Checks whether you have the required permissions for the action,
4388
4391
  # without actually making the request, and provides an error response.
@@ -4395,6 +4398,7 @@ module Aws::EC2
4395
4398
  class CreateVpnGatewayRequest < Struct.new(
4396
4399
  :availability_zone,
4397
4400
  :type,
4401
+ :amazon_side_asn,
4398
4402
  :dry_run)
4399
4403
  include Aws::Structure
4400
4404
  end
@@ -11614,6 +11618,9 @@ module Aws::EC2
11614
11618
  # @!attribute [rw] filters
11615
11619
  # One or more filters.
11616
11620
  #
11621
+ # * `amazon-side-asn` - The Autonomous System Number (ASN) for the
11622
+ # Amazon side of the gateway.
11623
+ #
11617
11624
  # * `attachment.state` - The current state of the attachment between
11618
11625
  # the gateway and the VPC (`attaching` \| `attached` \| `detaching`
11619
11626
  # \| `detached`).
@@ -15898,7 +15905,7 @@ module Aws::EC2
15898
15905
  include Aws::Structure
15899
15906
  end
15900
15907
 
15901
- # Describes a security group rule.
15908
+ # Describes a set of permissions for a security group rule.
15902
15909
  #
15903
15910
  # @note When making an API call, you may pass IpPermission
15904
15911
  # data as a hash:
@@ -16015,7 +16022,7 @@ module Aws::EC2
16015
16022
  # @!attribute [rw] cidr_ip
16016
16023
  # The IPv4 CIDR range. You can either specify a CIDR range or a source
16017
16024
  # security group, not both. To specify a single IPv4 address, use the
16018
- # /32 prefix.
16025
+ # /32 prefix length.
16019
16026
  # @return [String]
16020
16027
  #
16021
16028
  # @!attribute [rw] description
@@ -16060,7 +16067,7 @@ module Aws::EC2
16060
16067
  # @!attribute [rw] cidr_ipv_6
16061
16068
  # The IPv6 CIDR range. You can either specify a CIDR range or a source
16062
16069
  # security group, not both. To specify a single IPv6 address, use the
16063
- # /128 prefix.
16070
+ # /128 prefix length.
16064
16071
  # @return [String]
16065
16072
  #
16066
16073
  # @!attribute [rw] description
@@ -16613,11 +16620,12 @@ module Aws::EC2
16613
16620
  # }
16614
16621
  #
16615
16622
  # @!attribute [rw] attribute
16616
- # The name of the attribute to modify.
16623
+ # The name of the attribute to modify. The valid values are
16624
+ # `description`, `launchPermission`, and `productCodes`.
16617
16625
  # @return [String]
16618
16626
  #
16619
16627
  # @!attribute [rw] description
16620
- # A description for the AMI.
16628
+ # A new description for the AMI.
16621
16629
  # @return [Types::AttributeValue]
16622
16630
  #
16623
16631
  # @!attribute [rw] image_id
@@ -16625,32 +16633,33 @@ module Aws::EC2
16625
16633
  # @return [String]
16626
16634
  #
16627
16635
  # @!attribute [rw] launch_permission
16628
- # A launch permission modification.
16636
+ # A new launch permission for the AMI.
16629
16637
  # @return [Types::LaunchPermissionModifications]
16630
16638
  #
16631
16639
  # @!attribute [rw] operation_type
16632
- # The operation type.
16640
+ # The operation type. This parameter can be used only when the
16641
+ # `Attribute` parameter is `launchPermission`.
16633
16642
  # @return [String]
16634
16643
  #
16635
16644
  # @!attribute [rw] product_codes
16636
- # One or more product codes. After you add a product code to an AMI,
16637
- # it can't be removed. This is only valid when modifying the
16638
- # `productCodes` attribute.
16645
+ # One or more DevPay product codes. After you add a product code to an
16646
+ # AMI, it can't be removed.
16639
16647
  # @return [Array<String>]
16640
16648
  #
16641
16649
  # @!attribute [rw] user_groups
16642
- # One or more user groups. This is only valid when modifying the
16643
- # `launchPermission` attribute.
16650
+ # One or more user groups. This parameter can be used only when the
16651
+ # `Attribute` parameter is `launchPermission`.
16644
16652
  # @return [Array<String>]
16645
16653
  #
16646
16654
  # @!attribute [rw] user_ids
16647
- # One or more AWS account IDs. This is only valid when modifying the
16648
- # `launchPermission` attribute.
16655
+ # One or more AWS account IDs. This parameter can be used only when
16656
+ # the `Attribute` parameter is `launchPermission`.
16649
16657
  # @return [Array<String>]
16650
16658
  #
16651
16659
  # @!attribute [rw] value
16652
- # The value of the attribute being modified. This is only valid when
16653
- # modifying the `description` attribute.
16660
+ # The value of the attribute being modified. This parameter can be
16661
+ # used only when the `Attribute` parameter is `description` or
16662
+ # `productCodes`.
16654
16663
  # @return [String]
16655
16664
  #
16656
16665
  # @!attribute [rw] dry_run
@@ -21079,42 +21088,36 @@ module Aws::EC2
21079
21088
  # @return [String]
21080
21089
  #
21081
21090
  # @!attribute [rw] ip_permissions
21082
- # A set of IP permissions. You can't specify a destination security
21083
- # group and a CIDR IP address range.
21091
+ # One or more sets of IP permissions. You can't specify a destination
21092
+ # security group and a CIDR IP address range in the same set of
21093
+ # permissions.
21084
21094
  # @return [Array<Types::IpPermission>]
21085
21095
  #
21086
21096
  # @!attribute [rw] cidr_ip
21087
- # The CIDR IP address range. We recommend that you specify the CIDR
21088
- # range in a set of IP permissions instead.
21097
+ # Not supported. Use a set of IP permissions to specify the CIDR.
21089
21098
  # @return [String]
21090
21099
  #
21091
21100
  # @!attribute [rw] from_port
21092
- # The start of port range for the TCP and UDP protocols, or an ICMP
21093
- # type number. We recommend that you specify the port range in a set
21094
- # of IP permissions instead.
21101
+ # Not supported. Use a set of IP permissions to specify the port.
21095
21102
  # @return [Integer]
21096
21103
  #
21097
21104
  # @!attribute [rw] ip_protocol
21098
- # The IP protocol name or number. We recommend that you specify the
21099
- # protocol in a set of IP permissions instead.
21105
+ # Not supported. Use a set of IP permissions to specify the protocol
21106
+ # name or number.
21100
21107
  # @return [String]
21101
21108
  #
21102
21109
  # @!attribute [rw] to_port
21103
- # The end of port range for the TCP and UDP protocols, or an ICMP type
21104
- # number. We recommend that you specify the port range in a set of IP
21105
- # permissions instead.
21110
+ # Not supported. Use a set of IP permissions to specify the port.
21106
21111
  # @return [Integer]
21107
21112
  #
21108
21113
  # @!attribute [rw] source_security_group_name
21109
- # The name of a destination security group. To revoke outbound access
21110
- # to a destination security group, we recommend that you use a set of
21111
- # IP permissions instead.
21114
+ # Not supported. Use a set of IP permissions to specify a destination
21115
+ # security group.
21112
21116
  # @return [String]
21113
21117
  #
21114
21118
  # @!attribute [rw] source_security_group_owner_id
21115
- # The AWS account number for a destination security group. To revoke
21116
- # outbound access to a destination security group, we recommend that
21117
- # you use a set of IP permissions instead.
21119
+ # Not supported. Use a set of IP permissions to specify a destination
21120
+ # security group.
21118
21121
  # @return [String]
21119
21122
  #
21120
21123
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgressRequest AWS API Documentation
@@ -21197,17 +21200,21 @@ module Aws::EC2
21197
21200
  # @return [Integer]
21198
21201
  #
21199
21202
  # @!attribute [rw] group_id
21200
- # The ID of the security group. Required for a security group in a
21201
- # nondefault VPC.
21203
+ # The ID of the security group. You must specify either the security
21204
+ # group ID or the security group name in the request. For security
21205
+ # groups in a nondefault VPC, you must specify the security group ID.
21202
21206
  # @return [String]
21203
21207
  #
21204
21208
  # @!attribute [rw] group_name
21205
- # \[EC2-Classic, default VPC\] The name of the security group.
21209
+ # \[EC2-Classic, default VPC\] The name of the security group. You
21210
+ # must specify either the security group ID or the security group name
21211
+ # in the request.
21206
21212
  # @return [String]
21207
21213
  #
21208
21214
  # @!attribute [rw] ip_permissions
21209
- # A set of IP permissions. You can't specify a source security group
21210
- # and a CIDR IP address range.
21215
+ # One or more sets of IP permissions. You can't specify a source
21216
+ # security group and a CIDR IP address range in the same set of
21217
+ # permissions.
21211
21218
  # @return [Array<Types::IpPermission>]
21212
21219
  #
21213
21220
  # @!attribute [rw] ip_protocol
@@ -25862,6 +25869,11 @@ module Aws::EC2
25862
25869
  # The ID of the virtual private gateway.
25863
25870
  # @return [String]
25864
25871
  #
25872
+ # @!attribute [rw] amazon_side_asn
25873
+ # The private Autonomous System Number (ASN) for the Amazon side of a
25874
+ # BGP session.
25875
+ # @return [Integer]
25876
+ #
25865
25877
  # @!attribute [rw] tags
25866
25878
  # Any tags assigned to the virtual private gateway.
25867
25879
  # @return [Array<Types::Tag>]
@@ -25874,6 +25886,7 @@ module Aws::EC2
25874
25886
  :type,
25875
25887
  :vpc_attachments,
25876
25888
  :vpn_gateway_id,
25889
+ :amazon_side_asn,
25877
25890
  :tags)
25878
25891
  include Aws::Structure
25879
25892
  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.10.0
4
+ version: 1.11.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: 2017-10-03 00:00:00.000000000 Z
11
+ date: 2017-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4