Sha256: 9789411b878c2121b0bf4600bd8bba046a101e3bbbd2be8c2397999849279f03

Contents?: true

Size: 1004 Bytes

Versions: 97

Compression:

Stored size: 1004 Bytes

Contents

module Fog
  module AWS
    class IAM
      class Real
        require '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

97 entries across 95 versions & 6 rubygems

Version Path
fog-aws-3.29.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.28.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.27.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.26.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.25.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.24.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.23.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.22.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.21.1 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.21.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.20.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.19.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.18.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.17.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.16.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.15.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.14.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.13.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.12.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb
fog-aws-3.11.0 lib/fog/aws/requests/iam/delete_signing_certificate.rb