Skip to content

Commit 97c75c6

Browse files
committed
reorganized folder structure
1 parent b8ce780 commit 97c75c6

19 files changed

+1151
-997
lines changed

.doc_gen/metadata/transcribe-streaming_metadata.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# zexi 0.4.3
22

3-
transcribe_streaming_StartStreamTranscription:
3+
transcribe-streaming_StartStreamTranscription:
44
languages:
55
Java:
66
versions:
77
- sdk_version: 2
8-
github: javav2/example_code/transcribe
8+
github: javav2/example_code/transcribe-streaming
99
sdkguide:
1010
excerpts:
1111
- description:
@@ -14,19 +14,19 @@ transcribe_streaming_StartStreamTranscription:
1414
C++:
1515
versions:
1616
- sdk_version: 1
17-
github: cpp/example_code/transcribe
17+
github: cpp/example_code/transcribe-streaming
1818
excerpts:
1919
- description:
2020
snippet_tags:
2121
- transcribe.cpp.stream_transcription_async.code
2222
services:
2323
transcribe-streaming: {StartStreamTranscription}
24-
transcribe_streaming_StartMedicalStreamTranscription:
24+
transcribe-streaming_StartMedicalStreamTranscription:
2525
languages:
2626
Java:
2727
versions:
2828
- sdk_version: 2
29-
github: javav2/example_code/transcribe
29+
github: javav2/example_code/transcribe-streaming
3030
sdkguide:
3131
excerpts:
3232
- description:

cpp/example_code/transcribe/README.md renamed to cpp/example_code/transcribe-streaming/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Amazon Transcribe code examples for the SDK for C++
1+
# Amazon Transcribe Streaming code examples for the SDK for C++
22

33
## Overview
44

5-
Shows how to use the AWS SDK for C++ to work with Amazon Transcribe.
5+
Shows how to use the AWS SDK for C++ to work with Amazon Transcribe Streaming.
66

77
<!--custom.overview.start-->
88
<!--custom.overview.end-->
99

10-
_Amazon Transcribe provides transcription services for your audio files and audio streams._
10+
_Amazon Transcribe Streaming produces real-time transcriptions for your media content._
1111

1212
## ⚠ Important
1313

@@ -88,9 +88,9 @@ folder.
8888

8989
## Additional resources
9090

