AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the Amazon Pinpoint CreateCampaign API operation.

Syntax

New-PINCampaign
-ApplicationId <String>
-ADMMessage_Action <Action>
-APNSMessage_Action <Action>
-BaiduMessage_Action <Action>
-DefaultMessage_Action <Action>
-GCMMessage_Action <Action>
-WriteCampaignRequest_AdditionalTreatment <WriteTreatmentResource[]>
-Dimensions_Attribute <Hashtable>
-ADMMessage_Body <String>
-APNSMessage_Body <String>
-BaiduMessage_Body <String>
-DefaultMessage_Body <String>
-EmailMessage_Body <String>
-GCMMessage_Body <String>
-SMSMessage_Body <String>
-Limits_Daily <Int32>
-WriteCampaignRequest_Description <String>
-EventType_DimensionType <DimensionType>
-QuietTime_End <String>
-Schedule_EndTime <String>
-EventFilter_FilterType <FilterType>
-Schedule_Frequency <Frequency>
-EmailMessage_FromAddress <String>
-WriteCampaignRequest_HoldoutPercent <Int32>
-EmailMessage_HtmlBody <String>
-ADMMessage_ImageIconUrl <String>
-APNSMessage_ImageIconUrl <String>
-BaiduMessage_ImageIconUrl <String>
-DefaultMessage_ImageIconUrl <String>
-GCMMessage_ImageIconUrl <String>
-ADMMessage_ImageSmallIconUrl <String>
-APNSMessage_ImageSmallIconUrl <String>
-BaiduMessage_ImageSmallIconUrl <String>
-DefaultMessage_ImageSmallIconUrl <String>
-GCMMessage_ImageSmallIconUrl <String>
-ADMMessage_ImageUrl <String>
-APNSMessage_ImageUrl <String>
-BaiduMessage_ImageUrl <String>
-DefaultMessage_ImageUrl <String>
-GCMMessage_ImageUrl <String>
-Schedule_IsLocalTime <Boolean>
-WriteCampaignRequest_IsPaused <Boolean>
-ADMMessage_JsonBody <String>
-APNSMessage_JsonBody <String>
-BaiduMessage_JsonBody <String>
-DefaultMessage_JsonBody <String>
-GCMMessage_JsonBody <String>
-Hook_LambdaFunctionName <String>
-Limits_MaximumDuration <Int32>
-ADMMessage_MediaUrl <String>
-APNSMessage_MediaUrl <String>
-BaiduMessage_MediaUrl <String>
-DefaultMessage_MediaUrl <String>
-GCMMessage_MediaUrl <String>
-Limits_MessagesPerSecond <Int32>
-SMSMessage_MessageType <MessageType>
-Dimensions_Metric <Hashtable>
-Hook_Mode <Mode>
-WriteCampaignRequest_Name <String>
-ADMMessage_RawContent <String>
-APNSMessage_RawContent <String>
-BaiduMessage_RawContent <String>
-DefaultMessage_RawContent <String>
-GCMMessage_RawContent <String>
-WriteCampaignRequest_SegmentId <String>
-WriteCampaignRequest_SegmentVersion <Int32>
-SMSMessage_SenderId <String>
-ADMMessage_SilentPush <Boolean>
-APNSMessage_SilentPush <Boolean>
-BaiduMessage_SilentPush <Boolean>
-DefaultMessage_SilentPush <Boolean>
-GCMMessage_SilentPush <Boolean>
-QuietTime_Start <String>
-Schedule_StartTime <String>
-WriteCampaignRequest_Tag <Hashtable>
-ADMMessage_TimeToLive <Int32>
-APNSMessage_TimeToLive <Int32>
-BaiduMessage_TimeToLive <Int32>
-DefaultMessage_TimeToLive <Int32>
-GCMMessage_TimeToLive <Int32>
-Schedule_Timezone <String>
-ADMMessage_Title <String>
-APNSMessage_Title <String>
-BaiduMessage_Title <String>
-DefaultMessage_Title <String>
-EmailMessage_Title <String>
-GCMMessage_Title <String>
-Limits_Total <Int32>
-WriteCampaignRequest_TreatmentDescription <String>
-WriteCampaignRequest_TreatmentName <String>
-ADMMessage_Url <String>
-APNSMessage_Url <String>
-BaiduMessage_Url <String>
-DefaultMessage_Url <String>
-GCMMessage_Url <String>
-EventType_Value <String[]>
-Hook_WebUrl <String>
-Force <SwitchParameter>

