Sha256: 51d4b87303d43477d8e0db9ebe9ccaddca5bafe3d79cc59b35d4813f32548c7b

Contents?: true

Size: 1.35 KB

Versions: 117

Compression:

Stored size: 1.35 KB

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'fog/aws/parsers/iam/update_group'

        # Update a Group
        #
        # ==== Parameters
        # * group_name<~String> - Required. Name of the Group to update. If you're changing the name of the Group, this is the original Group name.
        # * options<~Hash>:
        #   * new_path<~String> - New path for the Group. Include this parameter only if you're changing the Group's path.
        #   * new_group_name<~String> - New name for the Group. Include this parameter only if you're changing the Group's name.
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'RequestId'<~String> - Id of the request
        #     * 'Group'<~Hash> - Changed Group info
        #       * 'Arn'<~String> -
        #       * 'Path'<~String> -
        #       * 'GroupId'<~String> -
        #       * 'GroupName'<~String> -
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/index.html?API_UpdateGroup.html
        #
        def update_group(group_name, options = {})
          request({
            'Action'      => 'UpdateGroup',
            'GroupName'    => group_name,
            :parser       => Fog::Parsers::AWS::IAM::UpdateGroup.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

117 entries across 117 versions & 18 rubygems

Version Path
fog-1.22.0 lib/fog/aws/requests/iam/update_group.rb
fog-1.21.0 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/aws/requests/iam/update_group.rb
fog-1.20.0 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/aws/requests/iam/update_group.rb
fog-1.19.0 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/aws/requests/iam/update_group.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/aws/requests/iam/update_group.rb