Adds one or more ingress rules to a security group.
             This action applies to both EC2 security groups and VPC security groups.
             
 Declaration Syntax
 Declaration Syntax| C# | 
public AuthorizeSecurityGroupIngressResponse AuthorizeSecurityGroupIngress( AuthorizeSecurityGroupIngressRequest request )
 Parameters
 Parameters- request (AuthorizeSecurityGroupIngressRequest)
- Authorize Security Group Ingress request
 Return Value
 Return ValueAuthorize Security Group Ingress  Response from the service
 Remarks
 Remarks
             Permissions are specified by the IP protocol (TCP, UDP or ICMP),
             the source of the request (by IP range or an Amazon EC2 user-group pair),
             the source and destination port ranges (for TCP and UDP), and the
             ICMP codes and types (for ICMP). When authorizing ICMP, -1 can
             be used as a wildcard in the type and code fields.
            
             Permission changes are propagated to instances within the
             security group as quickly as possible. However, depending on
             the number of instances, a small delay might occur.
            
             When authorizing a user/group pair permission,
             GroupName, SourceSecurityGroupName and SourceSecurityGroupOwnerId
             must be specified. When authorizing a CIDR IP permission,
             GroupName, IpProtocol, FromPort, ToPort and CidrIp must be specified
             
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |