aws-sdk-ec2 1.0.0 → 1.1.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: ca605ca5e86009bd7a962bc96de6c13e8015dd71
4
- data.tar.gz: 4a7793b61d3a1f01b6cfbf9e92832370013b1ddd
3
+ metadata.gz: ced0eb99972736059844f348ba65b8511d024226
4
+ data.tar.gz: a432753b3725fedb7495911cb81ea2f8d800efd0
5
5
  SHA512:
6
- metadata.gz: 034bf7409ae650c650b188cdb9482c8060a850d250a1aba299db2a389ce69c29709051f9eab6e059b2ebab39a95c8963ecf16febcd4743ac2a0769fc9e15dbd6
7
- data.tar.gz: 381c9b6b1d0b9b20a01e5cca1399ab23517a12cf520c0bd358719975d637dc78280ce4fa5eaeaa96a398571921856fd658d1e5c36b62d2d2270dcc0a81ead732
6
+ metadata.gz: 7a5ab6171cd40f0e66b13c462aac0e31225dfc0dbb3ab49c88797013b2bae43afb69029e2418b92c26a6cca4e9543cd0125dcbff54a487f6ddd76153eb80e845
7
+ data.tar.gz: 5555f34c285f0b3f081c687ac277b69e30a212eec2cf50c390e7ebc0dc37942280ccf3054ed9c65f63bbafdaccf8bd264360b08440c8bf051f965056265aa1b5
@@ -65,6 +65,6 @@ require_relative 'aws-sdk-ec2/customizations'
65
65
  # @service
66
66
  module Aws::EC2
67
67
 
68
- GEM_VERSION = '1.0.0'
68
+ GEM_VERSION = '1.1.0'
69
69
 
70
70
  end
@@ -1297,7 +1297,8 @@ module Aws::EC2
1297
1297
  # CIDR range or a source group. For the TCP and UDP protocols, you must
1298
1298
  # also specify the destination port or port range. For the ICMP
1299
1299
  # protocol, you must also specify the ICMP type and code. You can use -1
1300
- # for the type or code to mean all types or all codes.
1300
+ # for the type or code to mean all types or all codes. You can
1301
+ # optionally specify a description for the rule.
1301
1302
  #
1302
1303
  # Rule changes are propagated to affected instances as quickly as
1303
1304
  # possible. However, a small delay might occur.
@@ -1362,21 +1363,25 @@ module Aws::EC2
1362
1363
  # ip_ranges: [
1363
1364
  # {
1364
1365
  # cidr_ip: "String",
1366
+ # description: "String",
1365
1367
  # },
1366
1368
  # ],
1367
1369
  # ipv_6_ranges: [
1368
1370
  # {
1369
1371
  # cidr_ipv_6: "String",
1372
+ # description: "String",
1370
1373
  # },
1371
1374
  # ],
1372
1375
  # prefix_list_ids: [
1373
1376
  # {
1377
+ # description: "String",
1374
1378
  # prefix_list_id: "String",
1375
1379
  # },
1376
1380
  # ],
1377
1381
  # to_port: 1,
1378
1382
  # user_id_group_pairs: [
1379
1383
  # {
1384
+ # description: "String",
1380
1385
  # group_id: "String",
1381
1386
  # group_name: "String",
1382
1387
  # peering_status: "String",
@@ -1423,6 +1428,8 @@ module Aws::EC2
1423
1428
  # more information about VPC security group limits, see [Amazon VPC
1424
1429
  # Limits][1].
1425
1430
  #
1431
+ # You can optionally specify a description for the security group rule.
1432
+ #
1426
1433
  #
1427
1434
  #
1428
1435
  # [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html
@@ -1434,13 +1441,18 @@ module Aws::EC2
1434
1441
  # @option params [Integer] :from_port
1435
1442
  # The start of port range for the TCP and UDP protocols, or an
1436
1443
  # ICMP/ICMPv6 type number. For the ICMP/ICMPv6 type number, use `-1` to
1437
- # specify all types.
1444
+ # specify all types. If you specify all ICMP/ICMPv6 types, you must
1445
+ # specify all codes.
1438
1446
  #
1439
1447
  # @option params [String] :group_id
1440
- # The ID of the security group. Required for a nondefault VPC.
1448
+ # The ID of the security group. You must specify either the security
1449
+ # group ID or the security group name in the request. For security
1450
+ # groups in a nondefault VPC, you must specify the security group ID.
1441
1451
  #
1442
1452
  # @option params [String] :group_name
1443
- # \[EC2-Classic, default VPC\] The name of the security group.
1453
+ # \[EC2-Classic, default VPC\] The name of the security group. You must
1454
+ # specify either the security group ID or the security group name in the
1455
+ # request.
1444
1456
  #
1445
1457
  # @option params [Array<Types::IpPermission>] :ip_permissions
1446
1458
  # A set of IP permissions. Can be used to specify multiple rules in a
@@ -1480,6 +1492,7 @@ module Aws::EC2
1480
1492
  # @option params [Integer] :to_port
1481
1493
  # The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6
1482
1494
  # code number. For the ICMP/ICMPv6 code number, use `-1` to specify all
1495
+ # codes. If you specify all ICMP/ICMPv6 types, you must specify all
1483
1496
  # codes.
1484
1497
  #
1485
1498
  # @option params [Boolean] :dry_run
@@ -1504,21 +1517,25 @@ module Aws::EC2
1504
1517
  # ip_ranges: [
1505
1518
  # {
1506
1519
  # cidr_ip: "String",
1520
+ # description: "String",
1507
1521
  # },
1508
1522
  # ],
1509
1523
  # ipv_6_ranges: [
1510
1524
  # {
1511
1525
  # cidr_ipv_6: "String",
1526
+ # description: "String",
1512
1527
  # },
1513
1528
  # ],
1514
1529
  # prefix_list_ids: [
1515
1530
  # {
1531
+ # description: "String",
1516
1532
  # prefix_list_id: "String",
1517
1533
  # },
1518
1534
  # ],
1519
1535
  # to_port: 1,
1520
1536
  # user_id_group_pairs: [
1521
1537
  # {
1538
+ # description: "String",
1522
1539
  # group_id: "String",
1523
1540
  # group_name: "String",
1524
1541
  # peering_status: "String",
@@ -11760,12 +11777,16 @@ module Aws::EC2
11760
11777
  # resp.security_groups[0].ip_permissions[0].ip_protocol #=> String
11761
11778
  # resp.security_groups[0].ip_permissions[0].ip_ranges #=> Array
11762
11779
  # resp.security_groups[0].ip_permissions[0].ip_ranges[0].cidr_ip #=> String
11780
+ # resp.security_groups[0].ip_permissions[0].ip_ranges[0].description #=> String
11763
11781
  # resp.security_groups[0].ip_permissions[0].ipv_6_ranges #=> Array
11764
11782
  # resp.security_groups[0].ip_permissions[0].ipv_6_ranges[0].cidr_ipv_6 #=> String
