Module Values.DescribeCampaignResponseSource

Describes the given campaign, including its status. A campaign can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS When the status is CREATE FAILED, the response includes the failureReason key, which describes why. For more information on campaigns, see CreateCampaign.

Sourcetype nonrec t = {
  1. campaign : Campaign.t option;
    (*

    The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call. The properties of the campaign. The latestCampaignUpdate field is only returned when the campaign has had at least one UpdateCampaign call.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInputException of InvalidInputException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?campaign:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInputException of InvalidInputException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInputException of InvalidInputException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of TransactionsPerSecond.t | `String of Name.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of TransactionsPerSecond.t | `Map of ([> `Enum of string | `String of ParameterName.t ] * [> `Double of RankingInfluenceWeight.t | `String of ParameterValue.t ]) list | `String of Arn.t | `Structure of (string * [> `Boolean of Boolean.t | `Map of ([> `Enum of string | `String of ParameterName.t ] * [> `Double of RankingInfluenceWeight.t | `String of ParameterValue.t ]) list ]) list | `Timestamp of Date.t ]) list | `Timestamp of Date.t ]) list ]) 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