Method: Fog::AWS::IAM::Real#get_server_certificate

Defined in:
lib/fog/aws/requests/iam/get_server_certificate.rb

#get_server_certificate(name) ⇒ Object

Gets the specified server certificate.

Parameters

  • server_certificate_name<~String>: The name of the server certificate you want to get.

Returns

  • response<~Excon::Response>:

    • body<~Hash>:

      • ‘RequestId’<~String> - Id of the request

See Also

docs.amazonwebservices.com/IAM/latest/APIReference/API_GetServerCertificate.html

[View source]

21
22
23
24
25
26
27
# File 'lib/fog/aws/requests/iam/get_server_certificate.rb', line 21

def get_server_certificate(name)
  request({
    'Action'                => 'GetServerCertificate',
    'ServerCertificateName' => name,
    :parser                 => Fog::Parsers::AWS::IAM::UploadServerCertificate.new
  })
end