11783
+ # resp.security_groups[0].ip_permissions[0].ipv_6_ranges[0].description #=> String
11765
11784
  # resp.security_groups[0].ip_permissions[0].prefix_list_ids #=> Array
11785
+ # resp.security_groups[0].ip_permissions[0].prefix_list_ids[0].description #=> String
11766
11786
  # resp.security_groups[0].ip_permissions[0].prefix_list_ids[0].prefix_list_id #=> String
11767
11787
  # resp.security_groups[0].ip_permissions[0].to_port #=> Integer
11768
11788
  # resp.security_groups[0].ip_permissions[0].user_id_group_pairs #=> Array
11789
+ # resp.security_groups[0].ip_permissions[0].user_id_group_pairs[0].description #=> String
11769
11790
  # resp.security_groups[0].ip_permissions[0].user_id_group_pairs[0].group_id #=> String
11770
11791
  # resp.security_groups[0].ip_permissions[0].user_id_group_pairs[0].group_name #=> String
11771
11792
  # resp.security_groups[0].ip_permissions[0].user_id_group_pairs[0].peering_status #=> String
@@ -11779,12 +11800,16 @@ module Aws::EC2
11779
11800
  # resp.security_groups[0].ip_permissions_egress[0].ip_protocol #=> String
11780
11801
  # resp.security_groups[0].ip_permissions_egress[0].ip_ranges #=> Array
11781
11802
  # resp.security_groups[0].ip_permissions_egress[0].ip_ranges[0].cidr_ip #=> String
11803
+ # resp.security_groups[0].ip_permissions_egress[0].ip_ranges[0].description #=> String
11782
11804
  # resp.security_groups[0].ip_permissions_egress[0].ipv_6_ranges #=> Array
11783
11805
  # resp.security_groups[0].ip_permissions_egress[0].ipv_6_ranges[0].cidr_ipv_6 #=> String
11806
+ # resp.security_groups[0].ip_permissions_egress[0].ipv_6_ranges[0].description #=> String
11784
11807
  # resp.security_groups[0].ip_permissions_egress[0].prefix_list_ids #=> Array
11808
+ # resp.security_groups[0].ip_permissions_egress[0].prefix_list_ids[0].description #=> String
11785
11809
  # resp.security_groups[0].ip_permissions_egress[0].prefix_list_ids[0].prefix_list_id #=> String
11786
11810
  # resp.security_groups[0].ip_permissions_egress[0].to_port #=> Integer
11787
11811
  # resp.security_groups[0].ip_permissions_egress[0].user_id_group_pairs #=> Array
11812
+ # resp.security_groups[0].ip_permissions_egress[0].user_id_group_pairs[0].description #=> String
11788
11813
  # resp.security_groups[0].ip_permissions_egress[0].user_id_group_pairs[0].group_id #=> String
11789
11814
  # resp.security_groups[0].ip_permissions_egress[0].user_id_group_pairs[0].group_name #=> String
11790
11815
  # resp.security_groups[0].ip_permissions_egress[0].user_id_group_pairs[0].peering_status #=> String
@@ -13071,6 +13096,7 @@ module Aws::EC2
13071
13096
  # resp.stale_security_group_set[0].stale_ip_permissions[0].prefix_list_ids[0] #=> String
13072
13097
  # resp.stale_security_group_set[0].stale_ip_permissions[0].to_port #=> Integer
13073
13098
  # resp.stale_security_group_set[0].stale_ip_permissions[0].user_id_group_pairs #=> Array
13099
+ # resp.stale_security_group_set[0].stale_ip_permissions[0].user_id_group_pairs[0].description #=> String
13074
13100
  # resp.stale_security_group_set[0].stale_ip_permissions[0].user_id_group_pairs[0].group_id #=> String
13075
13101
  # resp.stale_security_group_set[0].stale_ip_permissions[0].user_id_group_pairs[0].group_name #=> String
13076
13102
  # resp.stale_security_group_set[0].stale_ip_permissions[0].user_id_group_pairs[0].peering_status #=> String
@@ -13086,6 +13112,7 @@ module Aws::EC2
13086
13112
  # resp.stale_security_group_set[0].stale_ip_permissions_egress[0].prefix_list_ids[0] #=> String
13087
13113
  # resp.stale_security_group_set[0].stale_ip_permissions_egress[0].to_port #=> Integer
13088
13114
  # resp.stale_security_group_set[0].stale_ip_permissions_egress[0].user_id_group_pairs #=> Array
13115
+ # resp.stale_security_group_set[0].stale_ip_permissions_egress[0].user_id_group_pairs[0].description #=> String
13089
13116
  # resp.stale_security_group_set[0].stale_ip_permissions_egress[0].user_id_group_pairs[0].group_id #=> String
13090
13117
  # resp.stale_security_group_set[0].stale_ip_permissions_egress[0].user_id_group_pairs[0].group_name #=> String
13091
13118
  # resp.stale_security_group_set[0].stale_ip_permissions_egress[0].user_id_group_pairs[0].peering_status #=> String
@@ -19640,14 +19667,15 @@ module Aws::EC2
19640
19667
 
19641
19668
  # \[EC2-VPC only\] Removes one or more egress rules from a security
19642
19669
  # group for EC2-VPC. This action doesn't apply to security groups for
19643
- # use in EC2-Classic. The values that you specify in the revoke request
19644
- # (for example, ports) must match the existing rule's values for the
19645
- # rule to be revoked.
19670
+ # use in EC2-Classic. To remove a rule, the values that you specify (for
19671
+ # example, ports) must match the existing rule's values exactly.
19646
19672
  #
19647
19673
  # Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or
19648
19674
  # source security group. For the TCP and UDP protocols, you must also
19649
19675
  # specify the destination port or range of ports. For the ICMP protocol,
19650
- # you must also specify the ICMP type and code.
19676
+ # you must also specify the ICMP type and code. If the security group
19677
+ # rule has a description, you do not have to specify the description to
19678
+ # revoke the rule.
19651
19679
  #
19652
19680
  # Rule changes are propagated to instances within the security group as
19653
19681
  # quickly as possible. However, a small delay might occur.
@@ -19707,21 +19735,25 @@ module Aws::EC2
19707
19735
  # ip_ranges: [
19708
19736
  # {
19709
19737
  # cidr_ip: "String",
19738
+ # description: "String",
19710
19739
  # },
19711
19740
  # ],
19712
19741
  # ipv_6_ranges: [
19713
19742
  # {
19714
19743
  # cidr_ipv_6: "String",
19744
+ # description: "String",
19715
19745
  # },
19716
19746
  # ],
19717
19747
  # prefix_list_ids: [
19718
19748
  # {
19749
+ # description: "String",
19719
19750
  # prefix_list_id: "String",
19720
19751
  # },
19721
19752
  # ],
19722
19753
  # to_port: 1,
19723
19754
  # user_id_group_pairs: [
19724
19755
  # {
