Sha256: 05349e3c384cfc4b4adbbfa26110540d71b28ea135d10613e1409733faa99698

Contents?: true

Size: 1.05 KB

Versions: 10

Compression:

Stored size: 1.05 KB

Contents

module Fog
  module AWS
    class EC2

      # Remove permissions from a security group
      #
      # ==== Parameters
      # * options<~Hash>:
      #   * 'GroupName'<~String> - Name of group
      #   * 'SourceSecurityGroupName'<~String> - Name of security group to authorize
      #   * 'SourceSecurityGroupOwnerId'<~String> - Name of owner to authorize
      #   or
      #   * 'CidrIp' - CIDR range
      #   * 'FromPort' - Start of port range (or -1 for ICMP wildcard)
      #   * 'GroupName' - Name of group to modify
      #   * 'IpProtocol' - Ip protocol, must be in ['tcp', 'udp', 'icmp']
      #   * 'ToPort' - End of port range (or -1 for ICMP wildcard)
      #
      # === Returns
      # * response<~Fog::AWS::Response>:
      #   * body<~Hash>:
      #     * 'requestId'<~String> - Id of request
      #     * 'return'<~Boolean> - success?
      def revoke_security_group_ingress(options = {})
        request({
          'Action' => 'RevokeSecurityGroupIngress'
        }.merge!(options), Fog::Parsers::AWS::EC2::Basic.new)
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
geemus-fog-0.0.0 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
geemus-fog-0.0.1 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
geemus-fog-0.0.3 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
fog-0.0.9 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
fog-0.0.8 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
fog-0.0.7 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
fog-0.0.6 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
fog-0.0.5 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
fog-0.0.4 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb
fog-0.0.3 lib/fog/aws/requests/ec2/revoke_security_group_ingress.rb