You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IAM::Types::UploadSigningCertificateRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

Note:

When making an API call, you may pass UploadSigningCertificateRequest data as a hash:

{
  user_name: "existingUserNameType",
  certificate_body: "certificateBodyType", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_bodyString

The contents of the signing certificate.

The regex pattern used to validate this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (\u0020) through end of the ASCII character range as well as the printable characters in the Basic Latin and Latin-1 Supplement character set (through \u00FF). It also includes the special characters tab (\u0009), line feed (\u000A), and carriage return (\u000D).

Returns:

  • (String)


8675
8676
8677
8678
8679
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8675

class UploadSigningCertificateRequest < Struct.new(
  :user_name,
  :certificate_body)
  include Aws::Structure
end

#user_nameString

The name of the user the signing certificate is for.

This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

Returns:

  • (String)


8675
8676
8677
8678
8679
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8675

class UploadSigningCertificateRequest < Struct.new(
  :user_name,
  :certificate_body)
  include Aws::Structure
end