19756
+ # description: "String",
19725
19757
  # group_id: "String",
19726
19758
  # group_name: "String",
19727
19759
  # peering_status: "String",
@@ -19749,9 +19781,9 @@ module Aws::EC2
19749
19781
  req.send_request(options)
19750
19782
  end
19751
19783
 
19752
- # Removes one or more ingress rules from a security group. The values
19753
- # that you specify in the revoke request (for example, ports) must match
19754
- # the existing rule's values for the rule to be removed.
19784
+ # Removes one or more ingress rules from a security group. To remove a
19785
+ # rule, the values that you specify (for example, ports) must match the
19786
+ # existing rule's values exactly.
19755
19787
  #
19756
19788
  # <note markdown="1"> \[EC2-Classic security groups only\] If the values you specify do not
19757
19789
  # match the existing rule's values, no error is returned. Use
@@ -19762,7 +19794,9 @@ module Aws::EC2
19762
19794
  # Each rule consists of the protocol and the CIDR range or source
19763
19795
  # security group. For the TCP and UDP protocols, you must also specify
19764
19796
  # the destination port or range of ports. For the ICMP protocol, you
19765
- # must also specify the ICMP type and code.
19797
+ # must also specify the ICMP type and code. If the security group rule
19798
+ # has a description, you do not have to specify the description to
19799
+ # revoke the rule.
19766
19800
  #
19767
19801
  # Rule changes are propagated to instances within the security group as
19768
19802
  # quickly as possible. However, a small delay might occur.
@@ -19838,21 +19872,25 @@ module Aws::EC2
19838
19872
  # ip_ranges: [
19839
19873
  # {
19840
19874
  # cidr_ip: "String",
19875
+ # description: "String",
19841
19876
  # },
19842
19877
  # ],
19843
19878
  # ipv_6_ranges: [
19844
19879
  # {
19845
19880
  # cidr_ipv_6: "String",
19881
+ # description: "String",
19846
19882
  # },
19847
19883
  # ],
19848
19884
  # prefix_list_ids: [
19849
19885
  # {
19886
+ # description: "String",
19850
19887
  # prefix_list_id: "String",
19851
19888
  # },
19852
19889
  # ],
19853
19890
  # to_port: 1,
19854
19891
  # user_id_group_pairs: [
19855
19892
  # {
19893
+ # description: "String",
19856
19894
  # group_id: "String",
19857
19895
  # group_name: "String",
19858
19896
  # peering_status: "String",
@@ -20906,6 +20944,182 @@ module Aws::EC2
20906
20944
  req.send_request(options)
20907
20945
  end
20908
20946
 
20947
+ # \[EC2-VPC only\] Updates the description of an egress (outbound)
20948
+ # security group rule. You can replace an existing description, or add a
20949
+ # description to a rule that did not have one previously.
20950
+ #
20951
+ # You specify the description as part of the IP permissions structure.
20952
+ # You can remove a description for a security group rule by omitting the
20953
+ # description parameter in the request.
20954
+ #
20955
+ # @option params [Boolean] :dry_run
20956
+ # Checks whether you have the required permissions for the action,
20957
+ # without actually making the request, and provides an error response.
20958
+ # If you have the required permissions, the error response is
20959
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
20960
+ #
20961
+ # @option params [String] :group_id
20962
+ # The ID of the security group. You must specify either the security
20963
+ # group ID or the security group name in the request. For security
20964
+ # groups in a nondefault VPC, you must specify the security group ID.
20965
+ #
20966
+ # @option params [String] :group_name
20967
+ # \[Default VPC\] The name of the security group. You must specify
20968
+ # either the security group ID or the security group name in the
20969
+ # request.
20970
+ #
20971
+ # @option params [required, Array<Types::IpPermission>] :ip_permissions
20972
+ # The IP permissions for the security group rule.
20973
+ #
20974
+ # @return [Types::UpdateSecurityGroupRuleDescriptionsEgressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
20975
+ #
20976
+ # * {Types::UpdateSecurityGroupRuleDescriptionsEgressResult#return #return} => Boolean
20977
+ #
20978
+ # @example Request syntax with placeholder values
20979
+ #
20980
+ # resp = client.update_security_group_rule_descriptions_egress({
20981
+ # dry_run: false,
20982
+ # group_id: "String",
20983
+ # group_name: "String",
20984
+ # ip_permissions: [ # required
20985
+ # {
20986
+ # from_port: 1,
20987
+ # ip_protocol: "String",
20988
+ # ip_ranges: [
20989
+ # {
20990
+ # cidr_ip: "String",
20991
+ # description: "String",
20992
+ # },
20993
+ # ],
20994
+ # ipv_6_ranges: [
20995
+ # {
20996
+ # cidr_ipv_6: "String",
20997
+ # description: "String",
20998
+ # },
20999
+ # ],
21000
+ # prefix_list_ids: [
21001
+ # {
21002
+ # description: "String",
21003
+ # prefix_list_id: "String",
21004
+ # },
21005
+ # ],
21006
+ # to_port: 1,
21007
+ # user_id_group_pairs: [
21008
+ # {
21009
+ # description: "String",
21010
+ # group_id: "String",
21011
+ # group_name: "String",
21012
+ # peering_status: "String",
21013
+ # user_id: "String",
21014
+ # vpc_id: "String",
21015
+ # vpc_peering_connection_id: "String",
21016
+ # },
21017
+ # ],
21018
+ # },
21019
+ # ],
21020
+ # })
21021
+ #
21022
+ # @example Response structure
21023
+ #
21024
+ # resp.return #=> Boolean
21025
+ #
21026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgress AWS API Documentation
21027
+ #
21028
+ # @overload update_security_group_rule_descriptions_egress(params = {})
21029
+ # @param [Hash] params ({})
21030
+ def update_security_group_rule_descriptions_egress(params = {}, options = {})
21031
+ req = build_request(:update_security_group_rule_descriptions_egress, params)
21032
+ req.send_request(options)
21033
+ end
21034
+
21035
+ # Updates the description of an ingress (inbound) security group rule.
21036
+ # You can replace an existing description, or add a description to a
21037
+ # rule that did not have one previously.
21038
+ #
21039
+ # You specify the description as part of the IP permissions structure.
21040
+ # You can remove a description for a security group rule by omitting the
21041
+ # description parameter in the request.
21042
+ #
21043
+ # @option params [Boolean] :dry_run
21044
+ # Checks whether you have the required permissions for the action,
21045
+ # without actually making the request, and provides an error response.
21046
+ # If you have the required permissions, the error response is
21047
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
21048
+ #
21049
+ # @option params [String] :group_id
21050
+ # The ID of the security group. You must specify either the security
21051
+ # group ID or the security group name in the request. For security
21052
+ # groups in a nondefault VPC, you must specify the security group ID.
21053
+ #
21054
+ # @option params [String] :group_name
21055
+ # \[EC2-Classic, default VPC\] The name of the security group. You must
21056
+ # specify either the security group ID or the security group name in the
21057
+ # request.
21058
+ #
21059
+ # @option params [required, Array<Types::IpPermission>] :ip_permissions
21060
+ # The IP permissions for the security group rule.
21061
+ #
21062
+ # @return [Types::UpdateSecurityGroupRuleDescriptionsIngressResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
21063
+ #
21064
+ # * {Types::UpdateSecurityGroupRuleDescriptionsIngressResult#return #return} => Boolean
21065
+ #
21066
+ # @example Request syntax with placeholder values
21067
+ #
21068
+ # resp = client.update_security_group_rule_descriptions_ingress({
21069
+ # dry_run: false,
21070
+ # group_id: "String",
21071
+ # group_name: "String",
21072
+ # ip_permissions: [ # required
21073
+ # {
21074
+ # from_port: 1,
21075
+ # ip_protocol: "String",
21076
+ # ip_ranges: [
21077
+ # {
21078
+ # cidr_ip: "String",
21079
+ # description: "String",
21080
+ # },
21081
+ # ],
21082
+ # ipv_6_ranges: [
21083
+ # {
21084
+ # cidr_ipv_6: "String",
21085
+ # description: "String",
21086
+ # },
21087
+ # ],
21088
+ # prefix_list_ids: [
21089
+ # {
21090
+ # description: "String",
21091
+ # prefix_list_id: "String",
21092
+ # },
21093
+ # ],
21094
+ # to_port: 1,
21095
+ # user_id_group_pairs: [
21096
+ # {
21097
+ # description: "String",
21098
+ # group_id: "String",
21099
+ # group_name: "String",
21100
+ # peering_status: "String",
21101
+ # user_id: "String",
21102
+ # vpc_id: "String",
21103
+ # vpc_peering_connection_id: "String",
21104
+ # },
21105
+ # ],
21106
+ # },
21107
+ # ],
21108
+ # })
21109
+ #
21110
+ # @example Response structure
21111
+ #
21112
+ # resp.return #=> Boolean
21113
+ #
21114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngress AWS API Documentation
21115
+ #
21116
+ # @overload update_security_group_rule_descriptions_ingress(params = {})
21117
+ # @param [Hash] params ({})
21118
+ def update_security_group_rule_descriptions_ingress(params = {}, options = {})
21119
+ req = build_request(:update_security_group_rule_descriptions_ingress, params)
21120
+ req.send_request(options)
21121
+ end
21122
+
20909
21123
  # @!endgroup
20910
21124
 
20911
21125
  # @param params ({})
@@ -20919,7 +21133,7 @@ module Aws::EC2
20919
21133
  params: params,
20920
21134
  config: config)
20921
21135
  context[:gem_name] = 'aws-sdk-ec2'
20922
- context[:gem_version] = '1.0.0'
21136
+ context[:gem_version] = '1.1.0'
20923
21137
  Seahorse::Client::Request.new(handlers, context)
20924
21138
  end
20925
21139
 
@@ -891,6 +891,10 @@ module Aws::EC2
891
891
  UnsuccessfulItemError = Shapes::StructureShape.new(name: 'UnsuccessfulItemError')
892
892
  UnsuccessfulItemList = Shapes::ListShape.new(name: 'UnsuccessfulItemList')
893
893
  UnsuccessfulItemSet = Shapes::ListShape.new(name: 'UnsuccessfulItemSet')
894
+ UpdateSecurityGroupRuleDescriptionsEgressRequest = Shapes::StructureShape.new(name: 'UpdateSecurityGroupRuleDescriptionsEgressRequest')
895
+ UpdateSecurityGroupRuleDescriptionsEgressResult = Shapes::StructureShape.new(name: 'UpdateSecurityGroupRuleDescriptionsEgressResult')
896
+ UpdateSecurityGroupRuleDescriptionsIngressRequest = Shapes::StructureShape.new(name: 'UpdateSecurityGroupRuleDescriptionsIngressRequest')
897
+ UpdateSecurityGroupRuleDescriptionsIngressResult = Shapes::StructureShape.new(name: 'UpdateSecurityGroupRuleDescriptionsIngressResult')
894
898
  UserBucket = Shapes::StructureShape.new(name: 'UserBucket')
895
899
  UserBucketDetails = Shapes::StructureShape.new(name: 'UserBucketDetails')
896
900
  UserData = Shapes::StructureShape.new(name: 'UserData')
@@ -3295,6 +3299,7 @@ module Aws::EC2
3295
3299
  IpPermissionList.member = Shapes::ShapeRef.new(shape: IpPermission, location_name: "item")
3296
3300
 
3297
3301
  IpRange.add_member(:cidr_ip, Shapes::ShapeRef.new(shape: String, location_name: "cidrIp"))
3302
+ IpRange.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
3298
3303
  IpRange.struct_class = Types::IpRange
3299
3304
 
3300
3305
  IpRangeList.member = Shapes::ShapeRef.new(shape: IpRange, location_name: "item")
@@ -3309,6 +3314,7 @@ module Aws::EC2
3309
3314
  Ipv6CidrBlockSet.member = Shapes::ShapeRef.new(shape: Ipv6CidrBlock, location_name: "item")
3310
3315
 
3311
3316
  Ipv6Range.add_member(:cidr_ipv_6, Shapes::ShapeRef.new(shape: String, location_name: "cidrIpv6"))
3317
+ Ipv6Range.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
3312
3318
  Ipv6Range.struct_class = Types::Ipv6Range
3313
3319
 
3314
3320
  Ipv6RangeList.member = Shapes::ShapeRef.new(shape: Ipv6Range, location_name: "item")
@@ -3694,6 +3700,7 @@ module Aws::EC2
3694
3700
  PrefixList.add_member(:prefix_list_name, Shapes::ShapeRef.new(shape: String, location_name: "prefixListName"))
3695
3701
  PrefixList.struct_class = Types::PrefixList
3696
3702
 
3703
+ PrefixListId.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
3697
3704
  PrefixListId.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: String, location_name: "prefixListId"))
3698
3705
  PrefixListId.struct_class = Types::PrefixListId
3699
3706
 
@@ -4689,6 +4696,24 @@ module Aws::EC2
4689
4696
 
4690
4697
  UnsuccessfulItemSet.member = Shapes::ShapeRef.new(shape: UnsuccessfulItem, location_name: "item")
4691
4698
 
