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>
-EmailTemplate_Name <String>
-PushTemplate_Name <String>
-SMSTemplate_Name <String>
-VoiceTemplate_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>
-Select <String>
-PassThru <SwitchParameter>
-Force <SwitchParameter>

Description

Creates a new campaign for an application or updates the settings of an existing campaign for an application.

Parameters

-ADMMessage_Action <Action>
The action to occur if a recipient taps the push notification. Valid values are:
  • OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
  • DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of iOS and Android.
  • URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_Action
-ADMMessage_Body <String>
The body of the notification message. The maximum number of characters is 200.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_Body
-ADMMessage_ImageIconUrl <String>
The URL of the image to display as the push-notification icon, such as the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_ImageIconUrl
-ADMMessage_ImageSmallIconUrl <String>
The URL of the image to display as the small, push-notification icon, such as a small version of the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_ImageSmallIconUrl
-ADMMessage_ImageUrl <String>
The URL of an image to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_ImageUrl
-ADMMessage_JsonBody <String>
The JSON payload to use for a silent push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_JsonBody
-ADMMessage_MediaUrl <String>
The URL of the image or video to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_MediaUrl
-ADMMessage_RawContent <String>
The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_RawContent
-ADMMessage_SilentPush <Boolean>
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_SilentPush
-ADMMessage_TimeToLive <Int32>
The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_TimeToLive
-ADMMessage_Title <String>
The title to display above the notification message on a recipient's device.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_Title
-ADMMessage_Url <String>
The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_ADMMessage_Url
-APNSMessage_Action <Action>
The action to occur if a recipient taps the push notification. Valid values are:
  • OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
  • DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of iOS and Android.
  • URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_Action
-APNSMessage_Body <String>
The body of the notification message. The maximum number of characters is 200.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_Body
-APNSMessage_ImageIconUrl <String>
The URL of the image to display as the push-notification icon, such as the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_ImageIconUrl
-APNSMessage_ImageSmallIconUrl <String>
The URL of the image to display as the small, push-notification icon, such as a small version of the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_ImageSmallIconUrl
-APNSMessage_ImageUrl <String>
The URL of an image to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_ImageUrl
-APNSMessage_JsonBody <String>
The JSON payload to use for a silent push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_JsonBody
-APNSMessage_MediaUrl <String>
The URL of the image or video to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_MediaUrl
-APNSMessage_RawContent <String>
The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_RawContent
-APNSMessage_SilentPush <Boolean>
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_SilentPush
-APNSMessage_TimeToLive <Int32>
The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_TimeToLive
-APNSMessage_Title <String>
The title to display above the notification message on a recipient's device.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_Title
-APNSMessage_Url <String>
The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_APNSMessage_Url
-ApplicationId <String>
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-BaiduMessage_Action <Action>
The action to occur if a recipient taps the push notification. Valid values are:
  • OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
  • DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of iOS and Android.
  • URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_Action
-BaiduMessage_Body <String>
The body of the notification message. The maximum number of characters is 200.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_Body
-BaiduMessage_ImageIconUrl <String>
The URL of the image to display as the push-notification icon, such as the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_ImageIconUrl
-BaiduMessage_ImageSmallIconUrl <String>
The URL of the image to display as the small, push-notification icon, such as a small version of the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_ImageSmallIconUrl
-BaiduMessage_ImageUrl <String>
The URL of an image to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_ImageUrl
-BaiduMessage_JsonBody <String>
The JSON payload to use for a silent push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_JsonBody
-BaiduMessage_MediaUrl <String>
The URL of the image or video to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_MediaUrl
-BaiduMessage_RawContent <String>
The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_RawContent
-BaiduMessage_SilentPush <Boolean>
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_SilentPush
-BaiduMessage_TimeToLive <Int32>
The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_TimeToLive
-BaiduMessage_Title <String>
The title to display above the notification message on a recipient's device.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_Title
-BaiduMessage_Url <String>
The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_BaiduMessage_Url
-DefaultMessage_Action <Action>
The action to occur if a recipient taps the push notification. Valid values are:
  • OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
  • DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of iOS and Android.
  • URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_Action
