aws_sdk_iotfleetwise/client/
register_account.rs

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 [`RegisterAccount`](crate::operation::register_account::builders::RegisterAccountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`RegisterAccountOutput`](crate::operation::register_account::RegisterAccountOutput) with field(s):
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<RegisterAccountError>`](crate::operation::register_account::RegisterAccountError)
    pub fn register_account(&self) -> crate::operation::register_account::builders::RegisterAccountFluentBuilder {
        crate::operation::register_account::builders::RegisterAccountFluentBuilder::new(self.handle.clone())
    }
}