1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateDeviceFleet`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`device_fleet_name(impl Into<String>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::device_fleet_name) / [`set_device_fleet_name(Option<String>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::set_device_fleet_name): <p>The name of the fleet that the device belongs to.</p>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::set_role_arn): <p>The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).</p>
    ///   - [`description(impl Into<String>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::set_description): <p>A description of the fleet.</p>
    ///   - [`output_config(EdgeOutputConfig)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::output_config) / [`set_output_config(Option<EdgeOutputConfig>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::set_output_config): <p>The output configuration for storing sample data collected by the fleet.</p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::set_tags): <p>Creates tags for the specified fleet.</p>
    ///   - [`enable_iot_role_alias(bool)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::enable_iot_role_alias) / [`set_enable_iot_role_alias(Option<bool>)`](crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::set_enable_iot_role_alias): <p>Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".</p>  <p>For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".</p>
    /// - On success, responds with [`CreateDeviceFleetOutput`](crate::operation::create_device_fleet::CreateDeviceFleetOutput)
    /// - On failure, responds with [`SdkError<CreateDeviceFleetError>`](crate::operation::create_device_fleet::CreateDeviceFleetError)
    pub fn create_device_fleet(
        &self,
    ) -> crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder {
        crate::operation::create_device_fleet::builders::CreateDeviceFleetFluentBuilder::new(
            self.handle.clone(),
        )
    }
}