vania-janet/multiturn-rag-retrieval-data huggingface dataset:
For more information, see [Create and send push notifications to Firefox web by using IBM Cloud® Event Notifications](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-push-firefox).





 25 Mar 2022 

Event Notifications is now available in the Frankfurt region.





 28 Feb 2022 

New destination: Apple Push Notification Service (APNs) for iOS
: Push Notifications to iOS (APNs) is now available as a destination. Send push notifications from your application to iOS devices. For more information, see [Create and send push notifications to iOS mobile by using IBM Cloud® Event Notifications](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-push-apns).





 03 Feb 2022 

New source: IBM Cloud® Secrets Manager
: Integrating Secrets Manager with Event Notifications can help you route lifecycle events for your secrets by using supported channels. For more information, see [Enabling event notifications for Secrets Manager](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-event-notifications&interface=ui).





 31 Jan 2022 

New destination: Firebase Cloud Messaging (FCM) push notifications for Android
: Push Notifications for Android devices (FCM) is now available as a destination. Send push notifications from your application to Android devices. For more information, see [Create and send push notifications to Android mobile using IBM Cloud® Event Notifications](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-push-fcm).





 14 Dec 2021 

New source: IBM Cloud® Security and Compliance Center
: Integrating Security and Compliance Center with Event Notifications can help you route security events by the supported channels. For more information, see [Enabling event notifications for Security and Compliance Center](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-event-notifications&interface=ui).





 28 Oct 2021 

Introducing Event Notifications
"ibmenpushto": "{"apns_devices": ["1c75972a-37d0-3898-905d-3b5ee0d7c172","M9CACDF5-1EBF-49E1-AD60-E25BA23E954C"]}"
"ibmenpushto": "{"chrome_devices": ["2c75972a-37d0-3898-905d-3b5ee0d7c182","N9CACDF5-1EBF-49E1-AD60-E25BA23E994D"]}"
"ibmenpushto": "{"firfox_devices": ["3c75972a-37d0-3898-905d-3b5ee0d7c182","L9CACDF5-1EBF-49E1-AD60-E25BA23E994E"]}"
"ibmenpushto": "{"safari_devices": ["1175972a-37d0-3898-905d-3b5ee0d7c1D2","Q9CACDF5-1EBF-49E1-AD60-E25BA23E994N"]}"

Multiple destinations can be targeted by using following methods
ibmenpushto: "{"fcm_devices": ["9c75975a-37d0-3898-905d-3b5ee0d7c172","C9CACDF5-6EBF-49E1-AD60-E25BA23E954C"]}"
ibmenpushto: "{"apns_devices": ["1c75972a-37d0-3898-905d-3b5ee0d7c172","M9CACDF5-1EBF-49E1-AD60-E25BA23E954C"]}"

Multiple destinations can be targeted by using following methods:

ibmenpushto: "{"fcm_devices": ["9c75975a-37d0-3898-905d-3b5ee0d7c172","C9CACDF5-6EBF-49E1-AD60-E25BA23E954C"],"apns_devices": ["1c75972a-37d0-3898-905d-3b5ee0d7c172","M9CACDF5-1EBF-49E1-AD60-E25BA23E954C"]}"

