Sha256: a8b588a4305f6ee65c576327884cdd5f197cad5ef66d485d3c175d85506600f7

Contents?: true

Size: 1.04 KB

Versions: 98

Compression:

Stored size: 1.04 KB

Contents

module Fog
  module AWS
    class IAM
      class Real
        # Update a Signing Certificate
        #
        # ==== Parameters
        # * certificate_id<~String> - Required. ID of the Certificate to update.
        # * status<~String> - Required. Active/Inactive
        # * options<~Hash>:
        #   * user_name<~String> - Name of the user the signing certificate belongs to.
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'RequestId'<~String> - Id of the request
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/IAM/latest/APIReference/index.html?API_UpdateSigningCertificate.html
        #
        def update_signing_certificate(certificate_id, status, options = {})
          request({
            'Action'        => 'UpdateSigningCertificate',
            'CertificateId' => certificate_id,
            'Status'        => status,
            :parser         => Fog::Parsers::AWS::IAM::Basic.new
          }.merge!(options))
        end
      end
    end
  end
end

Version data entries

98 entries across 96 versions & 6 rubygems

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