Module Values.CampaignSummarySource

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

Sourcetype nonrec t = {
  1. arn : CampaignArn.t option;
    (*

    The Amazon Resource Name (ARN) of a campaign.

    *)
  2. name : CampaignName.t option;
    (*

    The name of a campaign.

    *)
  3. description : Description.t option;
    (*

    The description of the campaign.

    *)
  4. signalCatalogArn : Arn.t option;
    (*

    The ARN of the signal catalog associated with the campaign.

    *)
  5. targetArn : Arn.t option;
    (*

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

    *)
  6. status : CampaignStatus.t option;
    (*

    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.

    *)
  7. creationTime : Timestamp.t option;
    (*

    The time the campaign was created.

    *)
  8. lastModificationTime : Timestamp.t option;
    (*

    The last time the campaign was modified.

    *)
}
Sourceval make : ?arn:??? -> ?name:??? -> ?description:??? -> ?signalCatalogArn:??? -> ?targetArn:??? -> ?status:??? -> ?creationTime:??? -> ?lastModificationTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CampaignArn.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t