def upload_signing_certificate(UserName=None, CertificateBody=None):
    """
    Uploads an X.509 signing certificate and associates it with the specified IAM user. Some AWS services use X.509 signing certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active .
    If the UserName field is not specified, the IAM user name is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users.
    See also: AWS API Documentation
    
    Examples
    The following command uploads a signing certificate for the IAM user named Bob.
    Expected Output:
    
    :example: response = client.upload_signing_certificate(
        UserName='string',
        CertificateBody='string'
    )
    
    
    :type UserName: string
    :param UserName: 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: =,.@-
            

    :type CertificateBody: string
    :param CertificateBody: [REQUIRED]
            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).
            

    :rtype: dict
    :return: {
        'Certificate': {
            'UserName': 'string',
            'CertificateId': 'string',
            'CertificateBody': 'string',
            'Status': 'Active'|'Inactive',
            'UploadDate': datetime(2015, 1, 1)
        }
    }
    
    
    """
    pass