4699
+ UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4700
+ UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "GroupId"))
4701
+ UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
4702
+ UpdateSecurityGroupRuleDescriptionsEgressRequest.add_member(:ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, required: true, location_name: "IpPermissions"))
4703
+ UpdateSecurityGroupRuleDescriptionsEgressRequest.struct_class = Types::UpdateSecurityGroupRuleDescriptionsEgressRequest
4704
+
4705
+ UpdateSecurityGroupRuleDescriptionsEgressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
4706
+ UpdateSecurityGroupRuleDescriptionsEgressResult.struct_class = Types::UpdateSecurityGroupRuleDescriptionsEgressResult
4707
+
4708
+ UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4709
+ UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "GroupId"))
4710
+ UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "GroupName"))
4711
+ UpdateSecurityGroupRuleDescriptionsIngressRequest.add_member(:ip_permissions, Shapes::ShapeRef.new(shape: IpPermissionList, required: true, location_name: "IpPermissions"))
4712
+ UpdateSecurityGroupRuleDescriptionsIngressRequest.struct_class = Types::UpdateSecurityGroupRuleDescriptionsIngressRequest
4713
+
4714
+ UpdateSecurityGroupRuleDescriptionsIngressResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
4715
+ UpdateSecurityGroupRuleDescriptionsIngressResult.struct_class = Types::UpdateSecurityGroupRuleDescriptionsIngressResult
4716
+
4692
4717
  UserBucket.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: String, location_name: "S3Bucket"))
4693
4718
  UserBucket.add_member(:s3_key, Shapes::ShapeRef.new(shape: String, location_name: "S3Key"))
4694
4719
  UserBucket.struct_class = Types::UserBucket
@@ -4702,6 +4727,7 @@ module Aws::EC2
4702
4727
 
4703
4728
  UserGroupStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "UserGroup")
4704
4729
 
4730
+ UserIdGroupPair.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
4705
4731
  UserIdGroupPair.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
4706
4732
  UserIdGroupPair.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
4707
4733
  UserIdGroupPair.add_member(:peering_status, Shapes::ShapeRef.new(shape: String, location_name: "peeringStatus"))
@@ -6889,6 +6915,22 @@ module Aws::EC2
6889
6915
  o.input = Shapes::ShapeRef.new(shape: UnmonitorInstancesRequest)
6890
6916
  o.output = Shapes::ShapeRef.new(shape: UnmonitorInstancesResult)
6891
6917
  end)
6918
+
6919
+ api.add_operation(:update_security_group_rule_descriptions_egress, Seahorse::Model::Operation.new.tap do |o|
6920
+ o.name = "UpdateSecurityGroupRuleDescriptionsEgress"
6921
+ o.http_method = "POST"
6922
+ o.http_request_uri = "/"
6923
+ o.input = Shapes::ShapeRef.new(shape: UpdateSecurityGroupRuleDescriptionsEgressRequest)
6924
+ o.output = Shapes::ShapeRef.new(shape: UpdateSecurityGroupRuleDescriptionsEgressResult)
6925
+ end)
6926
+
6927
+ api.add_operation(:update_security_group_rule_descriptions_ingress, Seahorse::Model::Operation.new.tap do |o|
6928
+ o.name = "UpdateSecurityGroupRuleDescriptionsIngress"
6929
+ o.http_method = "POST"
6930
+ o.http_request_uri = "/"
6931
+ o.input = Shapes::ShapeRef.new(shape: UpdateSecurityGroupRuleDescriptionsIngressRequest)
6932
+ o.output = Shapes::ShapeRef.new(shape: UpdateSecurityGroupRuleDescriptionsIngressResult)
6933
+ end)
6892
6934
  end
6893
6935
 
6894
6936
  end
@@ -122,21 +122,25 @@ module Aws::EC2
122
122
  # ip_ranges: [
123
123
  # {
124
124
  # cidr_ip: "String",
125
+ # description: "String",
125
126
  # },
126
127
  # ],
127
128
  # ipv_6_ranges: [
128
129
  # {
129
130
  # cidr_ipv_6: "String",
131
+ # description: "String",
130
132
  # },
131
133
  # ],
132
134
  # prefix_list_ids: [
133
135
  # {
136
+ # description: "String",
134
137
  # prefix_list_id: "String",
135
138
  # },
136
139
  # ],
137
140
  # to_port: 1,
138
141
  # user_id_group_pairs: [
139
142
  # {
143
+ # description: "String",
140
144
  # group_id: "String",
141
145
  # group_name: "String",
142
146
  # peering_status: "String",
@@ -205,21 +209,25 @@ module Aws::EC2
205
209
  # ip_ranges: [
206
210
  # {
207
211
  # cidr_ip: "String",
212
+ # description: "String",
208
213
  # },
209
214
  # ],
210
215
  # ipv_6_ranges: [
211
216
  # {
212
217
  # cidr_ipv_6: "String",
218
+ # description: "String",
213
219
  # },
214
220
  # ],
215
221
  # prefix_list_ids: [
216
222
  # {
223
+ # description: "String",
217
224
  # prefix_list_id: "String",
218
225
  # },
219
226
  # ],
220
227
  # to_port: 1,
221
228
  # user_id_group_pairs: [
222
229
  # {
230
+ # description: "String",
223
231
  # group_id: "String",
224
232
  # group_name: "String",
225
233
  # peering_status: "String",
@@ -243,9 +251,12 @@ module Aws::EC2
243
251
  # @option options [Integer] :from_port
244
252
  # The start of port range for the TCP and UDP protocols, or an
245
253
  # ICMP/ICMPv6 type number. For the ICMP/ICMPv6 type number, use `-1` to
246
- # specify all types.
254
+ # specify all types. If you specify all ICMP/ICMPv6 types, you must
255
+ # specify all codes.
247
256
  # @option options [String] :group_name
248
- # \[EC2-Classic, default VPC\] The name of the security group.
257
+ # \[EC2-Classic, default VPC\] The name of the security group. You must
258
+ # specify either the security group ID or the security group name in the
259
+ # request.
249
260
  # @option options [Array<Types::IpPermission>] :ip_permissions
250
261
  # A set of IP permissions. Can be used to specify multiple rules in a
251
262
  # single command.
@@ -280,6 +291,7 @@ module Aws::EC2
280
291
  # @option options [Integer] :to_port
281
292
  # The end of port range for the TCP and UDP protocols, or an ICMP/ICMPv6
282
293
  # code number. For the ICMP/ICMPv6 code number, use `-1` to specify all
294
+ # codes. If you specify all ICMP/ICMPv6 types, you must specify all
283
295
  # codes.
284
296
  # @option options [Boolean] :dry_run
285
297
  # Checks whether you have the required permissions for the action,
@@ -363,21 +375,25 @@ module Aws::EC2
363
375
  # ip_ranges: [
364
376
  # {
365
377
  # cidr_ip: "String",
378
+ # description: "String",
366
379
  # },
367
380
  # ],
368
381
  # ipv_6_ranges: [
369
382
  # {
370
383
  # cidr_ipv_6: "String",
384
+ # description: "String",
371
385
  # },
372
386
  # ],
373
387
  # prefix_list_ids: [
374
388
  # {
389
+ # description: "String",
375
390
  # prefix_list_id: "String",
376
391
  # },
377
392
  # ],
378
393
  # to_port: 1,
379
394
  # user_id_group_pairs: [
380
395
  # {
396
+ # description: "String",
381
397
  # group_id: "String",
382
398
  # group_name: "String",
383
399
  # peering_status: "String",
