Sha256: 0c0257df9e520e99d0a27682fd79d73b516c6a3b039f6e0914967f0ae6e6cfe1

Contents?: true

Size: 859 Bytes

Versions: 49

Compression:

Stored size: 859 Bytes

Contents

module Fog
  module AWS
    class IAM
      class Real
        require 'fog/aws/parsers/iam/basic'

        # Delete a instance_profile
        #
        # ==== Parameters
        # * instance_profile_name<~String>: name of the instance_profile to delete
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'RequestId'<~String> - Id of the request
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/API_DeleteInstanceProfile.html
        #
        def delete_instance_profile(instance_profile_name)
          request(
            'Action'    => 'DeleteInstanceProfile',
            'InstanceProfileName'  => instance_profile_name,
            :parser     => Fog::Parsers::AWS::IAM::Basic.new
          )
        end
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 5 rubygems

Version Path
ns-fog-1.22.9 lib/fog/aws/requests/iam/delete_instance_profile.rb
ns-fog-1.22.8 lib/fog/aws/requests/iam/delete_instance_profile.rb
ns-fog-1.22.7 lib/fog/aws/requests/iam/delete_instance_profile.rb
ns-fog-1.22.6 lib/fog/aws/requests/iam/delete_instance_profile.rb
fog-1.23.0 lib/fog/aws/requests/iam/delete_instance_profile.rb
ns-fog-1.22.4 lib/fog/aws/requests/iam/delete_instance_profile.rb
ns-fog-1.22.3 lib/fog/aws/requests/iam/delete_instance_profile.rb
ns-fog-1.22.2 lib/fog/aws/requests/iam/delete_instance_profile.rb
fog-1.22.1 lib/fog/aws/requests/iam/delete_instance_profile.rb