1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateDeviceProfile`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::set_name):<br>required: **false**<br><p>The name of the new resource.</p><br>
    ///   - [`lo_ra_wan(LoRaWanDeviceProfile)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::lo_ra_wan) / [`set_lo_ra_wan(Option<LoRaWanDeviceProfile>)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::set_lo_ra_wan):<br>required: **false**<br><p>The device profile information to use to create the device profile.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.</p><br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::set_client_request_token):<br>required: **false**<br><p>Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. </p><br>
    ///   - [`sidewalk(SidewalkCreateDeviceProfile)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::sidewalk) / [`set_sidewalk(Option<SidewalkCreateDeviceProfile>)`](crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::set_sidewalk):<br>required: **false**<br><p>The Sidewalk-related information for creating the Sidewalk device profile.</p><br>
    /// - On success, responds with [`CreateDeviceProfileOutput`](crate::operation::create_device_profile::CreateDeviceProfileOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_device_profile::CreateDeviceProfileOutput::arn): <p>The Amazon Resource Name of the new resource.</p>
    ///   - [`id(Option<String>)`](crate::operation::create_device_profile::CreateDeviceProfileOutput::id): <p>The ID of the new device profile.</p>
    /// - On failure, responds with [`SdkError<CreateDeviceProfileError>`](crate::operation::create_device_profile::CreateDeviceProfileError)
    pub fn create_device_profile(&self) -> crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder {
        crate::operation::create_device_profile::builders::CreateDeviceProfileFluentBuilder::new(self.handle.clone())
    }
}