@@ -446,21 +462,25 @@ module Aws::EC2
446
462
  # ip_ranges: [
447
463
  # {
448
464
  # cidr_ip: "String",
465
+ # description: "String",
449
466
  # },
450
467
  # ],
451
468
  # ipv_6_ranges: [
452
469
  # {
453
470
  # cidr_ipv_6: "String",
471
+ # description: "String",
454
472
  # },
455
473
  # ],
456
474
  # prefix_list_ids: [
457
475
  # {
476
+ # description: "String",
458
477
  # prefix_list_id: "String",
459
478
  # },
460
479
  # ],
461
480
  # to_port: 1,
462
481
  # user_id_group_pairs: [
463
482
  # {
483
+ # description: "String",
464
484
  # group_id: "String",
465
485
  # group_name: "String",
466
486
  # peering_status: "String",
@@ -1046,21 +1046,25 @@ module Aws::EC2
1046
1046
  # ip_ranges: [
1047
1047
  # {
1048
1048
  # cidr_ip: "String",
1049
+ # description: "String",
1049
1050
  # },
1050
1051
  # ],
1051
1052
  # ipv_6_ranges: [
1052
1053
  # {
1053
1054
  # cidr_ipv_6: "String",
1055
+ # description: "String",
1054
1056
  # },
1055
1057
  # ],
1056
1058
  # prefix_list_ids: [
1057
1059
  # {
1060
+ # description: "String",
1058
1061
  # prefix_list_id: "String",
1059
1062
  # },
1060
1063
  # ],
1061
1064
  # to_port: 1,
1062
1065
  # user_id_group_pairs: [
1063
1066
  # {
1067
+ # description: "String",
1064
1068
  # group_id: "String",
1065
1069
  # group_name: "String",
1066
1070
  # peering_status: "String",
@@ -1161,21 +1165,25 @@ module Aws::EC2
1161
1165
  # ip_ranges: [
1162
1166
  # {
1163
1167
  # cidr_ip: "String",
1168
+ # description: "String",
1164
1169
  # },
1165
1170
  # ],
1166
1171
  # ipv_6_ranges: [
1167
1172
  # {
1168
1173
  # cidr_ipv_6: "String",
1174
+ # description: "String",
1169
1175
  # },
1170
1176
  # ],
1171
1177
  # prefix_list_ids: [
1172
1178
  # {
1179
+ # description: "String",
1173
1180
  # prefix_list_id: "String",
1174
1181
  # },
1175
1182
  # ],
1176
1183
  # to_port: 1,
1177
1184
  # user_id_group_pairs: [
1178
1185
  # {
1186
+ # description: "String",
1179
1187
  # group_id: "String",
1180
1188
  # group_name: "String",
1181
1189
  # peering_status: "String",
@@ -1201,15 +1209,20 @@ module Aws::EC2
1201
1209
  # @!attribute [rw] from_port
1202
1210
  # The start of port range for the TCP and UDP protocols, or an
1203
1211
  # ICMP/ICMPv6 type number. For the ICMP/ICMPv6 type number, use `-1`
1204
- # to specify all types.
1212
+ # to specify all types. If you specify all ICMP/ICMPv6 types, you must
1213
+ # specify all codes.
1205
1214
  # @return [Integer]
1206
1215
  #
1207
1216
  # @!attribute [rw] group_id
1208
- # The ID of the security group. Required for a nondefault VPC.
1217
+ # The ID of the security group. You must specify either the security
1218
+ # group ID or the security group name in the request. For security
1219
+ # groups in a nondefault VPC, you must specify the security group ID.
1209
1220
  # @return [String]
1210
1221
  #
1211
1222
  # @!attribute [rw] group_name
1212
- # \[EC2-Classic, default VPC\] The name of the security group.
1223
+ # \[EC2-Classic, default VPC\] The name of the security group. You
1224
+ # must specify either the security group ID or the security group name
1225
+ # in the request.
1213
1226
  # @return [String]
1214
1227
  #
1215
1228
  # @!attribute [rw] ip_permissions
@@ -1257,7 +1270,8 @@ module Aws::EC2
1257
1270
  # @!attribute [rw] to_port
1258
1271
  # The end of port range for the TCP and UDP protocols, or an
1259
1272
  # ICMP/ICMPv6 code number. For the ICMP/ICMPv6 code number, use `-1`
1260
- # to specify all codes.
1273
+ # to specify all codes. If you specify all ICMP/ICMPv6 types, you must
1274
+ # specify all codes.
1261
1275
  # @return [Integer]
1262
1276
  #
1263
1277
  # @!attribute [rw] dry_run
@@ -15690,21 +15704,25 @@ module Aws::EC2
15690
15704
  # ip_ranges: [
15691
15705
  # {
15692
15706
  # cidr_ip: "String",
15707
+ # description: "String",
15693
15708
  # },
15694
15709
  # ],
15695
15710
  # ipv_6_ranges: [
15696
15711
  # {
15697
15712
  # cidr_ipv_6: "String",
15713
+ # description: "String",
15698
15714
  # },
15699
15715
  # ],
15700
15716
  # prefix_list_ids: [
15701
15717
  # {
15718
+ # description: "String",
15702
15719
  # prefix_list_id: "String",
15703
15720
  # },
15704
15721
  # ],
15705
15722
  # to_port: 1,
15706
15723
  # user_id_group_pairs: [
15707
15724
  # {
15725
+ # description: "String",
15708
15726
  # group_id: "String",
15709
15727
  # group_name: "String",
15710
15728
  # peering_status: "String",
@@ -15718,7 +15736,8 @@ module Aws::EC2
15718
15736
  # @!attribute [rw] from_port
15719
15737
  # The start of port range for the TCP and UDP protocols, or an
15720
15738
  # ICMP/ICMPv6 type number. A value of `-1` indicates all ICMP/ICMPv6
15721
- # types.
15739
+ # types. If you specify all ICMP/ICMPv6 types, you must specify all
15740
+ # codes.
15722
15741
  # @return [Integer]
15723
15742
  #
15724
15743
  # @!attribute [rw] ip_protocol
@@ -15757,7 +15776,8 @@ module Aws::EC2
15757
15776
  # @!attribute [rw] to_port
15758
15777
  # The end of port range for the TCP and UDP protocols, or an
15759
15778
  # ICMP/ICMPv6 code. A value of `-1` indicates all ICMP/ICMPv6 codes
15760
- # for the specified ICMP type.
15779
+ # for the specified ICMP type. If you specify all ICMP/ICMPv6 types,
15780
+ # you must specify all codes.
15761
15781
  # @return [Integer]
15762
15782
  #
15763
15783
  # @!attribute [rw] user_id_group_pairs
@@ -15784,6 +15804,7 @@ module Aws::EC2
15784
15804
  #
15785
15805
  # {
15786
15806
  # cidr_ip: "String",
15807
+ # description: "String",
15787
15808
  # }
15788
15809
  #
15789
15810
  # @!attribute [rw] cidr_ip
@@ -15792,10 +15813,19 @@ module Aws::EC2
15792
15813
  # /32 prefix.
15793
15814
  # @return [String]
15794
15815
  #
15816
+ # @!attribute [rw] description
15817
+ # A description for the security group rule that references this IPv4
15818
+ # address range.
15819
+ #
15820
+ # Constraints: Up to 255 characters in length. Allowed characters are
15821
+ # a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=;\\\{\\}!$*
15822
+ # @return [String]
15823
+ #
15795
15824
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/IpRange AWS API Documentation
15796
15825
  #
15797
15826
  class IpRange < Struct.new(
15798
- :cidr_ip)
15827
+ :cidr_ip,
15828
+ :description)
15799
15829
  include Aws::Structure
15800
15830
  end
15801
15831
 
@@ -15819,6 +15849,7 @@ module Aws::EC2
15819
15849
  #
15820
15850
  # {
15821
15851
  # cidr_ipv_6: "String",
15852
+ # description: "String",
15822
15853
  # }
15823
15854
  #
15824
15855
  # @!attribute [rw] cidr_ipv_6
@@ -15827,10 +15858,19 @@ module Aws::EC2
15827
15858
  # /128 prefix.
15828
15859
  # @return [String]
15829
15860
  #
15861
+ # @!attribute [rw] description
15862
+ # A description for the security group rule that references this IPv6
15863
+ # address range.
15864
+ #
15865
+ # Constraints: Up to 255 characters in length. Allowed characters are
15866
+ # a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=;\\\{\\}!$*
15867
+ # @return [String]
15868
+ #
15830
15869
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Ipv6Range AWS API Documentation
15831
15870
  #
15832
15871
  class Ipv6Range < Struct.new(
15833
- :cidr_ipv_6)
15872
+ :cidr_ipv_6,
15873
+ :description)
15834
15874
  include Aws::Structure
15835
15875
  end
15836
15876
 
@@ -18032,9 +18072,18 @@ module Aws::EC2
18032
18072
  # data as a hash:
18033
18073
  #
18034
18074
  # {
18075
+ # description: "String",
18035
18076
  # prefix_list_id: "String",
18036
18077
  # }
18037
18078
  #
18079
+ # @!attribute [rw] description
18080
+ # A description for the security group rule that references this
18081
+ # prefix list ID.
18082
+ #
18083
+ # Constraints: Up to 255 characters in length. Allowed characters are
18084
+ # a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=;\\\{\\}!$*
18085
+ # @return [String]
18086
+ #
18038
18087
  # @!attribute [rw] prefix_list_id
18039
18088
  # The ID of the prefix.
18040
18089
  # @return [String]
@@ -18042,6 +18091,7 @@ module Aws::EC2
18042
18091
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PrefixListId AWS API Documentation
18043
18092
  #
18044
18093
  class PrefixListId < Struct.new(
18094
+ :description,
18045
18095
  :prefix_list_id)
18046
18096
  include Aws::Structure
18047
18097
  end
@@ -20534,21 +20584,25 @@ module Aws::EC2
20534
20584
  # ip_ranges: [
20535
20585
  # {
20536
20586
  # cidr_ip: "String",
20587
+ # description: "String",
20537
20588
  # },
20538
20589
  # ],
20539
20590
  # ipv_6_ranges: [
20540
20591
  # {
20541
20592
  # cidr_ipv_6: "String",
20593
+ # description: "String",
20542
20594
  # },
20543
20595
  # ],
20544
20596
  # prefix_list_ids: [
20545
20597
  # {
20598
+ # description: "String",
20546
20599
  # prefix_list_id: "String",
20547
20600
  # },
20548
20601
  # ],
20549
20602
  # to_port: 1,
20550
20603
  # user_id_group_pairs: [
20551
20604
  # {
20605
+ # description: "String",
20552
20606
  # group_id: "String",
20553
20607
  # group_name: "String",
20554
20608
  # peering_status: "String",
@@ -20649,21 +20703,25 @@ module Aws::EC2
20649
20703
  # ip_ranges: [
20650
20704
  # {
20651
20705
  # cidr_ip: "String",
20706
+ # description: "String",
20652
20707
  # },
20653
20708
  # ],
20654
20709
  # ipv_6_ranges: [
20655
20710
  # {
20656
20711
  # cidr_ipv_6: "String",
20712
+ # description: "String",
20657
20713
  # },
20658
20714
  # ],
20659
20715
  # prefix_list_ids: [
20660
20716
  # {
20717
+ # description: "String",
20661
20718
  # prefix_list_id: "String",
20662
20719
  # },
20663
20720
  # ],
20664
20721
  # to_port: 1,
20665
20722
  # user_id_group_pairs: [
20666
20723
  # {
20724
+ # description: "String",
20667
20725
  # group_id: "String",
20668
20726
  # group_name: "String",
20669
20727
  # peering_status: "String",
@@ -24169,6 +24227,193 @@ module Aws::EC2
24169
24227
  include Aws::Structure
24170
24228
  end
24171
24229
 