91-
- [Amazon Transcribe Developer Guide](https://docs.aws.amazon.com/transcribe/latest/dg/what-is.html)
92-
- [Amazon Transcribe API Reference](https://docs.aws.amazon.com/transcribe/latest/APIReference/Welcome.html)
93-
- [SDK for C++ Amazon Transcribe reference](https://sdk.amazonaws.com/cpp/api/LATEST/aws-cpp-sdk-transcribe/html/annotated.html)
91+
- [Amazon Transcribe Streaming Developer Guide](https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html)
92+
- [Amazon Transcribe Streaming API Reference](https://docs.aws.amazon.com/transcribe/latest/APIReference/Welcome.html)
93+
- [SDK for C++ Amazon Transcribe Streaming reference](https://sdk.amazonaws.com/cpp/api/LATEST/aws-cpp-sdk-transcribe/html/annotated.html)
9494

9595
<!--custom.resources.start-->
9696
<!--custom.resources.end-->
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Amazon Transcribe Streaming code examples for the SDK for Java 2.x
2+
3+
## Overview
4+
5+
Shows how to use the AWS SDK for Java 2.x to work with Amazon Transcribe Streaming.
6+
7+
<!--custom.overview.start-->
8+
<!--custom.overview.end-->
9+
10+
_Amazon Transcribe Streaming produces real-time transcriptions for your media content._
11+
12+
## ⚠ Important
13+
14+
* Running this code might result in charges to your AWS account. For more details, see [AWS Pricing](https://aws.amazon.com/pricing/) and [Free Tier](https://aws.amazon.com/free/).
15+
* Running the tests might result in charges to your AWS account.
16+
* We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task. For more information, see [Grant least privilege](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#grant-least-privilege).
17+
* This code is not tested in every AWS Region. For more information, see [AWS Regional Services](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services).
18+
19+
<!--custom.important.start-->
20+
<!--custom.important.end-->
21+
22+
## Code examples
23+
24+
### Prerequisites
25+
26+
For prerequisites, see the [README](../../README.md#Prerequisites) in the `javav2` folder.
27+
28+
29+
<!--custom.prerequisites.start-->
30+
<!--custom.prerequisites.end-->
31+
32+
### Single actions
33+
34+
Code excerpts that show you how to call individual service functions.
35+
36+
- [StartMedicalStreamTranscription](src/main/java/com/amazonaws/transcribestreaming/TranscribeMedicalStreamingDemoApp.java#L25)
37+
- [StartStreamTranscription](src/main/java/com/amazonaws/transcribestreaming/TranscribeStreamingDemoApp.java#L26)
38+
39+
40+
<!--custom.examples.start-->
41+
<!--custom.examples.end-->
42+
43+
## Run the examples
44+
45+
### Instructions
46+
47+
48+
<!--custom.instructions.start-->
49+
<!--custom.instructions.end-->
50+
51+
52+
53+
### Tests
54+
55+
⚠ Running tests might result in charges to your AWS account.
56+
57+
58+
To find instructions for running these tests, see the [README](../../README.md#Tests)
59+
in the `javav2` folder.
60+
61+
62+
63+
<!--custom.tests.start-->
64+
<!--custom.tests.end-->
65+
66+
## Additional resources
67+
68+
- [Amazon Transcribe Streaming Developer Guide](https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html)
69+
- [Amazon Transcribe Streaming API Reference](https://docs.aws.amazon.com/transcribe/latest/APIReference/Welcome.html)
70+
- [SDK for Java 2.x Amazon Transcribe Streaming reference](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/transcribe/package-summary.html)
71+
72+
<!--custom.resources.start-->
73+
<!--custom.resources.end-->
74+
75+
---
76+
77+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
78+
79+
SPDX-License-Identifier: Apache-2.0
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<groupId>TranscribeJ2</groupId>
7+
<artifactId>TranscribeJ2</artifactId>
8+
<version>1.0-SNAPSHOT</version>
9+
<properties>
10+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11+
<java.version>17</java.version>
12+
<maven.compiler.target>17</maven.compiler.target>
13+
<maven.compiler.source>17</maven.compiler.source>
14+
</properties>
15+
<build>
16+
<plugins>
17+
<plugin>
18+
<groupId>org.apache.maven.plugins</groupId>
19+
<artifactId>maven-compiler-plugin</artifactId>
20+
<version>3.1</version>
21+
<configuration>
22+
<source>${java.version}</source>
23+
<target>${java.version}</target>
24+
</configuration>
25+
</plugin>
26+
</plugins>
27+
</build>
28+
<dependencyManagement>
29+
<dependencies>
30+
<dependency>
31+
<groupId>software.amazon.awssdk</groupId>
32+
<artifactId>bom</artifactId>
33+
<version>2.21.20</version>
34+
<type>pom</type>
35+
<scope>import</scope>
36+
</dependency>
37+
</dependencies>
38+
</dependencyManagement>
39+
<dependencies>
40+
<dependency>
41+
<groupId>org.junit.jupiter</groupId>
42+
<artifactId>junit-jupiter-api</artifactId>
43+
<version>5.9.2</version>
44+
<scope>test</scope>
45+
</dependency>
46+
<dependency>
47+
<groupId>org.junit.jupiter</groupId>
48+
<artifactId>junit-jupiter-engine</artifactId>
49+
<version>5.9.2</version>
50+
<scope>test</scope>
51+
</dependency>
52+
<dependency>
53+
<groupId>org.junit.platform</groupId>
54+
<artifactId>junit-platform-commons</artifactId>
55+
<version>1.9.2</version>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.junit.platform</groupId>
59+
<artifactId>junit-platform-launcher</artifactId>
60+
<version>1.9.2</version>
61+
<scope>test</scope>
62+
</dependency>
63+
<dependency>
64+
<groupId>org.slf4j</groupId>
65+
<artifactId>slf4j-log4j12</artifactId>
66+
<version>2.0.5</version>
67+
</dependency>
68+
<dependency>
69+
<groupId>software.amazon.awssdk</groupId>
70+
<artifactId>transcribe</artifactId>
71+
</dependency>
72+
<dependency>
73+
<groupId>software.amazon.awssdk</groupId>
74+
<artifactId>transcribestreaming</artifactId>
75+
</dependency>
76+
</dependencies>
77+
</project>

0 commit comments

Comments
 (0)