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 |
Retrieves information about the status of registering your Amazon Web Services account, IAM, and Amazon Timestream resources so that 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.
This API operation doesn't require input parameters.
Synopsis
- data GetRegisterAccountStatus = GetRegisterAccountStatus' {
- newGetRegisterAccountStatus :: GetRegisterAccountStatus
- data GetRegisterAccountStatusResponse = GetRegisterAccountStatusResponse' {}
- newGetRegisterAccountStatusResponse :: Int -> Text -> RegistrationStatus -> TimestreamRegistrationResponse -> IamRegistrationResponse -> UTCTime -> UTCTime -> GetRegisterAccountStatusResponse
- getRegisterAccountStatusResponse_httpStatus :: Lens' GetRegisterAccountStatusResponse Int
- getRegisterAccountStatusResponse_customerAccountId :: Lens' GetRegisterAccountStatusResponse Text
- getRegisterAccountStatusResponse_accountStatus :: Lens' GetRegisterAccountStatusResponse RegistrationStatus
- getRegisterAccountStatusResponse_timestreamRegistrationResponse :: Lens' GetRegisterAccountStatusResponse TimestreamRegistrationResponse
- getRegisterAccountStatusResponse_iamRegistrationResponse :: Lens' GetRegisterAccountStatusResponse IamRegistrationResponse
- getRegisterAccountStatusResponse_creationTime :: Lens' GetRegisterAccountStatusResponse UTCTime
- getRegisterAccountStatusResponse_lastModificationTime :: Lens' GetRegisterAccountStatusResponse UTCTime
Creating a Request
data GetRegisterAccountStatus Source #
See: newGetRegisterAccountStatus
smart constructor.
Instances
newGetRegisterAccountStatus :: GetRegisterAccountStatus Source #
Create a value of GetRegisterAccountStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetRegisterAccountStatusResponse Source #
See: newGetRegisterAccountStatusResponse
smart constructor.
GetRegisterAccountStatusResponse' | |
|
Instances
newGetRegisterAccountStatusResponse Source #
Create a value of GetRegisterAccountStatusResponse
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:GetRegisterAccountStatusResponse'
, getRegisterAccountStatusResponse_httpStatus
- The response's http status code.
$sel:customerAccountId:GetRegisterAccountStatusResponse'
, getRegisterAccountStatusResponse_customerAccountId
- The unique ID of the Amazon Web Services account, provided at account
creation.
$sel:accountStatus:GetRegisterAccountStatusResponse'
, getRegisterAccountStatusResponse_accountStatus
- The status of registering your account and resources. The status can be
one of:
REGISTRATION_SUCCESS
- The Amazon Web Services resource is successfully registered.REGISTRATION_PENDING
- Amazon Web Services IoT FleetWise is processing the registration request. This process takes approximately five minutes to complete.REGISTRATION_FAILURE
- Amazon Web Services IoT FleetWise can't register the AWS resource. Try again later.
$sel:timestreamRegistrationResponse:GetRegisterAccountStatusResponse'
, getRegisterAccountStatusResponse_timestreamRegistrationResponse
- Information about the registered Amazon Timestream resources or errors,
if any.
$sel:iamRegistrationResponse:GetRegisterAccountStatusResponse'
, getRegisterAccountStatusResponse_iamRegistrationResponse
- Information about the registered IAM resources or errors, if any.
GetRegisterAccountStatusResponse
, getRegisterAccountStatusResponse_creationTime
- The time the account was registered, in seconds since epoch (January 1,
1970 at midnight UTC time).
GetRegisterAccountStatusResponse
, getRegisterAccountStatusResponse_lastModificationTime
- The time this registration was last updated, in seconds since epoch
(January 1, 1970 at midnight UTC time).
Response Lenses
getRegisterAccountStatusResponse_httpStatus :: Lens' GetRegisterAccountStatusResponse Int Source #
The response's http status code.
getRegisterAccountStatusResponse_customerAccountId :: Lens' GetRegisterAccountStatusResponse Text Source #
The unique ID of the Amazon Web Services account, provided at account creation.
getRegisterAccountStatusResponse_accountStatus :: Lens' GetRegisterAccountStatusResponse RegistrationStatus Source #
The status of registering your account and resources. The status can be one of:
REGISTRATION_SUCCESS
- The Amazon Web Services resource is successfully registered.REGISTRATION_PENDING
- Amazon Web Services IoT FleetWise is processing the registration request. This process takes approximately five minutes to complete.REGISTRATION_FAILURE
- Amazon Web Services IoT FleetWise can't register the AWS resource. Try again later.
getRegisterAccountStatusResponse_timestreamRegistrationResponse :: Lens' GetRegisterAccountStatusResponse TimestreamRegistrationResponse Source #
Information about the registered Amazon Timestream resources or errors, if any.
getRegisterAccountStatusResponse_iamRegistrationResponse :: Lens' GetRegisterAccountStatusResponse IamRegistrationResponse Source #
Information about the registered IAM resources or errors, if any.
getRegisterAccountStatusResponse_creationTime :: Lens' GetRegisterAccountStatusResponse UTCTime Source #
The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).
getRegisterAccountStatusResponse_lastModificationTime :: Lens' GetRegisterAccountStatusResponse UTCTime Source #
The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).