aws_sdk_bcmdataexports/client/create_export.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 [`CreateExport`](crate::operation::create_export::builders::CreateExportFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`export(Export)`](crate::operation::create_export::builders::CreateExportFluentBuilder::export) / [`set_export(Option<Export>)`](crate::operation::create_export::builders::CreateExportFluentBuilder::set_export):<br>required: **true**<br><p>The details of the export, including data query, name, description, and destination configuration.</p><br>
7 /// - [`resource_tags(ResourceTag)`](crate::operation::create_export::builders::CreateExportFluentBuilder::resource_tags) / [`set_resource_tags(Option<Vec::<ResourceTag>>)`](crate::operation::create_export::builders::CreateExportFluentBuilder::set_resource_tags):<br>required: **false**<br><p>An optional list of tags to associate with the specified export. Each tag consists of a key and a value, and each key must be unique for the resource.</p><br>
8 /// - On success, responds with [`CreateExportOutput`](crate::operation::create_export::CreateExportOutput) with field(s):
9 /// - [`export_arn(Option<String>)`](crate::operation::create_export::CreateExportOutput::export_arn): <p>The Amazon Resource Name (ARN) for this export.</p>
10 /// - On failure, responds with [`SdkError<CreateExportError>`](crate::operation::create_export::CreateExportError)
11 pub fn create_export(&self) -> crate::operation::create_export::builders::CreateExportFluentBuilder {
12 crate::operation::create_export::builders::CreateExportFluentBuilder::new(self.handle.clone())
13 }
14}