1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateWorldGenerationJob`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::set_client_request_token): <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
    ///   - [`template(impl Into<String>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::template) / [`set_template(Option<String>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::set_template): <p>The Amazon Resource Name (arn) of the world template describing the worlds you want to create.</p>
    ///   - [`world_count(WorldCount)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::world_count) / [`set_world_count(Option<WorldCount>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::set_world_count): <p>Information about the world count.</p>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::tags) / [`set_tags(Option<HashMap<String, String>>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::set_tags): <p>A map that contains tag keys and tag values that are attached to the world generator job.</p>
    ///   - [`world_tags(impl Into<String>, impl Into<String>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::world_tags) / [`set_world_tags(Option<HashMap<String, String>>)`](crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::set_world_tags): <p>A map that contains tag keys and tag values that are attached to the generated worlds.</p>
    /// - On success, responds with [`CreateWorldGenerationJobOutput`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::arn): <p>The Amazon Resource Name (ARN) of the world generator job.</p>
    ///   - [`status(Option<WorldGenerationJobStatus>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::status): <p>The status of the world generator job.</p>  <dl>   <dt>   Pending  </dt>   <dd>    <p>The world generator job request is pending.</p>   </dd>   <dt>   Running  </dt>   <dd>    <p>The world generator job is running. </p>   </dd>   <dt>   Completed  </dt>   <dd>    <p>The world generator job completed. </p>   </dd>   <dt>   Failed  </dt>   <dd>    <p>The world generator job failed. See <code>failureCode</code> for more information. </p>   </dd>   <dt>   PartialFailed  </dt>   <dd>    <p>Some worlds did not generate.</p>   </dd>   <dt>   Canceled  </dt>   <dd>    <p>The world generator job was cancelled.</p>   </dd>   <dt>   Canceling  </dt>   <dd>    <p>The world generator job is being cancelled.</p>   </dd>  </dl>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::created_at): <p>The time, in milliseconds since the epoch, when the world generator job was created.</p>
    ///   - [`failure_code(Option<WorldGenerationJobErrorCode>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::failure_code): <p>The failure code of the world generator 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>  </dl>
    ///   - [`client_request_token(Option<String>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::client_request_token): <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
    ///   - [`template(Option<String>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::template): <p>The Amazon Resource Name (arn) of the world template.</p>
    ///   - [`world_count(Option<WorldCount>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::world_count): <p>Information about the world count. </p>
    ///   - [`tags(Option<HashMap<String, String>>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::tags): <p>A map that contains tag keys and tag values that are attached to the world generator job.</p>
    ///   - [`world_tags(Option<HashMap<String, String>>)`](crate::operation::create_world_generation_job::CreateWorldGenerationJobOutput::world_tags): <p>A map that contains tag keys and tag values that are attached to the generated worlds.</p>
    /// - On failure, responds with [`SdkError<CreateWorldGenerationJobError>`](crate::operation::create_world_generation_job::CreateWorldGenerationJobError)
    pub fn create_world_generation_job(&self) -> crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder {
        crate::operation::create_world_generation_job::builders::CreateWorldGenerationJobFluentBuilder::new(self.handle.clone())
    }
}