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.Types.CampaignSummary

Description

 
Synopsis

Documentation

data CampaignSummary Source #

Information about a campaign.

You can use the API operation to return this information about multiple created campaigns.

See: newCampaignSummary smart constructor.

Constructors

CampaignSummary' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of a campaign.

  • description :: Maybe Text

    The description of the campaign.

  • name :: Maybe Text

    The name of a campaign.

  • signalCatalogArn :: Maybe Text

    The ARN of the signal catalog associated with the campaign.

  • status :: Maybe CampaignStatus

    The state of a campaign. The status can be one of the following:

    • CREATING - Amazon Web Services IoT FleetWise is processing your request to create the campaign.
    • WAITING_FOR_APPROVAL - After a campaign is created, it enters the WAITING_FOR_APPROVAL state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the API operation to approve the campaign.
    • RUNNING - The campaign is active.
    • SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
  • targetArn :: Maybe Text

    The ARN of a vehicle or fleet to which the campaign is deployed.

  • creationTime :: POSIX

    The time the campaign was created.

  • lastModificationTime :: POSIX

    The last time the campaign was modified.

Instances

Instances details
FromJSON CampaignSummary Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.CampaignSummary

Generic CampaignSummary Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.CampaignSummary

Associated Types

type Rep CampaignSummary :: Type -> Type #

Read CampaignSummary Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.CampaignSummary

Show CampaignSummary Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.CampaignSummary

NFData CampaignSummary Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.CampaignSummary

Methods

rnf :: CampaignSummary -> () #

Eq CampaignSummary Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.CampaignSummary

Hashable CampaignSummary Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.CampaignSummary

type Rep CampaignSummary Source # 
Instance details

Defined in Amazonka.IoTFleetWise.Types.CampaignSummary

newCampaignSummary Source #

Create a value of CampaignSummary 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:arn:CampaignSummary', campaignSummary_arn - The Amazon Resource Name (ARN) of a campaign.

$sel:description:CampaignSummary', campaignSummary_description - The description of the campaign.

$sel:name:CampaignSummary', campaignSummary_name - The name of a campaign.

$sel:signalCatalogArn:CampaignSummary', campaignSummary_signalCatalogArn - The ARN of the signal catalog associated with the campaign.

$sel:status:CampaignSummary', campaignSummary_status - The state of a campaign. The status can be one of the following:

  • CREATING - Amazon Web Services IoT FleetWise is processing your request to create the campaign.
  • WAITING_FOR_APPROVAL - After a campaign is created, it enters the WAITING_FOR_APPROVAL state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the API operation to approve the campaign.
  • RUNNING - The campaign is active.
  • SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.

$sel:targetArn:CampaignSummary', campaignSummary_targetArn - The ARN of a vehicle or fleet to which the campaign is deployed.

$sel:creationTime:CampaignSummary', campaignSummary_creationTime - The time the campaign was created.

$sel:lastModificationTime:CampaignSummary', campaignSummary_lastModificationTime - The last time the campaign was modified.

campaignSummary_arn :: Lens' CampaignSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of a campaign.

campaignSummary_description :: Lens' CampaignSummary (Maybe Text) Source #

The description of the campaign.

campaignSummary_signalCatalogArn :: Lens' CampaignSummary (Maybe Text) Source #

The ARN of the signal catalog associated with the campaign.

campaignSummary_status :: Lens' CampaignSummary (Maybe CampaignStatus) Source #

The state of a campaign. The status can be one of the following:

  • CREATING - Amazon Web Services IoT FleetWise is processing your request to create the campaign.
  • WAITING_FOR_APPROVAL - After a campaign is created, it enters the WAITING_FOR_APPROVAL state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the API operation to approve the campaign.
  • RUNNING - The campaign is active.
  • SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.

campaignSummary_targetArn :: Lens' CampaignSummary (Maybe Text) Source #

The ARN of a vehicle or fleet to which the campaign is deployed.

campaignSummary_creationTime :: Lens' CampaignSummary UTCTime Source #

The time the campaign was created.

campaignSummary_lastModificationTime :: Lens' CampaignSummary UTCTime Source #

The last time the campaign was modified.