aws_sdk_iotfleetwise/client/
register_account.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`RegisterAccount`](crate::operation::register_account::builders::RegisterAccountFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`timestream_resources(TimestreamResources)`](crate::operation::register_account::builders::RegisterAccountFluentBuilder::timestream_resources) / [`set_timestream_resources(Option<TimestreamResources>)`](crate::operation::register_account::builders::RegisterAccountFluentBuilder::set_timestream_resources):<br>required: **false**<br><p>The registered Amazon Timestream resources that Amazon Web Services IoT FleetWise edge agent software can transfer your vehicle data to.</p><br>
7    ///   - [`iam_resources(IamResources)`](crate::operation::register_account::builders::RegisterAccountFluentBuilder::iam_resources) / [`set_iam_resources(Option<IamResources>)`](crate::operation::register_account::builders::RegisterAccountFluentBuilder::set_iam_resources):<br>required: **false**<br><p>The IAM resource that allows Amazon Web Services IoT FleetWise to send data to Amazon Timestream.</p><br>
8    /// - On success, responds with [`RegisterAccountOutput`](crate::operation::register_account::RegisterAccountOutput) with field(s):
9    ///   - [`register_account_status(RegistrationStatus)`](crate::operation::register_account::RegisterAccountOutput::register_account_status): <p>The status of registering your Amazon Web Services account, IAM role, and Timestream resources.</p>
10    ///   - [`timestream_resources(Option<TimestreamResources>)`](crate::operation::register_account::RegisterAccountOutput::timestream_resources): <p>The registered Amazon Timestream resources that Amazon Web Services IoT FleetWise edge agent software can transfer your vehicle data to.</p>
11    ///   - [`iam_resources(Option<IamResources>)`](crate::operation::register_account::RegisterAccountOutput::iam_resources): <p>The registered IAM resource that allows Amazon Web Services IoT FleetWise to send data to Amazon Timestream.</p>
12    ///   - [`creation_time(DateTime)`](crate::operation::register_account::RegisterAccountOutput::creation_time): <p>The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
13    ///   - [`last_modification_time(DateTime)`](crate::operation::register_account::RegisterAccountOutput::last_modification_time): <p>The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).</p>
14    /// - On failure, responds with [`SdkError<RegisterAccountError>`](crate::operation::register_account::RegisterAccountError)
15    pub fn register_account(&self) -> crate::operation::register_account::builders::RegisterAccountFluentBuilder {
16        crate::operation::register_account::builders::RegisterAccountFluentBuilder::new(self.handle.clone())
17    }
18}