Struct aws_sdk_acm::client::fluent_builders::GetCertificate
source · pub struct GetCertificate { /* private fields */ }
Expand description
Fluent builder constructing a request to GetCertificate
.
Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode the certificates and inspect individual fields.
Implementations§
source§impl GetCertificate
impl GetCertificate
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetCertificate, AwsResponseRetryClassifier>, SdkError<GetCertificateError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetCertificate, AwsResponseRetryClassifier>, SdkError<GetCertificateError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetCertificateOutput, SdkError<GetCertificateError>>
pub async fn send(
self
) -> Result<GetCertificateOutput, SdkError<GetCertificateError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn certificate_arn(self, input: impl Into<String>) -> Self
pub fn certificate_arn(self, input: impl Into<String>) -> Self
String that contains a certificate ARN in the following format:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
sourcepub fn set_certificate_arn(self, input: Option<String>) -> Self
pub fn set_certificate_arn(self, input: Option<String>) -> Self
String that contains a certificate ARN in the following format:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
Trait Implementations§
source§impl Clone for GetCertificate
impl Clone for GetCertificate
source§fn clone(&self) -> GetCertificate
fn clone(&self) -> GetCertificate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more