Sha256: 96a16d75b2926c7a7a0cda639dd9b4556c5b4d84be9cf78525a3a598cd0c38ea

Contents?: true

Size: 1.35 KB

Versions: 26

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

26 entries across 26 versions & 5 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.3.0 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.2.2 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.2.0 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.1.2 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.1.1 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.1.0 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.0.8 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.0.7 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.0.6 lib/fog/aws/requests/iam/update_group.rb
fog-aws-0.0.5 lib/fog/aws/requests/iam/update_group.rb
fog-1.26.0 lib/fog/aws/requests/iam/update_group.rb
fog-1.25.0 lib/fog/aws/requests/iam/update_group.rb
nsidc-fog-1.24.1 lib/fog/aws/requests/iam/update_group.rb
fog-1.24.0 lib/fog/aws/requests/iam/update_group.rb
ns-fog-1.22.11 lib/fog/aws/requests/iam/update_group.rb
ns-fog-1.22.10 lib/fog/aws/requests/iam/update_group.rb
ns-fog-1.22.9 lib/fog/aws/requests/iam/update_group.rb
ns-fog-1.22.8 lib/fog/aws/requests/iam/update_group.rb
ns-fog-1.22.7 lib/fog/aws/requests/iam/update_group.rb