-DefaultMessage_Body <String>
The body of the notification message. The maximum number of characters is 200.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_Body
-DefaultMessage_ImageIconUrl <String>
The URL of the image to display as the push-notification icon, such as the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_ImageIconUrl
-DefaultMessage_ImageSmallIconUrl <String>
The URL of the image to display as the small, push-notification icon, such as a small version of the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_ImageSmallIconUrl
-DefaultMessage_ImageUrl <String>
The URL of an image to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_ImageUrl
-DefaultMessage_JsonBody <String>
The JSON payload to use for a silent push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_JsonBody
-DefaultMessage_MediaUrl <String>
The URL of the image or video to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_MediaUrl
-DefaultMessage_RawContent <String>
The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_RawContent
-DefaultMessage_SilentPush <Boolean>
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_SilentPush
-DefaultMessage_TimeToLive <Int32>
The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_TimeToLive
-DefaultMessage_Title <String>
The title to display above the notification message on a recipient's device.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_Title
-DefaultMessage_Url <String>
The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_DefaultMessage_Url
-Dimensions_Attribute <Hashtable>
One or more custom attributes that your application 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?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_EventFilter_Dimensions_Attributes
-Dimensions_Metric <Hashtable>
One or more custom metrics that your application reports to Amazon Pinpoint. You can use these metrics as selection criteria when you create an event filter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_EventFilter_Dimensions_Metrics
-EmailMessage_Body <String>
The body of the email for recipients whose email clients don't render HTML content.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_EmailMessage_Body
-EmailMessage_FromAddress <String>
The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_EmailMessage_FromAddress
-EmailMessage_HtmlBody <String>
The body of the email, in HTML format, for recipients whose email clients render HTML content.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_EmailMessage_HtmlBody
-EmailMessage_Title <String>
The subject line, or title, of the email.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_EmailMessage_Title
-EmailTemplate_Name <String>
The name of the message template to use for the message. If specified, this value must match the name of an existing message template.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_TemplateConfiguration_EmailTemplate_Name
-EventFilter_FilterType <FilterType>
The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign when an endpoint event (Events resource) occurs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_EventFilter_FilterType
-EventType_DimensionType <DimensionType>
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_EventFilter_Dimensions_EventType_DimensionType
-EventType_Value <String[]>
The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_EventFilter_Dimensions_EventType_Values
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?True (ByPropertyName)
-GCMMessage_Action <Action>
The action to occur if a recipient taps the push notification. Valid values are:
  • OPEN_APP - Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.
  • DEEP_LINK - Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of iOS and Android.
  • URL - The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_Action
