aws_sdk_drs/client/create_extended_source_server.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 [`CreateExtendedSourceServer`](crate::operation::create_extended_source_server::builders::CreateExtendedSourceServerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`source_server_arn(impl Into<String>)`](crate::operation::create_extended_source_server::builders::CreateExtendedSourceServerFluentBuilder::source_server_arn) / [`set_source_server_arn(Option<String>)`](crate::operation::create_extended_source_server::builders::CreateExtendedSourceServerFluentBuilder::set_source_server_arn):<br>required: **true**<br><p>This defines the ARN of the source server in staging Account based on which you want to create an extended source server.</p><br>
7 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_extended_source_server::builders::CreateExtendedSourceServerFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_extended_source_server::builders::CreateExtendedSourceServerFluentBuilder::set_tags):<br>required: **false**<br><p>A list of tags associated with the extended source server.</p><br>
8 /// - On success, responds with [`CreateExtendedSourceServerOutput`](crate::operation::create_extended_source_server::CreateExtendedSourceServerOutput) with field(s):
9 /// - [`source_server(Option<SourceServer>)`](crate::operation::create_extended_source_server::CreateExtendedSourceServerOutput::source_server): <p>Created extended source server.</p>
10 /// - On failure, responds with [`SdkError<CreateExtendedSourceServerError>`](crate::operation::create_extended_source_server::CreateExtendedSourceServerError)
11 pub fn create_extended_source_server(
12 &self,
13 ) -> crate::operation::create_extended_source_server::builders::CreateExtendedSourceServerFluentBuilder {
14 crate::operation::create_extended_source_server::builders::CreateExtendedSourceServerFluentBuilder::new(self.handle.clone())
15 }
16}