Struct aws_sdk_rds::client::fluent_builders::ModifyCertificates
source · [−]pub struct ModifyCertificates { /* private fields */ }Expand description
Fluent builder constructing a request to ModifyCertificates.
Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS) certificate for Amazon RDS for new DB instances temporarily, or remove the override.
By using this operation, you can specify an RDS-approved SSL/TLS certificate for new DB instances that is different from the default certificate provided by RDS. You can also use this operation to remove the override, so that new DB instances use the default certificate provided by RDS.
You might need to override the default certificate in the following situations:
-
You already migrated your applications to support the latest certificate authority (CA) certificate, but the new CA certificate is not yet the RDS default CA certificate for the specified Amazon Web Services Region.
-
RDS has already moved to a new default CA certificate for the specified Amazon Web Services Region, but you are still in the process of supporting the new CA certificate. In this case, you temporarily need additional time to finish your application changes.
For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate in the Amazon RDS User Guide.
For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide.
Implementations
sourceimpl ModifyCertificates
impl ModifyCertificates
sourcepub async fn send(
self
) -> Result<ModifyCertificatesOutput, SdkError<ModifyCertificatesError>>
pub async fn send(
self
) -> Result<ModifyCertificatesOutput, SdkError<ModifyCertificatesError>>
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_identifier(self, input: impl Into<String>) -> Self
pub fn certificate_identifier(self, input: impl Into<String>) -> Self
The new default certificate identifier to override the current one with.
To determine the valid values, use the describe-certificates CLI command or the DescribeCertificates API operation.
sourcepub fn set_certificate_identifier(self, input: Option<String>) -> Self
pub fn set_certificate_identifier(self, input: Option<String>) -> Self
The new default certificate identifier to override the current one with.
To determine the valid values, use the describe-certificates CLI command or the DescribeCertificates API operation.
sourcepub fn remove_customer_override(self, input: bool) -> Self
pub fn remove_customer_override(self, input: bool) -> Self
A value that indicates whether to remove the override for the default certificate. If the override is removed, the default certificate is the system default.
sourcepub fn set_remove_customer_override(self, input: Option<bool>) -> Self
pub fn set_remove_customer_override(self, input: Option<bool>) -> Self
A value that indicates whether to remove the override for the default certificate. If the override is removed, the default certificate is the system default.
Trait Implementations
sourceimpl Clone for ModifyCertificates
impl Clone for ModifyCertificates
sourcefn clone(&self) -> ModifyCertificates
fn clone(&self) -> ModifyCertificates
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ModifyCertificates
impl Send for ModifyCertificates
impl Sync for ModifyCertificates
impl Unpin for ModifyCertificates
impl !UnwindSafe for ModifyCertificates
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more