ibmenpushto: "{"user_id": [" ajay@accts.acmebank.com "," ankit@accts.acmebank.com "]}"Binary mode headerce-ibmenpushto: "{"user_id": ["ajay@accts.acmebank.com","ankit@accts.acmebank.com"]}"
(https://cloud.ibm.com/apidocs/projects)Projects Platform Beta SDK[Resource Controller V2 API](https://cloud.ibm.com/apidocs/resource-controller/resource-controller)Resource Controller V2 API Platform SDK[Resource Manager](https://cloud.ibm.com/apidocs/resource-controller/resource-manager)Resource Manager Platform SDK[Usage Metering](https://cloud.ibm.com/apidocs/usage-metering)Usage Metering Platform SDK[Usage Reports](https://cloud.ibm.com/apidocs/metering-reporting)Usage Reports Platform SDK[User Management](https://cloud.ibm.com/apidocs/user-management)User Management Platform SDKSecurity[App ID Authorization v3](https://cloud.ibm.com/apidocs/app-id/auth-v3)App ID Authorization v3 Service[App ID Authorization v4](https://cloud.ibm.com/apidocs/app-id/auth)App ID Authorization v4 Service[App ID Management]
* In the [IBM Cloud catalog](https://cloud.ibm.com/catalogservices), search Event Notifications > Event Notifications.
* Select a Region from the list of supported regions and select a pricing plan.
* Provide a Service name.
* Select a resource group.
* Accept the licensing agreements and terms by clicking the checkbox.
* Click Create.







 Step 2: Add a generic API source 

Take the following steps:



* Go to the Sources section of the Event Notifications dashboard.
* Click Add and select an API Source.
* Type a name and an optional description and click Add.







 Step 3: Create an Event Notifications destination 

Click Destinations in the Event Notifications console and add the following destination details:



* Name: add a name for the Destination.
* Description: add an optional description for the destination.
* Type: select Firefox Push Notifications type from the dropdown list.
* Select a destination plan: Pre-production destination or Production destination.



* Pre-production destination - select this destination as low-cost push destination, for your development and test environments.
* Production destination - utilize the full capability of this destination. Unlimited devices and outbound messages allowed.



* Provide the URL of your website.
* Click Add.
* Once Firefox destination is created. Edit the created destination to get public vapId key required for web sdk.



Zoom

![Destination Edit](https://cloud.ibm.com/docs-content/v1/content/4c9a07fe500838e5e55e71e73131ef20b44a6c66/event-notifications/images/en-push-firefox-destination-edit.png)

Figure 2. Receive notifications

Zoom

![Destination](https://cloud.ibm.com/docs-content/v1/content/4c9a07fe500838e5e55e71e73131ef20b44a6c66/event-notifications/images/en-push-firefox-destination.png)
[Create and send push notifications to Firefox web by using Event Notifications](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-push-firefox)Create and send push notifications to Firefox web by using Event Notifications

Create an Event Notifications service, add a push destination for Firefox, and send messages to Firefox web devices.

Event Notifications



* 10 minutes
* 2022-10-26



[Create and send push notifications to Safari web by using Event Notifications](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-push-safari)Create and send push notifications to Safari web by using Event Notifications

Create an Event Notifications service, add a push destination for Apple Push Notification service (Safari), and send messages to iOS devices.

Event Notifications



* 10 minutes
* 2022-10-26



[Working with Terraform in Event Notifications](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-tera-workwith)Working with Terraform in Event Notifications

This tutorial shows you how to use Terraform to configure files like provider.tf to declare Event Notifications resources for deployment.

Event Notifications



* 30 minutes
* 2022-10-26



[Monitor IBM Cloud® Secrets Manager certificates and secrets expiry](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-tutorial-en-monitor-secret)Monitor IBM Cloud® Secrets Manager certificates and secrets expiry

This tutorial shows you how to monitor the expiry date or any updates on the secrets or certificates by using TLS certificates or secrets.

Event Notifications



* 30 minutes
* 2022-10-26



[Getting started with Event Notifications](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-getting-started)Getting started with Event Notifications
ibmenpushto: "{"user_id": [" ajay@accts.acmebank.com "," ankit@accts.acmebank.com "]}"Binary mode headerce-ibmenpushto: "{"user_id": ["ajay@accts.acmebank.com","ankit@accts.acmebank.com"]}"

ce-ibmenapnsbody: {"en_data":{"alert":"alert","url":"https","badge":9,"sound":"bingbong.aiff","payload":{"myaarray":["cc75e4a6-edd8-3bec-a7c3-dfca6572a03b"]},"type":"DEFAULT","subtitle":"dummy","title":"dummy1","body":"body","ios_action_key":"key","interactive_category":"interactiveCategory","title_loc_key":"titleLocKey","loc_key":"GAME_PLAY_REQUEST_FORMAT","launch_image":"image.png","title_loc_args":["Shelly","Rick"],"loc_args":["Shelly","Rick"],"attachment_url":"some url","apns_collapse_id":"12","apns_thread_id":"1","apns_group_summary_arg":"apnsGroupSummaryArg","apns_group_summary_arg_count":1}}

To customize your APNs push notifications, you can provide APNs headers. Some of them are mandatory to deliver a notification if key is present. The required body as follows:

"ibmenapnsheaders": "{"apns-priority":10, "apns-collapse-id": "collapse"}"
v1 (legacy)[Endpoints v2](https://cloud.ibm.com/apidocs/api-gateway/apigw-endpoints-v2)Endpoints v2[Event Notifications](https://cloud.ibm.com/apidocs/event-notifications)Event Notifications Service SDK[Schematics](https://cloud.ibm.com/apidocs/schematics/schematics)Schematics SDKIntegration[Consumer API](https://cloud.ibm.com/apidocs/apiconnect/apic-consumer-api)Consumer API[Management API](https://cloud.ibm.com/apidocs/apiconnect/apic-management-api)Management APIInternal[Documentation search](https://cloud.ibm.com/apidocs/doc_search)Documentation search Internal[Documentation search ingest](https://cloud.ibm.com/apidocs/doc_ingest)Documentation search ingest InternalLogging and monitoring[Activity Tracker Event Routing](https://cloud.ibm.com/apidocs/atracker/atracker-v2)Activity Tracker Event Routing Service SDK[Activity Tracker hosted event search](https://cloud.ibm.com/apidocs/activity-tracker)Activity Tracker hosted event search
Content-Type: application/json

See the following example to POST to the _changes endpoint:



* Curl
* Java
* Python
* Go
* Node



curl -H "Authorization: Bearer $API_BEARER_TOKEN" -X POST "$SERVICE_URL/orders/_changes" -H "Content-Type: application/json"'

import com.ibm.cloud.cloudant.v1.Cloudant;
import com.ibm.cloud.cloudant.v1.model.ChangesResult;
import com.ibm.cloud.cloudant.v1.model.PostChangesOptions;

Cloudant service = Cloudant.newInstance();

PostChangesOptions changesOptions = new PostChangesOptions.Builder()
.db("orders")
.build();

ChangesResult response =
service.postChanges(changesOptions).execute()
.getResult();

System.out.println(response);

from ibmcloudant.cloudant_v1 import CloudantV1

service = CloudantV1.new_instance()
response = service.post_changes(
db='orders'
).get_result()

print(response)

postChangesOptions := service.NewPostChangesOptions(
"orders",
)

changesResult, response, err := service.PostChanges(postChangesOptions)
if err != nil {
panic(err)
}

b, _ := json.MarshalIndent(changesResult, "", " ")
fmt.Println(string(b))

import { CloudantV1 } from '@ibm-cloud/cloudant';

const service = CloudantV1.newInstance({});

service.postChanges({
db: 'orders'
}).then(response => {
console.log(response.result);
});
Sample Apps 

Explore the sample apps to understand the features of App Configuration.



*  [Node.JS sample app](https://github.com/IBM/appconfiguration-samples/tree/master/nodejs)
*  [Go sample app](https://github.com/IBM/appconfiguration-samples/tree/master/golang)
*  [Python sample app](https://github.com/IBM/appconfiguration-samples/tree/master/python)
*  [Android - Kotlin sample app](https://github.com/IBM/appconfiguration-samples/tree/master/android-kotlin)
*  [Android - Java sample app](https://github.com/IBM/appconfiguration-samples/tree/master/android-java)
* Make sure to download the Keys in new redirected page after registration as it is a one time activity.



KeyID is visible as part of the file and displayed in the UI, this KeyID is used for registering APNS certificate. TeamID is provided by apple for the developer account, can be seen next to the Team Name. TeamID is used for registering APNS certificate. BundleID can be registered same as P12 certificate.









 Step 3: Add a generic API source 

Take the following steps:



* Go to the Sources section of the Event Notifications dashboard.
* Click Add and select an API Source.
* Type a name and an optional description and click Add.







 Step 4: Create a Event Notifications destination 

Click Destinations in the Event Notifications console and add the following destination details:



* Name: add a name for the Destination.
* Description: add an optional description for the destination.
* Type: select iOS Push Notifications type from the dropdown list.
* Select a destination plan: Pre-production destination or Production destination.



* Pre-production destination - select this destination as low-cost push destination, for your development and test environments.
* Production destination - use the full capability of this destination. Unlimited devices and outbound messages allowed.



* Update the iOS Push Credentials with the details based on Authentication Type and select Environment.



* if certificate type is p8, upload .p8 file and provide KeyID, TeamID, and BundleID.
* if certificate type is p12, upload p12 certificate and provide certificate password.



* Click Add.







 Step 5: Create an Event Notifications topic 

Select Topics in the Event Notifications console and click Create. Enter the following topic details:



* Name: enter a name for the topic.
* Description: add an optional description for the topic.
* Source: select a source from the dropdown list.
* Event type: select event type from the dropdown list.
* Event sub type select event sub type from the event sub type dropdown list.
* Severity: select severity from the severity dropdown list.
Duplicate timestamps can be optionally combined as follows:

y_hourly_averaged = y_hourly.transform(transformers.combine_duplicate_time_ticks(lambda x: sum(x)/len(x))
print(y_hourly_averaged.get_values(0,0))

This returns:

 values corresponding to the duplicate numeric timestamp 0 have been combined using average
 average = (1+2+4)/3 = 2.33
[(0,2.33)]





 Learn more 

To use the tspy Python SDK, see the [tspy Python SDK documentation](https://ibm-cloud.github.io/tspy-docs/).
_en_destination_android](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_android)<br> * [ibm_en_destination_chrome](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_chrome)<br> * [ibm_en_destination_firefox](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_firefox)<br> * [ibm_en_destination_ios](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_ios)<br> * [ibm_en_destination_safari](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_safari)<br> * [ibm_en_destination_slack]
[Certificates, Apple Worldwide Intermediate certificate Add](https://cloud.ibm.com/docs-content/v1/content/4c9a07fe500838e5e55e71e73131ef20b44a6c66/event-notifications/images/en_apple_intermediate_add.png)

Figure 3. Certificates, Identifiers & Profiles
* Create Web Push ID in your [Apple Developer account](https://developer.apple.com/account/).

The Web Push ID (the bundle identifier) is a unique identifier that identifies a specific application. Each application requires a Web Push ID.
* Go to the [Apple developer portal](https://developer.apple.com/) and select Certificates, Identifiers & Profiles.

Zoom

![Certificates, Identifiers & Profiles](https://cloud.ibm.com/docs-content/v1/content/4c9a07fe500838e5e55e71e73131ef20b44a6c66/event-notifications/images/en-apns-cert-tab.png)

Figure 4. Certificates, Identifiers & Profiles
* Go to Identifiers > Add identifier button.

Zoom

![Identifier button](https://cloud.ibm.com/docs-content/v1/content/4c9a07fe500838e5e55e71e73131ef20b44a6c66/event-notifications/images/en-apns-identifier-button.png)

Figure 5. Identifier Button
* Click Add a new Identifier button.

Zoom

![Add new Identifier button](https://cloud.ibm.com/docs-content/v1/content/4c9a07fe500838e5e55e71e73131ef20b44a6c66/event-notifications/images/en-apns-new-identifier-button.png)

Figure 6.
Time series library 

A time series is a sequence of data values measured at successive, though not necessarily regular, points in time. The time series library allows you to perform various key operations on time series data, including segmentation, forecasting, joins, transforms, and reducers.

The library support various time series types, including numeric, categorical, and arrays. Examples of time series data include:



*  Stock share prices and trading volumes
*  Clickstream data
*  Electrocardiogram (ECG) data
*  Temperature or seismographic data
*  Network performance measurements
*  Network logs
*  Electricity usage as recorded by a smart meter and reported via an Internet of Things data feed



An entry in a time series is called an observation. Each observation comprises a time tick, a 64-bit integer that indicates when the observation was made, and the data that was recorded for that observation. The recorded data can be either numerical, for example, a temperature or a stock share price, or categorical, for example, a geographic area. A time series can but must not necessarily be associated with a time reference system (TRS), which defines the granularity of each time tick and the start time.

The time series library is Python only.



  Next step 



*  [Working with the time series library](https://cloud.ibm.com/docs/AnalyticsEngine?topic=AnalyticsEngine-using-time-series-lib)







  Learn more 



*  [Time series key functionality](https://cloud.ibm.com/docs/AnalyticsEngine?topic=AnalyticsEngine-time-series-key-functionality)
Huawei Cloud Push 

Event Notifications provides a push notification service for sending transactional and informational event notifications to Huawei mobile devices.



 Create a Huawei Push Destination 

To Create a Huawei Push Destination, perform the following steps:



1. Login to your IBM Cloud account.
2. If you already have an Event Notifications service instance, navigate to your Event Notifications service instance from the Resource list and select the required Event Notifications service instance. Otherwise, you can [create a new Event Notifications service instance](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-create-en-instance).
3. Click Destinations in the Event Notifications console. By default, IBM Cloud SMS service and IBM Cloud Email service are included, with their Destination ID.
4. Click Add + to add new destination. The Add a destination side panel displays.
5. Provide the new destination details:



* Name: add a name for the Destination.
* Description: add an optional description about the destination.
* Destination type: select Huawei Push Notifications from the list.



6. Select a destination plan. You can select a Pre-production destination for developing and testing your environments at a low cost. You can upgrade a Pre-production destination to Production destination after creating the destination by using the Edit option from the overflow menu post your development and testing. For more information, see [Upgrading a Pre-production destination to Production destination](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-push-huaweien-destination-preprod-prod1). There will be change in cost when you upgrade.
7. Retrieve Huawei credentials (Client ID and Client secret) for your application. For more information, see [Retrieving Huawei credentials](https://cloud.ibm.com/docs/event-notifications?topic=event-notifications-en-push-huaweien-retrieve-huawei-credentials).
8. Add Client ID and Client secret.
9. Click Add.
Segment By ibm_scope, ibm_ctype, ibm_location, ibm_service_name, ibm_service_instance, ibm_eventnotifications_destination, ibm_eventnotifications_source, ibm_eventnotifications_type, 







 ibm_eventnotifications_devices 

Total number of push notification devices registered.



Table 6. Total devices registered

 Metadata Description 

 Metric Name ibm_eventnotifications_devices 
 Metric Type gauge 
 Value Type none 
 Segment By ibm_scope, ibm_ctype, ibm_location, ibm_service_name, ibm_service_instance, ibm_eventnotifications_destination, ibm_eventnotifications_device_type, 









 Attributes for segmentation 



 Global Attributes 

The following attributes are available for segmenting all of the metrics previously listed.



Table 7. Segmentation attributes

 Attribute Attribute Name Attribute Description 

 Cloud Type ibm_ctype The cloud type is a value of public, dedicated, or local. 
 Location ibm_location The location of the monitored resource, which can be a region, data center, or global. 
 Scope ibm_scope The scope is the account, organization, or space GUID associated with this metric. 
 Service instance ibm_service_instance The service instance segment identifies the instance that the metric is associated with. 







 More attributes 

The following attributes are available for segmenting one or more attributes as described in the previous tables. See the individual metrics for segmentation options.



Table 8. More attributes

 Attribute Attribute Name Attribute Description 

 Name of the destination ibm_eventnotifications_destination A destination name with its associated ID. 
 Name of the source ibm_eventnotifications_source A source name with its associated ID. 
 Type of event notification ibm_eventnotifications_type The type of supported destination types. (email, SMS, or webhook) 
 Type of push notification device ibm_eventnotifications_device_type The type of supported push notification device.(push_android, push_ios)
* The following example shows the format of the DestinationConfig object for push_android destination.

{
"params" : {
"project_id" : "6232305230320",
"private_key" : "36e21epfweort823or8rt832pr8p2r832pr82pr382r8f",
"client_email" : "testuser.123@gmail.com",
"pre_prod" : true // Set to true in case of configuring Destination as pre-prod Destination (pre_prod destination can only be configured for Standard plan)
}
}
* The following example shows the format of the DestinationConfig object for ServiceNow destination.

{
"params" : {
"client_id" : "359705ceddd100eyfewyyw1f0f9e1c96",
"client_secret": "testsecrets",
"username": "testuser",
"password": "user_password",
"instance_name": "testinstancenje"
}
}
* The following example shows the format of the DestinationConfig object for Code Engine destination.

{
"params" : {
"url" : "https://codeengine.test.com",
"verb" : "get",
"custom_headers" : { },
"sensitive_headers" : [ "exampleString" ]
}
}
* The following example shows the format of the DestinationConfig object for IBM Cloud Object Storage destination.

{
"params" : {
"bucket_name" : "cos-destination-en-bucket",
"instance_id" : "42e13636e-0548-41a0-a178-e95be28464773",
"endpoint" : "https://s3.us-west.cloud-object-storage.appdomain.cloud"
}
}