aws_sdk_elasticbeanstalk/client/
create_storage_location.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 [`CreateStorageLocation`](crate::operation::create_storage_location::builders::CreateStorageLocationFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::create_storage_location::builders::CreateStorageLocationFluentBuilder::send) it.
6    /// - On success, responds with [`CreateStorageLocationOutput`](crate::operation::create_storage_location::CreateStorageLocationOutput) with field(s):
7    ///   - [`s3_bucket(Option<String>)`](crate::operation::create_storage_location::CreateStorageLocationOutput::s3_bucket): <p>The name of the Amazon S3 bucket created.</p>
8    /// - On failure, responds with [`SdkError<CreateStorageLocationError>`](crate::operation::create_storage_location::CreateStorageLocationError)
9    pub fn create_storage_location(&self) -> crate::operation::create_storage_location::builders::CreateStorageLocationFluentBuilder {
10        crate::operation::create_storage_location::builders::CreateStorageLocationFluentBuilder::new(self.handle.clone())
11    }
12}