amazonka-iotfleetwise-2.0: Amazon IoT FleetWise SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTFleetWise.GetRegisterAccountStatus

Description

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

Creating a Request

data GetRegisterAccountStatus Source #

See: newGetRegisterAccountStatus smart constructor.

Instances

Instances details
ToJSON GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

ToHeaders GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

ToPath GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

ToQuery GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

AWSRequest GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

Generic GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

Associated Types

type Rep GetRegisterAccountStatus :: Type -> Type #

Read GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

Show GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

NFData GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

Eq GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

Hashable GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

type AWSResponse GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

type Rep GetRegisterAccountStatus Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

type Rep GetRegisterAccountStatus = D1 ('MetaData "GetRegisterAccountStatus" "Amazonka.IoTFleetWise.GetRegisterAccountStatus" "amazonka-iotfleetwise-2.0-3noXdw9CznA79cw3EwaHcU" 'False) (C1 ('MetaCons "GetRegisterAccountStatus'" 'PrefixI 'False) (U1 :: Type -> Type))

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.

Constructors

GetRegisterAccountStatusResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • customerAccountId :: Text

    The unique ID of the Amazon Web Services account, provided at account creation.

  • accountStatus :: RegistrationStatus

    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.
  • timestreamRegistrationResponse :: TimestreamRegistrationResponse

    Information about the registered Amazon Timestream resources or errors, if any.

  • iamRegistrationResponse :: IamRegistrationResponse

    Information about the registered IAM resources or errors, if any.

  • creationTime :: POSIX

    The time the account was registered, in seconds since epoch (January 1, 1970 at midnight UTC time).

  • lastModificationTime :: POSIX

    The time this registration was last updated, in seconds since epoch (January 1, 1970 at midnight UTC time).

Instances

Instances details
Generic GetRegisterAccountStatusResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

Associated Types

type Rep GetRegisterAccountStatusResponse :: Type -> Type #

Read GetRegisterAccountStatusResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

Show GetRegisterAccountStatusResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

NFData GetRegisterAccountStatusResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

Eq GetRegisterAccountStatusResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

type Rep GetRegisterAccountStatusResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.GetRegisterAccountStatus

type Rep GetRegisterAccountStatusResponse = D1 ('MetaData "GetRegisterAccountStatusResponse" "Amazonka.IoTFleetWise.GetRegisterAccountStatus" "amazonka-iotfleetwise-2.0-3noXdw9CznA79cw3EwaHcU" 'False) (C1 ('MetaCons "GetRegisterAccountStatusResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "customerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "accountStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegistrationStatus))) :*: ((S1 ('MetaSel ('Just "timestreamRegistrationResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimestreamRegistrationResponse) :*: S1 ('MetaSel ('Just "iamRegistrationResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IamRegistrationResponse)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "lastModificationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

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_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_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).