Skip to content

Commit 6d63e74

Browse files
author
AWS
committed
Amazon Elastic Compute Cloud Update: AWS EC2 RevokeSecurityGroupIngress and RevokeSecurityGroupEgress APIs will return IpPermissions which do not match with any existing IpPermissions for security groups in default VPC and EC2-Classic.
1 parent 20dd84b commit 6d63e74

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elastic Compute Cloud",
4+
"description": "AWS EC2 RevokeSecurityGroupIngress and RevokeSecurityGroupEgress APIs will return IpPermissions which do not match with any existing IpPermissions for security groups in default VPC and EC2-Classic."
5+
}

services/ec2/src/main/resources/codegen-resources/service-2.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3973,7 +3973,8 @@
39733973
"requestUri":"/"
39743974
},
39753975
"input":{"shape":"RevokeSecurityGroupEgressRequest"},
3976-
"documentation":"<p>[VPC only] Removes the specified egress rules from a security group for EC2-VPC. This action doesn't apply to security groups for use in EC2-Classic. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.</p> <p>Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule.</p> <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>"
3976+
"output":{"shape":"RevokeSecurityGroupEgressResult"},
3977+
"documentation":"<p>[VPC only] Removes the specified egress rules from a security group for EC2-VPC. This action does not apply to security groups for use in EC2-Classic. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.</p> <note> <p>[Default VPC] If the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked. </p> <p>AWS recommends that you use <a>DescribeSecurityGroups</a> to verify that the rule has been removed.</p> </note> <p>Each rule consists of the protocol and the IPv4 or IPv6 CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule.</p> <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>"
39773978
},
39783979
"RevokeSecurityGroupIngress":{
39793980
"name":"RevokeSecurityGroupIngress",
@@ -3982,7 +3983,8 @@
39823983
"requestUri":"/"
39833984
},
39843985
"input":{"shape":"RevokeSecurityGroupIngressRequest"},
3985-
"documentation":"<p>Removes the specified ingress rules from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.</p> <note> <p>[EC2-Classic only] If the values you specify do not match the existing rule's values, no error is returned. Use <a>DescribeSecurityGroups</a> to verify that the rule has been removed.</p> </note> <p>Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule.</p> <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>"
3986+
"output":{"shape":"RevokeSecurityGroupIngressResult"},
3987+
"documentation":"<p>Removes the specified ingress rules from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.</p> <note> <p>[EC2-Classic , default VPC] If the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked. </p> <p>AWS recommends that you use <a>DescribeSecurityGroups</a> to verify that the rule has been removed.</p> </note> <p>Each rule consists of the protocol and the CIDR range or source security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not have to specify the description to revoke the rule.</p> <p>Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.</p>"
39863988
},
39873989
"RunInstances":{
39883990
"name":"RunInstances",
@@ -32625,6 +32627,21 @@
3262532627
}
3262632628
}
3262732629
},
32630+
"RevokeSecurityGroupEgressResult":{
32631+
"type":"structure",
32632+
"members":{
32633+
"Return":{
32634+
"shape":"Boolean",
32635+
"documentation":"<p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>",
32636+
"locationName":"return"
32637+
},
32638+
"UnknownIpPermissions":{
32639+
"shape":"IpPermissionList",
32640+
"documentation":"<p>The outbound rules that were unknown to the service. In some cases, <code>unknownIpPermissionSet</code> might be in a different format from the request parameter. </p>",
32641+
"locationName":"unknownIpPermissionSet"
32642+
}
32643+
}
32644+
},
3262832645
"RevokeSecurityGroupIngressRequest":{
3262932646
"type":"structure",
3263032647
"members":{
@@ -32671,6 +32688,21 @@
3267132688
}
3267232689
}
3267332690
},
32691+
"RevokeSecurityGroupIngressResult":{
32692+
"type":"structure",
32693+
"members":{
32694+
"Return":{
32695+
"shape":"Boolean",
32696+
"documentation":"<p>Returns <code>true</code> if the request succeeds; otherwise, returns an error.</p>",
32697+
"locationName":"return"
32698+
},
32699+
"UnknownIpPermissions":{
32700+
"shape":"IpPermissionList",
32701+
"documentation":"<p>The inbound rules that were unknown to the service. In some cases, <code>unknownIpPermissionSet</code> might be in a different format from the request parameter. </p>",
32702+
"locationName":"unknownIpPermissionSet"
32703+
}
32704+
}
32705+
},
3267432706
"RootDeviceType":{
3267532707
"type":"string",
3267632708
"enum":[

0 commit comments

Comments
 (0)