Campaign class

Describes a deployed solution version, otherwise known as a campaign. For more information on campaigns, see CreateCampaign.

  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)


Campaign({String campaignArn, CampaignConfig campaignConfig, DateTime creationDateTime, String failureReason, DateTime lastUpdatedDateTime, CampaignUpdateSummary latestCampaignUpdate, int minProvisionedTPS, String name, String solutionVersionArn, String status})
Campaign.fromJson(Map<String, dynamic> json)


campaignArn String
The Amazon Resource Name (ARN) of the campaign.
@JsonKey(name: 'campaignArn'), final
campaignConfig CampaignConfig
The configuration details of a campaign.
@JsonKey(name: 'campaignConfig'), final
creationDateTime DateTime
The date and time (in Unix format) that the campaign was created.
@UnixDateTimeConverter(), @JsonKey(name: 'creationDateTime'), final
failureReason String
If a campaign fails, the reason behind the failure.
@JsonKey(name: 'failureReason'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
lastUpdatedDateTime DateTime
The date and time (in Unix format) that the campaign was last updated.
@UnixDateTimeConverter(), @JsonKey(name: 'lastUpdatedDateTime'), final
latestCampaignUpdate CampaignUpdateSummary
@JsonKey(name: 'latestCampaignUpdate'), final
minProvisionedTPS int
Specifies the requested minimum provisioned transactions (recommendations) per second.
@JsonKey(name: 'minProvisionedTPS'), final
name String
The name of the campaign.
@JsonKey(name: 'name'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
solutionVersionArn String
The Amazon Resource Name (ARN) of a specific version of the solution.
@JsonKey(name: 'solutionVersionArn'), final
status String
The status of the campaign. [...]
@JsonKey(name: 'status'), final


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]