AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Uploads the specified certificate.
For .NET Core this operation is only available in asynchronous form. Please refer to ImportCertificateAsync.
Namespace: Amazon.DatabaseMigrationService
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z
public virtual ImportCertificateResponse ImportCertificate( ImportCertificateRequest request )
Container for the necessary parameters to execute the ImportCertificate service method.
Exception | Condition |
---|---|
InvalidCertificateException | The certificate was not valid. |
ResourceAlreadyExistsException | The resource you are attempting to create already exists. |
ResourceQuotaExceededException | The quota for this resource quota has been exceeded. |
Uploads the specified certificate.
var client = new AmazonDatabaseMigrationServiceClient(); var response = client.ImportCertificate(new ImportCertificateRequest { CertificateIdentifier = "", CertificatePem = "" }); Certificate certificate = response.Certificate;
.NET Framework:
Supported in: 4.5 and newer, 3.5