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 [`CreateVehicle`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`vehicle_name(impl ::std::convert::Into<String>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::vehicle_name) / [`set_vehicle_name(Option<String>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::set_vehicle_name): <p> The unique ID of the vehicle to create. </p>
    ///   - [`model_manifest_arn(impl ::std::convert::Into<String>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::model_manifest_arn) / [`set_model_manifest_arn(Option<String>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::set_model_manifest_arn): <p> The Amazon Resource Name ARN of a vehicle model. </p>
    ///   - [`decoder_manifest_arn(impl ::std::convert::Into<String>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::decoder_manifest_arn) / [`set_decoder_manifest_arn(Option<String>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::set_decoder_manifest_arn): <p> The ARN of a decoder manifest. </p>
    ///   - [`attributes(HashMap<String, String>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::attributes) / [`set_attributes(Option<HashMap<String, String>>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::set_attributes): <p>Static information about a vehicle in a key-value pair. For example: <code>"engineType"</code> : <code>"1.3 L R2"</code> </p>
    ///   - [`association_behavior(VehicleAssociationBehavior)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::association_behavior) / [`set_association_behavior(Option<VehicleAssociationBehavior>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::set_association_behavior): <p> An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle. </p>  <p>Default: <code></code> </p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::set_tags): <p>Metadata that can be used to manage the vehicle.</p>
    /// - On success, responds with [`CreateVehicleOutput`](crate::operation::create_vehicle::CreateVehicleOutput) with field(s):
    ///   - [`vehicle_name(Option<String>)`](crate::operation::create_vehicle::CreateVehicleOutput::vehicle_name): <p>The unique ID of the created vehicle.</p>
    ///   - [`arn(Option<String>)`](crate::operation::create_vehicle::CreateVehicleOutput::arn): <p> The ARN of the created vehicle. </p>
    ///   - [`thing_arn(Option<String>)`](crate::operation::create_vehicle::CreateVehicleOutput::thing_arn): <p> The ARN of a created or validated Amazon Web Services IoT thing. </p>
    /// - On failure, responds with [`SdkError<CreateVehicleError>`](crate::operation::create_vehicle::CreateVehicleError)
    pub fn create_vehicle(
        &self,
    ) -> crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder {
        crate::operation::create_vehicle::builders::CreateVehicleFluentBuilder::new(
            self.handle.clone(),
        )
    }
}