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.11.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.10.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.9.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.8.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.7.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.6.7 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.6.6 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.6.5 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.6.4 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.6.3 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.6.2 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.5.2 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.5.1 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.5.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.4.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.3.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.2.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
fog-aws-3.1.0 lib/fog/aws/requests/iam/update_signing_certificate.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/iam/update_signing_certificate.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/iam/update_signing_certificate.rb