Sha256: e46047812eda1c53bfc8bc63c848168fa014f2b41e3982e2b10013ca5b45857f
Contents?: true
Size: 921 Bytes
Versions: 6
Compression:
Stored size: 921 Bytes
Contents
module Fog module AWS class IAM class Real require 'fog/aws/parsers/iam/basic' # Detaches a managed policy from a group # # ==== Parameters # * group_name<~String>: name of the group # * policy_arn<~String>: arn of the managed policy # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'RequestId'<~String> - Id of the request # # ==== See Also # http://docs.aws.amazon.com/IAM/latest/APIReference/API_DetachGroupPolicy.html # def detach_group_policy(group_name, policy_arn) request( 'Action' => 'DetachGroupPolicy', 'GroupName' => group_name, 'PolicyArn' => policy_arn, :parser => Fog::Parsers::AWS::IAM::Basic.new ) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems