aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteBucketAccessKey`](crate::operation::delete_bucket_access_key::builders::DeleteBucketAccessKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bucket_name(impl Into<String>)`](crate::operation::delete_bucket_access_key::builders::DeleteBucketAccessKeyFluentBuilder::bucket_name) / [`set_bucket_name(Option<String>)`](crate::operation::delete_bucket_access_key::builders::DeleteBucketAccessKeyFluentBuilder::set_bucket_name):<br>required: **true**<br><p>The name of the bucket that the access key belongs to.</p><br>
    ///   - [`access_key_id(impl Into<String>)`](crate::operation::delete_bucket_access_key::builders::DeleteBucketAccessKeyFluentBuilder::access_key_id) / [`set_access_key_id(Option<String>)`](crate::operation::delete_bucket_access_key::builders::DeleteBucketAccessKeyFluentBuilder::set_access_key_id):<br>required: **true**<br><p>The ID of the access key to delete.</p> <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html">GetBucketAccessKeys</a> action to get a list of access key IDs that you can specify.</p><br>
    /// - On success, responds with [`DeleteBucketAccessKeyOutput`](crate::operation::delete_bucket_access_key::DeleteBucketAccessKeyOutput) with field(s):
    ///   - [`operations(Option<Vec::<Operation>>)`](crate::operation::delete_bucket_access_key::DeleteBucketAccessKeyOutput::operations): <p>An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>
    /// - On failure, responds with [`SdkError<DeleteBucketAccessKeyError>`](crate::operation::delete_bucket_access_key::DeleteBucketAccessKeyError)
    pub fn delete_bucket_access_key(&self) -> crate::operation::delete_bucket_access_key::builders::DeleteBucketAccessKeyFluentBuilder {
        crate::operation::delete_bucket_access_key::builders::DeleteBucketAccessKeyFluentBuilder::new(self.handle.clone())
    }
}