aws-sdk-wafv2 1.130.0

AWS SDK for AWS WAFV2
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use <code>CLOUDFRONT</code>.</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())
    }
}