Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Registers your Amazon Web Services account, IAM, and Amazon Timestream resources so Amazon Web Services IoT FleetWise can transfer your vehicle data to the Amazon Web Services Cloud. For more information, including step-by-step procedures, see Setting up Amazon Web Services IoT FleetWise.
An Amazon Web Services account is not the same thing as a "user account". An Amazon Web Services user is an identity that you create using Identity and Access Management (IAM) and takes the form of either an IAM user or an IAM role, both with credentials. A single Amazon Web Services account can, and typically does, contain many users and roles.
Synopsis
- data RegisterAccount = RegisterAccount' {}
- newRegisterAccount :: TimestreamResources -> RegisterAccount
- registerAccount_iamResources :: Lens' RegisterAccount (Maybe IamResources)
- registerAccount_timestreamResources :: Lens' RegisterAccount TimestreamResources
- data RegisterAccountResponse = RegisterAccountResponse' {}
- newRegisterAccountResponse :: Int -> RegistrationStatus -> TimestreamResources -> IamResources -> UTCTime -> UTCTime -> RegisterAccountResponse
- registerAccountResponse_httpStatus :: Lens' RegisterAccountResponse Int
- registerAccountResponse_registerAccountStatus :: Lens' RegisterAccountResponse RegistrationStatus
- registerAccountResponse_timestreamResources :: Lens' RegisterAccountResponse TimestreamResources
- registerAccountResponse_iamResources :: Lens' RegisterAccountResponse IamResources
- registerAccountResponse_creationTime :: Lens' RegisterAccountResponse UTCTime
- registerAccountResponse_lastModificationTime :: Lens' RegisterAccountResponse UTCTime
Creating a Request
data RegisterAccount Source #
See: newRegisterAccount
smart constructor.
RegisterAccount' | |
|
Instances
Create a value of RegisterAccount
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
RegisterAccount
, registerAccount_iamResources
- The IAM resource that allows Amazon Web Services IoT FleetWise to send
data to Amazon Timestream.
RegisterAccount
, registerAccount_timestreamResources
- Undocumented member.
Request Lenses
registerAccount_iamResources :: Lens' RegisterAccount (Maybe IamResources) Source #
The IAM resource that allows Amazon Web Services IoT FleetWise to send data to Amazon Timestream.
registerAccount_timestreamResources :: Lens' RegisterAccount TimestreamResources Source #
Undocumented member.
Destructuring the Response
data RegisterAccountResponse Source #
See: newRegisterAccountResponse
smart constructor.
RegisterAccountResponse' | |
|
Instances
newRegisterAccountResponse Source #
:: Int | |
-> RegistrationStatus | |
-> TimestreamResources | |
-> IamResources | |
-> UTCTime | |
-> UTCTime | |
-> RegisterAccountResponse |
Create a value of RegisterAccountResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:RegisterAccountResponse'
, registerAccountResponse_httpStatus
- The response's http status code.
$sel:registerAccountStatus:RegisterAccountResponse'
, registerAccountResponse_registerAccountStatus
- The status of registering your Amazon Web Services account, IAM role,
and Timestream resources.
RegisterAccount
, registerAccountResponse_timestreamResources
- Undocumented member.
RegisterAccount
, registerAccountResponse_iamResources
- The registered IAM resource that allows Amazon Web Services IoT
FleetWise to send data to Amazon Timestream.
RegisterAccountResponse
, registerAccountResponse_creationTime
- The time the account was registered, in seconds since epoch (January 1,
1970 at midnight UTC time).
RegisterAccountResponse
, registerAccountResponse_lastModificationTime
- The time this registration was last updated, in seconds since epoch
(January 1, 1970 at midnight UTC time).
Response Lenses
registerAccountResponse_httpStatus :: Lens' RegisterAccountResponse Int Source #
The response's http status code.
registerAccountResponse_registerAccountStatus :: Lens' RegisterAccountResponse RegistrationStatus Source #
The status of registering your Amazon Web Services account, IAM role, and Timestream resources.
registerAccountResponse_timestreamResources :: Lens' RegisterAccountResponse TimestreamResources Source #
Undocumented member.
registerAccountResponse_iamResources :: Lens' RegisterAccountResponse IamResources Source #
The registered IAM resource that allows Amazon Web Services IoT FleetWise to send data to Amazon Timestream.
registerAccountResponse_creationTime :: Lens' RegisterAccountResponse UTCTime Source #
The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).
registerAccountResponse_lastModificationTime :: Lens' RegisterAccountResponse UTCTime Source #
The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).