Description

Creates or updates a campaign.

Parameters

-ADMMessage_Action <Action>
The action that occurs if the user taps a push notification delivered by the campaign:OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action.DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app.URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_Action
-ADMMessage_Body <String>
The message body. Can include up to 140 characters.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_Body
-ADMMessage_ImageIconUrl <String>
The URL that points to the icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_ImageIconUrl
-ADMMessage_ImageSmallIconUrl <String>
The URL that points to the small icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_ImageSmallIconUrl
-ADMMessage_ImageUrl <String>
The URL that points to an image used in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_ImageUrl
-ADMMessage_JsonBody <String>
The JSON payload used for a silent push.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_JsonBody
-ADMMessage_MediaUrl <String>
A URL that refers to the location of an image or video that you want to display in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_MediaUrl
-ADMMessage_RawContent <String>
The Raw JSON formatted string to be used as the payload. This value overrides the message.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_RawContent
-ADMMessage_SilentPush <Boolean>
Indicates if the message should display on the users device.Silent pushes can be used for Remote Configuration and Phone Home use cases.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_SilentPush
-ADMMessage_TimeToLive <Int32>
This parameter specifies how long (in seconds) the message should be kept if the service is unable to deliver the notification the first time. If the value is 0, it treats the notification as if it expires immediately and does not store the notification or attempt to redeliver it. This value is converted to the expiration field when sent to the service. It only applies to APNs and GCM
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_TimeToLive
-ADMMessage_Title <String>
The message title that displays above the message on the user's device.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_Title
-ADMMessage_Url <String>
The URL to open in the user's mobile browser. Used if the value for Action is URL.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_Url
-APNSMessage_Action <Action>
The action that occurs if the user taps a push notification delivered by the campaign:OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action.DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app.URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_Action
-APNSMessage_Body <String>
The message body. Can include up to 140 characters.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_Body
-APNSMessage_ImageIconUrl <String>
The URL that points to the icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_ImageIconUrl
-APNSMessage_ImageSmallIconUrl <String>
The URL that points to the small icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_ImageSmallIconUrl
-APNSMessage_ImageUrl <String>
The URL that points to an image used in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_ImageUrl
-APNSMessage_JsonBody <String>
The JSON payload used for a silent push.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_JsonBody
-APNSMessage_MediaUrl <String>
A URL that refers to the location of an image or video that you want to display in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_MediaUrl
-APNSMessage_RawContent <String>
The Raw JSON formatted string to be used as the payload. This value overrides the message.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_RawContent
-APNSMessage_SilentPush <Boolean>
Indicates if the message should display on the users device.Silent pushes can be used for Remote Configuration and Phone Home use cases.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_SilentPush
-APNSMessage_TimeToLive <Int32>
This parameter specifies how long (in seconds) the message should be kept if the service is unable to deliver the notification the first time. If the value is 0, it treats the notification as if it expires immediately and does not store the notification or attempt to redeliver it. This value is converted to the expiration field when sent to the service. It only applies to APNs and GCM
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_TimeToLive
-APNSMessage_Title <String>
The message title that displays above the message on the user's device.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_Title
-APNSMessage_Url <String>
The URL to open in the user's mobile browser. Used if the value for Action is URL.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_Url
-ApplicationId <String>
The unique ID of your Amazon Pinpoint application.
Required?False
Position?1
Accept pipeline input?True (ByValue, )
-BaiduMessage_Action <Action>
The action that occurs if the user taps a push notification delivered by the campaign:OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action.DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app.URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_Action
-BaiduMessage_Body <String>
The message body. Can include up to 140 characters.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_Body
-BaiduMessage_ImageIconUrl <String>
The URL that points to the icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_ImageIconUrl
-BaiduMessage_ImageSmallIconUrl <String>
The URL that points to the small icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_ImageSmallIconUrl
-BaiduMessage_ImageUrl <String>
The URL that points to an image used in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_ImageUrl
-BaiduMessage_JsonBody <String>
The JSON payload used for a silent push.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_JsonBody
-BaiduMessage_MediaUrl <String>
A URL that refers to the location of an image or video that you want to display in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_MediaUrl
-BaiduMessage_RawContent <String>
The Raw JSON formatted string to be used as the payload. This value overrides the message.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_RawContent
-BaiduMessage_SilentPush <Boolean>
Indicates if the message should display on the users device.Silent pushes can be used for Remote Configuration and Phone Home use cases.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_SilentPush
-BaiduMessage_TimeToLive <Int32>
This parameter specifies how long (in seconds) the message should be kept if the service is unable to deliver the notification the first time. If the value is 0, it treats the notification as if it expires immediately and does not store the notification or attempt to redeliver it. This value is converted to the expiration field when sent to the service. It only applies to APNs and GCM
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_TimeToLive
-BaiduMessage_Title <String>
The message title that displays above the message on the user's device.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_Title
-BaiduMessage_Url <String>
The URL to open in the user's mobile browser. Used if the value for Action is URL.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_Url
-DefaultMessage_Action <Action>
The action that occurs if the user taps a push notification delivered by the campaign:OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action.DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app.URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_Action
-DefaultMessage_Body <String>
The message body. Can include up to 140 characters.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_Body
-DefaultMessage_ImageIconUrl <String>
The URL that points to the icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_ImageIconUrl
-DefaultMessage_ImageSmallIconUrl <String>
The URL that points to the small icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_ImageSmallIconUrl
-DefaultMessage_ImageUrl <String>
The URL that points to an image used in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_ImageUrl
-DefaultMessage_JsonBody <String>
The JSON payload used for a silent push.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_JsonBody
-DefaultMessage_MediaUrl <String>
A URL that refers to the location of an image or video that you want to display in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_MediaUrl
-DefaultMessage_RawContent <String>
The Raw JSON formatted string to be used as the payload. This value overrides the message.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_RawContent
-DefaultMessage_SilentPush <Boolean>
Indicates if the message should display on the users device.Silent pushes can be used for Remote Configuration and Phone Home use cases.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_SilentPush
-DefaultMessage_TimeToLive <Int32>
This parameter specifies how long (in seconds) the message should be kept if the service is unable to deliver the notification the first time. If the value is 0, it treats the notification as if it expires immediately and does not store the notification or attempt to redeliver it. This value is converted to the expiration field when sent to the service. It only applies to APNs and GCM
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_TimeToLive
-DefaultMessage_Title <String>
The message title that displays above the message on the user's device.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_Title
-DefaultMessage_Url <String>
The URL to open in the user's mobile browser. Used if the value for Action is URL.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_Url
-Dimensions_Attribute <Hashtable>
Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_EventFilter_Dimensions_Attributes
-Dimensions_Metric <Hashtable>
Custom metrics that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria when you create an event filter.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_EventFilter_Dimensions_Metrics
-EmailMessage_Body <String>
The email text body.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_EmailMessage_Body
-EmailMessage_FromAddress <String>
The email address used to send the email from. Defaults to use FromAddress specified in the Email Channel.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_EmailMessage_FromAddress
-EmailMessage_HtmlBody <String>
The email html body.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_EmailMessage_HtmlBody
-EmailMessage_Title <String>
The email title (Or subject).
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_EmailMessage_Title
-EventFilter_FilterType <FilterType>
The type of event that causes the campaign to be sent. Possible values:SYSTEM - Send the campaign when a system event occurs. See the System resource for more information.ENDPOINT - Send the campaign when an endpoint event occurs. See the Event resource for more information.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_EventFilter_FilterType
-EventType_DimensionType <DimensionType>
The type of dimension:INCLUSIVE - Endpoints that match the criteria are included in the segment.EXCLUSIVE - Endpoints that match the criteria are excluded from the segment.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_EventFilter_Dimensions_EventType_DimensionType
-EventType_Value <String[]>
The criteria values for the segment dimension. Endpoints with matching attribute values are included or excluded from the segment, depending on the setting for Type.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_EventFilter_Dimensions_EventType_Values
-Force <SwitchParameter>
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?False
-GCMMessage_Action <Action>
The action that occurs if the user taps a push notification delivered by the campaign:OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action.DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app.URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_Action
-GCMMessage_Body <String>
The message body. Can include up to 140 characters.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_Body
-GCMMessage_ImageIconUrl <String>
The URL that points to the icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_ImageIconUrl
-GCMMessage_ImageSmallIconUrl <String>
The URL that points to the small icon image for the push notification icon, for example, the app icon.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_ImageSmallIconUrl
-GCMMessage_ImageUrl <String>
The URL that points to an image used in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_ImageUrl
-GCMMessage_JsonBody <String>
The JSON payload used for a silent push.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_JsonBody
-GCMMessage_MediaUrl <String>
A URL that refers to the location of an image or video that you want to display in the push notification.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_MediaUrl
-GCMMessage_RawContent <String>
The Raw JSON formatted string to be used as the payload. This value overrides the message.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_RawContent
-GCMMessage_SilentPush <Boolean>
Indicates if the message should display on the users device.Silent pushes can be used for Remote Configuration and Phone Home use cases.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_SilentPush
-GCMMessage_TimeToLive <Int32>
This parameter specifies how long (in seconds) the message should be kept if the service is unable to deliver the notification the first time. If the value is 0, it treats the notification as if it expires immediately and does not store the notification or attempt to redeliver it. This value is converted to the expiration field when sent to the service. It only applies to APNs and GCM
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_TimeToLive
-GCMMessage_Title <String>
The message title that displays above the message on the user's device.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_Title
-GCMMessage_Url <String>
The URL to open in the user's mobile browser. Used if the value for Action is URL.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_Url
-Hook_LambdaFunctionName <String>
Lambda function name or arn to be called for delivery
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Hook_LambdaFunctionName
-Hook_Mode <Mode>
What mode Lambda should be invoked in.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Hook_Mode
-Hook_WebUrl <String>
Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Hook_WebUrl
-Limits_Daily <Int32>
The maximum number of messages that each campaign can send to a single endpoint in a 24-hour period.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Limits_Daily
-Limits_MaximumDuration <Int32>
The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Limits_MaximumDuration
-Limits_MessagesPerSecond <Int32>
The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Limits_MessagesPerSecond
-Limits_Total <Int32>
The maximum number of messages that an individual campaign can send to a single endpoint over the course of the campaign.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Limits_Total
-QuietTime_End <String>
The time at which quiet time should end. The value that you specify has to be in HH:mm format, where HH is the hour in 24-hour format (with a leading zero, if applicable), and mm is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_QuietTime_End
-QuietTime_Start <String>
The time at which quiet time should begin. The value that you specify has to be in HH:mm format, where HH is the hour in 24-hour format (with a leading zero, if applicable), and mm is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_QuietTime_Start
-Schedule_EndTime <String>
The scheduled time that the campaign ends in ISO 8601 format.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_EndTime
-Schedule_Frequency <Frequency>
How often the campaign delivers messages.Valid values:ONCEHOURLYDAILYWEEKLYMONTHLYEVENT
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_Frequency
-Schedule_IsLocalTime <Boolean>
Indicates whether the campaign schedule takes effect according to each user's local time.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_IsLocalTime
-Schedule_StartTime <String>
The scheduled time that the campaign begins in ISO 8601 format.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_StartTime
-Schedule_Timezone <String>
The starting UTC offset for the schedule if the value for isLocalTime is trueValid values: UTCUTC+01UTC+02UTC+03UTC+03:30UTC+04UTC+04:30UTC+05UTC+05:30UTC+05:45UTC+06UTC+06:30UTC+07UTC+08UTC+09UTC+09:30UTC+10UTC+10:30UTC+11UTC+12UTC+13UTC-02UTC-03UTC-04UTC-05UTC-06UTC-07UTC-08UTC-09UTC-10UTC-11
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Schedule_Timezone
-SMSMessage_Body <String>
The SMS text body.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_SMSMessage_Body
-SMSMessage_MessageType <MessageType>
Is this is a transactional SMS message, otherwise a promotional message.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_SMSMessage_MessageType
-SMSMessage_SenderId <String>
Sender ID of sent message.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_MessageConfiguration_SMSMessage_SenderId
-WriteCampaignRequest_AdditionalTreatment <WriteTreatmentResource[]>
Treatments that are defined in addition to the default treatment.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_AdditionalTreatments
-WriteCampaignRequest_Description <String>
A description of the campaign.
Required?False
Position?Named
Accept pipeline input?False
-WriteCampaignRequest_HoldoutPercent <Int32>
The allocated percentage of end users who will not receive messages from this campaign.
Required?False
Position?Named
Accept pipeline input?False
-WriteCampaignRequest_IsPaused <Boolean>
Indicates whether the campaign is paused. A paused campaign does not send messages unless you resume it by setting IsPaused to false.
Required?False
Position?Named
Accept pipeline input?False
-WriteCampaignRequest_Name <String>
The custom name of the campaign.
Required?False
Position?Named
Accept pipeline input?False
-WriteCampaignRequest_SegmentId <String>
The ID of the segment to which the campaign sends messages.
Required?False
Position?Named
Accept pipeline input?False
-WriteCampaignRequest_SegmentVersion <Int32>
The version of the segment to which the campaign sends messages.
Required?False
Position?Named
Accept pipeline input?False
-WriteCampaignRequest_Tag <Hashtable>
The Tags for the campaign.
Required?False
Position?Named
Accept pipeline input?False
AliasesWriteCampaignRequest_Tags
-WriteCampaignRequest_TreatmentDescription <String>
A custom description for the treatment.
Required?False
Position?Named
Accept pipeline input?False
-WriteCampaignRequest_TreatmentName <String>
The custom name of a variation of the campaign used for A/B testing.
Required?False
Position?Named
Accept pipeline input?False

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required? False
Position? Named
Accept pipeline input? False
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required? False
Position? Named
Accept pipeline input? False
-ProfileLocation <String>

Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)

If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials. Note that the encrypted credential file is not supported on all platforms. It will be skipped when searching for profiles on Windows Nano Server, Mac, and Linux platforms.

If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.

As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.

Required? False
Position? Named
Accept pipeline input? False
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required? False
Position? Named
Accept pipeline input? False
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required? False
Position? Named
Accept pipeline input? False
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required? False
Position? Named
Accept pipeline input? False
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required? False
Position? Named
Accept pipeline input? False
-Region <String>
The system name of the AWS region in which the operation should be invoked. For example, us-east-1, eu-west-1 etc.
Required? False
Position? Named
Accept pipeline input? False
-EndpointUrl <String>

The endpoint to make the call against.

Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.

Required? False
Position? Named
Accept pipeline input? False

Inputs

You can pipe a String object to this cmdlet for the ApplicationId parameter.

Outputs

This cmdlet returns a CampaignResponse object. The service call response (type Amazon.Pinpoint.Model.CreateCampaignResponse) can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack.

Supported Version

AWS Tools for PowerShell: 2.x.y.z