How do I Schedule SES mails in JAVA - email

is there any API to integrate mails with project for scheduling Amazon web service-Simple Email service

AWS recently announced support for running Lambda functions written in Java, and for the ability to schedule task execution - sounds like that might fit the bill for you.

Related

API Gateway for Powershell scripts

I would like to be able to call Powershell scripts using a REST API. (Please note that I am describing the _opposite_ of calling a REST API from Powershell.) Are there any prebuilt API gateways that support this use case? I've looked at Ocelot, but it currently only acts as a gateway to other REST APIs. Ideally I would simply design my Powershell script functions to follow a defined interface pattern, put the files into a defined directory, and the API gateway would either immediately make those functions available as REST API calls or with minimal configuration.
EDIT: To clarify, I am looking for something self hosted, not cloud based. I haven't found anything yet that is exactly what I need, I may create something myself.
You can try AWS Lambda and API gateway integration.
Here is an example: https://aws.amazon.com/blogs/developer/creating-a-powershell-rest-api/
Amazon offer 12 month free tier plan for this.
A couple of options. If you are on Azure you could expose your Powershell Scripts through Azure Automation :
https://learn.microsoft.com/en-us/azure/automation/automation-webhooks
That'd be a lightweight way of having your scripts enabled through a HTTP POST scenario.
You could also combine or mix it with adding API Management in front to support various scenarios (adding GET/PUT/DELETE support e.g.) or even automate or proxy more things. API Management could of course also be automated.
https://azure.microsoft.com/en-us/services/api-management/
You could also create a folder structure with modules & sub-functions and create a full REST API by using Azure Functions with PowerShell:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell
The latter would also be able to execute in containers & in the supported Azure Function
runtimes.

Does Amazon services support on-premise hosting?

We intend to develop a enterprise Bot using amazon lex that will fetch response from a SQL server, and display result along with visual presentation. Does Lex support on premise deployment?
Will there be any challenges in using Lex vs Google Dialogflow (formerly known as api.ai)?
Please suggest.
The bot agent you will develop that will reside on AWS, you can access it on AWS Lex console and you cannot have it on-premise.
You can, however, use webhooks which you can have on-premise.
You can use amazon-lex to understand user query and match intent, once the intent is matched, you can perform the operations using if-else conditions and get data from your SQL server.
This way none of your data will be on AWS.

The service instance cannot be created because paid service plans are not allowed

I would like to use the dedicated bluemix for a streaming analytics POC. When I try to create the service I get this message.
The service instance cannot be created because paid service plans are not allowed.
What can I do to address.
Thanks,
j
You probably have a Bluemix free trial account.
With a free account you are limited to create services that offer a free plan only.
If you are trying to create a service from a paid plan you need to upgrade your account to a paid account.
You can see different types of accounts in the link below:
https://console.ng.bluemix.net/docs/pricing/index.html#pricing

Azure Site Recovery - REST API, Powershell and Automation

Has anyone come up with a complete solution to protect and replicate VMs from on-prem (either VMware or HyperV) to Azure using either the REST API or the Powershell module?
I recently completed a POC with ASR and was able to replicate a couple dozen VMs associated with three different applications. I replicated out of VMware and into Azure. I was able to failover and failback successfully.
I did all of the POC work using the GUI (portal.azure.com). Now I have to figure out how to protect ~2000 VMs and there is no way that I am going to do that with the GUI. But the MS documentation has me running in circles.
(https://learn.microsoft.com/en-us/azure/site-recovery/)
It would be very helpful if any of you can share the sequence of steps to protect and replicate a VM. The MS documentation does not lay out how the various components (fabrics, protection policies, protection containers, protection items, etc.) are related to each other.
I do not need specific syntax. The documentation does a passable job of detailing the syntax. I could use some guidance on the task sequence.
If it helps to understand the bigger picture, my intention is to use a System Center Orchestrator runbook to ingest a CSV list of VMs, parse that out into input for the Azure REST API / Powershell, and then enable protection.
Thanks in advance for any assistance or guidance that you are able to provide.
You can find recovery service API documentation here:
https://learn.microsoft.com/en-us/rest/api/recoveryservices/
When you have one definition put in place(manually from portal), you may also be able to study it from resource.azure.com to see how properties are composited. *not all resource available thru this portal
After that, you should be able to create template for either REST call or Resource Manager, depending on preference.

SSRS web services fire a data subscriptions

Is there any way to fire off a data subscription from using the SSRS web services?
Unfortunately the SSRS web services do not support running data subscriptions. If you want to run subscriptions through a web service call, you could expose a web service on a server that runs a sp_start_job command to the SQL Server Agent job for the associated schedule. Sounds dangerous to me, but it is feasible.
Sure looks like it's possible:
http://geekswithblogs.net/shervin/archive/2007/06/20/113351.aspx