1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateWorldExportJob`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::set_client_request_token): <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
    ///   - [`worlds(impl Into<String>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::worlds) / [`set_worlds(Option<Vec<String>>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::set_worlds): <p>A list of Amazon Resource Names (arns) that correspond to worlds to export.</p>
    ///   - [`output_location(OutputLocation)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::output_location) / [`set_output_location(Option<OutputLocation>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::set_output_location): <p>The output location.</p>
    ///   - [`iam_role(impl Into<String>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::iam_role) / [`set_iam_role(Option<String>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::set_iam_role): <p>The IAM role that the world export process uses to access the Amazon S3 bucket and put the export.</p>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::set_tags): <p>A map that contains tag keys and tag values that are attached to the world export job.</p>
    /// - On success, responds with [`CreateWorldExportJobOutput`](crate::operation::create_world_export_job::CreateWorldExportJobOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_world_export_job::CreateWorldExportJobOutput::arn): <p>The Amazon Resource Name (ARN) of the world export job.</p>
    ///   - [`status(Option<WorldExportJobStatus>)`](crate::operation::create_world_export_job::CreateWorldExportJobOutput::status): <p>The status of the world export job.</p>  <dl>   <dt>   Pending  </dt>   <dd>    <p>The world export job request is pending.</p>   </dd>   <dt>   Running  </dt>   <dd>    <p>The world export job is running. </p>   </dd>   <dt>   Completed  </dt>   <dd>    <p>The world export job completed. </p>   </dd>   <dt>   Failed  </dt>   <dd>    <p>The world export job failed. See <code>failureCode</code> for more information. </p>   </dd>   <dt>   Canceled  </dt>   <dd>    <p>The world export job was cancelled.</p>   </dd>   <dt>   Canceling  </dt>   <dd>    <p>The world export job is being cancelled.</p>   </dd>  </dl>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_world_export_job::CreateWorldExportJobOutput::created_at): <p>The time, in milliseconds since the epoch, when the world export job was created.</p>
    ///   - [`failure_code(Option<WorldExportJobErrorCode>)`](crate::operation::create_world_export_job::CreateWorldExportJobOutput::failure_code): <p>The failure code of the world export job if it failed:</p>  <dl>   <dt>   InternalServiceError  </dt>   <dd>    <p>Internal service error.</p>   </dd>   <dt>   LimitExceeded  </dt>   <dd>    <p>The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed. </p>   </dd>   <dt>   ResourceNotFound  </dt>   <dd>    <p>The specified resource could not be found. </p>   </dd>   <dt>   RequestThrottled  </dt>   <dd>    <p>The request was throttled.</p>   </dd>   <dt>   InvalidInput  </dt>   <dd>    <p>An input parameter in the request is not valid.</p>   </dd>   <dt>   AllWorldGenerationFailed  </dt>   <dd>    <p>All of the worlds in the world generation job failed. This can happen if your <code>worldCount</code> is greater than 50 or less than 1. </p>   </dd>  </dl>  <p>For more information about troubleshooting WorldForge, see <a href="https://docs.aws.amazon.com/robomaker/latest/dg/troubleshooting-worldforge.html">Troubleshooting Simulation WorldForge</a>. </p>
    ///   - [`client_request_token(Option<String>)`](crate::operation::create_world_export_job::CreateWorldExportJobOutput::client_request_token): <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
    ///   - [`output_location(Option<OutputLocation>)`](crate::operation::create_world_export_job::CreateWorldExportJobOutput::output_location): <p>The output location.</p>
    ///   - [`iam_role(Option<String>)`](crate::operation::create_world_export_job::CreateWorldExportJobOutput::iam_role): <p>The IAM role that the world export process uses to access the Amazon S3 bucket and put the export. </p>
    ///   - [`tags(Option<HashMap<String, String>>)`](crate::operation::create_world_export_job::CreateWorldExportJobOutput::tags): <p>A map that contains tag keys and tag values that are attached to the world export job.</p>
    /// - On failure, responds with [`SdkError<CreateWorldExportJobError>`](crate::operation::create_world_export_job::CreateWorldExportJobError)
    pub fn create_world_export_job(&self) -> crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder {
        crate::operation::create_world_export_job::builders::CreateWorldExportJobFluentBuilder::new(self.handle.clone())
    }
}