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.RegisterAccount

Description

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

Creating a Request

data RegisterAccount Source #

See: newRegisterAccount smart constructor.

Constructors

RegisterAccount' 

Fields

Instances

Instances details
ToJSON RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

ToHeaders RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

ToPath RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

ToQuery RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

AWSRequest RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

Associated Types

type AWSResponse RegisterAccount #

Generic RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

Associated Types

type Rep RegisterAccount :: Type -> Type #

Read RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

Show RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

NFData RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

Methods

rnf :: RegisterAccount -> () #

Eq RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

Hashable RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

type AWSResponse RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

type Rep RegisterAccount Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

type Rep RegisterAccount = D1 ('MetaData "RegisterAccount" "Amazonka.IoTFleetWise.RegisterAccount" "amazonka-iotfleetwise-2.0-3noXdw9CznA79cw3EwaHcU" 'False) (C1 ('MetaCons "RegisterAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iamResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IamResources)) :*: S1 ('MetaSel ('Just "timestreamResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimestreamResources)))

newRegisterAccount Source #

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.

Destructuring the Response

data RegisterAccountResponse Source #

See: newRegisterAccountResponse smart constructor.

Constructors

RegisterAccountResponse' 

Fields

Instances

Instances details
Generic RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

Associated Types

type Rep RegisterAccountResponse :: Type -> Type #

Read RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

Show RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

NFData RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

Methods

rnf :: RegisterAccountResponse -> () #

Eq RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

type Rep RegisterAccountResponse Source # 
Instance details

Defined in Amazonka.IoTFleetWise.RegisterAccount

type Rep RegisterAccountResponse = D1 ('MetaData "RegisterAccountResponse" "Amazonka.IoTFleetWise.RegisterAccount" "amazonka-iotfleetwise-2.0-3noXdw9CznA79cw3EwaHcU" 'False) (C1 ('MetaCons "RegisterAccountResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "registerAccountStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegistrationStatus) :*: S1 ('MetaSel ('Just "timestreamResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimestreamResources))) :*: (S1 ('MetaSel ('Just "iamResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 IamResources) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "lastModificationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))

newRegisterAccountResponse Source #

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_registerAccountStatus :: Lens' RegisterAccountResponse RegistrationStatus Source #

The status of registering your Amazon Web Services account, IAM role, and Timestream resources.

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