import type { __EndpointTypesElement, __TimezoneEstimationMethodsElement, Action, Alignment, AttributeType, ButtonAction, CampaignStatus, ChannelType, DayOfWeek, DeliveryStatus, DimensionType, Duration, FilterType, Format, Frequency, Include, JobStatus, Layout, MessageType, Mode, Operator, RecencyType, SegmentType, SourceType, State, TemplateType, Type } from "./enums"; /** *

Provides information about an activity that was performed by a campaign.

* @public */ export interface ActivityResponse { /** *

The unique identifier for the application that the campaign applies to.

* @public */ ApplicationId: string | undefined; /** *

The unique identifier for the campaign that the activity applies to.

* @public */ CampaignId: string | undefined; /** *

The actual time, in ISO 8601 format, when the activity was marked CANCELLED or COMPLETED.

* @public */ End?: string | undefined; /** *

The unique identifier for the activity.

* @public */ Id: string | undefined; /** *

Specifies whether the activity succeeded. Possible values are SUCCESS and FAIL.

* @public */ Result?: string | undefined; /** *

The scheduled start time, in ISO 8601 format, for the activity.

* @public */ ScheduledStart?: string | undefined; /** *

The actual start time, in ISO 8601 format, of the activity.

* @public */ Start?: string | undefined; /** *

The current status of the activity. Possible values are: PENDING, INITIALIZING, RUNNING, PAUSED, CANCELLED, and COMPLETED.

* @public */ State?: string | undefined; /** *

The total number of endpoints that the campaign successfully delivered messages to.

* @public */ SuccessfulEndpointCount?: number | undefined; /** *

The total number of time zones that were completed.

* @public */ TimezonesCompletedCount?: number | undefined; /** *

The total number of unique time zones that are in the segment for the campaign.

* @public */ TimezonesTotalCount?: number | undefined; /** *

The total number of endpoints that the campaign attempted to deliver messages to.

* @public */ TotalEndpointCount?: number | undefined; /** *

The unique identifier for the campaign treatment that the activity applies to. A treatment is a variation of a campaign that's used for A/B testing of a campaign.

* @public */ TreatmentId?: string | undefined; /** *

A JSON object that contains metrics relating to the campaign execution for this campaign activity. For information about the structure and contents of the results, see Standard Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer Guide.

* @public */ ExecutionMetrics?: Record | undefined; } /** *

Provides information about the activities that were performed by a campaign.

* @public */ export interface ActivitiesResponse { /** *

An array of responses, one for each activity that was performed by the campaign.

* @public */ Item: ActivityResponse[] | undefined; /** *

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

* @public */ NextToken?: string | undefined; } /** *

Specifies attribute-based criteria for including or excluding endpoints from a segment.

* @public */ export interface AttributeDimension { /** *

The type of segment dimension to use. Valid values are: