aws_sdk_wafv2/client/get_decrypted_api_key.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetDecryptedAPIKey`](crate::operation::get_decrypted_api_key::builders::GetDecryptedAPIKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`scope(Scope)`](crate::operation::get_decrypted_api_key::builders::GetDecryptedAPIKeyFluentBuilder::scope) / [`set_scope(Option<Scope>)`](crate::operation::get_decrypted_api_key::builders::GetDecryptedAPIKeyFluentBuilder::set_scope):<br>required: **true**<br><p>Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.</p> <p>To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:</p> <ul> <li> <p>CLI - Specify the Region when you use the CloudFront scope: <code>--scope=CLOUDFRONT --region=us-east-1</code>.</p></li> <li> <p>API and SDKs - For all calls, use the Region endpoint us-east-1.</p></li> </ul><br>
/// - [`api_key(impl Into<String>)`](crate::operation::get_decrypted_api_key::builders::GetDecryptedAPIKeyFluentBuilder::api_key) / [`set_api_key(Option<String>)`](crate::operation::get_decrypted_api_key::builders::GetDecryptedAPIKeyFluentBuilder::set_api_key):<br>required: **true**<br><p>The encrypted API key.</p><br>
/// - On success, responds with [`GetDecryptedApiKeyOutput`](crate::operation::get_decrypted_api_key::GetDecryptedApiKeyOutput) with field(s):
/// - [`token_domains(Option<Vec::<String>>)`](crate::operation::get_decrypted_api_key::GetDecryptedApiKeyOutput::token_domains): <p>The token domains that are defined in this API key.</p>
/// - [`creation_timestamp(Option<DateTime>)`](crate::operation::get_decrypted_api_key::GetDecryptedApiKeyOutput::creation_timestamp): <p>The date and time that the key was created.</p>
/// - On failure, responds with [`SdkError<GetDecryptedAPIKeyError>`](crate::operation::get_decrypted_api_key::GetDecryptedAPIKeyError)
pub fn get_decrypted_api_key(&self) -> crate::operation::get_decrypted_api_key::builders::GetDecryptedAPIKeyFluentBuilder {
crate::operation::get_decrypted_api_key::builders::GetDecryptedAPIKeyFluentBuilder::new(self.handle.clone())
}
}