Sha256: 7f09e96ae596b3a7b19c8d0ac21e065c3e3cdd8709500e092ef6bdb8b41fea49

Contents?: true

Size: 1016 Bytes

Versions: 1

Compression:

Stored size: 1016 Bytes

Contents

module Fog
  module AWS
    class IAM
      class Real

        require 'rackspace-fog/aws/parsers/iam/basic'

        # Upload signing certificate for user (by default detects user from access credentials)
        #
        # ==== Parameters
        # * options<~Hash>:
        #   * 'UserName'<~String> - name of the user to upload certificate for (do not include path)
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'RequestId'<~String> - Id of the request
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/index.html?API_DeleteSigningCertificate.html
        #
        def delete_signing_certificate(certificate_id, options = {})
          request({
            'Action'        => 'DeleteSigningCertificate',
            'CertificateId' => certificate_id,
            :parser         => Fog::Parsers::AWS::IAM::Basic.new
          }.merge!(options))
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-fog-1.4.2 lib/rackspace-fog/aws/requests/iam/delete_signing_certificate.rb