aws_sdk_databasemigration/client/
describe_certificates.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeCertificates`](crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`filters(Filter)`](crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder::set_filters):<br>required: **false**<br><p>Filters applied to the certificates described in the form of key-value pairs. Valid values are <code>certificate-arn</code> and <code>certificate-id</code>.</p><br>
    ///   - [`max_records(i32)`](crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder::max_records) / [`set_max_records(Option<i32>)`](crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder::set_max_records):<br>required: **false**<br><p>The maximum number of records to include in the response. If more records exist than the specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.</p> <p>Default: 10</p><br>
    ///   - [`marker(impl Into<String>)`](crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder::set_marker):<br>required: **false**<br><p>An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by <code>MaxRecords</code>.</p><br>
    /// - On success, responds with [`DescribeCertificatesOutput`](crate::operation::describe_certificates::DescribeCertificatesOutput) with field(s):
    ///   - [`marker(Option<String>)`](crate::operation::describe_certificates::DescribeCertificatesOutput::marker): <p>The pagination token.</p>
    ///   - [`certificates(Option<Vec::<Certificate>>)`](crate::operation::describe_certificates::DescribeCertificatesOutput::certificates): <p>The Secure Sockets Layer (SSL) certificates associated with the replication instance.</p>
    /// - On failure, responds with [`SdkError<DescribeCertificatesError>`](crate::operation::describe_certificates::DescribeCertificatesError)
    pub fn describe_certificates(&self) -> crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder {
        crate::operation::describe_certificates::builders::DescribeCertificatesFluentBuilder::new(self.handle.clone())
    }
}