-GCMMessage_Body <String>
The body of the notification message. The maximum number of characters is 200.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_Body
-GCMMessage_ImageIconUrl <String>
The URL of the image to display as the push-notification icon, such as the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_ImageIconUrl
-GCMMessage_ImageSmallIconUrl <String>
The URL of the image to display as the small, push-notification icon, such as a small version of the icon for the app.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_ImageSmallIconUrl
-GCMMessage_ImageUrl <String>
The URL of an image to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_ImageUrl
-GCMMessage_JsonBody <String>
The JSON payload to use for a silent push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_JsonBody
-GCMMessage_MediaUrl <String>
The URL of the image or video to display in the push notification.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_MediaUrl
-GCMMessage_RawContent <String>
The raw, JSON-formatted string to use as the payload for the notification message. If specified, this value overrides all other content for the message.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_RawContent
-GCMMessage_SilentPush <Boolean>
Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_SilentPush
-GCMMessage_TimeToLive <Int32>
The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_TimeToLive
-GCMMessage_Title <String>
The title to display above the notification message on a recipient's device.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_Title
-GCMMessage_Url <String>
The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_GCMMessage_Url
-Hook_LambdaFunctionName <String>
The name or Amazon Resource Name (ARN) of the AWS Lambda function that Amazon Pinpoint invokes to send messages for a campaign.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Hook_LambdaFunctionName
-Hook_Mode <Mode>
Specifies which Lambda mode to use when invoking the AWS Lambda function.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Hook_Mode
-Hook_WebUrl <String>
The web URL that Amazon Pinpoint calls to invoke the AWS Lambda function over HTTPS.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Hook_WebUrl
-Limits_Daily <Int32>
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. The maximum value is 100.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Limits_Daily
-Limits_MaximumDuration <Int32>
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. The minimum value is 60 seconds.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Limits_MaximumDuration
-Limits_MessagesPerSecond <Int32>
The maximum number of messages that a campaign can send each second. The minimum value is 50. The maximum value is 20,000.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Limits_MessagesPerSecond
-Limits_Total <Int32>
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. The maximum value is 100.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Limits_Total
-PassThru <SwitchParameter>
Changes the cmdlet behavior to return the value passed to the ApplicationId parameter. The -PassThru parameter is deprecated, use -Select '^ApplicationId' instead. This parameter will be removed in a future version.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-PushTemplate_Name <String>
The name of the message template to use for the message. If specified, this value must match the name of an existing message template.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_TemplateConfiguration_PushTemplate_Name
-QuietTime_End <String>
The specific time when quiet time ends. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (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?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_QuietTime_End
-QuietTime_Start <String>
The specific time when quiet time begins. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (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?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_QuietTime_Start
-Schedule_EndTime <String>
The scheduled time, in ISO 8601 format, when the campaign ended or will end.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_EndTime
-Schedule_Frequency <Frequency>
Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_Frequency
-Schedule_IsLocalTime <Boolean>
Specifies whether the start and end times for the campaign schedule use each recipient's local time. To base the schedule on each recipient's local time, set this value to true.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_IsLocalTime
-Schedule_StartTime <String>
The scheduled time, in ISO 8601 format, when the campaign began or will begin.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_StartTime
-Schedule_Timezone <String>
The starting UTC offset for the campaign schedule, if the value of the IsLocalTime property is true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30, UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+13, UTC-02, UTC-03, UTC-04, UTC-05, UTC-06, UTC-07, UTC-08, UTC-09, UTC-10, and UTC-11.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Schedule_Timezone
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is 'CampaignResponse'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Pinpoint.Model.CreateCampaignResponse). Specifying the name of a property of type Amazon.Pinpoint.Model.CreateCampaignResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-SMSMessage_Body <String>
The body of the SMS message.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_SMSMessage_Body
-SMSMessage_MessageType <MessageType>
The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn't critical or time-sensitive, such as a marketing message.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_SMSMessage_MessageType
-SMSMessage_SenderId <String>
The sender ID to display on recipients' devices when they receive the SMS message.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_MessageConfiguration_SMSMessage_SenderId
-SMSTemplate_Name <String>
The name of the message template to use for the message. If specified, this value must match the name of an existing message template.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_TemplateConfiguration_SMSTemplate_Name
-VoiceTemplate_Name <String>
The name of the message template to use for the message. If specified, this value must match the name of an existing message template.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_TemplateConfiguration_VoiceTemplate_Name
-WriteCampaignRequest_AdditionalTreatment <WriteTreatmentResource[]>
An array of requests that defines additional treatments for the campaign, in addition to the default treatment for the campaign.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_AdditionalTreatments
-WriteCampaignRequest_Description <String>
A custom description of the campaign.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-WriteCampaignRequest_HoldoutPercent <Int32>
The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-WriteCampaignRequest_IsPaused <Boolean>
Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by setting this value to false.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-WriteCampaignRequest_Name <String>
The custom name of the campaign.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-WriteCampaignRequest_SegmentId <String>
The unique identifier for the segment to associate with the campaign.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-WriteCampaignRequest_SegmentVersion <Int32>
The version of the segment to associate with the campaign.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-WriteCampaignRequest_Tag <Hashtable>
A string-to-string map of key-value pairs that defines the tags to associate with the campaign. Each tag consists of a required tag key and an associated tag value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesWriteCampaignRequest_Tags
-WriteCampaignRequest_TreatmentDescription <String>
A custom description of a variation of the campaign to use for A/B testing.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-WriteCampaignRequest_TreatmentName <String>
The custom name of a variation of the campaign to use for A/B testing.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

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? True (ByPropertyName)
Aliases AK
-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? True (ByPropertyName)
-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? True (ByPropertyName)
Aliases AWSProfilesLocation, ProfilesLocation
-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? True (ByPropertyName)
Aliases AWSProfileName, StoredCredentials
-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? True (ByPropertyName)
-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? True (ByPropertyName)
Aliases SecretAccessKey, SK
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required? False
Position? Named
Accept pipeline input? True (ByPropertyName)
Aliases ST
-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? True (ByPropertyName)
Aliases RegionToCall
-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? True (ByPropertyName)

Inputs

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

Outputs

This cmdlet returns an Amazon.Pinpoint.Model.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