get_register_account_status
()¶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.
Note
This API operation doesn't require input parameters.
See also: AWS API Documentation
Request Syntax
response = client.get_register_account_status()
{
'customerAccountId': 'string',
'accountStatus': 'REGISTRATION_PENDING'|'REGISTRATION_SUCCESS'|'REGISTRATION_FAILURE',
'timestreamRegistrationResponse': {
'timestreamDatabaseName': 'string',
'timestreamTableName': 'string',
'timestreamDatabaseArn': 'string',
'timestreamTableArn': 'string',
'registrationStatus': 'REGISTRATION_PENDING'|'REGISTRATION_SUCCESS'|'REGISTRATION_FAILURE',
'errorMessage': 'string'
},
'iamRegistrationResponse': {
'roleArn': 'string',
'registrationStatus': 'REGISTRATION_PENDING'|'REGISTRATION_SUCCESS'|'REGISTRATION_FAILURE',
'errorMessage': 'string'
},
'creationTime': datetime(2015, 1, 1),
'lastModificationTime': datetime(2015, 1, 1)
}
Response Structure
The unique ID of the Amazon Web Services account, provided at account creation.
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.Information about the registered Amazon Timestream resources or errors, if any.
The name of the Timestream database.
The name of the Timestream database table.
The Amazon Resource Name (ARN) of the Timestream database.
The ARN of the Timestream database table.
The status of registering your Amazon Timestream resources. The status can be one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
, REGISTRATION_FAILURE
.
A message associated with a registration error.
Information about the registered IAM resources or errors, if any.
The Amazon Resource Name (ARN) of the IAM role to register.
The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
, REGISTRATION_PENDING
, REGISTRATION_FAILURE
.
A message associated with a registration error.
The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).
The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).
Exceptions
IoTFleetWise.Client.exceptions.ResourceNotFoundException
IoTFleetWise.Client.exceptions.InternalServerException
IoTFleetWise.Client.exceptions.ThrottlingException
IoTFleetWise.Client.exceptions.ValidationException
IoTFleetWise.Client.exceptions.AccessDeniedException