24230
+ # Contains the parameters for UpdateSecurityGroupRuleDescriptionsEgress.
24231
+ #
24232
+ # @note When making an API call, you may pass UpdateSecurityGroupRuleDescriptionsEgressRequest
24233
+ # data as a hash:
24234
+ #
24235
+ # {
24236
+ # dry_run: false,
24237
+ # group_id: "String",
24238
+ # group_name: "String",
24239
+ # ip_permissions: [ # required
24240
+ # {
24241
+ # from_port: 1,
24242
+ # ip_protocol: "String",
24243
+ # ip_ranges: [
24244
+ # {
24245
+ # cidr_ip: "String",
24246
+ # description: "String",
24247
+ # },
24248
+ # ],
24249
+ # ipv_6_ranges: [
24250
+ # {
24251
+ # cidr_ipv_6: "String",
24252
+ # description: "String",
24253
+ # },
24254
+ # ],
24255
+ # prefix_list_ids: [
24256
+ # {
24257
+ # description: "String",
24258
+ # prefix_list_id: "String",
24259
+ # },
24260
+ # ],
24261
+ # to_port: 1,
24262
+ # user_id_group_pairs: [
24263
+ # {
24264
+ # description: "String",
24265
+ # group_id: "String",
24266
+ # group_name: "String",
24267
+ # peering_status: "String",
24268
+ # user_id: "String",
24269
+ # vpc_id: "String",
24270
+ # vpc_peering_connection_id: "String",
24271
+ # },
24272
+ # ],
24273
+ # },
24274
+ # ],
24275
+ # }
24276
+ #
24277
+ # @!attribute [rw] dry_run
24278
+ # Checks whether you have the required permissions for the action,
24279
+ # without actually making the request, and provides an error response.
24280
+ # If you have the required permissions, the error response is
24281
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
24282
+ # @return [Boolean]
24283
+ #
24284
+ # @!attribute [rw] group_id
24285
+ # The ID of the security group. You must specify either the security
24286
+ # group ID or the security group name in the request. For security
24287
+ # groups in a nondefault VPC, you must specify the security group ID.
24288
+ # @return [String]
24289
+ #
24290
+ # @!attribute [rw] group_name
24291
+ # \[Default VPC\] The name of the security group. You must specify
24292
+ # either the security group ID or the security group name in the
24293
+ # request.
24294
+ # @return [String]
24295
+ #
24296
+ # @!attribute [rw] ip_permissions
24297
+ # The IP permissions for the security group rule.
24298
+ # @return [Array<Types::IpPermission>]
24299
+ #
24300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgressRequest AWS API Documentation
24301
+ #
24302
+ class UpdateSecurityGroupRuleDescriptionsEgressRequest < Struct.new(
24303
+ :dry_run,
24304
+ :group_id,
24305
+ :group_name,
24306
+ :ip_permissions)
24307
+ include Aws::Structure
24308
+ end
24309
+
24310
+ # Contains the output of UpdateSecurityGroupRuleDescriptionsEgress.
24311
+ #
24312
+ # @!attribute [rw] return
24313
+ # Returns `true` if the request succeeds; otherwise, returns an error.
24314
+ # @return [Boolean]
24315
+ #
24316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgressResult AWS API Documentation
24317
+ #
24318
+ class UpdateSecurityGroupRuleDescriptionsEgressResult < Struct.new(
24319
+ :return)
24320
+ include Aws::Structure
24321
+ end
24322
+
24323
+ # Contains the parameters for
24324
+ # UpdateSecurityGroupRuleDescriptionsIngress.
24325
+ #
24326
+ # @note When making an API call, you may pass UpdateSecurityGroupRuleDescriptionsIngressRequest
24327
+ # data as a hash:
24328
+ #
24329
+ # {
24330
+ # dry_run: false,
24331
+ # group_id: "String",
24332
+ # group_name: "String",
24333
+ # ip_permissions: [ # required
24334
+ # {
24335
+ # from_port: 1,
24336
+ # ip_protocol: "String",
24337
+ # ip_ranges: [
24338
+ # {
24339
+ # cidr_ip: "String",
24340
+ # description: "String",
24341
+ # },
24342
+ # ],
24343
+ # ipv_6_ranges: [
24344
+ # {
24345
+ # cidr_ipv_6: "String",
24346
+ # description: "String",
24347
+ # },
24348
+ # ],
24349
+ # prefix_list_ids: [
24350
+ # {
24351
+ # description: "String",
24352
+ # prefix_list_id: "String",
24353
+ # },
24354
+ # ],
24355
+ # to_port: 1,
24356
+ # user_id_group_pairs: [
24357
+ # {
24358
+ # description: "String",
24359
+ # group_id: "String",
24360
+ # group_name: "String",
24361
+ # peering_status: "String",
24362
+ # user_id: "String",
24363
+ # vpc_id: "String",
24364
+ # vpc_peering_connection_id: "String",
24365
+ # },
24366
+ # ],
24367
+ # },
24368
+ # ],
24369
+ # }
24370
+ #
24371
+ # @!attribute [rw] dry_run
24372
+ # Checks whether you have the required permissions for the action,
24373
+ # without actually making the request, and provides an error response.
24374
+ # If you have the required permissions, the error response is
24375
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
24376
+ # @return [Boolean]
24377
+ #
24378
+ # @!attribute [rw] group_id
24379
+ # The ID of the security group. You must specify either the security
24380
+ # group ID or the security group name in the request. For security
24381
+ # groups in a nondefault VPC, you must specify the security group ID.
24382
+ # @return [String]
24383
+ #
24384
+ # @!attribute [rw] group_name
24385
+ # \[EC2-Classic, default VPC\] The name of the security group. You
24386
+ # must specify either the security group ID or the security group name
24387
+ # in the request.
24388
+ # @return [String]
24389
+ #
24390
+ # @!attribute [rw] ip_permissions
24391
+ # The IP permissions for the security group rule.
24392
+ # @return [Array<Types::IpPermission>]
24393
+ #
24394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngressRequest AWS API Documentation
24395
+ #
24396
+ class UpdateSecurityGroupRuleDescriptionsIngressRequest < Struct.new(
24397
+ :dry_run,
24398
+ :group_id,
24399
+ :group_name,
24400
+ :ip_permissions)
24401
+ include Aws::Structure
24402
+ end
24403
+
24404
+ # Contains the output of UpdateSecurityGroupRuleDescriptionsIngress.
24405
+ #
24406
+ # @!attribute [rw] return
24407
+ # Returns `true` if the request succeeds; otherwise, returns an error.
24408
+ # @return [Boolean]
24409
+ #
24410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngressResult AWS API Documentation
24411
+ #
24412
+ class UpdateSecurityGroupRuleDescriptionsIngressResult < Struct.new(
24413
+ :return)
24414
+ include Aws::Structure
24415
+ end
24416
+
24172
24417
  # Describes the S3 bucket for the disk image.
24173
24418
  #
24174
24419
  # @note When making an API call, you may pass UserBucket
@@ -24241,6 +24486,7 @@ module Aws::EC2
24241
24486
  # data as a hash:
24242
24487
  #
24243
24488
  # {
24489
+ # description: "String",
24244
24490
  # group_id: "String",
24245
24491
  # group_name: "String",
24246
24492
  # peering_status: "String",
@@ -24249,6 +24495,14 @@ module Aws::EC2
24249
24495
  # vpc_peering_connection_id: "String",
24250
24496
  # }
24251
24497
  #
24498
+ # @!attribute [rw] description
24499
+ # A description for the security group rule that references this user
24500
+ # ID group pair.
24501
+ #
24502
+ # Constraints: Up to 255 characters in length. Allowed characters are
24503
+ # a-z, A-Z, 0-9, spaces, and .\_-:/()#,@\[\]+=;\\\{\\}!$*
24504
+ # @return [String]
24505
+ #
24252
24506
  # @!attribute [rw] group_id
24253
24507
  # The ID of the security group.
24254
24508
  # @return [String]
@@ -24282,6 +24536,7 @@ module Aws::EC2
24282
24536
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UserIdGroupPair AWS API Documentation
24283
24537
  #
24284
24538
  class UserIdGroupPair < Struct.new(
24539
+ :description,
24285
24540
  :group_id,
24286
24541
  :group_name,
24287
24542
  :peering_status,
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.0.0
4
+ version: 1.1.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-08-29 00:00:00.000000000 Z
11
+ date: 2017-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4
@@ -83,7 +83,9 @@ files:
83
83
  homepage: http://github.com/aws/aws-sdk-ruby
84
84
  licenses:
85
85
  - Apache-2.0
86
- metadata: {}
86
+ metadata:
87
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ec2
88
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ec2/CHANGELOG.md
87
89
  post_install_message:
88
90
  rdoc_options: []
89
91
  require_paths: