Skip to content

get_register_account_status

get_register_account_status(
    *, config_overrides: Optional[IoTFleetWiseClientConfig] = None
) -> GetRegisterAccountStatusResponse

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.

Raises:

Source code in docs_src/capo_iotfleetwise/_services/io_t_fleet_wise.py
def get_register_account_status(
    self, *, config_overrides: Optional[IoTFleetWiseClientConfig] = None
) -> "capo_iotfleetwise.types.get_register_account_status_response.GetRegisterAccountStatusResponse":
    """<p> 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. </p> <p>For more information, including step-by-step procedures, see <a href="https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/setting-up.html">Setting up Amazon Web Services IoT FleetWise</a>. </p> <note> <p>This API operation doesn't require input parameters.</p> </note>

    Raises:
        capo_iotfleetwise.errors.internal_server_exception.InternalServerException: <p>The request couldn't be completed because the server temporarily failed.</p>
        capo_iotfleetwise.errors.access_denied_exception.AccessDeniedException: <p>You don't have sufficient permission to perform this action.</p>
        capo_iotfleetwise.errors.resource_not_found_exception.ResourceNotFoundException: <p>The resource wasn't found.</p>
        capo_iotfleetwise.errors.throttling_exception.ThrottlingException: <p>The request couldn't be completed due to throttling.</p>
        capo_iotfleetwise.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
        capo_iotfleetwise.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_iotfleetwise.types.get_register_account_status_request.GetRegisterAccountStatusRequest]",
    ) -> OperationResponse[
        "capo_iotfleetwise.types.get_register_account_status_response.GetRegisterAccountStatusResponse"
    ]:
        import capo_iotfleetwise._operations.io_t_autobahn_control_plane.get_register_account_status

        output, http_response = (
            capo_iotfleetwise._operations.io_t_autobahn_control_plane.get_register_account_status.get_register_account_status(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetRegisterAccountStatus")
    )
    input_: capo_iotfleetwise.types.get_register_account_status_request.GetRegisterAccountStatusRequest = {}

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output