aws_sdk_paymentcryptography/client/stop_key_usage.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`StopKeyUsage`](crate::operation::stop_key_usage::builders::StopKeyUsageFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`key_identifier(impl Into<String>)`](crate::operation::stop_key_usage::builders::StopKeyUsageFluentBuilder::key_identifier) / [`set_key_identifier(Option<String>)`](crate::operation::stop_key_usage::builders::StopKeyUsageFluentBuilder::set_key_identifier):<br>required: **true**<br><p>The <code>KeyArn</code> of the key.</p><br>
7 /// - On success, responds with [`StopKeyUsageOutput`](crate::operation::stop_key_usage::StopKeyUsageOutput) with field(s):
8 /// - [`key(Option<Key>)`](crate::operation::stop_key_usage::StopKeyUsageOutput::key): <p>The <code>KeyARN</code> of the key.</p>
9 /// - On failure, responds with [`SdkError<StopKeyUsageError>`](crate::operation::stop_key_usage::StopKeyUsageError)
10 pub fn stop_key_usage(&self) -> crate::operation::stop_key_usage::builders::StopKeyUsageFluentBuilder {
11 crate::operation::stop_key_usage::builders::StopKeyUsageFluentBuilder::new(self.handle.clone())
12 }
13}