Programmatically list supported languages for AWS Transcribe - amazon-web-services

AWS lists supported languages for Transcribe here: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
Short of parsing the documentation page, is there any way to get a list of these languages programmatically?
ListLanguageModels seemed promising, but it's only for custom models.

You can access all available languages in AWS JS SDK directly. Check the source code.
// For regular transcription...
// https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transcribe/enums/languagecode.html
TranscribeClient.LanguageCode
// For streaming transcription...
// https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-transcribe-streaming/enums/languagecode.html
TranscribeStreamingClient.LanguageCode

Related

how to run Langage C code in a AWS Lambda?

I looking for documentation on official AWS: https://aws.amazon.com/lambda/faqs/?nc1=h_ls
I find this:
Q: What languages does AWS Lambda support?
AWS Lambda natively supports Java, Go, PowerShell, Node.js, C#, Python, and Ruby code, and provides a Runtime API which allows you to use any additional programming languages to author your functions. Please read our documentation on using Node.js, Python, Java, Ruby, C#, Go, and PowerShell.
I do not find this documentation API. I want find a simple programme read/write file in langage C. after I will want expose after a API gateway.
There are two solutions to that:
Develop your own custom lambda runtime for that. AWS provides some guides and examples of how to do it for C++ in Introducing the C++ Lambda Runtime
Use lambda container images which allow you to run docker containers (properly prepared) for your function.

Retrieve Systems Manager Explorer OpsData Using CLI or SDK

I'm trying to retrieve below details using java SDK or CLI.
I found below CLI commands for that but in sample responses I don't see an appropriate CLI command for that.
describe-ops-items
get-ops-item
get-ops-metadata
get-ops-summary
list-ops-item-events
list-ops-item-related-items
list-ops-metadata
Trying out each CLI is not an option since this is very sensitive data and cannot request permission for all CLI methods..
Have you seen that there is a method list-compliance-summaries ?
From the official docs:
Returns a summary count of compliant and non-compliant resources for a compliance type. For example, this call can return State Manager associations, patches, or custom compliance types according to the filter criteria that you specify.

python aws sdk is missing transcribe streaming API

I checked github code for transcribe streaming options and it looks like there is no transcribe streaming mentions neither in docs nor in config file: src/botocore/botocore/data/transcribe/2017-10-26/service-2.json.
But I see documentation for Ruby: https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TranscribeStreamingService.html
This is why I believe it makes sense to do it using scripting (not compiled) language.
Are there any plans to add it in the future? If yes, when approximately?
Or am I simply missing it?
I saw documentation describes low level communication for this kind of API, but I want to save dev time re-using the lib.
python sdk for transcribe streaming is not available yet.

how to draw AWS services specific diagrams?

I need to present my AWS based system architecture. Drawings and presentations, etc.
I am looking for the stencils, icons corresponding to AWS services.
Any ideas where I can find the AWS specific assets to represent a lambda or Dynamo or ....
You can find an official set of AWS powerpoint assets here: https://aws.amazon.com/architecture/icons/
Additionally, one tool that I like to use to build isometric architecture diagrams is https://cloudcraft.co
I tried and played with some tools but my suggestion is to use Altostra Designer to do so, it is free and not required any authentication.

Can we develop streams in c++ using AWS sdk c++

I created a table with streams enabled, how can i get the stream records whenever update/insertion is happened? What are the steps involved? Or it is not possible in C++?
You should be able to do it using the sdk for C++.
Here there is an example
https://aws.amazon.com/blogs/developer/using-a-thread-pool-with-the-aws-sdk-for-c/
The AWS blog has many examples more https://aws.amazon.com/blogs/developer/category/cpp/
Check these links below (look at aws-cpp-sdk-kinesis) for more info:
https://github.com/aws/aws-sdk-cpp
https://aws.amazon.com/blogs/aws/aws-sdk-for-c-now-ready-for-production-use/
https://aws.amazon.com/blogs/aws/introducing-the-aws-sdk-for-c/