// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RevokeApiKey`](crate::operation::revoke_api_key::builders::RevokeApiKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`branch_arn(impl Into<String>)`](crate::operation::revoke_api_key::builders::RevokeApiKeyFluentBuilder::branch_arn) / [`set_branch_arn(Option<String>)`](crate::operation::revoke_api_key::builders::RevokeApiKeyFluentBuilder::set_branch_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the branch that the API key belongs to.</p><br>
/// - [`api_key_id(impl Into<String>)`](crate::operation::revoke_api_key::builders::RevokeApiKeyFluentBuilder::api_key_id) / [`set_api_key_id(Option<String>)`](crate::operation::revoke_api_key::builders::RevokeApiKeyFluentBuilder::set_api_key_id):<br>required: **true**<br><p>The ID of the API key to revoke.</p><br>
/// - On success, responds with [`RevokeApiKeyOutput`](crate::operation::revoke_api_key::RevokeApiKeyOutput) with field(s):
/// - [`api_key_id(String)`](crate::operation::revoke_api_key::RevokeApiKeyOutput::api_key_id): <p>The ID of the API key that was revoked.</p>
/// - [`status(ApiKeyStatus)`](crate::operation::revoke_api_key::RevokeApiKeyOutput::status): <p>The status of the API key after the request. The status is always INACTIVE.</p>
/// - On failure, responds with [`SdkError<RevokeApiKeyError>`](crate::operation::revoke_api_key::RevokeApiKeyError)
pub fn revoke_api_key(&self) -> crate::operation::revoke_api_key::builders::RevokeApiKeyFluentBuilder {
crate::operation::revoke_api_key::builders::RevokeApiKeyFluentBuilder::new(self.handle.clone())
}
}