From 873cf5a9a421fb0c0d7c04bed75b98e55dcd203e Mon Sep 17 00:00:00 2001 From: awsmobilesdk Date: Mon, 29 Apr 2024 18:08:10 +0000 Subject: [PATCH] feat(aws-android-sdk-transcribe): update models to latest --- .../services/transcribe/AmazonTranscribe.java | 185 +- .../transcribe/AmazonTranscribeAsync.java | 396 +++- .../AmazonTranscribeAsyncClient.java | 461 ++++- .../transcribe/AmazonTranscribeClient.java | 288 ++- .../transcribe/model/AbsoluteTimeRange.java | 2 +- .../transcribe/model/BadRequestException.java | 2 +- .../transcribe/model/BaseModelName.java | 2 +- .../transcribe/model/CLMLanguageCode.java | 2 +- .../model/CallAnalyticsFeature.java | 60 + .../transcribe/model/CallAnalyticsJob.java | 244 ++- .../model/CallAnalyticsJobDetails.java | 197 ++ .../model/CallAnalyticsJobSettings.java | 139 +- .../model/CallAnalyticsJobStatus.java | 2 +- .../model/CallAnalyticsJobSummary.java | 121 +- .../model/CallAnalyticsSkippedFeature.java | 409 ++++ .../model/CallAnalyticsSkippedReasonCode.java | 62 + .../transcribe/model/CategoryProperties.java | 2 +- .../transcribe/model/ChannelDefinition.java | 2 +- .../transcribe/model/ConflictException.java | 2 +- .../transcribe/model/ContentRedaction.java | 76 +- .../CreateCallAnalyticsCategoryRequest.java | 2 +- .../CreateCallAnalyticsCategoryResult.java | 2 +- .../model/CreateLanguageModelRequest.java | 2 +- .../model/CreateLanguageModelResult.java | 2 +- .../model/CreateMedicalVocabularyRequest.java | 50 +- .../model/CreateMedicalVocabularyResult.java | 50 +- .../model/CreateVocabularyFilterRequest.java | 50 +- .../model/CreateVocabularyFilterResult.java | 50 +- .../model/CreateVocabularyRequest.java | 50 +- .../model/CreateVocabularyResult.java | 50 +- .../DeleteCallAnalyticsCategoryRequest.java | 2 +- .../DeleteCallAnalyticsCategoryResult.java | 2 +- .../model/DeleteCallAnalyticsJobRequest.java | 2 +- .../model/DeleteCallAnalyticsJobResult.java | 2 +- .../model/DeleteLanguageModelRequest.java | 2 +- .../model/DeleteMedicalScribeJobRequest.java | 150 ++ .../DeleteMedicalTranscriptionJobRequest.java | 2 +- .../model/DeleteMedicalVocabularyRequest.java | 2 +- .../model/DeleteTranscriptionJobRequest.java | 2 +- .../model/DeleteVocabularyFilterRequest.java | 2 +- .../model/DeleteVocabularyRequest.java | 2 +- .../model/DescribeLanguageModelRequest.java | 2 +- .../model/DescribeLanguageModelResult.java | 2 +- .../GetCallAnalyticsCategoryRequest.java | 2 +- .../model/GetCallAnalyticsCategoryResult.java | 2 +- .../model/GetCallAnalyticsJobRequest.java | 2 +- .../model/GetCallAnalyticsJobResult.java | 2 +- .../model/GetMedicalScribeJobRequest.java | 159 ++ .../model/GetMedicalScribeJobResult.java | 127 ++ .../GetMedicalTranscriptionJobRequest.java | 2 +- .../GetMedicalTranscriptionJobResult.java | 2 +- .../model/GetMedicalVocabularyRequest.java | 2 +- .../model/GetMedicalVocabularyResult.java | 83 +- .../model/GetTranscriptionJobRequest.java | 2 +- .../model/GetTranscriptionJobResult.java | 2 +- .../model/GetVocabularyFilterRequest.java | 2 +- .../model/GetVocabularyFilterResult.java | 50 +- .../model/GetVocabularyRequest.java | 2 +- .../transcribe/model/GetVocabularyResult.java | 78 +- .../transcribe/model/InputDataConfig.java | 2 +- .../services/transcribe/model/InputType.java | 2 +- .../model/InternalFailureException.java | 2 +- .../transcribe/model/InterruptionFilter.java | 2 +- .../model/JobExecutionSettings.java | 2 +- .../transcribe/model/LanguageCode.java | 132 +- .../transcribe/model/LanguageCodeItem.java | 50 +- .../transcribe/model/LanguageIdSettings.java | 60 +- .../transcribe/model/LanguageModel.java | 42 +- .../model/LimitExceededException.java | 2 +- .../ListCallAnalyticsCategoriesRequest.java | 16 +- .../ListCallAnalyticsCategoriesResult.java | 2 +- .../model/ListCallAnalyticsJobsRequest.java | 50 +- .../model/ListCallAnalyticsJobsResult.java | 2 +- .../model/ListLanguageModelsRequest.java | 38 +- .../model/ListLanguageModelsResult.java | 2 +- .../model/ListMedicalScribeJobsRequest.java | 498 +++++ .../model/ListMedicalScribeJobsResult.java | 399 ++++ .../ListMedicalTranscriptionJobsRequest.java | 40 +- .../ListMedicalTranscriptionJobsResult.java | 2 +- .../model/ListMedicalVocabulariesRequest.java | 40 +- .../model/ListMedicalVocabulariesResult.java | 2 +- .../model/ListTagsForResourceRequest.java | 2 +- .../model/ListTagsForResourceResult.java | 2 +- .../model/ListTranscriptionJobsRequest.java | 50 +- .../model/ListTranscriptionJobsResult.java | 2 +- .../model/ListVocabulariesRequest.java | 62 +- .../model/ListVocabulariesResult.java | 2 +- .../model/ListVocabularyFiltersRequest.java | 16 +- .../model/ListVocabularyFiltersResult.java | 2 +- .../services/transcribe/model/Media.java | 7 +- .../transcribe/model/MediaFormat.java | 6 +- .../MedicalContentIdentificationType.java | 2 +- .../model/MedicalScribeChannelDefinition.java | 263 +++ .../transcribe/model/MedicalScribeJob.java | 1749 ++++++++++++++++ .../model/MedicalScribeJobStatus.java | 66 + .../model/MedicalScribeJobSummary.java | 894 ++++++++ .../model/MedicalScribeLanguageCode.java | 60 + .../transcribe/model/MedicalScribeOutput.java | 219 ++ .../model/MedicalScribeParticipantRole.java | 62 + .../model/MedicalScribeSettings.java | 991 +++++++++ .../transcribe/model/MedicalTranscript.java | 2 +- .../model/MedicalTranscriptionJob.java | 179 +- .../model/MedicalTranscriptionJobSummary.java | 50 +- .../model/MedicalTranscriptionSetting.java | 126 +- .../transcribe/model/ModelSettings.java | 24 +- .../transcribe/model/ModelStatus.java | 2 +- .../transcribe/model/NonTalkTimeFilter.java | 2 +- .../transcribe/model/NotFoundException.java | 2 +- .../transcribe/model/OutputLocationType.java | 2 +- .../transcribe/model/ParticipantRole.java | 2 +- .../transcribe/model/PiiEntityType.java | 2 +- .../transcribe/model/RedactionOutput.java | 2 +- .../transcribe/model/RedactionType.java | 2 +- .../transcribe/model/RelativeTimeRange.java | 2 +- .../services/transcribe/model/Rule.java | 2 +- .../transcribe/model/SentimentFilter.java | 2 +- .../transcribe/model/SentimentValue.java | 2 +- .../services/transcribe/model/Settings.java | 104 +- .../services/transcribe/model/Specialty.java | 2 +- .../model/StartCallAnalyticsJobRequest.java | 56 +- .../model/StartCallAnalyticsJobResult.java | 2 +- .../model/StartMedicalScribeJobRequest.java | 1820 +++++++++++++++++ .../model/StartMedicalScribeJobResult.java | 125 ++ .../StartMedicalTranscriptionJobRequest.java | 139 +- .../StartMedicalTranscriptionJobResult.java | 2 +- .../model/StartTranscriptionJobRequest.java | 161 +- .../model/StartTranscriptionJobResult.java | 2 +- .../transcribe/model/SubtitleFormat.java | 2 +- .../services/transcribe/model/Subtitles.java | 2 +- .../transcribe/model/SubtitlesOutput.java | 2 +- .../transcribe/model/Summarization.java | 231 +++ .../services/transcribe/model/Tag.java | 2 +- .../transcribe/model/TagResourceRequest.java | 2 +- .../transcribe/model/TagResourceResult.java | 2 +- .../transcribe/model/ToxicityCategory.java | 2 +- .../model/ToxicityDetectionSettings.java | 2 +- .../services/transcribe/model/Transcript.java | 2 +- .../transcribe/model/TranscriptFilter.java | 2 +- .../model/TranscriptFilterType.java | 2 +- .../transcribe/model/TranscriptionJob.java | 142 +- .../model/TranscriptionJobStatus.java | 2 +- .../model/TranscriptionJobSummary.java | 50 +- .../services/transcribe/model/Type.java | 2 +- .../model/UntagResourceRequest.java | 2 +- .../transcribe/model/UntagResourceResult.java | 2 +- .../UpdateCallAnalyticsCategoryRequest.java | 2 +- .../UpdateCallAnalyticsCategoryResult.java | 2 +- .../model/UpdateMedicalVocabularyRequest.java | 50 +- .../model/UpdateMedicalVocabularyResult.java | 50 +- .../model/UpdateVocabularyFilterRequest.java | 2 +- .../model/UpdateVocabularyFilterResult.java | 50 +- .../model/UpdateVocabularyRequest.java | 50 +- .../model/UpdateVocabularyResult.java | 50 +- .../model/VocabularyFilterInfo.java | 50 +- .../model/VocabularyFilterMethod.java | 2 +- .../transcribe/model/VocabularyInfo.java | 50 +- .../transcribe/model/VocabularyState.java | 2 +- .../AbsoluteTimeRangeJsonMarshaller.java | 2 +- .../AbsoluteTimeRangeJsonUnmarshaller.java | 2 +- .../BadRequestExceptionUnmarshaller.java | 2 +- ...CallAnalyticsJobDetailsJsonMarshaller.java | 53 + ...llAnalyticsJobDetailsJsonUnmarshaller.java | 60 + .../CallAnalyticsJobJsonMarshaller.java | 9 +- .../CallAnalyticsJobJsonUnmarshaller.java | 6 +- ...allAnalyticsJobSettingsJsonMarshaller.java | 7 +- ...lAnalyticsJobSettingsJsonUnmarshaller.java | 6 +- ...CallAnalyticsJobSummaryJsonMarshaller.java | 9 +- ...llAnalyticsJobSummaryJsonUnmarshaller.java | 7 +- ...AnalyticsSkippedFeatureJsonMarshaller.java | 55 + ...alyticsSkippedFeatureJsonUnmarshaller.java | 63 + .../CategoryPropertiesJsonMarshaller.java | 2 +- .../CategoryPropertiesJsonUnmarshaller.java | 2 +- .../ChannelDefinitionJsonMarshaller.java | 2 +- .../ChannelDefinitionJsonUnmarshaller.java | 2 +- .../ConflictExceptionUnmarshaller.java | 2 +- .../ContentRedactionJsonMarshaller.java | 2 +- .../ContentRedactionJsonUnmarshaller.java | 2 +- ...allAnalyticsCategoryRequestMarshaller.java | 2 +- ...alyticsCategoryResultJsonUnmarshaller.java | 2 +- .../CreateLanguageModelRequestMarshaller.java | 2 +- ...teLanguageModelResultJsonUnmarshaller.java | 2 +- ...ateMedicalVocabularyRequestMarshaller.java | 2 +- ...dicalVocabularyResultJsonUnmarshaller.java | 2 +- ...eateVocabularyFilterRequestMarshaller.java | 2 +- ...ocabularyFilterResultJsonUnmarshaller.java | 2 +- .../CreateVocabularyRequestMarshaller.java | 2 +- ...reateVocabularyResultJsonUnmarshaller.java | 2 +- ...allAnalyticsCategoryRequestMarshaller.java | 2 +- ...alyticsCategoryResultJsonUnmarshaller.java | 2 +- ...leteCallAnalyticsJobRequestMarshaller.java | 2 +- ...allAnalyticsJobResultJsonUnmarshaller.java | 2 +- .../DeleteLanguageModelRequestMarshaller.java | 2 +- ...leteMedicalScribeJobRequestMarshaller.java | 89 + ...icalTranscriptionJobRequestMarshaller.java | 2 +- ...eteMedicalVocabularyRequestMarshaller.java | 2 +- ...leteTranscriptionJobRequestMarshaller.java | 2 +- ...leteVocabularyFilterRequestMarshaller.java | 2 +- .../DeleteVocabularyRequestMarshaller.java | 2 +- ...escribeLanguageModelRequestMarshaller.java | 2 +- ...beLanguageModelResultJsonUnmarshaller.java | 2 +- ...allAnalyticsCategoryRequestMarshaller.java | 2 +- ...alyticsCategoryResultJsonUnmarshaller.java | 2 +- .../GetCallAnalyticsJobRequestMarshaller.java | 2 +- ...allAnalyticsJobResultJsonUnmarshaller.java | 2 +- .../GetMedicalScribeJobRequestMarshaller.java | 88 + ...edicalScribeJobResultJsonUnmarshaller.java | 56 + ...icalTranscriptionJobRequestMarshaller.java | 2 +- ...ranscriptionJobResultJsonUnmarshaller.java | 2 +- ...GetMedicalVocabularyRequestMarshaller.java | 2 +- ...dicalVocabularyResultJsonUnmarshaller.java | 2 +- .../GetTranscriptionJobRequestMarshaller.java | 2 +- ...ranscriptionJobResultJsonUnmarshaller.java | 2 +- .../GetVocabularyFilterRequestMarshaller.java | 2 +- ...ocabularyFilterResultJsonUnmarshaller.java | 2 +- .../GetVocabularyRequestMarshaller.java | 2 +- .../GetVocabularyResultJsonUnmarshaller.java | 2 +- .../InputDataConfigJsonMarshaller.java | 2 +- .../InputDataConfigJsonUnmarshaller.java | 2 +- .../InternalFailureExceptionUnmarshaller.java | 2 +- .../InterruptionFilterJsonMarshaller.java | 2 +- .../InterruptionFilterJsonUnmarshaller.java | 2 +- .../JobExecutionSettingsJsonMarshaller.java | 2 +- .../JobExecutionSettingsJsonUnmarshaller.java | 2 +- .../LanguageCodeItemJsonMarshaller.java | 2 +- .../LanguageCodeItemJsonUnmarshaller.java | 2 +- .../LanguageIdSettingsJsonMarshaller.java | 2 +- .../LanguageIdSettingsJsonUnmarshaller.java | 2 +- .../LanguageModelJsonMarshaller.java | 2 +- .../LanguageModelJsonUnmarshaller.java | 2 +- .../LimitExceededExceptionUnmarshaller.java | 2 +- ...lAnalyticsCategoriesRequestMarshaller.java | 2 +- ...yticsCategoriesResultJsonUnmarshaller.java | 2 +- ...istCallAnalyticsJobsRequestMarshaller.java | 2 +- ...llAnalyticsJobsResultJsonUnmarshaller.java | 2 +- .../ListLanguageModelsRequestMarshaller.java | 2 +- ...tLanguageModelsResultJsonUnmarshaller.java | 2 +- ...istMedicalScribeJobsRequestMarshaller.java | 103 + ...dicalScribeJobsResultJsonUnmarshaller.java | 64 + ...calTranscriptionJobsRequestMarshaller.java | 2 +- ...anscriptionJobsResultJsonUnmarshaller.java | 2 +- ...tMedicalVocabulariesRequestMarshaller.java | 2 +- ...calVocabulariesResultJsonUnmarshaller.java | 2 +- .../ListTagsForResourceRequestMarshaller.java | 2 +- ...TagsForResourceResultJsonUnmarshaller.java | 2 +- ...istTranscriptionJobsRequestMarshaller.java | 2 +- ...anscriptionJobsResultJsonUnmarshaller.java | 2 +- .../ListVocabulariesRequestMarshaller.java | 2 +- ...istVocabulariesResultJsonUnmarshaller.java | 2 +- ...istVocabularyFiltersRequestMarshaller.java | 2 +- ...cabularyFiltersResultJsonUnmarshaller.java | 2 +- .../model/transform/MediaJsonMarshaller.java | 2 +- .../transform/MediaJsonUnmarshaller.java | 2 +- ...ScribeChannelDefinitionJsonMarshaller.java | 50 + ...ribeChannelDefinitionJsonUnmarshaller.java | 62 + .../MedicalScribeJobJsonMarshaller.java | 120 ++ .../MedicalScribeJobJsonUnmarshaller.java | 99 + ...MedicalScribeJobSummaryJsonMarshaller.java | 75 + ...dicalScribeJobSummaryJsonUnmarshaller.java | 77 + .../MedicalScribeOutputJsonMarshaller.java | 50 + .../MedicalScribeOutputJsonUnmarshaller.java | 60 + .../MedicalScribeSettingsJsonMarshaller.java | 70 + ...MedicalScribeSettingsJsonUnmarshaller.java | 74 + .../MedicalTranscriptJsonMarshaller.java | 2 +- .../MedicalTranscriptJsonUnmarshaller.java | 2 +- ...MedicalTranscriptionJobJsonMarshaller.java | 2 +- ...dicalTranscriptionJobJsonUnmarshaller.java | 2 +- ...TranscriptionJobSummaryJsonMarshaller.java | 2 +- ...anscriptionJobSummaryJsonUnmarshaller.java | 2 +- ...calTranscriptionSettingJsonMarshaller.java | 2 +- ...lTranscriptionSettingJsonUnmarshaller.java | 2 +- .../ModelSettingsJsonMarshaller.java | 2 +- .../ModelSettingsJsonUnmarshaller.java | 2 +- .../NonTalkTimeFilterJsonMarshaller.java | 2 +- .../NonTalkTimeFilterJsonUnmarshaller.java | 2 +- .../NotFoundExceptionUnmarshaller.java | 2 +- .../RelativeTimeRangeJsonMarshaller.java | 2 +- .../RelativeTimeRangeJsonUnmarshaller.java | 2 +- .../model/transform/RuleJsonMarshaller.java | 2 +- .../model/transform/RuleJsonUnmarshaller.java | 2 +- .../SentimentFilterJsonMarshaller.java | 2 +- .../SentimentFilterJsonUnmarshaller.java | 2 +- .../transform/SettingsJsonMarshaller.java | 2 +- .../transform/SettingsJsonUnmarshaller.java | 2 +- ...tartCallAnalyticsJobRequestMarshaller.java | 2 +- ...allAnalyticsJobResultJsonUnmarshaller.java | 2 +- ...tartMedicalScribeJobRequestMarshaller.java | 154 ++ ...edicalScribeJobResultJsonUnmarshaller.java | 56 + ...icalTranscriptionJobRequestMarshaller.java | 2 +- ...ranscriptionJobResultJsonUnmarshaller.java | 2 +- ...tartTranscriptionJobRequestMarshaller.java | 2 +- ...ranscriptionJobResultJsonUnmarshaller.java | 2 +- .../transform/SubtitlesJsonMarshaller.java | 2 +- .../transform/SubtitlesJsonUnmarshaller.java | 2 +- .../SubtitlesOutputJsonMarshaller.java | 2 +- .../SubtitlesOutputJsonUnmarshaller.java | 2 +- .../SummarizationJsonMarshaller.java | 44 + .../SummarizationJsonUnmarshaller.java | 56 + .../model/transform/TagJsonMarshaller.java | 2 +- .../model/transform/TagJsonUnmarshaller.java | 2 +- .../TagResourceRequestMarshaller.java | 2 +- .../TagResourceResultJsonUnmarshaller.java | 2 +- ...xicityDetectionSettingsJsonMarshaller.java | 2 +- ...cityDetectionSettingsJsonUnmarshaller.java | 2 +- .../TranscriptFilterJsonMarshaller.java | 2 +- .../TranscriptFilterJsonUnmarshaller.java | 2 +- .../transform/TranscriptJsonMarshaller.java | 2 +- .../transform/TranscriptJsonUnmarshaller.java | 2 +- .../TranscriptionJobJsonMarshaller.java | 2 +- .../TranscriptionJobJsonUnmarshaller.java | 2 +- ...TranscriptionJobSummaryJsonMarshaller.java | 2 +- ...anscriptionJobSummaryJsonUnmarshaller.java | 2 +- .../UntagResourceRequestMarshaller.java | 2 +- .../UntagResourceResultJsonUnmarshaller.java | 2 +- ...allAnalyticsCategoryRequestMarshaller.java | 2 +- ...alyticsCategoryResultJsonUnmarshaller.java | 2 +- ...ateMedicalVocabularyRequestMarshaller.java | 2 +- ...dicalVocabularyResultJsonUnmarshaller.java | 2 +- ...dateVocabularyFilterRequestMarshaller.java | 2 +- ...ocabularyFilterResultJsonUnmarshaller.java | 2 +- .../UpdateVocabularyRequestMarshaller.java | 2 +- ...pdateVocabularyResultJsonUnmarshaller.java | 2 +- .../VocabularyFilterInfoJsonMarshaller.java | 2 +- .../VocabularyFilterInfoJsonUnmarshaller.java | 2 +- .../VocabularyInfoJsonMarshaller.java | 2 +- .../VocabularyInfoJsonUnmarshaller.java | 2 +- 325 files changed, 13887 insertions(+), 1243 deletions(-) create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsFeature.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobDetails.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsSkippedFeature.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsSkippedReasonCode.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalScribeJobRequest.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalScribeJobRequest.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalScribeJobResult.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalScribeJobsRequest.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalScribeJobsResult.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeChannelDefinition.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJob.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJobStatus.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJobSummary.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeLanguageCode.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeOutput.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeParticipantRole.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeSettings.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalScribeJobRequest.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalScribeJobResult.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Summarization.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobDetailsJsonMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobDetailsJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsSkippedFeatureJsonMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsSkippedFeatureJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalScribeJobRequestMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalScribeJobRequestMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalScribeJobResultJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalScribeJobsRequestMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalScribeJobsResultJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeChannelDefinitionJsonMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeChannelDefinitionJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobJsonMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobSummaryJsonMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobSummaryJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeOutputJsonMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeOutputJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeSettingsJsonMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeSettingsJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalScribeJobRequestMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalScribeJobResultJsonUnmarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SummarizationJsonMarshaller.java create mode 100644 aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SummarizationJsonUnmarshaller.java diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribe.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribe.java index e08b4cefe9..227623ee1e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribe.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribe.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -421,6 +421,28 @@ DeleteCallAnalyticsJobResult deleteCallAnalyticsJob( void deleteLanguageModel(DeleteLanguageModelRequest deleteLanguageModelRequest) throws AmazonClientException, AmazonServiceException; + /** + *

+ * Deletes a Medical Scribe job. To use this operation, specify the name of + * the job you want to delete using MedicalScribeJobName. Job + * names are case sensitive. + *

+ * + * @param deleteMedicalScribeJobRequest + * @throws LimitExceededException + * @throws BadRequestException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + void deleteMedicalScribeJob(DeleteMedicalScribeJobRequest deleteMedicalScribeJobRequest) + throws AmazonClientException, AmazonServiceException; + /** *

* Deletes a medical transcription job. To use this operation, specify the @@ -646,6 +668,42 @@ GetCallAnalyticsJobResult getCallAnalyticsJob( GetCallAnalyticsJobRequest getCallAnalyticsJobRequest) throws AmazonClientException, AmazonServiceException; + /** + *

+ * Provides information about the specified Medical Scribe job. + *

+ *

+ * To view the status of the specified medical transcription job, check the + * MedicalScribeJobStatus field. If the status is + * COMPLETED, the job is finished. You can find the results at + * the location specified in MedicalScribeOutput. If the status + * is FAILED, FailureReason provides details on + * why your Medical Scribe job failed. + *

+ *

+ * To get a list of your Medical Scribe jobs, use the operation. + *

+ * + * @param getMedicalScribeJobRequest + * @return getMedicalScribeJobResult The response from the + * GetMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws NotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + GetMedicalScribeJobResult getMedicalScribeJob( + GetMedicalScribeJobRequest getMedicalScribeJobRequest) throws AmazonClientException, + AmazonServiceException; + /** *

* Provides information about the specified medical transcription job. @@ -904,6 +962,35 @@ ListCallAnalyticsJobsResult listCallAnalyticsJobs( ListLanguageModelsResult listLanguageModels(ListLanguageModelsRequest listLanguageModelsRequest) throws AmazonClientException, AmazonServiceException; + /** + *

+ * Provides a list of Medical Scribe jobs that match the specified criteria. + * If no criteria are specified, all Medical Scribe jobs are returned. + *

+ *

+ * To get detailed information about a specific Medical Scribe job, use the + * operation. + *

+ * + * @param listMedicalScribeJobsRequest + * @return listMedicalScribeJobsResult The response from the + * ListMedicalScribeJobs service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + ListMedicalScribeJobsResult listMedicalScribeJobs( + ListMedicalScribeJobsRequest listMedicalScribeJobsRequest) + throws AmazonClientException, AmazonServiceException; + /** *

* Provides a list of medical transcription jobs that match the specified @@ -1179,6 +1266,96 @@ StartCallAnalyticsJobResult startCallAnalyticsJob( StartCallAnalyticsJobRequest startCallAnalyticsJobRequest) throws AmazonClientException, AmazonServiceException; + /** + *

+ * Transcribes patient-clinician conversations and generates clinical notes. + *

+ *

+ * Amazon Web Services HealthScribe automatically provides rich conversation + * transcripts, identifies speaker roles, classifies dialogues, extracts + * medical terms, and generates preliminary clinical notes. To learn more + * about these features, refer to Amazon Web Services HealthScribe. + *

+ *

+ * To make a StartMedicalScribeJob request, you must first + * upload your media file into an Amazon S3 bucket; you can then specify the + * Amazon S3 location of the file using the Media parameter. + *

+ *

+ * You must include the following parameters in your + * StartMedicalTranscriptionJob request: + *

+ * + * + * @param startMedicalScribeJobRequest + * @return startMedicalScribeJobResult The response from the + * StartMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + StartMedicalScribeJobResult startMedicalScribeJob( + StartMedicalScribeJobRequest startMedicalScribeJobRequest) + throws AmazonClientException, AmazonServiceException; + /** *

* Transcribes the audio from a medical dictation or conversation and @@ -1196,7 +1373,7 @@ StartCallAnalyticsJobResult startCallAnalyticsJob( *

* To make a StartMedicalTranscriptionJob request, you must * first upload your media file into an Amazon S3 bucket; you can then - * specify the S3 location of the file using the Media + * specify the Amazon S3 location of the file using the Media * parameter. *

*

@@ -1314,8 +1491,8 @@ StartMedicalTranscriptionJobResult startMedicalTranscriptionJob( * media file, specify it using the LanguageCode parameter; you * can find all valid language codes in the Supported languages table. If you don't know the languages spoken in - * your media, use either IdentifyLanguage or + * >Supported languages table. If you do not know the languages spoken + * in your media, use either IdentifyLanguage or * IdentifyMultipleLanguages and let Amazon Transcribe identify * the languages for you. *

diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsync.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsync.java index 07b6ac3c1b..e0bcd3c969 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsync.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsync.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -728,6 +728,63 @@ Future deleteLanguageModelAsync(DeleteLanguageModelRequest deleteLanguageM AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; + /** + *

+ * Deletes a Medical Scribe job. To use this operation, specify the name of + * the job you want to delete using MedicalScribeJobName. Job + * names are case sensitive. + *

+ * + * @param deleteMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * DeleteMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws LimitExceededException + * @throws BadRequestException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + Future deleteMedicalScribeJobAsync( + DeleteMedicalScribeJobRequest deleteMedicalScribeJobRequest) + throws AmazonServiceException, AmazonClientException; + + /** + *

+ * Deletes a Medical Scribe job. To use this operation, specify the name of + * the job you want to delete using MedicalScribeJobName. Job + * names are case sensitive. + *

+ * + * @param deleteMedicalScribeJobRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * DeleteMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws LimitExceededException + * @throws BadRequestException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + Future deleteMedicalScribeJobAsync( + DeleteMedicalScribeJobRequest deleteMedicalScribeJobRequest, + AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException; + /** *

* Deletes a medical transcription job. To use this operation, specify the @@ -1254,6 +1311,83 @@ Future getCallAnalyticsJobAsync( AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; + /** + *

+ * Provides information about the specified Medical Scribe job. + *

+ *

+ * To view the status of the specified medical transcription job, check the + * MedicalScribeJobStatus field. If the status is + * COMPLETED, the job is finished. You can find the results at + * the location specified in MedicalScribeOutput. If the status + * is FAILED, FailureReason provides details on + * why your Medical Scribe job failed. + *

+ *

+ * To get a list of your Medical Scribe jobs, use the operation. + *

+ * + * @param getMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * GetMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws NotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + Future getMedicalScribeJobAsync( + GetMedicalScribeJobRequest getMedicalScribeJobRequest) throws AmazonServiceException, + AmazonClientException; + + /** + *

+ * Provides information about the specified Medical Scribe job. + *

+ *

+ * To view the status of the specified medical transcription job, check the + * MedicalScribeJobStatus field. If the status is + * COMPLETED, the job is finished. You can find the results at + * the location specified in MedicalScribeOutput. If the status + * is FAILED, FailureReason provides details on + * why your Medical Scribe job failed. + *

+ *

+ * To get a list of your Medical Scribe jobs, use the operation. + *

+ * + * @param getMedicalScribeJobRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * GetMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws NotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + Future getMedicalScribeJobAsync( + GetMedicalScribeJobRequest getMedicalScribeJobRequest, + AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException; + /** *

* Provides information about the specified medical transcription job. @@ -1814,6 +1948,69 @@ Future listLanguageModelsAsync( AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; + /** + *

+ * Provides a list of Medical Scribe jobs that match the specified criteria. + * If no criteria are specified, all Medical Scribe jobs are returned. + *

+ *

+ * To get detailed information about a specific Medical Scribe job, use the + * operation. + *

+ * + * @param listMedicalScribeJobsRequest + * @return A Java Future object containing the response from the + * ListMedicalScribeJobs service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + Future listMedicalScribeJobsAsync( + ListMedicalScribeJobsRequest listMedicalScribeJobsRequest) + throws AmazonServiceException, AmazonClientException; + + /** + *

+ * Provides a list of Medical Scribe jobs that match the specified criteria. + * If no criteria are specified, all Medical Scribe jobs are returned. + *

+ *

+ * To get detailed information about a specific Medical Scribe job, use the + * operation. + *

+ * + * @param listMedicalScribeJobsRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * ListMedicalScribeJobs service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + Future listMedicalScribeJobsAsync( + ListMedicalScribeJobsRequest listMedicalScribeJobsRequest, + AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException; + /** *

* Provides a list of medical transcription jobs that match the specified @@ -2403,6 +2600,191 @@ Future startCallAnalyticsJobAsync( AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; + /** + *

+ * Transcribes patient-clinician conversations and generates clinical notes. + *

+ *

+ * Amazon Web Services HealthScribe automatically provides rich conversation + * transcripts, identifies speaker roles, classifies dialogues, extracts + * medical terms, and generates preliminary clinical notes. To learn more + * about these features, refer to Amazon Web Services HealthScribe. + *

+ *

+ * To make a StartMedicalScribeJob request, you must first + * upload your media file into an Amazon S3 bucket; you can then specify the + * Amazon S3 location of the file using the Media parameter. + *

+ *

+ * You must include the following parameters in your + * StartMedicalTranscriptionJob request: + *

+ *
    + *
  • + *

    + * DataAccessRoleArn: The ARN of an IAM role with the these + * minimum permissions: read permission on input file Amazon S3 bucket + * specified in Media, write permission on the Amazon S3 bucket + * specified in OutputBucketName, and full permissions on the + * KMS key specified in OutputEncryptionKMSKeyId (if set). The + * role should also allow transcribe.amazonaws.com to assume + * it. + *

    + *
  • + *
  • + *

    + * Media (MediaFileUri): The Amazon S3 location of + * your media file. + *

    + *
  • + *
  • + *

    + * MedicalScribeJobName: A custom name you create for your + * MedicalScribe job that is unique within your Amazon Web Services account. + *

    + *
  • + *
  • + *

    + * OutputBucketName: The Amazon S3 bucket where you want your + * output files stored. + *

    + *
  • + *
  • + *

    + * Settings: A MedicalScribeSettings obect that + * must set exactly one of ShowSpeakerLabels or + * ChannelIdentification to true. If + * ShowSpeakerLabels is true, MaxSpeakerLabels + * must also be set. + *

    + *
  • + *
  • + *

    + * ChannelDefinitions: A + * MedicalScribeChannelDefinitions array should be set if and + * only if the ChannelIdentification value of + * Settings is set to true. + *

    + *
  • + *
+ * + * @param startMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * StartMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + Future startMedicalScribeJobAsync( + StartMedicalScribeJobRequest startMedicalScribeJobRequest) + throws AmazonServiceException, AmazonClientException; + + /** + *

+ * Transcribes patient-clinician conversations and generates clinical notes. + *

+ *

+ * Amazon Web Services HealthScribe automatically provides rich conversation + * transcripts, identifies speaker roles, classifies dialogues, extracts + * medical terms, and generates preliminary clinical notes. To learn more + * about these features, refer to Amazon Web Services HealthScribe. + *

+ *

+ * To make a StartMedicalScribeJob request, you must first + * upload your media file into an Amazon S3 bucket; you can then specify the + * Amazon S3 location of the file using the Media parameter. + *

+ *

+ * You must include the following parameters in your + * StartMedicalTranscriptionJob request: + *

+ *
    + *
  • + *

    + * DataAccessRoleArn: The ARN of an IAM role with the these + * minimum permissions: read permission on input file Amazon S3 bucket + * specified in Media, write permission on the Amazon S3 bucket + * specified in OutputBucketName, and full permissions on the + * KMS key specified in OutputEncryptionKMSKeyId (if set). The + * role should also allow transcribe.amazonaws.com to assume + * it. + *

    + *
  • + *
  • + *

    + * Media (MediaFileUri): The Amazon S3 location of + * your media file. + *

    + *
  • + *
  • + *

    + * MedicalScribeJobName: A custom name you create for your + * MedicalScribe job that is unique within your Amazon Web Services account. + *

    + *
  • + *
  • + *

    + * OutputBucketName: The Amazon S3 bucket where you want your + * output files stored. + *

    + *
  • + *
  • + *

    + * Settings: A MedicalScribeSettings obect that + * must set exactly one of ShowSpeakerLabels or + * ChannelIdentification to true. If + * ShowSpeakerLabels is true, MaxSpeakerLabels + * must also be set. + *

    + *
  • + *
  • + *

    + * ChannelDefinitions: A + * MedicalScribeChannelDefinitions array should be set if and + * only if the ChannelIdentification value of + * Settings is set to true. + *

    + *
  • + *
+ * + * @param startMedicalScribeJobRequest + * @param asyncHandler Asynchronous callback handler for events in the + * life-cycle of the request. Users could provide the + * implementation of the four callback methods in this interface + * to process the operation result or handle the exception. + * @return A Java Future object containing the response from the + * StartMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + Future startMedicalScribeJobAsync( + StartMedicalScribeJobRequest startMedicalScribeJobRequest, + AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException; + /** *

* Transcribes the audio from a medical dictation or conversation and @@ -2420,7 +2802,7 @@ Future startCallAnalyticsJobAsync( *

* To make a StartMedicalTranscriptionJob request, you must * first upload your media file into an Amazon S3 bucket; you can then - * specify the S3 location of the file using the Media + * specify the Amazon S3 location of the file using the Media * parameter. *

*

@@ -2512,7 +2894,7 @@ Future startMedicalTranscriptionJobAsync( *

* To make a StartMedicalTranscriptionJob request, you must * first upload your media file into an Amazon S3 bucket; you can then - * specify the S3 location of the file using the Media + * specify the Amazon S3 location of the file using the Media * parameter. *

*

@@ -2635,8 +3017,8 @@ Future startMedicalTranscriptionJobAsync( * media file, specify it using the LanguageCode parameter; you * can find all valid language codes in the Supported languages table. If you don't know the languages spoken in - * your media, use either IdentifyLanguage or + * >Supported languages table. If you do not know the languages spoken + * in your media, use either IdentifyLanguage or * IdentifyMultipleLanguages and let Amazon Transcribe identify * the languages for you. *

@@ -2706,8 +3088,8 @@ Future startTranscriptionJobAsync( * media file, specify it using the LanguageCode parameter; you * can find all valid language codes in the Supported languages table. If you don't know the languages spoken in - * your media, use either IdentifyLanguage or + * >Supported languages table. If you do not know the languages spoken + * in your media, use either IdentifyLanguage or * IdentifyMultipleLanguages and let Amazon Transcribe identify * the languages for you. *

diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsyncClient.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsyncClient.java index c9a5db1e1f..566478a777 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsyncClient.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsyncClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -1087,6 +1087,80 @@ public Void call() throws Exception { }); } + /** + *

+ * Deletes a Medical Scribe job. To use this operation, specify the name of + * the job you want to delete using MedicalScribeJobName. Job + * names are case sensitive. + *

+ * + * @param deleteMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * DeleteMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws LimitExceededException + * @throws BadRequestException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future deleteMedicalScribeJobAsync( + final DeleteMedicalScribeJobRequest deleteMedicalScribeJobRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Void call() throws Exception { + deleteMedicalScribeJob(deleteMedicalScribeJobRequest); + return null; + } + }); + } + + /** + *

+ * Deletes a Medical Scribe job. To use this operation, specify the name of + * the job you want to delete using MedicalScribeJobName. Job + * names are case sensitive. + *

+ * + * @param deleteMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * DeleteMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws LimitExceededException + * @throws BadRequestException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future deleteMedicalScribeJobAsync( + final DeleteMedicalScribeJobRequest deleteMedicalScribeJobRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public Void call() throws Exception { + Void result = null; + try { + deleteMedicalScribeJob(deleteMedicalScribeJobRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(deleteMedicalScribeJobRequest, result); + return result; + } + }); + } + /** *

* Deletes a medical transcription job. To use this operation, specify the @@ -1747,6 +1821,99 @@ public GetCallAnalyticsJobResult call() throws Exception { }); } + /** + *

+ * Provides information about the specified Medical Scribe job. + *

+ *

+ * To view the status of the specified medical transcription job, check the + * MedicalScribeJobStatus field. If the status is + * COMPLETED, the job is finished. You can find the results at + * the location specified in MedicalScribeOutput. If the status + * is FAILED, FailureReason provides details on + * why your Medical Scribe job failed. + *

+ *

+ * To get a list of your Medical Scribe jobs, use the operation. + *

+ * + * @param getMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * GetMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws NotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future getMedicalScribeJobAsync( + final GetMedicalScribeJobRequest getMedicalScribeJobRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public GetMedicalScribeJobResult call() throws Exception { + return getMedicalScribeJob(getMedicalScribeJobRequest); + } + }); + } + + /** + *

+ * Provides information about the specified Medical Scribe job. + *

+ *

+ * To view the status of the specified medical transcription job, check the + * MedicalScribeJobStatus field. If the status is + * COMPLETED, the job is finished. You can find the results at + * the location specified in MedicalScribeOutput. If the status + * is FAILED, FailureReason provides details on + * why your Medical Scribe job failed. + *

+ *

+ * To get a list of your Medical Scribe jobs, use the operation. + *

+ * + * @param getMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * GetMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws NotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future getMedicalScribeJobAsync( + final GetMedicalScribeJobRequest getMedicalScribeJobRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public GetMedicalScribeJobResult call() throws Exception { + GetMedicalScribeJobResult result = null; + try { + result = getMedicalScribeJob(getMedicalScribeJobRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(getMedicalScribeJobRequest, result); + return result; + } + }); + } + /** *

* Provides information about the specified medical transcription job. @@ -2437,6 +2604,85 @@ public ListLanguageModelsResult call() throws Exception { }); } + /** + *

+ * Provides a list of Medical Scribe jobs that match the specified criteria. + * If no criteria are specified, all Medical Scribe jobs are returned. + *

+ *

+ * To get detailed information about a specific Medical Scribe job, use the + * operation. + *

+ * + * @param listMedicalScribeJobsRequest + * @return A Java Future object containing the response from the + * ListMedicalScribeJobs service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future listMedicalScribeJobsAsync( + final ListMedicalScribeJobsRequest listMedicalScribeJobsRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public ListMedicalScribeJobsResult call() throws Exception { + return listMedicalScribeJobs(listMedicalScribeJobsRequest); + } + }); + } + + /** + *

+ * Provides a list of Medical Scribe jobs that match the specified criteria. + * If no criteria are specified, all Medical Scribe jobs are returned. + *

+ *

+ * To get detailed information about a specific Medical Scribe job, use the + * operation. + *

+ * + * @param listMedicalScribeJobsRequest + * @return A Java Future object containing the response from the + * ListMedicalScribeJobs service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future listMedicalScribeJobsAsync( + final ListMedicalScribeJobsRequest listMedicalScribeJobsRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public ListMedicalScribeJobsResult call() throws Exception { + ListMedicalScribeJobsResult result = null; + try { + result = listMedicalScribeJobs(listMedicalScribeJobsRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(listMedicalScribeJobsRequest, result); + return result; + } + }); + } + /** *

* Provides a list of medical transcription jobs that match the specified @@ -3138,6 +3384,207 @@ public StartCallAnalyticsJobResult call() throws Exception { }); } + /** + *

+ * Transcribes patient-clinician conversations and generates clinical notes. + *

+ *

+ * Amazon Web Services HealthScribe automatically provides rich conversation + * transcripts, identifies speaker roles, classifies dialogues, extracts + * medical terms, and generates preliminary clinical notes. To learn more + * about these features, refer to Amazon Web Services HealthScribe. + *

+ *

+ * To make a StartMedicalScribeJob request, you must first + * upload your media file into an Amazon S3 bucket; you can then specify the + * Amazon S3 location of the file using the Media parameter. + *

+ *

+ * You must include the following parameters in your + * StartMedicalTranscriptionJob request: + *

+ *
    + *
  • + *

    + * DataAccessRoleArn: The ARN of an IAM role with the these + * minimum permissions: read permission on input file Amazon S3 bucket + * specified in Media, write permission on the Amazon S3 bucket + * specified in OutputBucketName, and full permissions on the + * KMS key specified in OutputEncryptionKMSKeyId (if set). The + * role should also allow transcribe.amazonaws.com to assume + * it. + *

    + *
  • + *
  • + *

    + * Media (MediaFileUri): The Amazon S3 location of + * your media file. + *

    + *
  • + *
  • + *

    + * MedicalScribeJobName: A custom name you create for your + * MedicalScribe job that is unique within your Amazon Web Services account. + *

    + *
  • + *
  • + *

    + * OutputBucketName: The Amazon S3 bucket where you want your + * output files stored. + *

    + *
  • + *
  • + *

    + * Settings: A MedicalScribeSettings obect that + * must set exactly one of ShowSpeakerLabels or + * ChannelIdentification to true. If + * ShowSpeakerLabels is true, MaxSpeakerLabels + * must also be set. + *

    + *
  • + *
  • + *

    + * ChannelDefinitions: A + * MedicalScribeChannelDefinitions array should be set if and + * only if the ChannelIdentification value of + * Settings is set to true. + *

    + *
  • + *
+ * + * @param startMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * StartMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future startMedicalScribeJobAsync( + final StartMedicalScribeJobRequest startMedicalScribeJobRequest) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public StartMedicalScribeJobResult call() throws Exception { + return startMedicalScribeJob(startMedicalScribeJobRequest); + } + }); + } + + /** + *

+ * Transcribes patient-clinician conversations and generates clinical notes. + *

+ *

+ * Amazon Web Services HealthScribe automatically provides rich conversation + * transcripts, identifies speaker roles, classifies dialogues, extracts + * medical terms, and generates preliminary clinical notes. To learn more + * about these features, refer to Amazon Web Services HealthScribe. + *

+ *

+ * To make a StartMedicalScribeJob request, you must first + * upload your media file into an Amazon S3 bucket; you can then specify the + * Amazon S3 location of the file using the Media parameter. + *

+ *

+ * You must include the following parameters in your + * StartMedicalTranscriptionJob request: + *

+ *
    + *
  • + *

    + * DataAccessRoleArn: The ARN of an IAM role with the these + * minimum permissions: read permission on input file Amazon S3 bucket + * specified in Media, write permission on the Amazon S3 bucket + * specified in OutputBucketName, and full permissions on the + * KMS key specified in OutputEncryptionKMSKeyId (if set). The + * role should also allow transcribe.amazonaws.com to assume + * it. + *

    + *
  • + *
  • + *

    + * Media (MediaFileUri): The Amazon S3 location of + * your media file. + *

    + *
  • + *
  • + *

    + * MedicalScribeJobName: A custom name you create for your + * MedicalScribe job that is unique within your Amazon Web Services account. + *

    + *
  • + *
  • + *

    + * OutputBucketName: The Amazon S3 bucket where you want your + * output files stored. + *

    + *
  • + *
  • + *

    + * Settings: A MedicalScribeSettings obect that + * must set exactly one of ShowSpeakerLabels or + * ChannelIdentification to true. If + * ShowSpeakerLabels is true, MaxSpeakerLabels + * must also be set. + *

    + *
  • + *
  • + *

    + * ChannelDefinitions: A + * MedicalScribeChannelDefinitions array should be set if and + * only if the ChannelIdentification value of + * Settings is set to true. + *

    + *
  • + *
+ * + * @param startMedicalScribeJobRequest + * @return A Java Future object containing the response from the + * StartMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public Future startMedicalScribeJobAsync( + final StartMedicalScribeJobRequest startMedicalScribeJobRequest, + final AsyncHandler asyncHandler) + throws AmazonServiceException, AmazonClientException { + return executorService.submit(new Callable() { + public StartMedicalScribeJobResult call() throws Exception { + StartMedicalScribeJobResult result = null; + try { + result = startMedicalScribeJob(startMedicalScribeJobRequest); + } catch (Exception ex) { + asyncHandler.onError(ex); + throw ex; + } + asyncHandler.onSuccess(startMedicalScribeJobRequest, result); + return result; + } + }); + } + /** *

* Transcribes the audio from a medical dictation or conversation and @@ -3155,7 +3602,7 @@ public StartCallAnalyticsJobResult call() throws Exception { *

* To make a StartMedicalTranscriptionJob request, you must * first upload your media file into an Amazon S3 bucket; you can then - * specify the S3 location of the file using the Media + * specify the Amazon S3 location of the file using the Media * parameter. *

*

@@ -3253,7 +3700,7 @@ public StartMedicalTranscriptionJobResult call() throws Exception { *

* To make a StartMedicalTranscriptionJob request, you must * first upload your media file into an Amazon S3 bucket; you can then - * specify the S3 location of the file using the Media + * specify the Amazon S3 location of the file using the Media * parameter. *

*

@@ -3386,8 +3833,8 @@ public StartMedicalTranscriptionJobResult call() throws Exception { * media file, specify it using the LanguageCode parameter; you * can find all valid language codes in the Supported languages table. If you don't know the languages spoken in - * your media, use either IdentifyLanguage or + * >Supported languages table. If you do not know the languages spoken + * in your media, use either IdentifyLanguage or * IdentifyMultipleLanguages and let Amazon Transcribe identify * the languages for you. *

@@ -3463,8 +3910,8 @@ public StartTranscriptionJobResult call() throws Exception { * media file, specify it using the LanguageCode parameter; you * can find all valid language codes in the Supported languages table. If you don't know the languages spoken in - * your media, use either IdentifyLanguage or + * >Supported languages table. If you do not know the languages spoken + * in your media, use either IdentifyLanguage or * IdentifyMultipleLanguages and let Amazon Transcribe identify * the languages for you. *

diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeClient.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeClient.java index 94c5193c5b..9bbb03d8f1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeClient.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -895,6 +895,50 @@ public void deleteLanguageModel(DeleteLanguageModelRequest deleteLanguageModelRe } } + /** + *

+ * Deletes a Medical Scribe job. To use this operation, specify the name of + * the job you want to delete using MedicalScribeJobName. Job + * names are case sensitive. + *

+ * + * @param deleteMedicalScribeJobRequest + * @throws LimitExceededException + * @throws BadRequestException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public void deleteMedicalScribeJob(DeleteMedicalScribeJobRequest deleteMedicalScribeJobRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(deleteMedicalScribeJobRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new DeleteMedicalScribeJobRequestMarshaller() + .marshall(deleteMedicalScribeJobRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + JsonResponseHandler responseHandler = new JsonResponseHandler(null); + invoke(request, responseHandler, executionContext); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

* Deletes a medical transcription job. To use this operation, specify the @@ -1311,6 +1355,69 @@ public GetCallAnalyticsJobResult getCallAnalyticsJob( } } + /** + *

+ * Provides information about the specified Medical Scribe job. + *

+ *

+ * To view the status of the specified medical transcription job, check the + * MedicalScribeJobStatus field. If the status is + * COMPLETED, the job is finished. You can find the results at + * the location specified in MedicalScribeOutput. If the status + * is FAILED, FailureReason provides details on + * why your Medical Scribe job failed. + *

+ *

+ * To get a list of your Medical Scribe jobs, use the operation. + *

+ * + * @param getMedicalScribeJobRequest + * @return getMedicalScribeJobResult The response from the + * GetMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws NotFoundException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public GetMedicalScribeJobResult getMedicalScribeJob( + GetMedicalScribeJobRequest getMedicalScribeJobRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(getMedicalScribeJobRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new GetMedicalScribeJobRequestMarshaller() + .marshall(getMedicalScribeJobRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + Unmarshaller unmarshaller = new GetMedicalScribeJobResultJsonUnmarshaller(); + JsonResponseHandler responseHandler = new JsonResponseHandler( + unmarshaller); + + response = invoke(request, responseHandler, executionContext); + + return response.getAwsResponse(); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

* Provides information about the specified medical transcription job. @@ -1785,6 +1892,62 @@ public ListLanguageModelsResult listLanguageModels( } } + /** + *

+ * Provides a list of Medical Scribe jobs that match the specified criteria. + * If no criteria are specified, all Medical Scribe jobs are returned. + *

+ *

+ * To get detailed information about a specific Medical Scribe job, use the + * operation. + *

+ * + * @param listMedicalScribeJobsRequest + * @return listMedicalScribeJobsResult The response from the + * ListMedicalScribeJobs service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public ListMedicalScribeJobsResult listMedicalScribeJobs( + ListMedicalScribeJobsRequest listMedicalScribeJobsRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(listMedicalScribeJobsRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new ListMedicalScribeJobsRequestMarshaller() + .marshall(listMedicalScribeJobsRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + Unmarshaller unmarshaller = new ListMedicalScribeJobsResultJsonUnmarshaller(); + JsonResponseHandler responseHandler = new JsonResponseHandler( + unmarshaller); + + response = invoke(request, responseHandler, executionContext); + + return response.getAwsResponse(); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

* Provides a list of medical transcription jobs that match the specified @@ -2248,6 +2411,123 @@ public StartCallAnalyticsJobResult startCallAnalyticsJob( } } + /** + *

+ * Transcribes patient-clinician conversations and generates clinical notes. + *

+ *

+ * Amazon Web Services HealthScribe automatically provides rich conversation + * transcripts, identifies speaker roles, classifies dialogues, extracts + * medical terms, and generates preliminary clinical notes. To learn more + * about these features, refer to Amazon Web Services HealthScribe. + *

+ *

+ * To make a StartMedicalScribeJob request, you must first + * upload your media file into an Amazon S3 bucket; you can then specify the + * Amazon S3 location of the file using the Media parameter. + *

+ *

+ * You must include the following parameters in your + * StartMedicalTranscriptionJob request: + *

+ *
    + *
  • + *

    + * DataAccessRoleArn: The ARN of an IAM role with the these + * minimum permissions: read permission on input file Amazon S3 bucket + * specified in Media, write permission on the Amazon S3 bucket + * specified in OutputBucketName, and full permissions on the + * KMS key specified in OutputEncryptionKMSKeyId (if set). The + * role should also allow transcribe.amazonaws.com to assume + * it. + *

    + *
  • + *
  • + *

    + * Media (MediaFileUri): The Amazon S3 location of + * your media file. + *

    + *
  • + *
  • + *

    + * MedicalScribeJobName: A custom name you create for your + * MedicalScribe job that is unique within your Amazon Web Services account. + *

    + *
  • + *
  • + *

    + * OutputBucketName: The Amazon S3 bucket where you want your + * output files stored. + *

    + *
  • + *
  • + *

    + * Settings: A MedicalScribeSettings obect that + * must set exactly one of ShowSpeakerLabels or + * ChannelIdentification to true. If + * ShowSpeakerLabels is true, MaxSpeakerLabels + * must also be set. + *

    + *
  • + *
  • + *

    + * ChannelDefinitions: A + * MedicalScribeChannelDefinitions array should be set if and + * only if the ChannelIdentification value of + * Settings is set to true. + *

    + *
  • + *
+ * + * @param startMedicalScribeJobRequest + * @return startMedicalScribeJobResult The response from the + * StartMedicalScribeJob service method, as returned by Amazon + * Transcribe. + * @throws BadRequestException + * @throws LimitExceededException + * @throws InternalFailureException + * @throws ConflictException + * @throws AmazonClientException If any internal errors are encountered + * inside the client while attempting to make the request or + * handle the response. For example if a network connection is + * not available. + * @throws AmazonServiceException If an error response is returned by Amazon + * Transcribe indicating either a problem with the data in the + * request, or a server side issue. + */ + public StartMedicalScribeJobResult startMedicalScribeJob( + StartMedicalScribeJobRequest startMedicalScribeJobRequest) + throws AmazonServiceException, AmazonClientException { + ExecutionContext executionContext = createExecutionContext(startMedicalScribeJobRequest); + AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); + awsRequestMetrics.startEvent(Field.ClientExecuteTime); + Request request = null; + Response response = null; + try { + awsRequestMetrics.startEvent(Field.RequestMarshallTime); + try { + request = new StartMedicalScribeJobRequestMarshaller() + .marshall(startMedicalScribeJobRequest); + // Binds the request metrics to the current request. + request.setAWSRequestMetrics(awsRequestMetrics); + } finally { + awsRequestMetrics.endEvent(Field.RequestMarshallTime); + } + Unmarshaller unmarshaller = new StartMedicalScribeJobResultJsonUnmarshaller(); + JsonResponseHandler responseHandler = new JsonResponseHandler( + unmarshaller); + + response = invoke(request, responseHandler, executionContext); + + return response.getAwsResponse(); + } finally { + awsRequestMetrics.endEvent(Field.ClientExecuteTime); + endClientExecution(awsRequestMetrics, request, response, LOGGING_AWS_REQUEST_METRIC); + } + } + /** *

* Transcribes the audio from a medical dictation or conversation and @@ -2265,7 +2545,7 @@ public StartCallAnalyticsJobResult startCallAnalyticsJob( *

* To make a StartMedicalTranscriptionJob request, you must * first upload your media file into an Amazon S3 bucket; you can then - * specify the S3 location of the file using the Media + * specify the Amazon S3 location of the file using the Media * parameter. *

*

@@ -2410,8 +2690,8 @@ public StartMedicalTranscriptionJobResult startMedicalTranscriptionJob( * media file, specify it using the LanguageCode parameter; you * can find all valid language codes in the Supported languages table. If you don't know the languages spoken in - * your media, use either IdentifyLanguage or + * >Supported languages table. If you do not know the languages spoken + * in your media, use either IdentifyLanguage or * IdentifyMultipleLanguages and let Amazon Transcribe identify * the languages for you. *

diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/AbsoluteTimeRange.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/AbsoluteTimeRange.java index 19636edddc..8b51672d05 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/AbsoluteTimeRange.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/AbsoluteTimeRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/BadRequestException.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/BadRequestException.java index fd86716a4b..8504a6e483 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/BadRequestException.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/BadRequestException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/BaseModelName.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/BaseModelName.java index 721b8b2a87..a84a7266f3 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/BaseModelName.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/BaseModelName.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CLMLanguageCode.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CLMLanguageCode.java index 1f6d95547b..2e689957a5 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CLMLanguageCode.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CLMLanguageCode.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsFeature.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsFeature.java new file mode 100644 index 0000000000..f2b21726dc --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsFeature.java @@ -0,0 +1,60 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Call Analytics Feature + */ +public enum CallAnalyticsFeature { + + GENERATIVE_SUMMARIZATION("GENERATIVE_SUMMARIZATION"); + + private String value; + + private CallAnalyticsFeature(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("GENERATIVE_SUMMARIZATION", GENERATIVE_SUMMARIZATION); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return CallAnalyticsFeature corresponding to the value + */ + public static CallAnalyticsFeature fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJob.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJob.java index 3cc978d105..1ab8607833 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJob.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJob.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -70,6 +70,14 @@ public class CallAnalyticsJob implements Serializable { */ private String callAnalyticsJobStatus; + /** + *

+ * Provides detailed information about a call analytics job, including + * information about skipped analytics features. + *

+ */ + private CallAnalyticsJobDetails callAnalyticsJobDetails; + /** *

* The language code used to create your Call Analytics job. For a list of @@ -79,7 +87,7 @@ public class CallAnalyticsJob implements Serializable { * >Supported languages table. *

*

- * If you don't know the language spoken in your media file, you can omit + * If you do not know the language spoken in your media file, you can omit * this field and let Amazon Transcribe automatically identify the language * of your media. To improve the accuracy of language identification, you * can include several language codes and Amazon Transcribe chooses the @@ -91,7 +99,13 @@ public class CallAnalyticsJob implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -111,7 +125,7 @@ public class CallAnalyticsJob implements Serializable { *

*

* Constraints:
- * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a */ private String mediaFormat; @@ -187,7 +201,8 @@ public class CallAnalyticsJob implements Serializable { *

*

* The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

* *
  • @@ -228,8 +243,8 @@ public class CallAnalyticsJob implements Serializable { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -239,8 +254,8 @@ public class CallAnalyticsJob implements Serializable { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -536,6 +551,58 @@ public CallAnalyticsJob withCallAnalyticsJobStatus(CallAnalyticsJobStatus callAn return this; } + /** + *

    + * Provides detailed information about a call analytics job, including + * information about skipped analytics features. + *

    + * + * @return

    + * Provides detailed information about a call analytics job, + * including information about skipped analytics features. + *

    + */ + public CallAnalyticsJobDetails getCallAnalyticsJobDetails() { + return callAnalyticsJobDetails; + } + + /** + *

    + * Provides detailed information about a call analytics job, including + * information about skipped analytics features. + *

    + * + * @param callAnalyticsJobDetails

    + * Provides detailed information about a call analytics job, + * including information about skipped analytics features. + *

    + */ + public void setCallAnalyticsJobDetails(CallAnalyticsJobDetails callAnalyticsJobDetails) { + this.callAnalyticsJobDetails = callAnalyticsJobDetails; + } + + /** + *

    + * Provides detailed information about a call analytics job, including + * information about skipped analytics features. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param callAnalyticsJobDetails

    + * Provides detailed information about a call analytics job, + * including information about skipped analytics features. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CallAnalyticsJob withCallAnalyticsJobDetails( + CallAnalyticsJobDetails callAnalyticsJobDetails) { + this.callAnalyticsJobDetails = callAnalyticsJobDetails; + return this; + } + /** *

    * The language code used to create your Call Analytics job. For a list of @@ -545,7 +612,7 @@ public CallAnalyticsJob withCallAnalyticsJobStatus(CallAnalyticsJobStatus callAn * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you can omit + * If you do not know the language spoken in your media file, you can omit * this field and let Amazon Transcribe automatically identify the language * of your media. To improve the accuracy of language identification, you * can include several language codes and Amazon Transcribe chooses the @@ -557,7 +624,13 @@ public CallAnalyticsJob withCallAnalyticsJobStatus(CallAnalyticsJobStatus callAn * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code used to create your Call Analytics job. For a @@ -567,11 +640,12 @@ public CallAnalyticsJob withCallAnalyticsJobStatus(CallAnalyticsJobStatus callAn * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you can - * omit this field and let Amazon Transcribe automatically identify - * the language of your media. To improve the accuracy of language - * identification, you can include several language codes and Amazon - * Transcribe chooses the closest match for your transcription. + * If you do not know the language spoken in your media file, you + * can omit this field and let Amazon Transcribe automatically + * identify the language of your media. To improve the accuracy of + * language identification, you can include several language codes + * and Amazon Transcribe chooses the closest match for your + * transcription. *

    * @see LanguageCode */ @@ -588,7 +662,7 @@ public String getLanguageCode() { * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you can omit + * If you do not know the language spoken in your media file, you can omit * this field and let Amazon Transcribe automatically identify the language * of your media. To improve the accuracy of language identification, you * can include several language codes and Amazon Transcribe chooses the @@ -600,7 +674,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your Call Analytics job. For @@ -610,7 +690,7 @@ public String getLanguageCode() { * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you + * If you do not know the language spoken in your media file, you * can omit this field and let Amazon Transcribe automatically * identify the language of your media. To improve the accuracy * of language identification, you can include several language @@ -632,7 +712,7 @@ public void setLanguageCode(String languageCode) { * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you can omit + * If you do not know the language spoken in your media file, you can omit * this field and let Amazon Transcribe automatically identify the language * of your media. To improve the accuracy of language identification, you * can include several language codes and Amazon Transcribe chooses the @@ -647,7 +727,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your Call Analytics job. For @@ -657,7 +743,7 @@ public void setLanguageCode(String languageCode) { * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you + * If you do not know the language spoken in your media file, you * can omit this field and let Amazon Transcribe automatically * identify the language of your media. To improve the accuracy * of language identification, you can include several language @@ -682,7 +768,7 @@ public CallAnalyticsJob withLanguageCode(String languageCode) { * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you can omit + * If you do not know the language spoken in your media file, you can omit * this field and let Amazon Transcribe automatically identify the language * of your media. To improve the accuracy of language identification, you * can include several language codes and Amazon Transcribe chooses the @@ -694,7 +780,13 @@ public CallAnalyticsJob withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your Call Analytics job. For @@ -704,7 +796,7 @@ public CallAnalyticsJob withLanguageCode(String languageCode) { * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you + * If you do not know the language spoken in your media file, you * can omit this field and let Amazon Transcribe automatically * identify the language of your media. To improve the accuracy * of language identification, you can include several language @@ -726,7 +818,7 @@ public void setLanguageCode(LanguageCode languageCode) { * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you can omit + * If you do not know the language spoken in your media file, you can omit * this field and let Amazon Transcribe automatically identify the language * of your media. To improve the accuracy of language identification, you * can include several language codes and Amazon Transcribe chooses the @@ -741,7 +833,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your Call Analytics job. For @@ -751,7 +849,7 @@ public void setLanguageCode(LanguageCode languageCode) { * >Supported languages table. *

    *

    - * If you don't know the language spoken in your media file, you + * If you do not know the language spoken in your media file, you * can omit this field and let Amazon Transcribe automatically * identify the language of your media. To improve the accuracy * of language identification, you can include several language @@ -830,7 +928,7 @@ public CallAnalyticsJob withMediaSampleRateHertz(Integer mediaSampleRateHertz) { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @return

    * The format of the input media file. @@ -847,7 +945,7 @@ public String getMediaFormat() { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -867,7 +965,7 @@ public void setMediaFormat(String mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -887,7 +985,7 @@ public CallAnalyticsJob withMediaFormat(String mediaFormat) { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -907,7 +1005,7 @@ public void setMediaFormat(MediaFormat mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -1301,7 +1399,8 @@ public CallAnalyticsJob withCompletionTime(java.util.Date completionTime) { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1342,8 +1441,8 @@ public CallAnalyticsJob withCompletionTime(java.util.Date completionTime) { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1353,8 +1452,8 @@ public CallAnalyticsJob withCompletionTime(java.util.Date completionTime) { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1375,8 +1474,8 @@ public CallAnalyticsJob withCompletionTime(java.util.Date completionTime) { *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat parameter + * for a list of supported formats. *

    * *
  • @@ -1419,8 +1518,8 @@ public CallAnalyticsJob withCompletionTime(java.util.Date completionTime) { *

    * The size of your media file is larger than what Amazon Transcribe * can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1431,8 +1530,8 @@ public CallAnalyticsJob withCompletionTime(java.util.Date completionTime) { *

    * Your audio contains more channels than Amazon Transcribe is able * to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1458,7 +1557,8 @@ public String getFailureReason() { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1499,8 +1599,8 @@ public String getFailureReason() { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1510,8 +1610,8 @@ public String getFailureReason() { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1532,8 +1632,8 @@ public String getFailureReason() { *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat + * parameter for a list of supported formats. *

    * *
  • @@ -1577,8 +1677,8 @@ public String getFailureReason() { * The size of your media file is larger than what Amazon * Transcribe can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1589,8 +1689,8 @@ public String getFailureReason() { *

    * Your audio contains more channels than Amazon Transcribe is * able to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1616,7 +1716,8 @@ public void setFailureReason(String failureReason) { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1657,8 +1758,8 @@ public void setFailureReason(String failureReason) { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1668,8 +1769,8 @@ public void setFailureReason(String failureReason) { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1693,8 +1794,8 @@ public void setFailureReason(String failureReason) { *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat + * parameter for a list of supported formats. *

    * *
  • @@ -1738,8 +1839,8 @@ public void setFailureReason(String failureReason) { * The size of your media file is larger than what Amazon * Transcribe can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1750,8 +1851,8 @@ public void setFailureReason(String failureReason) { *

    * Your audio contains more channels than Amazon Transcribe is * able to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -2055,6 +2156,8 @@ public String toString() { sb.append("CallAnalyticsJobName: " + getCallAnalyticsJobName() + ","); if (getCallAnalyticsJobStatus() != null) sb.append("CallAnalyticsJobStatus: " + getCallAnalyticsJobStatus() + ","); + if (getCallAnalyticsJobDetails() != null) + sb.append("CallAnalyticsJobDetails: " + getCallAnalyticsJobDetails() + ","); if (getLanguageCode() != null) sb.append("LanguageCode: " + getLanguageCode() + ","); if (getMediaSampleRateHertz() != null) @@ -2096,6 +2199,10 @@ public int hashCode() { * hashCode + ((getCallAnalyticsJobStatus() == null) ? 0 : getCallAnalyticsJobStatus() .hashCode()); + hashCode = prime + * hashCode + + ((getCallAnalyticsJobDetails() == null) ? 0 : getCallAnalyticsJobDetails() + .hashCode()); hashCode = prime * hashCode + ((getLanguageCode() == null) ? 0 : getLanguageCode().hashCode()); hashCode = prime * hashCode @@ -2144,6 +2251,11 @@ public boolean equals(Object obj) { if (other.getCallAnalyticsJobStatus() != null && other.getCallAnalyticsJobStatus().equals(this.getCallAnalyticsJobStatus()) == false) return false; + if (other.getCallAnalyticsJobDetails() == null ^ this.getCallAnalyticsJobDetails() == null) + return false; + if (other.getCallAnalyticsJobDetails() != null + && other.getCallAnalyticsJobDetails().equals(this.getCallAnalyticsJobDetails()) == false) + return false; if (other.getLanguageCode() == null ^ this.getLanguageCode() == null) return false; if (other.getLanguageCode() != null diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobDetails.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobDetails.java new file mode 100644 index 0000000000..740819c0da --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobDetails.java @@ -0,0 +1,197 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +/** + *

    + * Contains details about a call analytics job, including information about + * skipped analytics features. + *

    + */ +public class CallAnalyticsJobDetails implements Serializable { + /** + *

    + * Contains information about any skipped analytics features during the + * analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, along with + * their corresponding reason code and message. + *

    + */ + private java.util.List skipped; + + /** + *

    + * Contains information about any skipped analytics features during the + * analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, along with + * their corresponding reason code and message. + *

    + * + * @return

    + * Contains information about any skipped analytics features during + * the analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, + * along with their corresponding reason code and message. + *

    + */ + public java.util.List getSkipped() { + return skipped; + } + + /** + *

    + * Contains information about any skipped analytics features during the + * analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, along with + * their corresponding reason code and message. + *

    + * + * @param skipped

    + * Contains information about any skipped analytics features + * during the analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, + * along with their corresponding reason code and message. + *

    + */ + public void setSkipped(java.util.Collection skipped) { + if (skipped == null) { + this.skipped = null; + return; + } + + this.skipped = new java.util.ArrayList(skipped); + } + + /** + *

    + * Contains information about any skipped analytics features during the + * analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, along with + * their corresponding reason code and message. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param skipped

    + * Contains information about any skipped analytics features + * during the analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, + * along with their corresponding reason code and message. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CallAnalyticsJobDetails withSkipped(CallAnalyticsSkippedFeature... skipped) { + if (getSkipped() == null) { + this.skipped = new java.util.ArrayList(skipped.length); + } + for (CallAnalyticsSkippedFeature value : skipped) { + this.skipped.add(value); + } + return this; + } + + /** + *

    + * Contains information about any skipped analytics features during the + * analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, along with + * their corresponding reason code and message. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param skipped

    + * Contains information about any skipped analytics features + * during the analysis of a call analytics job. + *

    + *

    + * This array lists all the analytics features that were skipped, + * along with their corresponding reason code and message. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CallAnalyticsJobDetails withSkipped( + java.util.Collection skipped) { + setSkipped(skipped); + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getSkipped() != null) + sb.append("Skipped: " + getSkipped()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getSkipped() == null) ? 0 : getSkipped().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof CallAnalyticsJobDetails == false) + return false; + CallAnalyticsJobDetails other = (CallAnalyticsJobDetails) obj; + + if (other.getSkipped() == null ^ this.getSkipped() == null) + return false; + if (other.getSkipped() != null && other.getSkipped().equals(this.getSkipped()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobSettings.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobSettings.java index d215f9817d..67a7e4e74d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobSettings.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -84,8 +84,8 @@ public class CallAnalyticsJobSettings implements Serializable { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -99,8 +99,9 @@ public class CallAnalyticsJobSettings implements Serializable { * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of + * PII you want to redact. *

    */ private ContentRedaction contentRedaction; @@ -171,6 +172,15 @@ public class CallAnalyticsJobSettings implements Serializable { */ private java.util.Map languageIdSettings; + /** + *

    + * Contains GenerateAbstractiveSummary, which is a required + * parameter if you want to enable Generative call summarization in your + * Call Analytics request. + *

    + */ + private Summarization summarization; + /** *

    * The name of the custom vocabulary you want to include in your Call @@ -547,8 +557,8 @@ public CallAnalyticsJobSettings withVocabularyFilterMethod( *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -563,7 +573,7 @@ public CallAnalyticsJobSettings withVocabularyFilterMethod( *

    * The language of the specified custom language model must match * the language code that you specify in your transcription request. - * If the languages don't match, the custom language model isn't + * If the languages do not match, the custom language model isn't * applied. There are no errors or warnings associated with a * language mismatch. *

    @@ -581,8 +591,8 @@ public String getLanguageModelName() { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -597,7 +607,7 @@ public String getLanguageModelName() { *

    * The language of the specified custom language model must match * the language code that you specify in your transcription - * request. If the languages don't match, the custom language + * request. If the languages do not match, the custom language * model isn't applied. There are no errors or warnings * associated with a language mismatch. *

    @@ -615,8 +625,8 @@ public void setLanguageModelName(String languageModelName) { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -634,7 +644,7 @@ public void setLanguageModelName(String languageModelName) { *

    * The language of the specified custom language model must match * the language code that you specify in your transcription - * request. If the languages don't match, the custom language + * request. If the languages do not match, the custom language * model isn't applied. There are no errors or warnings * associated with a language mismatch. *

    @@ -651,16 +661,19 @@ public CallAnalyticsJobSettings withLanguageModelName(String languageModelName) * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of + * PII you want to redact. *

    * * @return

    * Makes it possible to redact or flag specified personally * identifiable information (PII) in your transcript. If you use * ContentRedaction, you must also include the - * sub-parameters: PiiEntityTypes, - * RedactionOutput, and RedactionType. + * sub-parameters: RedactionOutput and + * RedactionType. You can optionally include + * PiiEntityTypes to choose which types of PII you want + * to redact. *

    */ public ContentRedaction getContentRedaction() { @@ -672,16 +685,19 @@ public ContentRedaction getContentRedaction() { * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of + * PII you want to redact. *

    * * @param contentRedaction

    * Makes it possible to redact or flag specified personally * identifiable information (PII) in your transcript. If you use * ContentRedaction, you must also include the - * sub-parameters: PiiEntityTypes, - * RedactionOutput, and RedactionType. + * sub-parameters: RedactionOutput and + * RedactionType. You can optionally include + * PiiEntityTypes to choose which types of PII you + * want to redact. *

    */ public void setContentRedaction(ContentRedaction contentRedaction) { @@ -693,8 +709,9 @@ public void setContentRedaction(ContentRedaction contentRedaction) { * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of + * PII you want to redact. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -704,8 +721,10 @@ public void setContentRedaction(ContentRedaction contentRedaction) { * Makes it possible to redact or flag specified personally * identifiable information (PII) in your transcript. If you use * ContentRedaction, you must also include the - * sub-parameters: PiiEntityTypes, - * RedactionOutput, and RedactionType. + * sub-parameters: RedactionOutput and + * RedactionType. You can optionally include + * PiiEntityTypes to choose which types of PII you + * want to redact. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -1274,6 +1293,63 @@ public CallAnalyticsJobSettings clearLanguageIdSettingsEntries() { return this; } + /** + *

    + * Contains GenerateAbstractiveSummary, which is a required + * parameter if you want to enable Generative call summarization in your + * Call Analytics request. + *

    + * + * @return

    + * Contains GenerateAbstractiveSummary, which is a + * required parameter if you want to enable Generative call + * summarization in your Call Analytics request. + *

    + */ + public Summarization getSummarization() { + return summarization; + } + + /** + *

    + * Contains GenerateAbstractiveSummary, which is a required + * parameter if you want to enable Generative call summarization in your + * Call Analytics request. + *

    + * + * @param summarization

    + * Contains GenerateAbstractiveSummary, which is a + * required parameter if you want to enable Generative call + * summarization in your Call Analytics request. + *

    + */ + public void setSummarization(Summarization summarization) { + this.summarization = summarization; + } + + /** + *

    + * Contains GenerateAbstractiveSummary, which is a required + * parameter if you want to enable Generative call summarization in your + * Call Analytics request. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param summarization

    + * Contains GenerateAbstractiveSummary, which is a + * required parameter if you want to enable Generative call + * summarization in your Call Analytics request. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CallAnalyticsJobSettings withSummarization(Summarization summarization) { + this.summarization = summarization; + return this; + } + /** * Returns a string representation of this object; useful for testing and * debugging. @@ -1298,7 +1374,9 @@ public String toString() { if (getLanguageOptions() != null) sb.append("LanguageOptions: " + getLanguageOptions() + ","); if (getLanguageIdSettings() != null) - sb.append("LanguageIdSettings: " + getLanguageIdSettings()); + sb.append("LanguageIdSettings: " + getLanguageIdSettings() + ","); + if (getSummarization() != null) + sb.append("Summarization: " + getSummarization()); sb.append("}"); return sb.toString(); } @@ -1324,6 +1402,8 @@ public int hashCode() { + ((getLanguageOptions() == null) ? 0 : getLanguageOptions().hashCode()); hashCode = prime * hashCode + ((getLanguageIdSettings() == null) ? 0 : getLanguageIdSettings().hashCode()); + hashCode = prime * hashCode + + ((getSummarization() == null) ? 0 : getSummarization().hashCode()); return hashCode; } @@ -1373,6 +1453,11 @@ public boolean equals(Object obj) { if (other.getLanguageIdSettings() != null && other.getLanguageIdSettings().equals(this.getLanguageIdSettings()) == false) return false; + if (other.getSummarization() == null ^ this.getSummarization() == null) + return false; + if (other.getSummarization() != null + && other.getSummarization().equals(this.getSummarization()) == false) + return false; return true; } } diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobStatus.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobStatus.java index e11952cfb1..68d327322f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobStatus.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobSummary.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobSummary.java index 1803c9a0ae..6896ed57f2 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobSummary.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsJobSummary.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -84,7 +84,13 @@ public class CallAnalyticsJobSummary implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -106,6 +112,14 @@ public class CallAnalyticsJobSummary implements Serializable { */ private String callAnalyticsJobStatus; + /** + *

    + * Provides detailed information about a call analytics job, including + * information about skipped analytics features. + *

    + */ + private CallAnalyticsJobDetails callAnalyticsJobDetails; + /** *

    * If CallAnalyticsJobStatus is FAILED, @@ -450,7 +464,13 @@ public CallAnalyticsJobSummary withCompletionTime(java.util.Date completionTime) * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code used to create your Call Analytics @@ -472,7 +492,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your Call Analytics @@ -497,7 +523,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your Call Analytics @@ -522,7 +554,13 @@ public CallAnalyticsJobSummary withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your Call Analytics @@ -547,7 +585,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your Call Analytics @@ -745,6 +789,58 @@ public CallAnalyticsJobSummary withCallAnalyticsJobStatus( return this; } + /** + *

    + * Provides detailed information about a call analytics job, including + * information about skipped analytics features. + *

    + * + * @return

    + * Provides detailed information about a call analytics job, + * including information about skipped analytics features. + *

    + */ + public CallAnalyticsJobDetails getCallAnalyticsJobDetails() { + return callAnalyticsJobDetails; + } + + /** + *

    + * Provides detailed information about a call analytics job, including + * information about skipped analytics features. + *

    + * + * @param callAnalyticsJobDetails

    + * Provides detailed information about a call analytics job, + * including information about skipped analytics features. + *

    + */ + public void setCallAnalyticsJobDetails(CallAnalyticsJobDetails callAnalyticsJobDetails) { + this.callAnalyticsJobDetails = callAnalyticsJobDetails; + } + + /** + *

    + * Provides detailed information about a call analytics job, including + * information about skipped analytics features. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param callAnalyticsJobDetails

    + * Provides detailed information about a call analytics job, + * including information about skipped analytics features. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CallAnalyticsJobSummary withCallAnalyticsJobDetails( + CallAnalyticsJobDetails callAnalyticsJobDetails) { + this.callAnalyticsJobDetails = callAnalyticsJobDetails; + return this; + } + /** *

    * If CallAnalyticsJobStatus is FAILED, @@ -837,6 +933,8 @@ public String toString() { sb.append("LanguageCode: " + getLanguageCode() + ","); if (getCallAnalyticsJobStatus() != null) sb.append("CallAnalyticsJobStatus: " + getCallAnalyticsJobStatus() + ","); + if (getCallAnalyticsJobDetails() != null) + sb.append("CallAnalyticsJobDetails: " + getCallAnalyticsJobDetails() + ","); if (getFailureReason() != null) sb.append("FailureReason: " + getFailureReason()); sb.append("}"); @@ -861,6 +959,10 @@ public int hashCode() { * hashCode + ((getCallAnalyticsJobStatus() == null) ? 0 : getCallAnalyticsJobStatus() .hashCode()); + hashCode = prime + * hashCode + + ((getCallAnalyticsJobDetails() == null) ? 0 : getCallAnalyticsJobDetails() + .hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); return hashCode; @@ -907,6 +1009,11 @@ public boolean equals(Object obj) { if (other.getCallAnalyticsJobStatus() != null && other.getCallAnalyticsJobStatus().equals(this.getCallAnalyticsJobStatus()) == false) return false; + if (other.getCallAnalyticsJobDetails() == null ^ this.getCallAnalyticsJobDetails() == null) + return false; + if (other.getCallAnalyticsJobDetails() != null + && other.getCallAnalyticsJobDetails().equals(this.getCallAnalyticsJobDetails()) == false) + return false; if (other.getFailureReason() == null ^ this.getFailureReason() == null) return false; if (other.getFailureReason() != null diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsSkippedFeature.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsSkippedFeature.java new file mode 100644 index 0000000000..b7eb8f84f7 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsSkippedFeature.java @@ -0,0 +1,409 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +/** + *

    + * Represents a skipped analytics feature during the analysis of a call + * analytics job. + *

    + *

    + * The Feature field indicates the type of analytics feature that + * was skipped. + *

    + *

    + * The Message field contains additional information or a message + * explaining why the analytics feature was skipped. + *

    + *

    + * The ReasonCode field provides a code indicating the reason why + * the analytics feature was skipped. + *

    + */ +public class CallAnalyticsSkippedFeature implements Serializable { + /** + *

    + * Indicates the type of analytics feature that was skipped during the + * analysis of a call analytics job. + *

    + *

    + * Constraints:
    + * Allowed Values: GENERATIVE_SUMMARIZATION + */ + private String feature; + + /** + *

    + * Provides a code indicating the reason why a specific analytics feature + * was skipped during the analysis of a call analytics job. + *

    + *

    + * Constraints:
    + * Allowed Values: INSUFFICIENT_CONVERSATION_CONTENT, + * FAILED_SAFETY_GUIDELINES + */ + private String reasonCode; + + /** + *

    + * Contains additional information or a message explaining why a specific + * analytics feature was skipped during the analysis of a call analytics + * job. + *

    + */ + private String message; + + /** + *

    + * Indicates the type of analytics feature that was skipped during the + * analysis of a call analytics job. + *

    + *

    + * Constraints:
    + * Allowed Values: GENERATIVE_SUMMARIZATION + * + * @return

    + * Indicates the type of analytics feature that was skipped during + * the analysis of a call analytics job. + *

    + * @see CallAnalyticsFeature + */ + public String getFeature() { + return feature; + } + + /** + *

    + * Indicates the type of analytics feature that was skipped during the + * analysis of a call analytics job. + *

    + *

    + * Constraints:
    + * Allowed Values: GENERATIVE_SUMMARIZATION + * + * @param feature

    + * Indicates the type of analytics feature that was skipped + * during the analysis of a call analytics job. + *

    + * @see CallAnalyticsFeature + */ + public void setFeature(String feature) { + this.feature = feature; + } + + /** + *

    + * Indicates the type of analytics feature that was skipped during the + * analysis of a call analytics job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: GENERATIVE_SUMMARIZATION + * + * @param feature

    + * Indicates the type of analytics feature that was skipped + * during the analysis of a call analytics job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CallAnalyticsFeature + */ + public CallAnalyticsSkippedFeature withFeature(String feature) { + this.feature = feature; + return this; + } + + /** + *

    + * Indicates the type of analytics feature that was skipped during the + * analysis of a call analytics job. + *

    + *

    + * Constraints:
    + * Allowed Values: GENERATIVE_SUMMARIZATION + * + * @param feature

    + * Indicates the type of analytics feature that was skipped + * during the analysis of a call analytics job. + *

    + * @see CallAnalyticsFeature + */ + public void setFeature(CallAnalyticsFeature feature) { + this.feature = feature.toString(); + } + + /** + *

    + * Indicates the type of analytics feature that was skipped during the + * analysis of a call analytics job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: GENERATIVE_SUMMARIZATION + * + * @param feature

    + * Indicates the type of analytics feature that was skipped + * during the analysis of a call analytics job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CallAnalyticsFeature + */ + public CallAnalyticsSkippedFeature withFeature(CallAnalyticsFeature feature) { + this.feature = feature.toString(); + return this; + } + + /** + *

    + * Provides a code indicating the reason why a specific analytics feature + * was skipped during the analysis of a call analytics job. + *

    + *

    + * Constraints:
    + * Allowed Values: INSUFFICIENT_CONVERSATION_CONTENT, + * FAILED_SAFETY_GUIDELINES + * + * @return

    + * Provides a code indicating the reason why a specific analytics + * feature was skipped during the analysis of a call analytics job. + *

    + * @see CallAnalyticsSkippedReasonCode + */ + public String getReasonCode() { + return reasonCode; + } + + /** + *

    + * Provides a code indicating the reason why a specific analytics feature + * was skipped during the analysis of a call analytics job. + *

    + *

    + * Constraints:
    + * Allowed Values: INSUFFICIENT_CONVERSATION_CONTENT, + * FAILED_SAFETY_GUIDELINES + * + * @param reasonCode

    + * Provides a code indicating the reason why a specific analytics + * feature was skipped during the analysis of a call analytics + * job. + *

    + * @see CallAnalyticsSkippedReasonCode + */ + public void setReasonCode(String reasonCode) { + this.reasonCode = reasonCode; + } + + /** + *

    + * Provides a code indicating the reason why a specific analytics feature + * was skipped during the analysis of a call analytics job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: INSUFFICIENT_CONVERSATION_CONTENT, + * FAILED_SAFETY_GUIDELINES + * + * @param reasonCode

    + * Provides a code indicating the reason why a specific analytics + * feature was skipped during the analysis of a call analytics + * job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CallAnalyticsSkippedReasonCode + */ + public CallAnalyticsSkippedFeature withReasonCode(String reasonCode) { + this.reasonCode = reasonCode; + return this; + } + + /** + *

    + * Provides a code indicating the reason why a specific analytics feature + * was skipped during the analysis of a call analytics job. + *

    + *

    + * Constraints:
    + * Allowed Values: INSUFFICIENT_CONVERSATION_CONTENT, + * FAILED_SAFETY_GUIDELINES + * + * @param reasonCode

    + * Provides a code indicating the reason why a specific analytics + * feature was skipped during the analysis of a call analytics + * job. + *

    + * @see CallAnalyticsSkippedReasonCode + */ + public void setReasonCode(CallAnalyticsSkippedReasonCode reasonCode) { + this.reasonCode = reasonCode.toString(); + } + + /** + *

    + * Provides a code indicating the reason why a specific analytics feature + * was skipped during the analysis of a call analytics job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: INSUFFICIENT_CONVERSATION_CONTENT, + * FAILED_SAFETY_GUIDELINES + * + * @param reasonCode

    + * Provides a code indicating the reason why a specific analytics + * feature was skipped during the analysis of a call analytics + * job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see CallAnalyticsSkippedReasonCode + */ + public CallAnalyticsSkippedFeature withReasonCode(CallAnalyticsSkippedReasonCode reasonCode) { + this.reasonCode = reasonCode.toString(); + return this; + } + + /** + *

    + * Contains additional information or a message explaining why a specific + * analytics feature was skipped during the analysis of a call analytics + * job. + *

    + * + * @return

    + * Contains additional information or a message explaining why a + * specific analytics feature was skipped during the analysis of a + * call analytics job. + *

    + */ + public String getMessage() { + return message; + } + + /** + *

    + * Contains additional information or a message explaining why a specific + * analytics feature was skipped during the analysis of a call analytics + * job. + *

    + * + * @param message

    + * Contains additional information or a message explaining why a + * specific analytics feature was skipped during the analysis of + * a call analytics job. + *

    + */ + public void setMessage(String message) { + this.message = message; + } + + /** + *

    + * Contains additional information or a message explaining why a specific + * analytics feature was skipped during the analysis of a call analytics + * job. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param message

    + * Contains additional information or a message explaining why a + * specific analytics feature was skipped during the analysis of + * a call analytics job. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public CallAnalyticsSkippedFeature withMessage(String message) { + this.message = message; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getFeature() != null) + sb.append("Feature: " + getFeature() + ","); + if (getReasonCode() != null) + sb.append("ReasonCode: " + getReasonCode() + ","); + if (getMessage() != null) + sb.append("Message: " + getMessage()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getFeature() == null) ? 0 : getFeature().hashCode()); + hashCode = prime * hashCode + ((getReasonCode() == null) ? 0 : getReasonCode().hashCode()); + hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof CallAnalyticsSkippedFeature == false) + return false; + CallAnalyticsSkippedFeature other = (CallAnalyticsSkippedFeature) obj; + + if (other.getFeature() == null ^ this.getFeature() == null) + return false; + if (other.getFeature() != null && other.getFeature().equals(this.getFeature()) == false) + return false; + if (other.getReasonCode() == null ^ this.getReasonCode() == null) + return false; + if (other.getReasonCode() != null + && other.getReasonCode().equals(this.getReasonCode()) == false) + return false; + if (other.getMessage() == null ^ this.getMessage() == null) + return false; + if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsSkippedReasonCode.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsSkippedReasonCode.java new file mode 100644 index 0000000000..c3d5dfe38a --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CallAnalyticsSkippedReasonCode.java @@ -0,0 +1,62 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Call Analytics Skipped Reason Code + */ +public enum CallAnalyticsSkippedReasonCode { + + INSUFFICIENT_CONVERSATION_CONTENT("INSUFFICIENT_CONVERSATION_CONTENT"), + FAILED_SAFETY_GUIDELINES("FAILED_SAFETY_GUIDELINES"); + + private String value; + + private CallAnalyticsSkippedReasonCode(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("INSUFFICIENT_CONVERSATION_CONTENT", INSUFFICIENT_CONVERSATION_CONTENT); + enumMap.put("FAILED_SAFETY_GUIDELINES", FAILED_SAFETY_GUIDELINES); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return CallAnalyticsSkippedReasonCode corresponding to the value + */ + public static CallAnalyticsSkippedReasonCode fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CategoryProperties.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CategoryProperties.java index d643eaffce..61e284a99b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CategoryProperties.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CategoryProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ChannelDefinition.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ChannelDefinition.java index a8f50753b1..0c2ed5e66b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ChannelDefinition.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ChannelDefinition.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ConflictException.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ConflictException.java index 01f93b93e1..7342aacb57 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ConflictException.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ConflictException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ContentRedaction.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ContentRedaction.java index 803038e37c..73b9ea248a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ContentRedaction.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ContentRedaction.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -22,8 +22,9 @@ * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of PII + * you want to redact. *

    */ public class ContentRedaction implements Serializable { @@ -32,7 +33,8 @@ public class ContentRedaction implements Serializable { * Specify the category of information you want to redact; PII * (personally identifiable information) is the only valid value. You can * use PiiEntityTypes to choose which types of PII you want to - * redact. + * redact. If you do not include PiiEntityTypes in your + * request, all PII is redacted. *

    *

    * Constraints:
    @@ -63,7 +65,8 @@ public class ContentRedaction implements Serializable { *

    * Specify which types of personally identifiable information (PII) you want * to redact in your transcript. You can include as many types as you'd - * like, or you can select ALL. + * like, or you can select ALL. If you do not include + * PiiEntityTypes in your request, all PII is redacted. *

    */ private java.util.List piiEntityTypes; @@ -73,7 +76,8 @@ public class ContentRedaction implements Serializable { * Specify the category of information you want to redact; PII * (personally identifiable information) is the only valid value. You can * use PiiEntityTypes to choose which types of PII you want to - * redact. + * redact. If you do not include PiiEntityTypes in your + * request, all PII is redacted. *

    *

    * Constraints:
    @@ -83,7 +87,9 @@ public class ContentRedaction implements Serializable { * Specify the category of information you want to redact; * PII (personally identifiable information) is the * only valid value. You can use PiiEntityTypes to - * choose which types of PII you want to redact. + * choose which types of PII you want to redact. If you do not + * include PiiEntityTypes in your request, all PII is + * redacted. *

    * @see RedactionType */ @@ -96,7 +102,8 @@ public String getRedactionType() { * Specify the category of information you want to redact; PII * (personally identifiable information) is the only valid value. You can * use PiiEntityTypes to choose which types of PII you want to - * redact. + * redact. If you do not include PiiEntityTypes in your + * request, all PII is redacted. *

    *

    * Constraints:
    @@ -106,7 +113,9 @@ public String getRedactionType() { * Specify the category of information you want to redact; * PII (personally identifiable information) is the * only valid value. You can use PiiEntityTypes to - * choose which types of PII you want to redact. + * choose which types of PII you want to redact. If you do not + * include PiiEntityTypes in your request, all PII + * is redacted. *

    * @see RedactionType */ @@ -119,7 +128,8 @@ public void setRedactionType(String redactionType) { * Specify the category of information you want to redact; PII * (personally identifiable information) is the only valid value. You can * use PiiEntityTypes to choose which types of PII you want to - * redact. + * redact. If you do not include PiiEntityTypes in your + * request, all PII is redacted. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -132,7 +142,9 @@ public void setRedactionType(String redactionType) { * Specify the category of information you want to redact; * PII (personally identifiable information) is the * only valid value. You can use PiiEntityTypes to - * choose which types of PII you want to redact. + * choose which types of PII you want to redact. If you do not + * include PiiEntityTypes in your request, all PII + * is redacted. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -148,7 +160,8 @@ public ContentRedaction withRedactionType(String redactionType) { * Specify the category of information you want to redact; PII * (personally identifiable information) is the only valid value. You can * use PiiEntityTypes to choose which types of PII you want to - * redact. + * redact. If you do not include PiiEntityTypes in your + * request, all PII is redacted. *

    *

    * Constraints:
    @@ -158,7 +171,9 @@ public ContentRedaction withRedactionType(String redactionType) { * Specify the category of information you want to redact; * PII (personally identifiable information) is the * only valid value. You can use PiiEntityTypes to - * choose which types of PII you want to redact. + * choose which types of PII you want to redact. If you do not + * include PiiEntityTypes in your request, all PII + * is redacted. *

    * @see RedactionType */ @@ -171,7 +186,8 @@ public void setRedactionType(RedactionType redactionType) { * Specify the category of information you want to redact; PII * (personally identifiable information) is the only valid value. You can * use PiiEntityTypes to choose which types of PII you want to - * redact. + * redact. If you do not include PiiEntityTypes in your + * request, all PII is redacted. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -184,7 +200,9 @@ public void setRedactionType(RedactionType redactionType) { * Specify the category of information you want to redact; * PII (personally identifiable information) is the * only valid value. You can use PiiEntityTypes to - * choose which types of PII you want to redact. + * choose which types of PII you want to redact. If you do not + * include PiiEntityTypes in your request, all PII + * is redacted. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -391,13 +409,16 @@ public ContentRedaction withRedactionOutput(RedactionOutput redactionOutput) { *

    * Specify which types of personally identifiable information (PII) you want * to redact in your transcript. You can include as many types as you'd - * like, or you can select ALL. + * like, or you can select ALL. If you do not include + * PiiEntityTypes in your request, all PII is redacted. *

    * * @return

    * Specify which types of personally identifiable information (PII) * you want to redact in your transcript. You can include as many - * types as you'd like, or you can select ALL. + * types as you'd like, or you can select ALL. If you + * do not include PiiEntityTypes in your request, all + * PII is redacted. *

    */ public java.util.List getPiiEntityTypes() { @@ -408,14 +429,17 @@ public java.util.List getPiiEntityTypes() { *

    * Specify which types of personally identifiable information (PII) you want * to redact in your transcript. You can include as many types as you'd - * like, or you can select ALL. + * like, or you can select ALL. If you do not include + * PiiEntityTypes in your request, all PII is redacted. *

    * * @param piiEntityTypes

    * Specify which types of personally identifiable information * (PII) you want to redact in your transcript. You can include * as many types as you'd like, or you can select - * ALL. + * ALL. If you do not include + * PiiEntityTypes in your request, all PII is + * redacted. *

    */ public void setPiiEntityTypes(java.util.Collection piiEntityTypes) { @@ -431,7 +455,8 @@ public void setPiiEntityTypes(java.util.Collection piiEntityTypes) { *

    * Specify which types of personally identifiable information (PII) you want * to redact in your transcript. You can include as many types as you'd - * like, or you can select ALL. + * like, or you can select ALL. If you do not include + * PiiEntityTypes in your request, all PII is redacted. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -441,7 +466,9 @@ public void setPiiEntityTypes(java.util.Collection piiEntityTypes) { * Specify which types of personally identifiable information * (PII) you want to redact in your transcript. You can include * as many types as you'd like, or you can select - * ALL. + * ALL. If you do not include + * PiiEntityTypes in your request, all PII is + * redacted. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -460,7 +487,8 @@ public ContentRedaction withPiiEntityTypes(String... piiEntityTypes) { *

    * Specify which types of personally identifiable information (PII) you want * to redact in your transcript. You can include as many types as you'd - * like, or you can select ALL. + * like, or you can select ALL. If you do not include + * PiiEntityTypes in your request, all PII is redacted. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -470,7 +498,9 @@ public ContentRedaction withPiiEntityTypes(String... piiEntityTypes) { * Specify which types of personally identifiable information * (PII) you want to redact in your transcript. You can include * as many types as you'd like, or you can select - * ALL. + * ALL. If you do not include + * PiiEntityTypes in your request, all PII is + * redacted. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateCallAnalyticsCategoryRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateCallAnalyticsCategoryRequest.java index 8a82e71a8e..b05fcffde6 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateCallAnalyticsCategoryRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateCallAnalyticsCategoryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateCallAnalyticsCategoryResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateCallAnalyticsCategoryResult.java index e279527863..38315c5786 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateCallAnalyticsCategoryResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateCallAnalyticsCategoryResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateLanguageModelRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateLanguageModelRequest.java index eedfbb2582..e2bfd165fe 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateLanguageModelRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateLanguageModelRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateLanguageModelResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateLanguageModelResult.java index 431c3b8088..1562ceac9f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateLanguageModelResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateLanguageModelResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateMedicalVocabularyRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateMedicalVocabularyRequest.java index 4488bf941c..42f553e550 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateMedicalVocabularyRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateMedicalVocabularyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -75,7 +75,13 @@ public class CreateMedicalVocabularyRequest extends AmazonWebServiceRequest impl * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -221,7 +227,13 @@ public CreateMedicalVocabularyRequest withVocabularyName(String vocabularyName) * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code that represents the language of the entries in @@ -246,7 +258,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -274,7 +292,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -302,7 +326,13 @@ public CreateMedicalVocabularyRequest withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -330,7 +360,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateMedicalVocabularyResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateMedicalVocabularyResult.java index 00858f8d6e..4cf6caaddb 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateMedicalVocabularyResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateMedicalVocabularyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -41,7 +41,13 @@ public class CreateMedicalVocabularyResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -150,7 +156,13 @@ public CreateMedicalVocabularyResult withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom medical @@ -175,7 +187,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -203,7 +221,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -231,7 +255,13 @@ public CreateMedicalVocabularyResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -259,7 +289,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyFilterRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyFilterRequest.java index cb1dffc071..21772725f1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyFilterRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyFilterRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -84,7 +84,13 @@ public class CreateVocabularyFilterRequest extends AmazonWebServiceRequest imple * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -299,7 +305,13 @@ public CreateVocabularyFilterRequest withVocabularyFilterName(String vocabularyF * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code that represents the language of the entries in @@ -349,7 +361,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -402,7 +420,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -455,7 +479,13 @@ public CreateVocabularyFilterRequest withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -508,7 +538,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyFilterResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyFilterResult.java index 2f2b944d6f..0a6532015a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyFilterResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyFilterResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -39,7 +39,13 @@ public class CreateVocabularyFilterResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -123,7 +129,13 @@ public CreateVocabularyFilterResult withVocabularyFilterName(String vocabularyFi * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom vocabulary filter. @@ -144,7 +156,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -169,7 +187,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -194,7 +218,13 @@ public CreateVocabularyFilterResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -219,7 +249,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyRequest.java index d7cc4e82dc..b79b210874 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -85,7 +85,13 @@ public class CreateVocabularyRequest extends AmazonWebServiceRequest implements * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -295,7 +301,13 @@ public CreateVocabularyRequest withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code that represents the language of the entries in @@ -345,7 +357,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -398,7 +416,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -451,7 +475,13 @@ public CreateVocabularyRequest withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -504,7 +534,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyResult.java index 820d4b0ad7..f83dbca97a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CreateVocabularyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -39,7 +39,13 @@ public class CreateVocabularyResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -146,7 +152,13 @@ public CreateVocabularyResult withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom vocabulary. @@ -167,7 +179,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -191,7 +209,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -215,7 +239,13 @@ public CreateVocabularyResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -239,7 +269,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsCategoryRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsCategoryRequest.java index b4764f0c5e..61fbc840e7 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsCategoryRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsCategoryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsCategoryResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsCategoryResult.java index 66f55014c6..8b8866404f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsCategoryResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsCategoryResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsJobRequest.java index ef0b7c78e6..93af3ec422 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsJobResult.java index af2306322a..3e16fa4099 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsJobResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteCallAnalyticsJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteLanguageModelRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteLanguageModelRequest.java index 72dee3d7f5..a7c0ec2f5f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteLanguageModelRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteLanguageModelRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalScribeJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalScribeJobRequest.java new file mode 100644 index 0000000000..e4582d131e --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalScribeJobRequest.java @@ -0,0 +1,150 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

    + * Deletes a Medical Scribe job. To use this operation, specify the name of the + * job you want to delete using MedicalScribeJobName. Job names are + * case sensitive. + *

    + */ +public class DeleteMedicalScribeJobRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

    + * The name of the Medical Scribe job you want to delete. Job names are case + * sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + */ + private String medicalScribeJobName; + + /** + *

    + * The name of the Medical Scribe job you want to delete. Job names are case + * sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @return

    + * The name of the Medical Scribe job you want to delete. Job names + * are case sensitive. + *

    + */ + public String getMedicalScribeJobName() { + return medicalScribeJobName; + } + + /** + *

    + * The name of the Medical Scribe job you want to delete. Job names are case + * sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * The name of the Medical Scribe job you want to delete. Job + * names are case sensitive. + *

    + */ + public void setMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + } + + /** + *

    + * The name of the Medical Scribe job you want to delete. Job names are case + * sensitive. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * The name of the Medical Scribe job you want to delete. Job + * names are case sensitive. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public DeleteMedicalScribeJobRequest withMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getMedicalScribeJobName() != null) + sb.append("MedicalScribeJobName: " + getMedicalScribeJobName()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getMedicalScribeJobName() == null) ? 0 : getMedicalScribeJobName().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof DeleteMedicalScribeJobRequest == false) + return false; + DeleteMedicalScribeJobRequest other = (DeleteMedicalScribeJobRequest) obj; + + if (other.getMedicalScribeJobName() == null ^ this.getMedicalScribeJobName() == null) + return false; + if (other.getMedicalScribeJobName() != null + && other.getMedicalScribeJobName().equals(this.getMedicalScribeJobName()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalTranscriptionJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalTranscriptionJobRequest.java index 67685517a7..8f83ecbed0 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalTranscriptionJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalTranscriptionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalVocabularyRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalVocabularyRequest.java index 88dda99191..2079911a55 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalVocabularyRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteMedicalVocabularyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteTranscriptionJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteTranscriptionJobRequest.java index 8d3d6d71d5..ec77017bab 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteTranscriptionJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteTranscriptionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteVocabularyFilterRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteVocabularyFilterRequest.java index e1c46073e7..be748b521c 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteVocabularyFilterRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteVocabularyFilterRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteVocabularyRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteVocabularyRequest.java index d51ac65dd5..755d7cef8e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteVocabularyRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DeleteVocabularyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DescribeLanguageModelRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DescribeLanguageModelRequest.java index dbb20cc3ed..322d63edd3 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DescribeLanguageModelRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DescribeLanguageModelRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DescribeLanguageModelResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DescribeLanguageModelResult.java index 442de7038b..74c99256cb 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DescribeLanguageModelResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/DescribeLanguageModelResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsCategoryRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsCategoryRequest.java index 955629ad7a..cef341fee9 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsCategoryRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsCategoryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsCategoryResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsCategoryResult.java index 88aa53aaad..8bdf1076d5 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsCategoryResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsCategoryResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsJobRequest.java index a1e5ee89aa..ba89f9ba54 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsJobResult.java index 8bfefe9662..6085c45d95 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsJobResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetCallAnalyticsJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalScribeJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalScribeJobRequest.java new file mode 100644 index 0000000000..0f42fc921f --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalScribeJobRequest.java @@ -0,0 +1,159 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

    + * Provides information about the specified Medical Scribe job. + *

    + *

    + * To view the status of the specified medical transcription job, check the + * MedicalScribeJobStatus field. If the status is + * COMPLETED, the job is finished. You can find the results at the + * location specified in MedicalScribeOutput. If the status is + * FAILED, FailureReason provides details on why your + * Medical Scribe job failed. + *

    + *

    + * To get a list of your Medical Scribe jobs, use the operation. + *

    + */ +public class GetMedicalScribeJobRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

    + * The name of the Medical Scribe job you want information about. Job names + * are case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + */ + private String medicalScribeJobName; + + /** + *

    + * The name of the Medical Scribe job you want information about. Job names + * are case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @return

    + * The name of the Medical Scribe job you want information about. + * Job names are case sensitive. + *

    + */ + public String getMedicalScribeJobName() { + return medicalScribeJobName; + } + + /** + *

    + * The name of the Medical Scribe job you want information about. Job names + * are case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * The name of the Medical Scribe job you want information about. + * Job names are case sensitive. + *

    + */ + public void setMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + } + + /** + *

    + * The name of the Medical Scribe job you want information about. Job names + * are case sensitive. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * The name of the Medical Scribe job you want information about. + * Job names are case sensitive. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMedicalScribeJobRequest withMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getMedicalScribeJobName() != null) + sb.append("MedicalScribeJobName: " + getMedicalScribeJobName()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getMedicalScribeJobName() == null) ? 0 : getMedicalScribeJobName().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof GetMedicalScribeJobRequest == false) + return false; + GetMedicalScribeJobRequest other = (GetMedicalScribeJobRequest) obj; + + if (other.getMedicalScribeJobName() == null ^ this.getMedicalScribeJobName() == null) + return false; + if (other.getMedicalScribeJobName() != null + && other.getMedicalScribeJobName().equals(this.getMedicalScribeJobName()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalScribeJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalScribeJobResult.java new file mode 100644 index 0000000000..5f719bef5b --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalScribeJobResult.java @@ -0,0 +1,127 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +public class GetMedicalScribeJobResult implements Serializable { + /** + *

    + * Provides detailed information about the specified Medical Scribe job, + * including job status and, if applicable, failure reason + *

    + */ + private MedicalScribeJob medicalScribeJob; + + /** + *

    + * Provides detailed information about the specified Medical Scribe job, + * including job status and, if applicable, failure reason + *

    + * + * @return

    + * Provides detailed information about the specified Medical Scribe + * job, including job status and, if applicable, failure reason + *

    + */ + public MedicalScribeJob getMedicalScribeJob() { + return medicalScribeJob; + } + + /** + *

    + * Provides detailed information about the specified Medical Scribe job, + * including job status and, if applicable, failure reason + *

    + * + * @param medicalScribeJob

    + * Provides detailed information about the specified Medical + * Scribe job, including job status and, if applicable, failure + * reason + *

    + */ + public void setMedicalScribeJob(MedicalScribeJob medicalScribeJob) { + this.medicalScribeJob = medicalScribeJob; + } + + /** + *

    + * Provides detailed information about the specified Medical Scribe job, + * including job status and, if applicable, failure reason + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param medicalScribeJob

    + * Provides detailed information about the specified Medical + * Scribe job, including job status and, if applicable, failure + * reason + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public GetMedicalScribeJobResult withMedicalScribeJob(MedicalScribeJob medicalScribeJob) { + this.medicalScribeJob = medicalScribeJob; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getMedicalScribeJob() != null) + sb.append("MedicalScribeJob: " + getMedicalScribeJob()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getMedicalScribeJob() == null) ? 0 : getMedicalScribeJob().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof GetMedicalScribeJobResult == false) + return false; + GetMedicalScribeJobResult other = (GetMedicalScribeJobResult) obj; + + if (other.getMedicalScribeJob() == null ^ this.getMedicalScribeJob() == null) + return false; + if (other.getMedicalScribeJob() != null + && other.getMedicalScribeJob().equals(this.getMedicalScribeJob()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalTranscriptionJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalTranscriptionJobRequest.java index 866845423d..d797984e50 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalTranscriptionJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalTranscriptionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalTranscriptionJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalTranscriptionJobResult.java index 41ffba1000..97895d0be5 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalTranscriptionJobResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalTranscriptionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalVocabularyRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalVocabularyRequest.java index eee756416a..d8392c753d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalVocabularyRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalVocabularyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalVocabularyResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalVocabularyResult.java index 3495bc37cc..39d3f29871 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalVocabularyResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetMedicalVocabularyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -42,7 +42,13 @@ public class GetMedicalVocabularyResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -85,8 +91,8 @@ public class GetMedicalVocabularyResult implements Serializable { /** *

    - * The S3 location where the specified custom medical vocabulary is stored; - * use this URI to view or download the custom vocabulary. + * The Amazon S3 location where the specified custom medical vocabulary is + * stored; use this URI to view or download the custom vocabulary. *

    *

    * Constraints:
    @@ -170,7 +176,13 @@ public GetMedicalVocabularyResult withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom medical @@ -195,7 +207,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -223,7 +241,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -251,7 +275,13 @@ public GetMedicalVocabularyResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -279,7 +309,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -570,8 +606,8 @@ public GetMedicalVocabularyResult withFailureReason(String failureReason) { /** *

    - * The S3 location where the specified custom medical vocabulary is stored; - * use this URI to view or download the custom vocabulary. + * The Amazon S3 location where the specified custom medical vocabulary is + * stored; use this URI to view or download the custom vocabulary. *

    *

    * Constraints:
    @@ -579,8 +615,9 @@ public GetMedicalVocabularyResult withFailureReason(String failureReason) { * Pattern: (s3://|http(s*)://).+
    * * @return

    - * The S3 location where the specified custom medical vocabulary is - * stored; use this URI to view or download the custom vocabulary. + * The Amazon S3 location where the specified custom medical + * vocabulary is stored; use this URI to view or download the custom + * vocabulary. *

    */ public String getDownloadUri() { @@ -589,8 +626,8 @@ public String getDownloadUri() { /** *

    - * The S3 location where the specified custom medical vocabulary is stored; - * use this URI to view or download the custom vocabulary. + * The Amazon S3 location where the specified custom medical vocabulary is + * stored; use this URI to view or download the custom vocabulary. *

    *

    * Constraints:
    @@ -598,9 +635,9 @@ public String getDownloadUri() { * Pattern: (s3://|http(s*)://).+
    * * @param downloadUri

    - * The S3 location where the specified custom medical vocabulary - * is stored; use this URI to view or download the custom - * vocabulary. + * The Amazon S3 location where the specified custom medical + * vocabulary is stored; use this URI to view or download the + * custom vocabulary. *

    */ public void setDownloadUri(String downloadUri) { @@ -609,8 +646,8 @@ public void setDownloadUri(String downloadUri) { /** *

    - * The S3 location where the specified custom medical vocabulary is stored; - * use this URI to view or download the custom vocabulary. + * The Amazon S3 location where the specified custom medical vocabulary is + * stored; use this URI to view or download the custom vocabulary. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -621,9 +658,9 @@ public void setDownloadUri(String downloadUri) { * Pattern: (s3://|http(s*)://).+
    * * @param downloadUri

    - * The S3 location where the specified custom medical vocabulary - * is stored; use this URI to view or download the custom - * vocabulary. + * The Amazon S3 location where the specified custom medical + * vocabulary is stored; use this URI to view or download the + * custom vocabulary. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetTranscriptionJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetTranscriptionJobRequest.java index 31b4501883..0c346ba187 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetTranscriptionJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetTranscriptionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetTranscriptionJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetTranscriptionJobResult.java index 891746430e..89eb5f95d7 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetTranscriptionJobResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetTranscriptionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyFilterRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyFilterRequest.java index 85eb20a584..f1819ac1a8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyFilterRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyFilterRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyFilterResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyFilterResult.java index 7ce5d62782..23196393e0 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyFilterResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyFilterResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -39,7 +39,13 @@ public class GetVocabularyFilterResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -139,7 +145,13 @@ public GetVocabularyFilterResult withVocabularyFilterName(String vocabularyFilte * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom vocabulary filter. @@ -160,7 +172,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -185,7 +203,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -210,7 +234,13 @@ public GetVocabularyFilterResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -235,7 +265,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyRequest.java index d2afddcf0b..e012fef2e9 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyResult.java index 1cc392791f..451c364acb 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/GetVocabularyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -39,7 +39,13 @@ public class GetVocabularyResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -81,8 +87,8 @@ public class GetVocabularyResult implements Serializable { /** *

    - * The S3 location where the custom vocabulary is stored; use this URI to - * view or download the custom vocabulary. + * The Amazon S3 location where the custom vocabulary is stored; use this + * URI to view or download the custom vocabulary. *

    *

    * Constraints:
    @@ -161,7 +167,13 @@ public GetVocabularyResult withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom vocabulary. @@ -182,7 +194,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -206,7 +224,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -230,7 +254,13 @@ public GetVocabularyResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -254,7 +284,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -540,8 +576,8 @@ public GetVocabularyResult withFailureReason(String failureReason) { /** *

    - * The S3 location where the custom vocabulary is stored; use this URI to - * view or download the custom vocabulary. + * The Amazon S3 location where the custom vocabulary is stored; use this + * URI to view or download the custom vocabulary. *

    *

    * Constraints:
    @@ -549,8 +585,8 @@ public GetVocabularyResult withFailureReason(String failureReason) { * Pattern: (s3://|http(s*)://).+
    * * @return

    - * The S3 location where the custom vocabulary is stored; use this - * URI to view or download the custom vocabulary. + * The Amazon S3 location where the custom vocabulary is stored; use + * this URI to view or download the custom vocabulary. *

    */ public String getDownloadUri() { @@ -559,8 +595,8 @@ public String getDownloadUri() { /** *

    - * The S3 location where the custom vocabulary is stored; use this URI to - * view or download the custom vocabulary. + * The Amazon S3 location where the custom vocabulary is stored; use this + * URI to view or download the custom vocabulary. *

    *

    * Constraints:
    @@ -568,8 +604,8 @@ public String getDownloadUri() { * Pattern: (s3://|http(s*)://).+
    * * @param downloadUri

    - * The S3 location where the custom vocabulary is stored; use - * this URI to view or download the custom vocabulary. + * The Amazon S3 location where the custom vocabulary is stored; + * use this URI to view or download the custom vocabulary. *

    */ public void setDownloadUri(String downloadUri) { @@ -578,8 +614,8 @@ public void setDownloadUri(String downloadUri) { /** *

    - * The S3 location where the custom vocabulary is stored; use this URI to - * view or download the custom vocabulary. + * The Amazon S3 location where the custom vocabulary is stored; use this + * URI to view or download the custom vocabulary. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -590,8 +626,8 @@ public void setDownloadUri(String downloadUri) { * Pattern: (s3://|http(s*)://).+
    * * @param downloadUri

    - * The S3 location where the custom vocabulary is stored; use - * this URI to view or download the custom vocabulary. + * The Amazon S3 location where the custom vocabulary is stored; + * use this URI to view or download the custom vocabulary. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InputDataConfig.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InputDataConfig.java index f98d78f1e8..8adac10cc8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InputDataConfig.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InputDataConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InputType.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InputType.java index 602bb64524..87308cabe8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InputType.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InputType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InternalFailureException.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InternalFailureException.java index 1e4c14abd7..11dcf1b0c8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InternalFailureException.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InternalFailureException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InterruptionFilter.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InterruptionFilter.java index 7c929e5f72..0b3b7d1b39 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InterruptionFilter.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/InterruptionFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/JobExecutionSettings.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/JobExecutionSettings.java index 2ade487a7c..b8119796aa 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/JobExecutionSettings.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/JobExecutionSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageCode.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageCode.java index 78b45c8993..c519a24cd2 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageCode.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageCode.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -61,7 +61,71 @@ public enum LanguageCode { EnZA("en-ZA"), EnNZ("en-NZ"), ViVN("vi-VN"), - SvSE("sv-SE"); + SvSE("sv-SE"), + AbGE("ab-GE"), + AstES("ast-ES"), + AzAZ("az-AZ"), + BaRU("ba-RU"), + BeBY("be-BY"), + BgBG("bg-BG"), + BnIN("bn-IN"), + BsBA("bs-BA"), + CaES("ca-ES"), + CkbIQ("ckb-IQ"), + CkbIR("ckb-IR"), + CsCZ("cs-CZ"), + CyWL("cy-WL"), + ElGR("el-GR"), + EtET("et-ET"), + EuES("eu-ES"), + FiFI("fi-FI"), + GlES("gl-ES"), + GuIN("gu-IN"), + HaNG("ha-NG"), + HrHR("hr-HR"), + HuHU("hu-HU"), + HyAM("hy-AM"), + IsIS("is-IS"), + KaGE("ka-GE"), + KabDZ("kab-DZ"), + KkKZ("kk-KZ"), + KnIN("kn-IN"), + KyKG("ky-KG"), + LgIN("lg-IN"), + LtLT("lt-LT"), + LvLV("lv-LV"), + MhrRU("mhr-RU"), + MiNZ("mi-NZ"), + MkMK("mk-MK"), + MlIN("ml-IN"), + MnMN("mn-MN"), + MrIN("mr-IN"), + MtMT("mt-MT"), + NoNO("no-NO"), + OrIN("or-IN"), + PaIN("pa-IN"), + PlPL("pl-PL"), + PsAF("ps-AF"), + RoRO("ro-RO"), + RwRW("rw-RW"), + SiLK("si-LK"), + SkSK("sk-SK"), + SlSI("sl-SI"), + SoSO("so-SO"), + SrRS("sr-RS"), + SuID("su-ID"), + SwBI("sw-BI"), + SwKE("sw-KE"), + SwRW("sw-RW"), + SwTZ("sw-TZ"), + SwUG("sw-UG"), + TlPH("tl-PH"), + TtRU("tt-RU"), + UgCN("ug-CN"), + UkUA("uk-UA"), + UzUZ("uz-UZ"), + WoSN("wo-SN"), + ZuZA("zu-ZA"); private String value; @@ -116,6 +180,70 @@ public String toString() { enumMap.put("en-NZ", EnNZ); enumMap.put("vi-VN", ViVN); enumMap.put("sv-SE", SvSE); + enumMap.put("ab-GE", AbGE); + enumMap.put("ast-ES", AstES); + enumMap.put("az-AZ", AzAZ); + enumMap.put("ba-RU", BaRU); + enumMap.put("be-BY", BeBY); + enumMap.put("bg-BG", BgBG); + enumMap.put("bn-IN", BnIN); + enumMap.put("bs-BA", BsBA); + enumMap.put("ca-ES", CaES); + enumMap.put("ckb-IQ", CkbIQ); + enumMap.put("ckb-IR", CkbIR); + enumMap.put("cs-CZ", CsCZ); + enumMap.put("cy-WL", CyWL); + enumMap.put("el-GR", ElGR); + enumMap.put("et-ET", EtET); + enumMap.put("eu-ES", EuES); + enumMap.put("fi-FI", FiFI); + enumMap.put("gl-ES", GlES); + enumMap.put("gu-IN", GuIN); + enumMap.put("ha-NG", HaNG); + enumMap.put("hr-HR", HrHR); + enumMap.put("hu-HU", HuHU); + enumMap.put("hy-AM", HyAM); + enumMap.put("is-IS", IsIS); + enumMap.put("ka-GE", KaGE); + enumMap.put("kab-DZ", KabDZ); + enumMap.put("kk-KZ", KkKZ); + enumMap.put("kn-IN", KnIN); + enumMap.put("ky-KG", KyKG); + enumMap.put("lg-IN", LgIN); + enumMap.put("lt-LT", LtLT); + enumMap.put("lv-LV", LvLV); + enumMap.put("mhr-RU", MhrRU); + enumMap.put("mi-NZ", MiNZ); + enumMap.put("mk-MK", MkMK); + enumMap.put("ml-IN", MlIN); + enumMap.put("mn-MN", MnMN); + enumMap.put("mr-IN", MrIN); + enumMap.put("mt-MT", MtMT); + enumMap.put("no-NO", NoNO); + enumMap.put("or-IN", OrIN); + enumMap.put("pa-IN", PaIN); + enumMap.put("pl-PL", PlPL); + enumMap.put("ps-AF", PsAF); + enumMap.put("ro-RO", RoRO); + enumMap.put("rw-RW", RwRW); + enumMap.put("si-LK", SiLK); + enumMap.put("sk-SK", SkSK); + enumMap.put("sl-SI", SlSI); + enumMap.put("so-SO", SoSO); + enumMap.put("sr-RS", SrRS); + enumMap.put("su-ID", SuID); + enumMap.put("sw-BI", SwBI); + enumMap.put("sw-KE", SwKE); + enumMap.put("sw-RW", SwRW); + enumMap.put("sw-TZ", SwTZ); + enumMap.put("sw-UG", SwUG); + enumMap.put("tl-PH", TlPH); + enumMap.put("tt-RU", TtRU); + enumMap.put("ug-CN", UgCN); + enumMap.put("uk-UA", UkUA); + enumMap.put("uz-UZ", UzUZ); + enumMap.put("wo-SN", WoSN); + enumMap.put("zu-ZA", ZuZA); } /** diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageCodeItem.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageCodeItem.java index 5bf90b4c64..ac75897f38 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageCodeItem.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageCodeItem.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -36,7 +36,13 @@ public class LanguageCodeItem implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -58,7 +64,13 @@ public class LanguageCodeItem implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * Provides the language code for each language identified in your @@ -80,7 +92,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * Provides the language code for each language identified in @@ -105,7 +123,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * Provides the language code for each language identified in @@ -130,7 +154,13 @@ public LanguageCodeItem withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * Provides the language code for each language identified in @@ -155,7 +185,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * Provides the language code for each language identified in diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageIdSettings.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageIdSettings.java index a93d0e5510..3d9969ddf7 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageIdSettings.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageIdSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -63,8 +63,8 @@ public class LanguageIdSettings implements Serializable { *

    *

    * The language of the specified custom vocabulary must match the language - * code that you specify in your transcription request. If the languages - * don't match, the custom vocabulary isn't applied. There are no errors or + * code that you specify in your transcription request. If the languages do + * not match, the custom vocabulary isn't applied. There are no errors or * warnings associated with a language mismatch. *

    *

    @@ -83,7 +83,7 @@ public class LanguageIdSettings implements Serializable { *

    * The language of the specified custom vocabulary filter must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom vocabulary filter isn't applied. There + * languages do not match, the custom vocabulary filter isn't applied. There * are no errors or warnings associated with a language mismatch. *

    *

    @@ -106,8 +106,8 @@ public class LanguageIdSettings implements Serializable { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -123,8 +123,8 @@ public class LanguageIdSettings implements Serializable { *

    *

    * The language of the specified custom vocabulary must match the language - * code that you specify in your transcription request. If the languages - * don't match, the custom vocabulary isn't applied. There are no errors or + * code that you specify in your transcription request. If the languages do + * not match, the custom vocabulary isn't applied. There are no errors or * warnings associated with a language mismatch. *

    *

    @@ -140,7 +140,7 @@ public class LanguageIdSettings implements Serializable { *

    * The language of the specified custom vocabulary must match the * language code that you specify in your transcription request. If - * the languages don't match, the custom vocabulary isn't applied. + * the languages do not match, the custom vocabulary isn't applied. * There are no errors or warnings associated with a language * mismatch. *

    @@ -156,8 +156,8 @@ public String getVocabularyName() { *

    *

    * The language of the specified custom vocabulary must match the language - * code that you specify in your transcription request. If the languages - * don't match, the custom vocabulary isn't applied. There are no errors or + * code that you specify in your transcription request. If the languages do + * not match, the custom vocabulary isn't applied. There are no errors or * warnings associated with a language mismatch. *

    *

    @@ -173,7 +173,7 @@ public String getVocabularyName() { *

    * The language of the specified custom vocabulary must match the * language code that you specify in your transcription request. - * If the languages don't match, the custom vocabulary isn't + * If the languages do not match, the custom vocabulary isn't * applied. There are no errors or warnings associated with a * language mismatch. *

    @@ -189,8 +189,8 @@ public void setVocabularyName(String vocabularyName) { *

    *

    * The language of the specified custom vocabulary must match the language - * code that you specify in your transcription request. If the languages - * don't match, the custom vocabulary isn't applied. There are no errors or + * code that you specify in your transcription request. If the languages do + * not match, the custom vocabulary isn't applied. There are no errors or * warnings associated with a language mismatch. *

    *

    @@ -209,7 +209,7 @@ public void setVocabularyName(String vocabularyName) { *

    * The language of the specified custom vocabulary must match the * language code that you specify in your transcription request. - * If the languages don't match, the custom vocabulary isn't + * If the languages do not match, the custom vocabulary isn't * applied. There are no errors or warnings associated with a * language mismatch. *

    @@ -230,7 +230,7 @@ public LanguageIdSettings withVocabularyName(String vocabularyName) { *

    * The language of the specified custom vocabulary filter must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom vocabulary filter isn't applied. There + * languages do not match, the custom vocabulary filter isn't applied. There * are no errors or warnings associated with a language mismatch. *

    *

    @@ -250,7 +250,7 @@ public LanguageIdSettings withVocabularyName(String vocabularyName) { *

    * The language of the specified custom vocabulary filter must match * the language code that you specify in your transcription request. - * If the languages don't match, the custom vocabulary filter isn't + * If the languages do not match, the custom vocabulary filter isn't * applied. There are no errors or warnings associated with a * language mismatch. *

    @@ -273,7 +273,7 @@ public String getVocabularyFilterName() { *

    * The language of the specified custom vocabulary filter must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom vocabulary filter isn't applied. There + * languages do not match, the custom vocabulary filter isn't applied. There * are no errors or warnings associated with a language mismatch. *

    *

    @@ -293,7 +293,7 @@ public String getVocabularyFilterName() { *

    * The language of the specified custom vocabulary filter must * match the language code that you specify in your transcription - * request. If the languages don't match, the custom vocabulary + * request. If the languages do not match, the custom vocabulary * filter isn't applied. There are no errors or warnings * associated with a language mismatch. *

    @@ -316,7 +316,7 @@ public void setVocabularyFilterName(String vocabularyFilterName) { *

    * The language of the specified custom vocabulary filter must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom vocabulary filter isn't applied. There + * languages do not match, the custom vocabulary filter isn't applied. There * are no errors or warnings associated with a language mismatch. *

    *

    @@ -339,7 +339,7 @@ public void setVocabularyFilterName(String vocabularyFilterName) { *

    * The language of the specified custom vocabulary filter must * match the language code that you specify in your transcription - * request. If the languages don't match, the custom vocabulary + * request. If the languages do not match, the custom vocabulary * filter isn't applied. There are no errors or warnings * associated with a language mismatch. *

    @@ -365,8 +365,8 @@ public LanguageIdSettings withVocabularyFilterName(String vocabularyFilterName) *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -381,7 +381,7 @@ public LanguageIdSettings withVocabularyFilterName(String vocabularyFilterName) *

    * The language of the specified custom language model must match * the language code that you specify in your transcription request. - * If the languages don't match, the custom language model isn't + * If the languages do not match, the custom language model isn't * applied. There are no errors or warnings associated with a * language mismatch. *

    @@ -399,8 +399,8 @@ public String getLanguageModelName() { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -415,7 +415,7 @@ public String getLanguageModelName() { *

    * The language of the specified custom language model must match * the language code that you specify in your transcription - * request. If the languages don't match, the custom language + * request. If the languages do not match, the custom language * model isn't applied. There are no errors or warnings * associated with a language mismatch. *

    @@ -433,8 +433,8 @@ public void setLanguageModelName(String languageModelName) { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -452,7 +452,7 @@ public void setLanguageModelName(String languageModelName) { *

    * The language of the specified custom language model must match * the language code that you specify in your transcription - * request. If the languages don't match, the custom language + * request. If the languages do not match, the custom language * model isn't applied. There are no errors or warnings * associated with a language mismatch. *

    diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageModel.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageModel.java index 58e372eee5..e9b1a9e46b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageModel.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LanguageModel.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -117,9 +117,8 @@ public class LanguageModel implements Serializable { * For a list of supported languages and their associated language codes, * refer to the Supported languages table. Note that U.S. English ( - * en-US) is the only language supported with Amazon Transcribe - * Medical. + * >Supported languages table. Note that US English (en-US) + * is the only language supported with Amazon Transcribe Medical. *

    *

    * Constraints:
    @@ -450,9 +449,8 @@ public LanguageModel withLastModifiedTime(java.util.Date lastModifiedTime) { * For a list of supported languages and their associated language codes, * refer to the Supported languages table. Note that U.S. English ( - * en-US) is the only language supported with Amazon Transcribe - * Medical. + * >Supported languages table. Note that US English (en-US) + * is the only language supported with Amazon Transcribe Medical. *

    *

    * Constraints:
    @@ -468,7 +466,7 @@ public LanguageModel withLastModifiedTime(java.util.Date lastModifiedTime) { * For a list of supported languages and their associated language * codes, refer to the Supported languages table. Note that U.S. English ( + * >Supported languages table. Note that US English ( * en-US) is the only language supported with Amazon * Transcribe Medical. *

    @@ -489,9 +487,8 @@ public String getLanguageCode() { * For a list of supported languages and their associated language codes, * refer to the Supported languages table. Note that U.S. English ( - * en-US) is the only language supported with Amazon Transcribe - * Medical. + * >Supported languages table. Note that US English (en-US) + * is the only language supported with Amazon Transcribe Medical. *

    *

    * Constraints:
    @@ -508,7 +505,7 @@ public String getLanguageCode() { * For a list of supported languages and their associated * language codes, refer to the Supported languages table. Note that U.S. English ( + * >Supported languages table. Note that US English ( * en-US) is the only language supported with Amazon * Transcribe Medical. *

    @@ -529,9 +526,8 @@ public void setLanguageCode(String languageCode) { * For a list of supported languages and their associated language codes, * refer to the Supported languages table. Note that U.S. English ( - * en-US) is the only language supported with Amazon Transcribe - * Medical. + * >Supported languages table. Note that US English (en-US) + * is the only language supported with Amazon Transcribe Medical. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -551,7 +547,7 @@ public void setLanguageCode(String languageCode) { * For a list of supported languages and their associated * language codes, refer to the Supported languages table. Note that U.S. English ( + * >Supported languages table. Note that US English ( * en-US) is the only language supported with Amazon * Transcribe Medical. *

    @@ -575,9 +571,8 @@ public LanguageModel withLanguageCode(String languageCode) { * For a list of supported languages and their associated language codes, * refer to the Supported languages table. Note that U.S. English ( - * en-US) is the only language supported with Amazon Transcribe - * Medical. + * >Supported languages table. Note that US English (en-US) + * is the only language supported with Amazon Transcribe Medical. *

    *

    * Constraints:
    @@ -594,7 +589,7 @@ public LanguageModel withLanguageCode(String languageCode) { * For a list of supported languages and their associated * language codes, refer to the Supported languages table. Note that U.S. English ( + * >Supported languages table. Note that US English ( * en-US) is the only language supported with Amazon * Transcribe Medical. *

    @@ -615,9 +610,8 @@ public void setLanguageCode(CLMLanguageCode languageCode) { * For a list of supported languages and their associated language codes, * refer to the Supported languages table. Note that U.S. English ( - * en-US) is the only language supported with Amazon Transcribe - * Medical. + * >Supported languages table. Note that US English (en-US) + * is the only language supported with Amazon Transcribe Medical. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -637,7 +631,7 @@ public void setLanguageCode(CLMLanguageCode languageCode) { * For a list of supported languages and their associated * language codes, refer to the Supported languages table. Note that U.S. English ( + * >Supported languages table. Note that US English ( * en-US) is the only language supported with Amazon * Transcribe Medical. *

    diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LimitExceededException.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LimitExceededException.java index c89eb37fec..bd36888b50 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LimitExceededException.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/LimitExceededException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesRequest.java index 86ab2dc473..d047ecfe51 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -51,7 +51,7 @@ public class ListCallAnalyticsCategoriesRequest extends AmazonWebServiceRequest *

    * The maximum number of Call Analytics categories to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -153,7 +153,7 @@ public ListCallAnalyticsCategoriesRequest withNextToken(String nextToken) { *

    * The maximum number of Call Analytics categories to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -163,7 +163,7 @@ public ListCallAnalyticsCategoriesRequest withNextToken(String nextToken) { * @return

    * The maximum number of Call Analytics categories to return in each * page of results. If there are fewer results than the value that - * you specify, only the actual results are returned. If you don't + * you specify, only the actual results are returned. If you do not * specify a value, a default of 5 is used. *

    */ @@ -175,7 +175,7 @@ public Integer getMaxResults() { *

    * The maximum number of Call Analytics categories to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -186,7 +186,7 @@ public Integer getMaxResults() { * The maximum number of Call Analytics categories to return in * each page of results. If there are fewer results than the * value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used. + * If you do not specify a value, a default of 5 is used. *

    */ public void setMaxResults(Integer maxResults) { @@ -197,7 +197,7 @@ public void setMaxResults(Integer maxResults) { *

    * The maximum number of Call Analytics categories to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -211,7 +211,7 @@ public void setMaxResults(Integer maxResults) { * The maximum number of Call Analytics categories to return in * each page of results. If there are fewer results than the * value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used. + * If you do not specify a value, a default of 5 is used. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesResult.java index 5b49008c61..ceacf16f91 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsCategoriesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsJobsRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsJobsRequest.java index e5d10330c3..bbbe3b6c90 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsJobsRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsJobsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -33,8 +33,8 @@ public class ListCallAnalyticsJobsRequest extends AmazonWebServiceRequest implem /** *

    * Returns only Call Analytics jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all Call Analytics jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all Call Analytics jobs are returned. *

    *

    * Constraints:
    @@ -74,7 +74,7 @@ public class ListCallAnalyticsJobsRequest extends AmazonWebServiceRequest implem *

    * The maximum number of Call Analytics jobs to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -86,8 +86,8 @@ public class ListCallAnalyticsJobsRequest extends AmazonWebServiceRequest implem /** *

    * Returns only Call Analytics jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all Call Analytics jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all Call Analytics jobs are returned. *

    *

    * Constraints:
    @@ -96,7 +96,7 @@ public class ListCallAnalyticsJobsRequest extends AmazonWebServiceRequest implem * @return

    * Returns only Call Analytics jobs with the specified status. Jobs * are ordered by creation date, with the newest job first. If you - * don't include Status, all Call Analytics jobs are + * do not include Status, all Call Analytics jobs are * returned. *

    * @see CallAnalyticsJobStatus @@ -108,8 +108,8 @@ public String getStatus() { /** *

    * Returns only Call Analytics jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all Call Analytics jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all Call Analytics jobs are returned. *

    *

    * Constraints:
    @@ -118,7 +118,7 @@ public String getStatus() { * @param status

    * Returns only Call Analytics jobs with the specified status. * Jobs are ordered by creation date, with the newest job first. - * If you don't include Status, all Call Analytics + * If you do not include Status, all Call Analytics * jobs are returned. *

    * @see CallAnalyticsJobStatus @@ -130,8 +130,8 @@ public void setStatus(String status) { /** *

    * Returns only Call Analytics jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all Call Analytics jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all Call Analytics jobs are returned. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -143,7 +143,7 @@ public void setStatus(String status) { * @param status

    * Returns only Call Analytics jobs with the specified status. * Jobs are ordered by creation date, with the newest job first. - * If you don't include Status, all Call Analytics + * If you do not include Status, all Call Analytics * jobs are returned. *

    * @return A reference to this updated object so that method calls can be @@ -158,8 +158,8 @@ public ListCallAnalyticsJobsRequest withStatus(String status) { /** *

    * Returns only Call Analytics jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all Call Analytics jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all Call Analytics jobs are returned. *

    *

    * Constraints:
    @@ -168,7 +168,7 @@ public ListCallAnalyticsJobsRequest withStatus(String status) { * @param status

    * Returns only Call Analytics jobs with the specified status. * Jobs are ordered by creation date, with the newest job first. - * If you don't include Status, all Call Analytics + * If you do not include Status, all Call Analytics * jobs are returned. *

    * @see CallAnalyticsJobStatus @@ -180,8 +180,8 @@ public void setStatus(CallAnalyticsJobStatus status) { /** *

    * Returns only Call Analytics jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all Call Analytics jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all Call Analytics jobs are returned. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -193,7 +193,7 @@ public void setStatus(CallAnalyticsJobStatus status) { * @param status

    * Returns only Call Analytics jobs with the specified status. * Jobs are ordered by creation date, with the newest job first. - * If you don't include Status, all Call Analytics + * If you do not include Status, all Call Analytics * jobs are returned. *

    * @return A reference to this updated object so that method calls can be @@ -359,7 +359,7 @@ public ListCallAnalyticsJobsRequest withNextToken(String nextToken) { *

    * The maximum number of Call Analytics jobs to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -369,7 +369,7 @@ public ListCallAnalyticsJobsRequest withNextToken(String nextToken) { * @return

    * The maximum number of Call Analytics jobs to return in each page * of results. If there are fewer results than the value that you - * specify, only the actual results are returned. If you don't + * specify, only the actual results are returned. If you do not * specify a value, a default of 5 is used. *

    */ @@ -381,7 +381,7 @@ public Integer getMaxResults() { *

    * The maximum number of Call Analytics jobs to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -392,7 +392,7 @@ public Integer getMaxResults() { * The maximum number of Call Analytics jobs to return in each * page of results. If there are fewer results than the value * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * do not specify a value, a default of 5 is used. *

    */ public void setMaxResults(Integer maxResults) { @@ -403,7 +403,7 @@ public void setMaxResults(Integer maxResults) { *

    * The maximum number of Call Analytics jobs to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -417,7 +417,7 @@ public void setMaxResults(Integer maxResults) { * The maximum number of Call Analytics jobs to return in each * page of results. If there are fewer results than the value * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * do not specify a value, a default of 5 is used. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsJobsResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsJobsResult.java index d34ed54c5c..bf92385830 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsJobsResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListCallAnalyticsJobsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListLanguageModelsRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListLanguageModelsRequest.java index 7c76e75993..38275de589 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListLanguageModelsRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListLanguageModelsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ public class ListLanguageModelsRequest extends AmazonWebServiceRequest implement *

    * Returns only custom language models with the specified status. Language * models are ordered by creation date, with the newest model first. If you - * don't include StatusEquals, all custom language models are + * do not include StatusEquals, all custom language models are * returned. *

    *

    @@ -74,7 +74,7 @@ public class ListLanguageModelsRequest extends AmazonWebServiceRequest implement *

    * The maximum number of custom language models to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -87,7 +87,7 @@ public class ListLanguageModelsRequest extends AmazonWebServiceRequest implement *

    * Returns only custom language models with the specified status. Language * models are ordered by creation date, with the newest model first. If you - * don't include StatusEquals, all custom language models are + * do not include StatusEquals, all custom language models are * returned. *

    *

    @@ -97,7 +97,7 @@ public class ListLanguageModelsRequest extends AmazonWebServiceRequest implement * @return

    * Returns only custom language models with the specified status. * Language models are ordered by creation date, with the newest - * model first. If you don't include StatusEquals, all + * model first. If you do not include StatusEquals, all * custom language models are returned. *

    * @see ModelStatus @@ -110,7 +110,7 @@ public String getStatusEquals() { *

    * Returns only custom language models with the specified status. Language * models are ordered by creation date, with the newest model first. If you - * don't include StatusEquals, all custom language models are + * do not include StatusEquals, all custom language models are * returned. *

    *

    @@ -120,7 +120,7 @@ public String getStatusEquals() { * @param statusEquals

    * Returns only custom language models with the specified status. * Language models are ordered by creation date, with the newest - * model first. If you don't include StatusEquals, + * model first. If you do not include StatusEquals, * all custom language models are returned. *

    * @see ModelStatus @@ -133,7 +133,7 @@ public void setStatusEquals(String statusEquals) { *

    * Returns only custom language models with the specified status. Language * models are ordered by creation date, with the newest model first. If you - * don't include StatusEquals, all custom language models are + * do not include StatusEquals, all custom language models are * returned. *

    *

    @@ -146,7 +146,7 @@ public void setStatusEquals(String statusEquals) { * @param statusEquals

    * Returns only custom language models with the specified status. * Language models are ordered by creation date, with the newest - * model first. If you don't include StatusEquals, + * model first. If you do not include StatusEquals, * all custom language models are returned. *

    * @return A reference to this updated object so that method calls can be @@ -162,7 +162,7 @@ public ListLanguageModelsRequest withStatusEquals(String statusEquals) { *

    * Returns only custom language models with the specified status. Language * models are ordered by creation date, with the newest model first. If you - * don't include StatusEquals, all custom language models are + * do not include StatusEquals, all custom language models are * returned. *

    *

    @@ -172,7 +172,7 @@ public ListLanguageModelsRequest withStatusEquals(String statusEquals) { * @param statusEquals

    * Returns only custom language models with the specified status. * Language models are ordered by creation date, with the newest - * model first. If you don't include StatusEquals, + * model first. If you do not include StatusEquals, * all custom language models are returned. *

    * @see ModelStatus @@ -185,7 +185,7 @@ public void setStatusEquals(ModelStatus statusEquals) { *

    * Returns only custom language models with the specified status. Language * models are ordered by creation date, with the newest model first. If you - * don't include StatusEquals, all custom language models are + * do not include StatusEquals, all custom language models are * returned. *

    *

    @@ -198,7 +198,7 @@ public void setStatusEquals(ModelStatus statusEquals) { * @param statusEquals

    * Returns only custom language models with the specified status. * Language models are ordered by creation date, with the newest - * model first. If you don't include StatusEquals, + * model first. If you do not include StatusEquals, * all custom language models are returned. *

    * @return A reference to this updated object so that method calls can be @@ -361,7 +361,7 @@ public ListLanguageModelsRequest withNextToken(String nextToken) { *

    * The maximum number of custom language models to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -371,7 +371,7 @@ public ListLanguageModelsRequest withNextToken(String nextToken) { * @return

    * The maximum number of custom language models to return in each * page of results. If there are fewer results than the value that - * you specify, only the actual results are returned. If you don't + * you specify, only the actual results are returned. If you do not * specify a value, a default of 5 is used. *

    */ @@ -383,7 +383,7 @@ public Integer getMaxResults() { *

    * The maximum number of custom language models to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -394,7 +394,7 @@ public Integer getMaxResults() { * The maximum number of custom language models to return in each * page of results. If there are fewer results than the value * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * do not specify a value, a default of 5 is used. *

    */ public void setMaxResults(Integer maxResults) { @@ -405,7 +405,7 @@ public void setMaxResults(Integer maxResults) { *

    * The maximum number of custom language models to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -419,7 +419,7 @@ public void setMaxResults(Integer maxResults) { * The maximum number of custom language models to return in each * page of results. If there are fewer results than the value * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * do not specify a value, a default of 5 is used. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListLanguageModelsResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListLanguageModelsResult.java index 02342609e2..9e4badef1b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListLanguageModelsResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListLanguageModelsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalScribeJobsRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalScribeJobsRequest.java new file mode 100644 index 0000000000..c0fd5c1da3 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalScribeJobsRequest.java @@ -0,0 +1,498 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

    + * Provides a list of Medical Scribe jobs that match the specified criteria. If + * no criteria are specified, all Medical Scribe jobs are returned. + *

    + *

    + * To get detailed information about a specific Medical Scribe job, use the + * operation. + *

    + */ +public class ListMedicalScribeJobsRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

    + * Returns only Medical Scribe jobs with the specified status. Jobs are + * ordered by creation date, with the newest job first. If you do not + * include Status, all Medical Scribe jobs are returned. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + */ + private String status; + + /** + *

    + * Returns only the Medical Scribe jobs that contain the specified string. + * The search is not case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + */ + private String jobNameContains; + + /** + *

    + * If your ListMedicalScribeJobs request returns more results + * than can be displayed, NextToken is displayed in the + * response with an associated string. To get the next page of results, copy + * this string and repeat your request, including NextToken + * with the value of the copied string. Repeat as needed to view all your + * results. + *

    + *

    + * Constraints:
    + * Length: - 8192
    + * Pattern: .+
    + */ + private String nextToken; + + /** + *

    + * The maximum number of Medical Scribe jobs to return in each page of + * results. If there are fewer results than the value that you specify, only + * the actual results are returned. If you do not specify a value, a default + * of 5 is used. + *

    + *

    + * Constraints:
    + * Range: 1 - 100
    + */ + private Integer maxResults; + + /** + *

    + * Returns only Medical Scribe jobs with the specified status. Jobs are + * ordered by creation date, with the newest job first. If you do not + * include Status, all Medical Scribe jobs are returned. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @return

    + * Returns only Medical Scribe jobs with the specified status. Jobs + * are ordered by creation date, with the newest job first. If you + * do not include Status, all Medical Scribe jobs are + * returned. + *

    + * @see MedicalScribeJobStatus + */ + public String getStatus() { + return status; + } + + /** + *

    + * Returns only Medical Scribe jobs with the specified status. Jobs are + * ordered by creation date, with the newest job first. If you do not + * include Status, all Medical Scribe jobs are returned. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param status

    + * Returns only Medical Scribe jobs with the specified status. + * Jobs are ordered by creation date, with the newest job first. + * If you do not include Status, all Medical Scribe + * jobs are returned. + *

    + * @see MedicalScribeJobStatus + */ + public void setStatus(String status) { + this.status = status; + } + + /** + *

    + * Returns only Medical Scribe jobs with the specified status. Jobs are + * ordered by creation date, with the newest job first. If you do not + * include Status, all Medical Scribe jobs are returned. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param status

    + * Returns only Medical Scribe jobs with the specified status. + * Jobs are ordered by creation date, with the newest job first. + * If you do not include Status, all Medical Scribe + * jobs are returned. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeJobStatus + */ + public ListMedicalScribeJobsRequest withStatus(String status) { + this.status = status; + return this; + } + + /** + *

    + * Returns only Medical Scribe jobs with the specified status. Jobs are + * ordered by creation date, with the newest job first. If you do not + * include Status, all Medical Scribe jobs are returned. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param status

    + * Returns only Medical Scribe jobs with the specified status. + * Jobs are ordered by creation date, with the newest job first. + * If you do not include Status, all Medical Scribe + * jobs are returned. + *

    + * @see MedicalScribeJobStatus + */ + public void setStatus(MedicalScribeJobStatus status) { + this.status = status.toString(); + } + + /** + *

    + * Returns only Medical Scribe jobs with the specified status. Jobs are + * ordered by creation date, with the newest job first. If you do not + * include Status, all Medical Scribe jobs are returned. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param status

    + * Returns only Medical Scribe jobs with the specified status. + * Jobs are ordered by creation date, with the newest job first. + * If you do not include Status, all Medical Scribe + * jobs are returned. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeJobStatus + */ + public ListMedicalScribeJobsRequest withStatus(MedicalScribeJobStatus status) { + this.status = status.toString(); + return this; + } + + /** + *

    + * Returns only the Medical Scribe jobs that contain the specified string. + * The search is not case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @return

    + * Returns only the Medical Scribe jobs that contain the specified + * string. The search is not case sensitive. + *

    + */ + public String getJobNameContains() { + return jobNameContains; + } + + /** + *

    + * Returns only the Medical Scribe jobs that contain the specified string. + * The search is not case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param jobNameContains

    + * Returns only the Medical Scribe jobs that contain the + * specified string. The search is not case sensitive. + *

    + */ + public void setJobNameContains(String jobNameContains) { + this.jobNameContains = jobNameContains; + } + + /** + *

    + * Returns only the Medical Scribe jobs that contain the specified string. + * The search is not case sensitive. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param jobNameContains

    + * Returns only the Medical Scribe jobs that contain the + * specified string. The search is not case sensitive. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMedicalScribeJobsRequest withJobNameContains(String jobNameContains) { + this.jobNameContains = jobNameContains; + return this; + } + + /** + *

    + * If your ListMedicalScribeJobs request returns more results + * than can be displayed, NextToken is displayed in the + * response with an associated string. To get the next page of results, copy + * this string and repeat your request, including NextToken + * with the value of the copied string. Repeat as needed to view all your + * results. + *

    + *

    + * Constraints:
    + * Length: - 8192
    + * Pattern: .+
    + * + * @return

    + * If your ListMedicalScribeJobs request returns more + * results than can be displayed, NextToken is + * displayed in the response with an associated string. To get the + * next page of results, copy this string and repeat your request, + * including NextToken with the value of the copied + * string. Repeat as needed to view all your results. + *

    + */ + public String getNextToken() { + return nextToken; + } + + /** + *

    + * If your ListMedicalScribeJobs request returns more results + * than can be displayed, NextToken is displayed in the + * response with an associated string. To get the next page of results, copy + * this string and repeat your request, including NextToken + * with the value of the copied string. Repeat as needed to view all your + * results. + *

    + *

    + * Constraints:
    + * Length: - 8192
    + * Pattern: .+
    + * + * @param nextToken

    + * If your ListMedicalScribeJobs request returns + * more results than can be displayed, NextToken is + * displayed in the response with an associated string. To get + * the next page of results, copy this string and repeat your + * request, including NextToken with the value of + * the copied string. Repeat as needed to view all your results. + *

    + */ + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + /** + *

    + * If your ListMedicalScribeJobs request returns more results + * than can be displayed, NextToken is displayed in the + * response with an associated string. To get the next page of results, copy + * this string and repeat your request, including NextToken + * with the value of the copied string. Repeat as needed to view all your + * results. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: - 8192
    + * Pattern: .+
    + * + * @param nextToken

    + * If your ListMedicalScribeJobs request returns + * more results than can be displayed, NextToken is + * displayed in the response with an associated string. To get + * the next page of results, copy this string and repeat your + * request, including NextToken with the value of + * the copied string. Repeat as needed to view all your results. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMedicalScribeJobsRequest withNextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + *

    + * The maximum number of Medical Scribe jobs to return in each page of + * results. If there are fewer results than the value that you specify, only + * the actual results are returned. If you do not specify a value, a default + * of 5 is used. + *

    + *

    + * Constraints:
    + * Range: 1 - 100
    + * + * @return

    + * The maximum number of Medical Scribe jobs to return in each page + * of results. If there are fewer results than the value that you + * specify, only the actual results are returned. If you do not + * specify a value, a default of 5 is used. + *

    + */ + public Integer getMaxResults() { + return maxResults; + } + + /** + *

    + * The maximum number of Medical Scribe jobs to return in each page of + * results. If there are fewer results than the value that you specify, only + * the actual results are returned. If you do not specify a value, a default + * of 5 is used. + *

    + *

    + * Constraints:
    + * Range: 1 - 100
    + * + * @param maxResults

    + * The maximum number of Medical Scribe jobs to return in each + * page of results. If there are fewer results than the value + * that you specify, only the actual results are returned. If you + * do not specify a value, a default of 5 is used. + *

    + */ + public void setMaxResults(Integer maxResults) { + this.maxResults = maxResults; + } + + /** + *

    + * The maximum number of Medical Scribe jobs to return in each page of + * results. If there are fewer results than the value that you specify, only + * the actual results are returned. If you do not specify a value, a default + * of 5 is used. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Range: 1 - 100
    + * + * @param maxResults

    + * The maximum number of Medical Scribe jobs to return in each + * page of results. If there are fewer results than the value + * that you specify, only the actual results are returned. If you + * do not specify a value, a default of 5 is used. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMedicalScribeJobsRequest withMaxResults(Integer maxResults) { + this.maxResults = maxResults; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getStatus() != null) + sb.append("Status: " + getStatus() + ","); + if (getJobNameContains() != null) + sb.append("JobNameContains: " + getJobNameContains() + ","); + if (getNextToken() != null) + sb.append("NextToken: " + getNextToken() + ","); + if (getMaxResults() != null) + sb.append("MaxResults: " + getMaxResults()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); + hashCode = prime * hashCode + + ((getJobNameContains() == null) ? 0 : getJobNameContains().hashCode()); + hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); + hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof ListMedicalScribeJobsRequest == false) + return false; + ListMedicalScribeJobsRequest other = (ListMedicalScribeJobsRequest) obj; + + if (other.getStatus() == null ^ this.getStatus() == null) + return false; + if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) + return false; + if (other.getJobNameContains() == null ^ this.getJobNameContains() == null) + return false; + if (other.getJobNameContains() != null + && other.getJobNameContains().equals(this.getJobNameContains()) == false) + return false; + if (other.getNextToken() == null ^ this.getNextToken() == null) + return false; + if (other.getNextToken() != null + && other.getNextToken().equals(this.getNextToken()) == false) + return false; + if (other.getMaxResults() == null ^ this.getMaxResults() == null) + return false; + if (other.getMaxResults() != null + && other.getMaxResults().equals(this.getMaxResults()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalScribeJobsResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalScribeJobsResult.java new file mode 100644 index 0000000000..b0950757b5 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalScribeJobsResult.java @@ -0,0 +1,399 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +public class ListMedicalScribeJobsResult implements Serializable { + /** + *

    + * Lists all Medical Scribe jobs that have the status specified in your + * request. Jobs are ordered by creation date, with the newest job first. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + */ + private String status; + + /** + *

    + * If NextToken is present in your response, it indicates that + * not all results are displayed. To view the next set of results, copy the + * string associated with the NextToken parameter in your + * results output, then run your request again including + * NextToken with the value of the copied string. Repeat as + * needed to view all your results. + *

    + *

    + * Constraints:
    + * Length: - 8192
    + * Pattern: .+
    + */ + private String nextToken; + + /** + *

    + * Provides a summary of information about each result. + *

    + */ + private java.util.List medicalScribeJobSummaries; + + /** + *

    + * Lists all Medical Scribe jobs that have the status specified in your + * request. Jobs are ordered by creation date, with the newest job first. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @return

    + * Lists all Medical Scribe jobs that have the status specified in + * your request. Jobs are ordered by creation date, with the newest + * job first. + *

    + * @see MedicalScribeJobStatus + */ + public String getStatus() { + return status; + } + + /** + *

    + * Lists all Medical Scribe jobs that have the status specified in your + * request. Jobs are ordered by creation date, with the newest job first. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param status

    + * Lists all Medical Scribe jobs that have the status specified + * in your request. Jobs are ordered by creation date, with the + * newest job first. + *

    + * @see MedicalScribeJobStatus + */ + public void setStatus(String status) { + this.status = status; + } + + /** + *

    + * Lists all Medical Scribe jobs that have the status specified in your + * request. Jobs are ordered by creation date, with the newest job first. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param status

    + * Lists all Medical Scribe jobs that have the status specified + * in your request. Jobs are ordered by creation date, with the + * newest job first. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeJobStatus + */ + public ListMedicalScribeJobsResult withStatus(String status) { + this.status = status; + return this; + } + + /** + *

    + * Lists all Medical Scribe jobs that have the status specified in your + * request. Jobs are ordered by creation date, with the newest job first. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param status

    + * Lists all Medical Scribe jobs that have the status specified + * in your request. Jobs are ordered by creation date, with the + * newest job first. + *

    + * @see MedicalScribeJobStatus + */ + public void setStatus(MedicalScribeJobStatus status) { + this.status = status.toString(); + } + + /** + *

    + * Lists all Medical Scribe jobs that have the status specified in your + * request. Jobs are ordered by creation date, with the newest job first. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param status

    + * Lists all Medical Scribe jobs that have the status specified + * in your request. Jobs are ordered by creation date, with the + * newest job first. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeJobStatus + */ + public ListMedicalScribeJobsResult withStatus(MedicalScribeJobStatus status) { + this.status = status.toString(); + return this; + } + + /** + *

    + * If NextToken is present in your response, it indicates that + * not all results are displayed. To view the next set of results, copy the + * string associated with the NextToken parameter in your + * results output, then run your request again including + * NextToken with the value of the copied string. Repeat as + * needed to view all your results. + *

    + *

    + * Constraints:
    + * Length: - 8192
    + * Pattern: .+
    + * + * @return

    + * If NextToken is present in your response, it + * indicates that not all results are displayed. To view the next + * set of results, copy the string associated with the + * NextToken parameter in your results output, then run + * your request again including NextToken with the + * value of the copied string. Repeat as needed to view all your + * results. + *

    + */ + public String getNextToken() { + return nextToken; + } + + /** + *

    + * If NextToken is present in your response, it indicates that + * not all results are displayed. To view the next set of results, copy the + * string associated with the NextToken parameter in your + * results output, then run your request again including + * NextToken with the value of the copied string. Repeat as + * needed to view all your results. + *

    + *

    + * Constraints:
    + * Length: - 8192
    + * Pattern: .+
    + * + * @param nextToken

    + * If NextToken is present in your response, it + * indicates that not all results are displayed. To view the next + * set of results, copy the string associated with the + * NextToken parameter in your results output, then + * run your request again including NextToken with + * the value of the copied string. Repeat as needed to view all + * your results. + *

    + */ + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + /** + *

    + * If NextToken is present in your response, it indicates that + * not all results are displayed. To view the next set of results, copy the + * string associated with the NextToken parameter in your + * results output, then run your request again including + * NextToken with the value of the copied string. Repeat as + * needed to view all your results. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: - 8192
    + * Pattern: .+
    + * + * @param nextToken

    + * If NextToken is present in your response, it + * indicates that not all results are displayed. To view the next + * set of results, copy the string associated with the + * NextToken parameter in your results output, then + * run your request again including NextToken with + * the value of the copied string. Repeat as needed to view all + * your results. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMedicalScribeJobsResult withNextToken(String nextToken) { + this.nextToken = nextToken; + return this; + } + + /** + *

    + * Provides a summary of information about each result. + *

    + * + * @return

    + * Provides a summary of information about each result. + *

    + */ + public java.util.List getMedicalScribeJobSummaries() { + return medicalScribeJobSummaries; + } + + /** + *

    + * Provides a summary of information about each result. + *

    + * + * @param medicalScribeJobSummaries

    + * Provides a summary of information about each result. + *

    + */ + public void setMedicalScribeJobSummaries( + java.util.Collection medicalScribeJobSummaries) { + if (medicalScribeJobSummaries == null) { + this.medicalScribeJobSummaries = null; + return; + } + + this.medicalScribeJobSummaries = new java.util.ArrayList( + medicalScribeJobSummaries); + } + + /** + *

    + * Provides a summary of information about each result. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param medicalScribeJobSummaries

    + * Provides a summary of information about each result. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMedicalScribeJobsResult withMedicalScribeJobSummaries( + MedicalScribeJobSummary... medicalScribeJobSummaries) { + if (getMedicalScribeJobSummaries() == null) { + this.medicalScribeJobSummaries = new java.util.ArrayList( + medicalScribeJobSummaries.length); + } + for (MedicalScribeJobSummary value : medicalScribeJobSummaries) { + this.medicalScribeJobSummaries.add(value); + } + return this; + } + + /** + *

    + * Provides a summary of information about each result. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param medicalScribeJobSummaries

    + * Provides a summary of information about each result. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public ListMedicalScribeJobsResult withMedicalScribeJobSummaries( + java.util.Collection medicalScribeJobSummaries) { + setMedicalScribeJobSummaries(medicalScribeJobSummaries); + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getStatus() != null) + sb.append("Status: " + getStatus() + ","); + if (getNextToken() != null) + sb.append("NextToken: " + getNextToken() + ","); + if (getMedicalScribeJobSummaries() != null) + sb.append("MedicalScribeJobSummaries: " + getMedicalScribeJobSummaries()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); + hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); + hashCode = prime + * hashCode + + ((getMedicalScribeJobSummaries() == null) ? 0 : getMedicalScribeJobSummaries() + .hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof ListMedicalScribeJobsResult == false) + return false; + ListMedicalScribeJobsResult other = (ListMedicalScribeJobsResult) obj; + + if (other.getStatus() == null ^ this.getStatus() == null) + return false; + if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) + return false; + if (other.getNextToken() == null ^ this.getNextToken() == null) + return false; + if (other.getNextToken() != null + && other.getNextToken().equals(this.getNextToken()) == false) + return false; + if (other.getMedicalScribeJobSummaries() == null + ^ this.getMedicalScribeJobSummaries() == null) + return false; + if (other.getMedicalScribeJobSummaries() != null + && other.getMedicalScribeJobSummaries().equals(this.getMedicalScribeJobSummaries()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalTranscriptionJobsRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalTranscriptionJobsRequest.java index b1ebce6463..d8c9abb8dc 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalTranscriptionJobsRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalTranscriptionJobsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -35,7 +35,7 @@ public class ListMedicalTranscriptionJobsRequest extends AmazonWebServiceRequest /** *

    * Returns only medical transcription jobs with the specified status. Jobs - * are ordered by creation date, with the newest job first. If you don't + * are ordered by creation date, with the newest job first. If you do not * include Status, all medical transcription jobs are returned. *

    *

    @@ -76,7 +76,7 @@ public class ListMedicalTranscriptionJobsRequest extends AmazonWebServiceRequest *

    * The maximum number of medical transcription jobs to return in each page * of results. If there are fewer results than the value that you specify, - * only the actual results are returned. If you don't specify a value, a + * only the actual results are returned. If you do not specify a value, a * default of 5 is used. *

    *

    @@ -88,7 +88,7 @@ public class ListMedicalTranscriptionJobsRequest extends AmazonWebServiceRequest /** *

    * Returns only medical transcription jobs with the specified status. Jobs - * are ordered by creation date, with the newest job first. If you don't + * are ordered by creation date, with the newest job first. If you do not * include Status, all medical transcription jobs are returned. *

    *

    @@ -98,7 +98,7 @@ public class ListMedicalTranscriptionJobsRequest extends AmazonWebServiceRequest * @return

    * Returns only medical transcription jobs with the specified * status. Jobs are ordered by creation date, with the newest job - * first. If you don't include Status, all medical + * first. If you do not include Status, all medical * transcription jobs are returned. *

    * @see TranscriptionJobStatus @@ -110,7 +110,7 @@ public String getStatus() { /** *

    * Returns only medical transcription jobs with the specified status. Jobs - * are ordered by creation date, with the newest job first. If you don't + * are ordered by creation date, with the newest job first. If you do not * include Status, all medical transcription jobs are returned. *

    *

    @@ -120,7 +120,7 @@ public String getStatus() { * @param status

    * Returns only medical transcription jobs with the specified * status. Jobs are ordered by creation date, with the newest job - * first. If you don't include Status, all medical + * first. If you do not include Status, all medical * transcription jobs are returned. *

    * @see TranscriptionJobStatus @@ -132,7 +132,7 @@ public void setStatus(String status) { /** *

    * Returns only medical transcription jobs with the specified status. Jobs - * are ordered by creation date, with the newest job first. If you don't + * are ordered by creation date, with the newest job first. If you do not * include Status, all medical transcription jobs are returned. *

    *

    @@ -145,7 +145,7 @@ public void setStatus(String status) { * @param status

    * Returns only medical transcription jobs with the specified * status. Jobs are ordered by creation date, with the newest job - * first. If you don't include Status, all medical + * first. If you do not include Status, all medical * transcription jobs are returned. *

    * @return A reference to this updated object so that method calls can be @@ -160,7 +160,7 @@ public ListMedicalTranscriptionJobsRequest withStatus(String status) { /** *

    * Returns only medical transcription jobs with the specified status. Jobs - * are ordered by creation date, with the newest job first. If you don't + * are ordered by creation date, with the newest job first. If you do not * include Status, all medical transcription jobs are returned. *

    *

    @@ -170,7 +170,7 @@ public ListMedicalTranscriptionJobsRequest withStatus(String status) { * @param status

    * Returns only medical transcription jobs with the specified * status. Jobs are ordered by creation date, with the newest job - * first. If you don't include Status, all medical + * first. If you do not include Status, all medical * transcription jobs are returned. *

    * @see TranscriptionJobStatus @@ -182,7 +182,7 @@ public void setStatus(TranscriptionJobStatus status) { /** *

    * Returns only medical transcription jobs with the specified status. Jobs - * are ordered by creation date, with the newest job first. If you don't + * are ordered by creation date, with the newest job first. If you do not * include Status, all medical transcription jobs are returned. *

    *

    @@ -195,7 +195,7 @@ public void setStatus(TranscriptionJobStatus status) { * @param status

    * Returns only medical transcription jobs with the specified * status. Jobs are ordered by creation date, with the newest job - * first. If you don't include Status, all medical + * first. If you do not include Status, all medical * transcription jobs are returned. *

    * @return A reference to this updated object so that method calls can be @@ -363,7 +363,7 @@ public ListMedicalTranscriptionJobsRequest withNextToken(String nextToken) { *

    * The maximum number of medical transcription jobs to return in each page * of results. If there are fewer results than the value that you specify, - * only the actual results are returned. If you don't specify a value, a + * only the actual results are returned. If you do not specify a value, a * default of 5 is used. *

    *

    @@ -373,8 +373,8 @@ public ListMedicalTranscriptionJobsRequest withNextToken(String nextToken) { * @return

    * The maximum number of medical transcription jobs to return in * each page of results. If there are fewer results than the value - * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * that you specify, only the actual results are returned. If you do + * not specify a value, a default of 5 is used. *

    */ public Integer getMaxResults() { @@ -385,7 +385,7 @@ public Integer getMaxResults() { *

    * The maximum number of medical transcription jobs to return in each page * of results. If there are fewer results than the value that you specify, - * only the actual results are returned. If you don't specify a value, a + * only the actual results are returned. If you do not specify a value, a * default of 5 is used. *

    *

    @@ -396,7 +396,7 @@ public Integer getMaxResults() { * The maximum number of medical transcription jobs to return in * each page of results. If there are fewer results than the * value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used. + * If you do not specify a value, a default of 5 is used. *

    */ public void setMaxResults(Integer maxResults) { @@ -407,7 +407,7 @@ public void setMaxResults(Integer maxResults) { *

    * The maximum number of medical transcription jobs to return in each page * of results. If there are fewer results than the value that you specify, - * only the actual results are returned. If you don't specify a value, a + * only the actual results are returned. If you do not specify a value, a * default of 5 is used. *

    *

    @@ -421,7 +421,7 @@ public void setMaxResults(Integer maxResults) { * The maximum number of medical transcription jobs to return in * each page of results. If there are fewer results than the * value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used. + * If you do not specify a value, a default of 5 is used. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalTranscriptionJobsResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalTranscriptionJobsResult.java index 220aedc727..2b594be8ec 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalTranscriptionJobsResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalTranscriptionJobsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalVocabulariesRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalVocabulariesRequest.java index dbf06aac85..0eb3942070 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalVocabulariesRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalVocabulariesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -51,7 +51,7 @@ public class ListMedicalVocabulariesRequest extends AmazonWebServiceRequest impl *

    * The maximum number of custom medical vocabularies to return in each page * of results. If there are fewer results than the value that you specify, - * only the actual results are returned. If you don't specify a value, a + * only the actual results are returned. If you do not specify a value, a * default of 5 is used. *

    *

    @@ -64,7 +64,7 @@ public class ListMedicalVocabulariesRequest extends AmazonWebServiceRequest impl *

    * Returns only custom medical vocabularies with the specified state. Custom * vocabularies are ordered by creation date, with the newest vocabulary - * first. If you don't include StateEquals, all custom medical + * first. If you do not include StateEquals, all custom medical * vocabularies are returned. *

    *

    @@ -176,7 +176,7 @@ public ListMedicalVocabulariesRequest withNextToken(String nextToken) { *

    * The maximum number of custom medical vocabularies to return in each page * of results. If there are fewer results than the value that you specify, - * only the actual results are returned. If you don't specify a value, a + * only the actual results are returned. If you do not specify a value, a * default of 5 is used. *

    *

    @@ -186,8 +186,8 @@ public ListMedicalVocabulariesRequest withNextToken(String nextToken) { * @return

    * The maximum number of custom medical vocabularies to return in * each page of results. If there are fewer results than the value - * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * that you specify, only the actual results are returned. If you do + * not specify a value, a default of 5 is used. *

    */ public Integer getMaxResults() { @@ -198,7 +198,7 @@ public Integer getMaxResults() { *

    * The maximum number of custom medical vocabularies to return in each page * of results. If there are fewer results than the value that you specify, - * only the actual results are returned. If you don't specify a value, a + * only the actual results are returned. If you do not specify a value, a * default of 5 is used. *

    *

    @@ -209,7 +209,7 @@ public Integer getMaxResults() { * The maximum number of custom medical vocabularies to return in * each page of results. If there are fewer results than the * value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used. + * If you do not specify a value, a default of 5 is used. *

    */ public void setMaxResults(Integer maxResults) { @@ -220,7 +220,7 @@ public void setMaxResults(Integer maxResults) { *

    * The maximum number of custom medical vocabularies to return in each page * of results. If there are fewer results than the value that you specify, - * only the actual results are returned. If you don't specify a value, a + * only the actual results are returned. If you do not specify a value, a * default of 5 is used. *

    *

    @@ -234,7 +234,7 @@ public void setMaxResults(Integer maxResults) { * The maximum number of custom medical vocabularies to return in * each page of results. If there are fewer results than the * value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used. + * If you do not specify a value, a default of 5 is used. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -248,7 +248,7 @@ public ListMedicalVocabulariesRequest withMaxResults(Integer maxResults) { *

    * Returns only custom medical vocabularies with the specified state. Custom * vocabularies are ordered by creation date, with the newest vocabulary - * first. If you don't include StateEquals, all custom medical + * first. If you do not include StateEquals, all custom medical * vocabularies are returned. *

    *

    @@ -258,7 +258,7 @@ public ListMedicalVocabulariesRequest withMaxResults(Integer maxResults) { * @return

    * Returns only custom medical vocabularies with the specified * state. Custom vocabularies are ordered by creation date, with the - * newest vocabulary first. If you don't include + * newest vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    @@ -272,7 +272,7 @@ public String getStateEquals() { *

    * Returns only custom medical vocabularies with the specified state. Custom * vocabularies are ordered by creation date, with the newest vocabulary - * first. If you don't include StateEquals, all custom medical + * first. If you do not include StateEquals, all custom medical * vocabularies are returned. *

    *

    @@ -282,7 +282,7 @@ public String getStateEquals() { * @param stateEquals

    * Returns only custom medical vocabularies with the specified * state. Custom vocabularies are ordered by creation date, with - * the newest vocabulary first. If you don't include + * the newest vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    @@ -296,7 +296,7 @@ public void setStateEquals(String stateEquals) { *

    * Returns only custom medical vocabularies with the specified state. Custom * vocabularies are ordered by creation date, with the newest vocabulary - * first. If you don't include StateEquals, all custom medical + * first. If you do not include StateEquals, all custom medical * vocabularies are returned. *

    *

    @@ -309,7 +309,7 @@ public void setStateEquals(String stateEquals) { * @param stateEquals

    * Returns only custom medical vocabularies with the specified * state. Custom vocabularies are ordered by creation date, with - * the newest vocabulary first. If you don't include + * the newest vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    @@ -326,7 +326,7 @@ public ListMedicalVocabulariesRequest withStateEquals(String stateEquals) { *

    * Returns only custom medical vocabularies with the specified state. Custom * vocabularies are ordered by creation date, with the newest vocabulary - * first. If you don't include StateEquals, all custom medical + * first. If you do not include StateEquals, all custom medical * vocabularies are returned. *

    *

    @@ -336,7 +336,7 @@ public ListMedicalVocabulariesRequest withStateEquals(String stateEquals) { * @param stateEquals

    * Returns only custom medical vocabularies with the specified * state. Custom vocabularies are ordered by creation date, with - * the newest vocabulary first. If you don't include + * the newest vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    @@ -350,7 +350,7 @@ public void setStateEquals(VocabularyState stateEquals) { *

    * Returns only custom medical vocabularies with the specified state. Custom * vocabularies are ordered by creation date, with the newest vocabulary - * first. If you don't include StateEquals, all custom medical + * first. If you do not include StateEquals, all custom medical * vocabularies are returned. *

    *

    @@ -363,7 +363,7 @@ public void setStateEquals(VocabularyState stateEquals) { * @param stateEquals

    * Returns only custom medical vocabularies with the specified * state. Custom vocabularies are ordered by creation date, with - * the newest vocabulary first. If you don't include + * the newest vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalVocabulariesResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalVocabulariesResult.java index 58f81af387..7f92df1c80 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalVocabulariesResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListMedicalVocabulariesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTagsForResourceRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTagsForResourceRequest.java index 4feb0403d3..879a9c3353 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTagsForResourceRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTagsForResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTagsForResourceResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTagsForResourceResult.java index 381262efef..3d487cd9a1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTagsForResourceResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTagsForResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTranscriptionJobsRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTranscriptionJobsRequest.java index aaccfc57c9..31417e5832 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTranscriptionJobsRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTranscriptionJobsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -33,8 +33,8 @@ public class ListTranscriptionJobsRequest extends AmazonWebServiceRequest implem /** *

    * Returns only transcription jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all transcription jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all transcription jobs are returned. *

    *

    * Constraints:
    @@ -74,7 +74,7 @@ public class ListTranscriptionJobsRequest extends AmazonWebServiceRequest implem *

    * The maximum number of transcription jobs to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -86,8 +86,8 @@ public class ListTranscriptionJobsRequest extends AmazonWebServiceRequest implem /** *

    * Returns only transcription jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all transcription jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all transcription jobs are returned. *

    *

    * Constraints:
    @@ -96,7 +96,7 @@ public class ListTranscriptionJobsRequest extends AmazonWebServiceRequest implem * @return

    * Returns only transcription jobs with the specified status. Jobs * are ordered by creation date, with the newest job first. If you - * don't include Status, all transcription jobs are + * do not include Status, all transcription jobs are * returned. *

    * @see TranscriptionJobStatus @@ -108,8 +108,8 @@ public String getStatus() { /** *

    * Returns only transcription jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all transcription jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all transcription jobs are returned. *

    *

    * Constraints:
    @@ -118,7 +118,7 @@ public String getStatus() { * @param status

    * Returns only transcription jobs with the specified status. * Jobs are ordered by creation date, with the newest job first. - * If you don't include Status, all transcription + * If you do not include Status, all transcription * jobs are returned. *

    * @see TranscriptionJobStatus @@ -130,8 +130,8 @@ public void setStatus(String status) { /** *

    * Returns only transcription jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all transcription jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all transcription jobs are returned. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -143,7 +143,7 @@ public void setStatus(String status) { * @param status

    * Returns only transcription jobs with the specified status. * Jobs are ordered by creation date, with the newest job first. - * If you don't include Status, all transcription + * If you do not include Status, all transcription * jobs are returned. *

    * @return A reference to this updated object so that method calls can be @@ -158,8 +158,8 @@ public ListTranscriptionJobsRequest withStatus(String status) { /** *

    * Returns only transcription jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all transcription jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all transcription jobs are returned. *

    *

    * Constraints:
    @@ -168,7 +168,7 @@ public ListTranscriptionJobsRequest withStatus(String status) { * @param status

    * Returns only transcription jobs with the specified status. * Jobs are ordered by creation date, with the newest job first. - * If you don't include Status, all transcription + * If you do not include Status, all transcription * jobs are returned. *

    * @see TranscriptionJobStatus @@ -180,8 +180,8 @@ public void setStatus(TranscriptionJobStatus status) { /** *

    * Returns only transcription jobs with the specified status. Jobs are - * ordered by creation date, with the newest job first. If you don't include - * Status, all transcription jobs are returned. + * ordered by creation date, with the newest job first. If you do not + * include Status, all transcription jobs are returned. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -193,7 +193,7 @@ public void setStatus(TranscriptionJobStatus status) { * @param status

    * Returns only transcription jobs with the specified status. * Jobs are ordered by creation date, with the newest job first. - * If you don't include Status, all transcription + * If you do not include Status, all transcription * jobs are returned. *

    * @return A reference to this updated object so that method calls can be @@ -359,7 +359,7 @@ public ListTranscriptionJobsRequest withNextToken(String nextToken) { *

    * The maximum number of transcription jobs to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -369,7 +369,7 @@ public ListTranscriptionJobsRequest withNextToken(String nextToken) { * @return

    * The maximum number of transcription jobs to return in each page * of results. If there are fewer results than the value that you - * specify, only the actual results are returned. If you don't + * specify, only the actual results are returned. If you do not * specify a value, a default of 5 is used. *

    */ @@ -381,7 +381,7 @@ public Integer getMaxResults() { *

    * The maximum number of transcription jobs to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -392,7 +392,7 @@ public Integer getMaxResults() { * The maximum number of transcription jobs to return in each * page of results. If there are fewer results than the value * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * do not specify a value, a default of 5 is used. *

    */ public void setMaxResults(Integer maxResults) { @@ -403,7 +403,7 @@ public void setMaxResults(Integer maxResults) { *

    * The maximum number of transcription jobs to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -417,7 +417,7 @@ public void setMaxResults(Integer maxResults) { * The maximum number of transcription jobs to return in each * page of results. If there are fewer results than the value * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * do not specify a value, a default of 5 is used. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTranscriptionJobsResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTranscriptionJobsResult.java index 3479947181..aad33dc63c 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTranscriptionJobsResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListTranscriptionJobsResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabulariesRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabulariesRequest.java index deafc6590c..451c1a0d40 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabulariesRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabulariesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -49,7 +49,7 @@ public class ListVocabulariesRequest extends AmazonWebServiceRequest implements *

    * The maximum number of custom vocabularies to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -61,9 +61,9 @@ public class ListVocabulariesRequest extends AmazonWebServiceRequest implements /** *

    * Returns only custom vocabularies with the specified state. Vocabularies - * are ordered by creation date, with the newest vocabulary first. If you - * don't include StateEquals, all custom medical vocabularies - * are returned. + * are ordered by creation date, with the newest vocabulary first. If you do + * not include StateEquals, all custom medical vocabularies are + * returned. *

    *

    * Constraints:
    @@ -171,7 +171,7 @@ public ListVocabulariesRequest withNextToken(String nextToken) { *

    * The maximum number of custom vocabularies to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -181,7 +181,7 @@ public ListVocabulariesRequest withNextToken(String nextToken) { * @return

    * The maximum number of custom vocabularies to return in each page * of results. If there are fewer results than the value that you - * specify, only the actual results are returned. If you don't + * specify, only the actual results are returned. If you do not * specify a value, a default of 5 is used. *

    */ @@ -193,7 +193,7 @@ public Integer getMaxResults() { *

    * The maximum number of custom vocabularies to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -204,7 +204,7 @@ public Integer getMaxResults() { * The maximum number of custom vocabularies to return in each * page of results. If there are fewer results than the value * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * do not specify a value, a default of 5 is used. *

    */ public void setMaxResults(Integer maxResults) { @@ -215,7 +215,7 @@ public void setMaxResults(Integer maxResults) { *

    * The maximum number of custom vocabularies to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -229,7 +229,7 @@ public void setMaxResults(Integer maxResults) { * The maximum number of custom vocabularies to return in each * page of results. If there are fewer results than the value * that you specify, only the actual results are returned. If you - * don't specify a value, a default of 5 is used. + * do not specify a value, a default of 5 is used. *

    * @return A reference to this updated object so that method calls can be * chained together. @@ -242,9 +242,9 @@ public ListVocabulariesRequest withMaxResults(Integer maxResults) { /** *

    * Returns only custom vocabularies with the specified state. Vocabularies - * are ordered by creation date, with the newest vocabulary first. If you - * don't include StateEquals, all custom medical vocabularies - * are returned. + * are ordered by creation date, with the newest vocabulary first. If you do + * not include StateEquals, all custom medical vocabularies are + * returned. *

    *

    * Constraints:
    @@ -253,7 +253,7 @@ public ListVocabulariesRequest withMaxResults(Integer maxResults) { * @return

    * Returns only custom vocabularies with the specified state. * Vocabularies are ordered by creation date, with the newest - * vocabulary first. If you don't include StateEquals, + * vocabulary first. If you do not include StateEquals, * all custom medical vocabularies are returned. *

    * @see VocabularyState @@ -265,9 +265,9 @@ public String getStateEquals() { /** *

    * Returns only custom vocabularies with the specified state. Vocabularies - * are ordered by creation date, with the newest vocabulary first. If you - * don't include StateEquals, all custom medical vocabularies - * are returned. + * are ordered by creation date, with the newest vocabulary first. If you do + * not include StateEquals, all custom medical vocabularies are + * returned. *

    *

    * Constraints:
    @@ -276,7 +276,7 @@ public String getStateEquals() { * @param stateEquals

    * Returns only custom vocabularies with the specified state. * Vocabularies are ordered by creation date, with the newest - * vocabulary first. If you don't include + * vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    @@ -289,9 +289,9 @@ public void setStateEquals(String stateEquals) { /** *

    * Returns only custom vocabularies with the specified state. Vocabularies - * are ordered by creation date, with the newest vocabulary first. If you - * don't include StateEquals, all custom medical vocabularies - * are returned. + * are ordered by creation date, with the newest vocabulary first. If you do + * not include StateEquals, all custom medical vocabularies are + * returned. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -303,7 +303,7 @@ public void setStateEquals(String stateEquals) { * @param stateEquals

    * Returns only custom vocabularies with the specified state. * Vocabularies are ordered by creation date, with the newest - * vocabulary first. If you don't include + * vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    @@ -319,9 +319,9 @@ public ListVocabulariesRequest withStateEquals(String stateEquals) { /** *

    * Returns only custom vocabularies with the specified state. Vocabularies - * are ordered by creation date, with the newest vocabulary first. If you - * don't include StateEquals, all custom medical vocabularies - * are returned. + * are ordered by creation date, with the newest vocabulary first. If you do + * not include StateEquals, all custom medical vocabularies are + * returned. *

    *

    * Constraints:
    @@ -330,7 +330,7 @@ public ListVocabulariesRequest withStateEquals(String stateEquals) { * @param stateEquals

    * Returns only custom vocabularies with the specified state. * Vocabularies are ordered by creation date, with the newest - * vocabulary first. If you don't include + * vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    @@ -343,9 +343,9 @@ public void setStateEquals(VocabularyState stateEquals) { /** *

    * Returns only custom vocabularies with the specified state. Vocabularies - * are ordered by creation date, with the newest vocabulary first. If you - * don't include StateEquals, all custom medical vocabularies - * are returned. + * are ordered by creation date, with the newest vocabulary first. If you do + * not include StateEquals, all custom medical vocabularies are + * returned. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -357,7 +357,7 @@ public void setStateEquals(VocabularyState stateEquals) { * @param stateEquals

    * Returns only custom vocabularies with the specified state. * Vocabularies are ordered by creation date, with the newest - * vocabulary first. If you don't include + * vocabulary first. If you do not include * StateEquals, all custom medical vocabularies are * returned. *

    diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabulariesResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabulariesResult.java index d0cac8c28d..b0a41de30d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabulariesResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabulariesResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabularyFiltersRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabularyFiltersRequest.java index 2fa379fb6c..f53f0d7d19 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabularyFiltersRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabularyFiltersRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -50,7 +50,7 @@ public class ListVocabularyFiltersRequest extends AmazonWebServiceRequest implem *

    * The maximum number of custom vocabulary filters to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -162,7 +162,7 @@ public ListVocabularyFiltersRequest withNextToken(String nextToken) { *

    * The maximum number of custom vocabulary filters to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -172,7 +172,7 @@ public ListVocabularyFiltersRequest withNextToken(String nextToken) { * @return

    * The maximum number of custom vocabulary filters to return in each * page of results. If there are fewer results than the value that - * you specify, only the actual results are returned. If you don't + * you specify, only the actual results are returned. If you do not * specify a value, a default of 5 is used. *

    */ @@ -184,7 +184,7 @@ public Integer getMaxResults() { *

    * The maximum number of custom vocabulary filters to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -195,7 +195,7 @@ public Integer getMaxResults() { * The maximum number of custom vocabulary filters to return in * each page of results. If there are fewer results than the * value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used. + * If you do not specify a value, a default of 5 is used. *

    */ public void setMaxResults(Integer maxResults) { @@ -206,7 +206,7 @@ public void setMaxResults(Integer maxResults) { *

    * The maximum number of custom vocabulary filters to return in each page of * results. If there are fewer results than the value that you specify, only - * the actual results are returned. If you don't specify a value, a default + * the actual results are returned. If you do not specify a value, a default * of 5 is used. *

    *

    @@ -220,7 +220,7 @@ public void setMaxResults(Integer maxResults) { * The maximum number of custom vocabulary filters to return in * each page of results. If there are fewer results than the * value that you specify, only the actual results are returned. - * If you don't specify a value, a default of 5 is used. + * If you do not specify a value, a default of 5 is used. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabularyFiltersResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabularyFiltersResult.java index a754e0fea9..1e3cd856a9 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabularyFiltersResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ListVocabularyFiltersResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Media.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Media.java index 4f3120dabe..de827e1cc8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Media.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Media.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -23,9 +23,8 @@ * request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MediaFormat.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MediaFormat.java index b3384afa92..1cc6acf9c3 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MediaFormat.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MediaFormat.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -29,7 +29,8 @@ public enum MediaFormat { Flac("flac"), Ogg("ogg"), Amr("amr"), - Webm("webm"); + Webm("webm"), + M4a("m4a"); private String value; @@ -52,6 +53,7 @@ public String toString() { enumMap.put("ogg", Ogg); enumMap.put("amr", Amr); enumMap.put("webm", Webm); + enumMap.put("m4a", M4a); } /** diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalContentIdentificationType.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalContentIdentificationType.java index d9cf4ce836..9957856f7b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalContentIdentificationType.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalContentIdentificationType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeChannelDefinition.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeChannelDefinition.java new file mode 100644 index 0000000000..45f71d2345 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeChannelDefinition.java @@ -0,0 +1,263 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +/** + *

    + * Indicates which speaker is on which channel. The options are + * CLINICIAN and PATIENT + *

    + */ +public class MedicalScribeChannelDefinition implements Serializable { + /** + *

    + * Specify the audio channel you want to define. + *

    + *

    + * Constraints:
    + * Range: 0 - 1
    + */ + private Integer channelId; + + /** + *

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + *

    + * Constraints:
    + * Allowed Values: PATIENT, CLINICIAN + */ + private String participantRole; + + /** + *

    + * Specify the audio channel you want to define. + *

    + *

    + * Constraints:
    + * Range: 0 - 1
    + * + * @return

    + * Specify the audio channel you want to define. + *

    + */ + public Integer getChannelId() { + return channelId; + } + + /** + *

    + * Specify the audio channel you want to define. + *

    + *

    + * Constraints:
    + * Range: 0 - 1
    + * + * @param channelId

    + * Specify the audio channel you want to define. + *

    + */ + public void setChannelId(Integer channelId) { + this.channelId = channelId; + } + + /** + *

    + * Specify the audio channel you want to define. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Range: 0 - 1
    + * + * @param channelId

    + * Specify the audio channel you want to define. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeChannelDefinition withChannelId(Integer channelId) { + this.channelId = channelId; + return this; + } + + /** + *

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + *

    + * Constraints:
    + * Allowed Values: PATIENT, CLINICIAN + * + * @return

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + * @see MedicalScribeParticipantRole + */ + public String getParticipantRole() { + return participantRole; + } + + /** + *

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + *

    + * Constraints:
    + * Allowed Values: PATIENT, CLINICIAN + * + * @param participantRole

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + * @see MedicalScribeParticipantRole + */ + public void setParticipantRole(String participantRole) { + this.participantRole = participantRole; + } + + /** + *

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: PATIENT, CLINICIAN + * + * @param participantRole

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeParticipantRole + */ + public MedicalScribeChannelDefinition withParticipantRole(String participantRole) { + this.participantRole = participantRole; + return this; + } + + /** + *

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + *

    + * Constraints:
    + * Allowed Values: PATIENT, CLINICIAN + * + * @param participantRole

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + * @see MedicalScribeParticipantRole + */ + public void setParticipantRole(MedicalScribeParticipantRole participantRole) { + this.participantRole = participantRole.toString(); + } + + /** + *

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: PATIENT, CLINICIAN + * + * @param participantRole

    + * Specify the participant that you want to flag. The options are + * CLINICIAN and PATIENT + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeParticipantRole + */ + public MedicalScribeChannelDefinition withParticipantRole( + MedicalScribeParticipantRole participantRole) { + this.participantRole = participantRole.toString(); + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getChannelId() != null) + sb.append("ChannelId: " + getChannelId() + ","); + if (getParticipantRole() != null) + sb.append("ParticipantRole: " + getParticipantRole()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + ((getChannelId() == null) ? 0 : getChannelId().hashCode()); + hashCode = prime * hashCode + + ((getParticipantRole() == null) ? 0 : getParticipantRole().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MedicalScribeChannelDefinition == false) + return false; + MedicalScribeChannelDefinition other = (MedicalScribeChannelDefinition) obj; + + if (other.getChannelId() == null ^ this.getChannelId() == null) + return false; + if (other.getChannelId() != null + && other.getChannelId().equals(this.getChannelId()) == false) + return false; + if (other.getParticipantRole() == null ^ this.getParticipantRole() == null) + return false; + if (other.getParticipantRole() != null + && other.getParticipantRole().equals(this.getParticipantRole()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJob.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJob.java new file mode 100644 index 0000000000..d0f031c429 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJob.java @@ -0,0 +1,1749 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +/** + *

    + * Provides detailed information about a Medical Scribe job. + *

    + *

    + * To view the status of the specified Medical Scribe job, check the + * MedicalScribeJobStatus field. If the status is + * COMPLETED, the job is finished and you can find the results at + * the locations specified in MedicalScribeOutput. If the status is + * FAILED, FailureReason provides details on why your + * Medical Scribe job failed. + *

    + */ +public class MedicalScribeJob implements Serializable { + /** + *

    + * The name of the Medical Scribe job. Job names are case sensitive and must + * be unique within an Amazon Web Services account. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + */ + private String medicalScribeJobName; + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + */ + private String medicalScribeJobStatus; + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Constraints:
    + * Allowed Values: en-US + */ + private String languageCode; + + /** + *

    + * Describes the Amazon S3 location of the media file you want to use in + * your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + */ + private Media media; + + /** + *

    + * The location of the output of your Medical Scribe job. + * ClinicalDocumentUri holds the Amazon S3 URI for the Clinical + * Document and TranscriptFileUri holds the Amazon S3 URI for + * the Transcript. + *

    + */ + private MedicalScribeOutput medicalScribeOutput; + + /** + *

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + */ + private java.util.Date startTime; + + /** + *

    + * The date and time the specified Medical Scribe job request was made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + */ + private java.util.Date creationTime; + + /** + *

    + * The date and time the specified Medical Scribe job finished processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that finished processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + */ + private java.util.Date completionTime; + + /** + *

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + */ + private String failureReason; + + /** + *

    + * Makes it possible to control how your Medical Scribe job is processed + * using a MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions + * are not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, MaxSpeakerLabels must + * also be set. Use Settings to specify a vocabulary or + * vocabulary filter or both using VocabularyName, + * VocabularyFilterName. VocabularyFilterMethod + * must be specified if VocabularyFilterName is set. + *

    + */ + private MedicalScribeSettings settings; + + /** + *

    + * The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, write to the + * output bucket, and use your KMS key if supplied. If the role that you + * specify doesn’t have the appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. For + * example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam:: + * [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
    + */ + private String dataAccessRoleArn; + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + */ + private java.util.List channelDefinitions; + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + */ + private java.util.List tags; + + /** + *

    + * The name of the Medical Scribe job. Job names are case sensitive and must + * be unique within an Amazon Web Services account. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @return

    + * The name of the Medical Scribe job. Job names are case sensitive + * and must be unique within an Amazon Web Services account. + *

    + */ + public String getMedicalScribeJobName() { + return medicalScribeJobName; + } + + /** + *

    + * The name of the Medical Scribe job. Job names are case sensitive and must + * be unique within an Amazon Web Services account. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * The name of the Medical Scribe job. Job names are case + * sensitive and must be unique within an Amazon Web Services + * account. + *

    + */ + public void setMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + } + + /** + *

    + * The name of the Medical Scribe job. Job names are case sensitive and must + * be unique within an Amazon Web Services account. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * The name of the Medical Scribe job. Job names are case + * sensitive and must be unique within an Amazon Web Services + * account. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + return this; + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @return

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and + * you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides details + * on why your Medical Scribe job failed. + *

    + * @see MedicalScribeJobStatus + */ + public String getMedicalScribeJobStatus() { + return medicalScribeJobStatus; + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param medicalScribeJobStatus

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished + * and you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides + * details on why your Medical Scribe job failed. + *

    + * @see MedicalScribeJobStatus + */ + public void setMedicalScribeJobStatus(String medicalScribeJobStatus) { + this.medicalScribeJobStatus = medicalScribeJobStatus; + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param medicalScribeJobStatus

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished + * and you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides + * details on why your Medical Scribe job failed. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeJobStatus + */ + public MedicalScribeJob withMedicalScribeJobStatus(String medicalScribeJobStatus) { + this.medicalScribeJobStatus = medicalScribeJobStatus; + return this; + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param medicalScribeJobStatus

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished + * and you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides + * details on why your Medical Scribe job failed. + *

    + * @see MedicalScribeJobStatus + */ + public void setMedicalScribeJobStatus(MedicalScribeJobStatus medicalScribeJobStatus) { + this.medicalScribeJobStatus = medicalScribeJobStatus.toString(); + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param medicalScribeJobStatus

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished + * and you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides + * details on why your Medical Scribe job failed. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeJobStatus + */ + public MedicalScribeJob withMedicalScribeJobStatus(MedicalScribeJobStatus medicalScribeJobStatus) { + this.medicalScribeJobStatus = medicalScribeJobStatus.toString(); + return this; + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @return

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language for + * Medical Scribe jobs. + *

    + * @see MedicalScribeLanguageCode + */ + public String getLanguageCode() { + return languageCode; + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @param languageCode

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language + * for Medical Scribe jobs. + *

    + * @see MedicalScribeLanguageCode + */ + public void setLanguageCode(String languageCode) { + this.languageCode = languageCode; + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @param languageCode

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language + * for Medical Scribe jobs. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeLanguageCode + */ + public MedicalScribeJob withLanguageCode(String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @param languageCode

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language + * for Medical Scribe jobs. + *

    + * @see MedicalScribeLanguageCode + */ + public void setLanguageCode(MedicalScribeLanguageCode languageCode) { + this.languageCode = languageCode.toString(); + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @param languageCode

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language + * for Medical Scribe jobs. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeLanguageCode + */ + public MedicalScribeJob withLanguageCode(MedicalScribeLanguageCode languageCode) { + this.languageCode = languageCode.toString(); + return this; + } + + /** + *

    + * Describes the Amazon S3 location of the media file you want to use in + * your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + * + * @return

    + * Describes the Amazon S3 location of the media file you want to + * use in your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + */ + public Media getMedia() { + return media; + } + + /** + *

    + * Describes the Amazon S3 location of the media file you want to use in + * your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + * + * @param media

    + * Describes the Amazon S3 location of the media file you want to + * use in your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + */ + public void setMedia(Media media) { + this.media = media; + } + + /** + *

    + * Describes the Amazon S3 location of the media file you want to use in + * your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param media

    + * Describes the Amazon S3 location of the media file you want to + * use in your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withMedia(Media media) { + this.media = media; + return this; + } + + /** + *

    + * The location of the output of your Medical Scribe job. + * ClinicalDocumentUri holds the Amazon S3 URI for the Clinical + * Document and TranscriptFileUri holds the Amazon S3 URI for + * the Transcript. + *

    + * + * @return

    + * The location of the output of your Medical Scribe job. + * ClinicalDocumentUri holds the Amazon S3 URI for the + * Clinical Document and TranscriptFileUri holds the + * Amazon S3 URI for the Transcript. + *

    + */ + public MedicalScribeOutput getMedicalScribeOutput() { + return medicalScribeOutput; + } + + /** + *

    + * The location of the output of your Medical Scribe job. + * ClinicalDocumentUri holds the Amazon S3 URI for the Clinical + * Document and TranscriptFileUri holds the Amazon S3 URI for + * the Transcript. + *

    + * + * @param medicalScribeOutput

    + * The location of the output of your Medical Scribe job. + * ClinicalDocumentUri holds the Amazon S3 URI for + * the Clinical Document and TranscriptFileUri holds + * the Amazon S3 URI for the Transcript. + *

    + */ + public void setMedicalScribeOutput(MedicalScribeOutput medicalScribeOutput) { + this.medicalScribeOutput = medicalScribeOutput; + } + + /** + *

    + * The location of the output of your Medical Scribe job. + * ClinicalDocumentUri holds the Amazon S3 URI for the Clinical + * Document and TranscriptFileUri holds the Amazon S3 URI for + * the Transcript. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param medicalScribeOutput

    + * The location of the output of your Medical Scribe job. + * ClinicalDocumentUri holds the Amazon S3 URI for + * the Clinical Document and TranscriptFileUri holds + * the Amazon S3 URI for the Transcript. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withMedicalScribeOutput(MedicalScribeOutput medicalScribeOutput) { + this.medicalScribeOutput = medicalScribeOutput; + return this; + } + + /** + *

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @return

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 on + * May 4, 2022. + *

    + */ + public java.util.Date getStartTime() { + return startTime; + } + + /** + *

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @param startTime

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + */ + public void setStartTime(java.util.Date startTime) { + this.startTime = startTime; + } + + /** + *

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param startTime

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withStartTime(java.util.Date startTime) { + this.startTime = startTime; + return this; + } + + /** + *

    + * The date and time the specified Medical Scribe job request was made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @return

    + * The date and time the specified Medical Scribe job request was + * made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 on + * May 4, 2022. + *

    + */ + public java.util.Date getCreationTime() { + return creationTime; + } + + /** + *

    + * The date and time the specified Medical Scribe job request was made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @param creationTime

    + * The date and time the specified Medical Scribe job request was + * made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + */ + public void setCreationTime(java.util.Date creationTime) { + this.creationTime = creationTime; + } + + /** + *

    + * The date and time the specified Medical Scribe job request was made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param creationTime

    + * The date and time the specified Medical Scribe job request was + * made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withCreationTime(java.util.Date creationTime) { + this.creationTime = creationTime; + return this; + } + + /** + *

    + * The date and time the specified Medical Scribe job finished processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that finished processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @return

    + * The date and time the specified Medical Scribe job finished + * processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that finished processing at 12:32 PM UTC-7 on + * May 4, 2022. + *

    + */ + public java.util.Date getCompletionTime() { + return completionTime; + } + + /** + *

    + * The date and time the specified Medical Scribe job finished processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that finished processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @param completionTime

    + * The date and time the specified Medical Scribe job finished + * processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that finished processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + */ + public void setCompletionTime(java.util.Date completionTime) { + this.completionTime = completionTime; + } + + /** + *

    + * The date and time the specified Medical Scribe job finished processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that finished processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param completionTime

    + * The date and time the specified Medical Scribe job finished + * processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that finished processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withCompletionTime(java.util.Date completionTime) { + this.completionTime = completionTime; + return this; + } + + /** + *

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + * + * @return

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + */ + public String getFailureReason() { + return failureReason; + } + + /** + *

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + * + * @param failureReason

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + */ + public void setFailureReason(String failureReason) { + this.failureReason = failureReason; + } + + /** + *

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param failureReason

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withFailureReason(String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + *

    + * Makes it possible to control how your Medical Scribe job is processed + * using a MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions + * are not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, MaxSpeakerLabels must + * also be set. Use Settings to specify a vocabulary or + * vocabulary filter or both using VocabularyName, + * VocabularyFilterName. VocabularyFilterMethod + * must be specified if VocabularyFilterName is set. + *

    + * + * @return

    + * Makes it possible to control how your Medical Scribe job is + * processed using a MedicalScribeSettings object. + * Specify ChannelIdentification if + * ChannelDefinitions are set. Enabled + * ShowSpeakerLabels if + * ChannelIdentification and + * ChannelDefinitions are not set. One and only one of + * ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, + * MaxSpeakerLabels must also be set. Use + * Settings to specify a vocabulary or vocabulary + * filter or both using VocabularyName, + * VocabularyFilterName. + * VocabularyFilterMethod must be specified if + * VocabularyFilterName is set. + *

    + */ + public MedicalScribeSettings getSettings() { + return settings; + } + + /** + *

    + * Makes it possible to control how your Medical Scribe job is processed + * using a MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions + * are not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, MaxSpeakerLabels must + * also be set. Use Settings to specify a vocabulary or + * vocabulary filter or both using VocabularyName, + * VocabularyFilterName. VocabularyFilterMethod + * must be specified if VocabularyFilterName is set. + *

    + * + * @param settings

    + * Makes it possible to control how your Medical Scribe job is + * processed using a MedicalScribeSettings object. + * Specify ChannelIdentification if + * ChannelDefinitions are set. Enabled + * ShowSpeakerLabels if + * ChannelIdentification and + * ChannelDefinitions are not set. One and only one + * of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, + * MaxSpeakerLabels must also be set. Use + * Settings to specify a vocabulary or vocabulary + * filter or both using VocabularyName, + * VocabularyFilterName. + * VocabularyFilterMethod must be specified if + * VocabularyFilterName is set. + *

    + */ + public void setSettings(MedicalScribeSettings settings) { + this.settings = settings; + } + + /** + *

    + * Makes it possible to control how your Medical Scribe job is processed + * using a MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions + * are not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, MaxSpeakerLabels must + * also be set. Use Settings to specify a vocabulary or + * vocabulary filter or both using VocabularyName, + * VocabularyFilterName. VocabularyFilterMethod + * must be specified if VocabularyFilterName is set. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param settings

    + * Makes it possible to control how your Medical Scribe job is + * processed using a MedicalScribeSettings object. + * Specify ChannelIdentification if + * ChannelDefinitions are set. Enabled + * ShowSpeakerLabels if + * ChannelIdentification and + * ChannelDefinitions are not set. One and only one + * of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, + * MaxSpeakerLabels must also be set. Use + * Settings to specify a vocabulary or vocabulary + * filter or both using VocabularyName, + * VocabularyFilterName. + * VocabularyFilterMethod must be specified if + * VocabularyFilterName is set. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withSettings(MedicalScribeSettings settings) { + this.settings = settings; + return this; + } + + /** + *

    + * The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, write to the + * output bucket, and use your KMS key if supplied. If the role that you + * specify doesn’t have the appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. For + * example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam:: + * [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
    + * + * @return

    + * The Amazon Resource Name (ARN) of an IAM role that has + * permissions to access the Amazon S3 bucket that contains your + * input files, write to the output bucket, and use your KMS key if + * supplied. If the role that you specify doesn’t have the + * appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. + * For example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + */ + public String getDataAccessRoleArn() { + return dataAccessRoleArn; + } + + /** + *

    + * The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, write to the + * output bucket, and use your KMS key if supplied. If the role that you + * specify doesn’t have the appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. For + * example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam:: + * [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
    + * + * @param dataAccessRoleArn

    + * The Amazon Resource Name (ARN) of an IAM role that has + * permissions to access the Amazon S3 bucket that contains your + * input files, write to the output bucket, and use your KMS key + * if supplied. If the role that you specify doesn’t have the + * appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path + * . For example: + * arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + */ + public void setDataAccessRoleArn(String dataAccessRoleArn) { + this.dataAccessRoleArn = dataAccessRoleArn; + } + + /** + *

    + * The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, write to the + * output bucket, and use your KMS key if supplied. If the role that you + * specify doesn’t have the appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. For + * example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam:: + * [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
    + * + * @param dataAccessRoleArn

    + * The Amazon Resource Name (ARN) of an IAM role that has + * permissions to access the Amazon S3 bucket that contains your + * input files, write to the output bucket, and use your KMS key + * if supplied. If the role that you specify doesn’t have the + * appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path + * . For example: + * arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withDataAccessRoleArn(String dataAccessRoleArn) { + this.dataAccessRoleArn = dataAccessRoleArn; + return this; + } + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + * + * @return

    + * Makes it possible to specify which speaker is on which channel. + * For example, if the clinician is the first participant to speak, + * you would set ChannelId of the first + * ChannelDefinition in the list to 0 (to + * indicate the first channel) and ParticipantRole to + * CLINICIAN (to indicate that it's the clinician + * speaking). Then you would set the ChannelId of the + * second ChannelDefinition in the list to + * 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate + * that it's the patient speaking). + *

    + */ + public java.util.List getChannelDefinitions() { + return channelDefinitions; + } + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + * + * @param channelDefinitions

    + * Makes it possible to specify which speaker is on which + * channel. For example, if the clinician is the first + * participant to speak, you would set ChannelId of + * the first ChannelDefinition in the list to + * 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to + * indicate that it's the clinician speaking). Then you would set + * the ChannelId of the second + * ChannelDefinition in the list to 1 + * (to indicate the second channel) and + * ParticipantRole to PATIENT (to + * indicate that it's the patient speaking). + *

    + */ + public void setChannelDefinitions( + java.util.Collection channelDefinitions) { + if (channelDefinitions == null) { + this.channelDefinitions = null; + return; + } + + this.channelDefinitions = new java.util.ArrayList( + channelDefinitions); + } + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param channelDefinitions

    + * Makes it possible to specify which speaker is on which + * channel. For example, if the clinician is the first + * participant to speak, you would set ChannelId of + * the first ChannelDefinition in the list to + * 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to + * indicate that it's the clinician speaking). Then you would set + * the ChannelId of the second + * ChannelDefinition in the list to 1 + * (to indicate the second channel) and + * ParticipantRole to PATIENT (to + * indicate that it's the patient speaking). + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withChannelDefinitions( + MedicalScribeChannelDefinition... channelDefinitions) { + if (getChannelDefinitions() == null) { + this.channelDefinitions = new java.util.ArrayList( + channelDefinitions.length); + } + for (MedicalScribeChannelDefinition value : channelDefinitions) { + this.channelDefinitions.add(value); + } + return this; + } + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param channelDefinitions

    + * Makes it possible to specify which speaker is on which + * channel. For example, if the clinician is the first + * participant to speak, you would set ChannelId of + * the first ChannelDefinition in the list to + * 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to + * indicate that it's the clinician speaking). Then you would set + * the ChannelId of the second + * ChannelDefinition in the list to 1 + * (to indicate the second channel) and + * ParticipantRole to PATIENT (to + * indicate that it's the patient speaking). + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withChannelDefinitions( + java.util.Collection channelDefinitions) { + setChannelDefinitions(channelDefinitions); + return this; + } + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + * + * @return

    + * Adds one or more custom tags, each in the form of a key:value + * pair, to the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to + * Tagging resources. + *

    + */ + public java.util.List getTags() { + return tags; + } + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + * + * @param tags

    + * Adds one or more custom tags, each in the form of a key:value + * pair, to the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer + * to Tagging resources. + *

    + */ + public void setTags(java.util.Collection tags) { + if (tags == null) { + this.tags = null; + return; + } + + this.tags = new java.util.ArrayList(tags); + } + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param tags

    + * Adds one or more custom tags, each in the form of a key:value + * pair, to the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer + * to Tagging resources. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withTags(Tag... tags) { + if (getTags() == null) { + this.tags = new java.util.ArrayList(tags.length); + } + for (Tag value : tags) { + this.tags.add(value); + } + return this; + } + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param tags

    + * Adds one or more custom tags, each in the form of a key:value + * pair, to the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer + * to Tagging resources. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJob withTags(java.util.Collection tags) { + setTags(tags); + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getMedicalScribeJobName() != null) + sb.append("MedicalScribeJobName: " + getMedicalScribeJobName() + ","); + if (getMedicalScribeJobStatus() != null) + sb.append("MedicalScribeJobStatus: " + getMedicalScribeJobStatus() + ","); + if (getLanguageCode() != null) + sb.append("LanguageCode: " + getLanguageCode() + ","); + if (getMedia() != null) + sb.append("Media: " + getMedia() + ","); + if (getMedicalScribeOutput() != null) + sb.append("MedicalScribeOutput: " + getMedicalScribeOutput() + ","); + if (getStartTime() != null) + sb.append("StartTime: " + getStartTime() + ","); + if (getCreationTime() != null) + sb.append("CreationTime: " + getCreationTime() + ","); + if (getCompletionTime() != null) + sb.append("CompletionTime: " + getCompletionTime() + ","); + if (getFailureReason() != null) + sb.append("FailureReason: " + getFailureReason() + ","); + if (getSettings() != null) + sb.append("Settings: " + getSettings() + ","); + if (getDataAccessRoleArn() != null) + sb.append("DataAccessRoleArn: " + getDataAccessRoleArn() + ","); + if (getChannelDefinitions() != null) + sb.append("ChannelDefinitions: " + getChannelDefinitions() + ","); + if (getTags() != null) + sb.append("Tags: " + getTags()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getMedicalScribeJobName() == null) ? 0 : getMedicalScribeJobName().hashCode()); + hashCode = prime + * hashCode + + ((getMedicalScribeJobStatus() == null) ? 0 : getMedicalScribeJobStatus() + .hashCode()); + hashCode = prime * hashCode + + ((getLanguageCode() == null) ? 0 : getLanguageCode().hashCode()); + hashCode = prime * hashCode + ((getMedia() == null) ? 0 : getMedia().hashCode()); + hashCode = prime * hashCode + + ((getMedicalScribeOutput() == null) ? 0 : getMedicalScribeOutput().hashCode()); + hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); + hashCode = prime * hashCode + + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); + hashCode = prime * hashCode + + ((getCompletionTime() == null) ? 0 : getCompletionTime().hashCode()); + hashCode = prime * hashCode + + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); + hashCode = prime * hashCode + ((getSettings() == null) ? 0 : getSettings().hashCode()); + hashCode = prime * hashCode + + ((getDataAccessRoleArn() == null) ? 0 : getDataAccessRoleArn().hashCode()); + hashCode = prime * hashCode + + ((getChannelDefinitions() == null) ? 0 : getChannelDefinitions().hashCode()); + hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MedicalScribeJob == false) + return false; + MedicalScribeJob other = (MedicalScribeJob) obj; + + if (other.getMedicalScribeJobName() == null ^ this.getMedicalScribeJobName() == null) + return false; + if (other.getMedicalScribeJobName() != null + && other.getMedicalScribeJobName().equals(this.getMedicalScribeJobName()) == false) + return false; + if (other.getMedicalScribeJobStatus() == null ^ this.getMedicalScribeJobStatus() == null) + return false; + if (other.getMedicalScribeJobStatus() != null + && other.getMedicalScribeJobStatus().equals(this.getMedicalScribeJobStatus()) == false) + return false; + if (other.getLanguageCode() == null ^ this.getLanguageCode() == null) + return false; + if (other.getLanguageCode() != null + && other.getLanguageCode().equals(this.getLanguageCode()) == false) + return false; + if (other.getMedia() == null ^ this.getMedia() == null) + return false; + if (other.getMedia() != null && other.getMedia().equals(this.getMedia()) == false) + return false; + if (other.getMedicalScribeOutput() == null ^ this.getMedicalScribeOutput() == null) + return false; + if (other.getMedicalScribeOutput() != null + && other.getMedicalScribeOutput().equals(this.getMedicalScribeOutput()) == false) + return false; + if (other.getStartTime() == null ^ this.getStartTime() == null) + return false; + if (other.getStartTime() != null + && other.getStartTime().equals(this.getStartTime()) == false) + return false; + if (other.getCreationTime() == null ^ this.getCreationTime() == null) + return false; + if (other.getCreationTime() != null + && other.getCreationTime().equals(this.getCreationTime()) == false) + return false; + if (other.getCompletionTime() == null ^ this.getCompletionTime() == null) + return false; + if (other.getCompletionTime() != null + && other.getCompletionTime().equals(this.getCompletionTime()) == false) + return false; + if (other.getFailureReason() == null ^ this.getFailureReason() == null) + return false; + if (other.getFailureReason() != null + && other.getFailureReason().equals(this.getFailureReason()) == false) + return false; + if (other.getSettings() == null ^ this.getSettings() == null) + return false; + if (other.getSettings() != null && other.getSettings().equals(this.getSettings()) == false) + return false; + if (other.getDataAccessRoleArn() == null ^ this.getDataAccessRoleArn() == null) + return false; + if (other.getDataAccessRoleArn() != null + && other.getDataAccessRoleArn().equals(this.getDataAccessRoleArn()) == false) + return false; + if (other.getChannelDefinitions() == null ^ this.getChannelDefinitions() == null) + return false; + if (other.getChannelDefinitions() != null + && other.getChannelDefinitions().equals(this.getChannelDefinitions()) == false) + return false; + if (other.getTags() == null ^ this.getTags() == null) + return false; + if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJobStatus.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJobStatus.java new file mode 100644 index 0000000000..d6f1b8758d --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJobStatus.java @@ -0,0 +1,66 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Medical Scribe Job Status + */ +public enum MedicalScribeJobStatus { + + QUEUED("QUEUED"), + IN_PROGRESS("IN_PROGRESS"), + FAILED("FAILED"), + COMPLETED("COMPLETED"); + + private String value; + + private MedicalScribeJobStatus(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("QUEUED", QUEUED); + enumMap.put("IN_PROGRESS", IN_PROGRESS); + enumMap.put("FAILED", FAILED); + enumMap.put("COMPLETED", COMPLETED); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return MedicalScribeJobStatus corresponding to the value + */ + public static MedicalScribeJobStatus fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJobSummary.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJobSummary.java new file mode 100644 index 0000000000..3c32ee9838 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeJobSummary.java @@ -0,0 +1,894 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +/** + *

    + * Provides detailed information about a specific Medical Scribe job. + *

    + */ +public class MedicalScribeJobSummary implements Serializable { + /** + *

    + * The name of the Medical Scribe job. Job names are case sensitive and must + * be unique within an Amazon Web Services account. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + */ + private String medicalScribeJobName; + + /** + *

    + * The date and time the specified Medical Scribe job request was made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + */ + private java.util.Date creationTime; + + /** + *

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + */ + private java.util.Date startTime; + + /** + *

    + * The date and time the specified Medical Scribe job finished processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that finished processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + */ + private java.util.Date completionTime; + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Constraints:
    + * Allowed Values: en-US + */ + private String languageCode; + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + */ + private String medicalScribeJobStatus; + + /** + *

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + */ + private String failureReason; + + /** + *

    + * The name of the Medical Scribe job. Job names are case sensitive and must + * be unique within an Amazon Web Services account. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @return

    + * The name of the Medical Scribe job. Job names are case sensitive + * and must be unique within an Amazon Web Services account. + *

    + */ + public String getMedicalScribeJobName() { + return medicalScribeJobName; + } + + /** + *

    + * The name of the Medical Scribe job. Job names are case sensitive and must + * be unique within an Amazon Web Services account. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * The name of the Medical Scribe job. Job names are case + * sensitive and must be unique within an Amazon Web Services + * account. + *

    + */ + public void setMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + } + + /** + *

    + * The name of the Medical Scribe job. Job names are case sensitive and must + * be unique within an Amazon Web Services account. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * The name of the Medical Scribe job. Job names are case + * sensitive and must be unique within an Amazon Web Services + * account. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJobSummary withMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + return this; + } + + /** + *

    + * The date and time the specified Medical Scribe job request was made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @return

    + * The date and time the specified Medical Scribe job request was + * made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 on + * May 4, 2022. + *

    + */ + public java.util.Date getCreationTime() { + return creationTime; + } + + /** + *

    + * The date and time the specified Medical Scribe job request was made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @param creationTime

    + * The date and time the specified Medical Scribe job request was + * made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + */ + public void setCreationTime(java.util.Date creationTime) { + this.creationTime = creationTime; + } + + /** + *

    + * The date and time the specified Medical Scribe job request was made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param creationTime

    + * The date and time the specified Medical Scribe job request was + * made. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJobSummary withCreationTime(java.util.Date creationTime) { + this.creationTime = creationTime; + return this; + } + + /** + *

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @return

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 on + * May 4, 2022. + *

    + */ + public java.util.Date getStartTime() { + return startTime; + } + + /** + *

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @param startTime

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + */ + public void setStartTime(java.util.Date startTime) { + this.startTime = startTime; + } + + /** + *

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a Medical Scribe + * job that started processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param startTime

    + * The date and time your Medical Scribe job began processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.789000-07:00 represents a + * Medical Scribe job that started processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJobSummary withStartTime(java.util.Date startTime) { + this.startTime = startTime; + return this; + } + + /** + *

    + * The date and time the specified Medical Scribe job finished processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that finished processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @return

    + * The date and time the specified Medical Scribe job finished + * processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that finished processing at 12:32 PM UTC-7 on + * May 4, 2022. + *

    + */ + public java.util.Date getCompletionTime() { + return completionTime; + } + + /** + *

    + * The date and time the specified Medical Scribe job finished processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that finished processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + * + * @param completionTime

    + * The date and time the specified Medical Scribe job finished + * processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that finished processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + */ + public void setCompletionTime(java.util.Date completionTime) { + this.completionTime = completionTime; + } + + /** + *

    + * The date and time the specified Medical Scribe job finished processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a Medical Scribe + * job that finished processing at 12:32 PM UTC-7 on May 4, 2022. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param completionTime

    + * The date and time the specified Medical Scribe job finished + * processing. + *

    + *

    + * Timestamps are in the format + * YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, + * 2022-05-04T12:32:58.761000-07:00 represents a + * Medical Scribe job that finished processing at 12:32 PM UTC-7 + * on May 4, 2022. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJobSummary withCompletionTime(java.util.Date completionTime) { + this.completionTime = completionTime; + return this; + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @return

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language for + * Medical Scribe jobs. + *

    + * @see MedicalScribeLanguageCode + */ + public String getLanguageCode() { + return languageCode; + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @param languageCode

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language + * for Medical Scribe jobs. + *

    + * @see MedicalScribeLanguageCode + */ + public void setLanguageCode(String languageCode) { + this.languageCode = languageCode; + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @param languageCode

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language + * for Medical Scribe jobs. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeLanguageCode + */ + public MedicalScribeJobSummary withLanguageCode(String languageCode) { + this.languageCode = languageCode; + return this; + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @param languageCode

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language + * for Medical Scribe jobs. + *

    + * @see MedicalScribeLanguageCode + */ + public void setLanguageCode(MedicalScribeLanguageCode languageCode) { + this.languageCode = languageCode.toString(); + } + + /** + *

    + * The language code used to create your Medical Scribe job. US English ( + * en-US) is the only supported language for Medical Scribe + * jobs. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: en-US + * + * @param languageCode

    + * The language code used to create your Medical Scribe job. US + * English (en-US) is the only supported language + * for Medical Scribe jobs. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeLanguageCode + */ + public MedicalScribeJobSummary withLanguageCode(MedicalScribeLanguageCode languageCode) { + this.languageCode = languageCode.toString(); + return this; + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @return

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and + * you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides details + * on why your Medical Scribe job failed. + *

    + * @see MedicalScribeJobStatus + */ + public String getMedicalScribeJobStatus() { + return medicalScribeJobStatus; + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param medicalScribeJobStatus

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished + * and you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides + * details on why your Medical Scribe job failed. + *

    + * @see MedicalScribeJobStatus + */ + public void setMedicalScribeJobStatus(String medicalScribeJobStatus) { + this.medicalScribeJobStatus = medicalScribeJobStatus; + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param medicalScribeJobStatus

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished + * and you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides + * details on why your Medical Scribe job failed. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeJobStatus + */ + public MedicalScribeJobSummary withMedicalScribeJobStatus(String medicalScribeJobStatus) { + this.medicalScribeJobStatus = medicalScribeJobStatus; + return this; + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param medicalScribeJobStatus

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished + * and you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides + * details on why your Medical Scribe job failed. + *

    + * @see MedicalScribeJobStatus + */ + public void setMedicalScribeJobStatus(MedicalScribeJobStatus medicalScribeJobStatus) { + this.medicalScribeJobStatus = medicalScribeJobStatus.toString(); + } + + /** + *

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished and you can + * find the results at the location specified in + * MedicalScribeOutput If the status is FAILED, + * FailureReason provides details on why your Medical Scribe + * job failed. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED + * + * @param medicalScribeJobStatus

    + * Provides the status of the specified Medical Scribe job. + *

    + *

    + * If the status is COMPLETED, the job is finished + * and you can find the results at the location specified in + * MedicalScribeOutput If the status is + * FAILED, FailureReason provides + * details on why your Medical Scribe job failed. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see MedicalScribeJobStatus + */ + public MedicalScribeJobSummary withMedicalScribeJobStatus( + MedicalScribeJobStatus medicalScribeJobStatus) { + this.medicalScribeJobStatus = medicalScribeJobStatus.toString(); + return this; + } + + /** + *

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + * + * @return

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + */ + public String getFailureReason() { + return failureReason; + } + + /** + *

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + * + * @param failureReason

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + */ + public void setFailureReason(String failureReason) { + this.failureReason = failureReason; + } + + /** + *

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param failureReason

    + * If MedicalScribeJobStatus is FAILED, + * FailureReason contains information about why the + * transcription job failed. See also: Common Errors. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeJobSummary withFailureReason(String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getMedicalScribeJobName() != null) + sb.append("MedicalScribeJobName: " + getMedicalScribeJobName() + ","); + if (getCreationTime() != null) + sb.append("CreationTime: " + getCreationTime() + ","); + if (getStartTime() != null) + sb.append("StartTime: " + getStartTime() + ","); + if (getCompletionTime() != null) + sb.append("CompletionTime: " + getCompletionTime() + ","); + if (getLanguageCode() != null) + sb.append("LanguageCode: " + getLanguageCode() + ","); + if (getMedicalScribeJobStatus() != null) + sb.append("MedicalScribeJobStatus: " + getMedicalScribeJobStatus() + ","); + if (getFailureReason() != null) + sb.append("FailureReason: " + getFailureReason()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getMedicalScribeJobName() == null) ? 0 : getMedicalScribeJobName().hashCode()); + hashCode = prime * hashCode + + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); + hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); + hashCode = prime * hashCode + + ((getCompletionTime() == null) ? 0 : getCompletionTime().hashCode()); + hashCode = prime * hashCode + + ((getLanguageCode() == null) ? 0 : getLanguageCode().hashCode()); + hashCode = prime + * hashCode + + ((getMedicalScribeJobStatus() == null) ? 0 : getMedicalScribeJobStatus() + .hashCode()); + hashCode = prime * hashCode + + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MedicalScribeJobSummary == false) + return false; + MedicalScribeJobSummary other = (MedicalScribeJobSummary) obj; + + if (other.getMedicalScribeJobName() == null ^ this.getMedicalScribeJobName() == null) + return false; + if (other.getMedicalScribeJobName() != null + && other.getMedicalScribeJobName().equals(this.getMedicalScribeJobName()) == false) + return false; + if (other.getCreationTime() == null ^ this.getCreationTime() == null) + return false; + if (other.getCreationTime() != null + && other.getCreationTime().equals(this.getCreationTime()) == false) + return false; + if (other.getStartTime() == null ^ this.getStartTime() == null) + return false; + if (other.getStartTime() != null + && other.getStartTime().equals(this.getStartTime()) == false) + return false; + if (other.getCompletionTime() == null ^ this.getCompletionTime() == null) + return false; + if (other.getCompletionTime() != null + && other.getCompletionTime().equals(this.getCompletionTime()) == false) + return false; + if (other.getLanguageCode() == null ^ this.getLanguageCode() == null) + return false; + if (other.getLanguageCode() != null + && other.getLanguageCode().equals(this.getLanguageCode()) == false) + return false; + if (other.getMedicalScribeJobStatus() == null ^ this.getMedicalScribeJobStatus() == null) + return false; + if (other.getMedicalScribeJobStatus() != null + && other.getMedicalScribeJobStatus().equals(this.getMedicalScribeJobStatus()) == false) + return false; + if (other.getFailureReason() == null ^ this.getFailureReason() == null) + return false; + if (other.getFailureReason() != null + && other.getFailureReason().equals(this.getFailureReason()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeLanguageCode.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeLanguageCode.java new file mode 100644 index 0000000000..6aa0cfd969 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeLanguageCode.java @@ -0,0 +1,60 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Medical Scribe Language Code + */ +public enum MedicalScribeLanguageCode { + + EnUS("en-US"); + + private String value; + + private MedicalScribeLanguageCode(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("en-US", EnUS); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return MedicalScribeLanguageCode corresponding to the value + */ + public static MedicalScribeLanguageCode fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeOutput.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeOutput.java new file mode 100644 index 0000000000..f97e317f89 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeOutput.java @@ -0,0 +1,219 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +/** + *

    + * The location of the output of your Medical Scribe job. + * ClinicalDocumentUri holds the Amazon S3 URI for the Clinical + * Document and TranscriptFileUri holds the Amazon S3 URI for the + * Transcript. + *

    + */ +public class MedicalScribeOutput implements Serializable { + /** + *

    + * Holds the Amazon S3 URI for the Transcript. + *

    + *

    + * Constraints:
    + * Length: 1 - 2000
    + * Pattern: (s3://|http(s*)://).+
    + */ + private String transcriptFileUri; + + /** + *

    + * Holds the Amazon S3 URI for the Clinical Document. + *

    + *

    + * Constraints:
    + * Length: 1 - 2000
    + * Pattern: (s3://|http(s*)://).+
    + */ + private String clinicalDocumentUri; + + /** + *

    + * Holds the Amazon S3 URI for the Transcript. + *

    + *

    + * Constraints:
    + * Length: 1 - 2000
    + * Pattern: (s3://|http(s*)://).+
    + * + * @return

    + * Holds the Amazon S3 URI for the Transcript. + *

    + */ + public String getTranscriptFileUri() { + return transcriptFileUri; + } + + /** + *

    + * Holds the Amazon S3 URI for the Transcript. + *

    + *

    + * Constraints:
    + * Length: 1 - 2000
    + * Pattern: (s3://|http(s*)://).+
    + * + * @param transcriptFileUri

    + * Holds the Amazon S3 URI for the Transcript. + *

    + */ + public void setTranscriptFileUri(String transcriptFileUri) { + this.transcriptFileUri = transcriptFileUri; + } + + /** + *

    + * Holds the Amazon S3 URI for the Transcript. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 2000
    + * Pattern: (s3://|http(s*)://).+
    + * + * @param transcriptFileUri

    + * Holds the Amazon S3 URI for the Transcript. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeOutput withTranscriptFileUri(String transcriptFileUri) { + this.transcriptFileUri = transcriptFileUri; + return this; + } + + /** + *

    + * Holds the Amazon S3 URI for the Clinical Document. + *

    + *

    + * Constraints:
    + * Length: 1 - 2000
    + * Pattern: (s3://|http(s*)://).+
    + * + * @return

    + * Holds the Amazon S3 URI for the Clinical Document. + *

    + */ + public String getClinicalDocumentUri() { + return clinicalDocumentUri; + } + + /** + *

    + * Holds the Amazon S3 URI for the Clinical Document. + *

    + *

    + * Constraints:
    + * Length: 1 - 2000
    + * Pattern: (s3://|http(s*)://).+
    + * + * @param clinicalDocumentUri

    + * Holds the Amazon S3 URI for the Clinical Document. + *

    + */ + public void setClinicalDocumentUri(String clinicalDocumentUri) { + this.clinicalDocumentUri = clinicalDocumentUri; + } + + /** + *

    + * Holds the Amazon S3 URI for the Clinical Document. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 2000
    + * Pattern: (s3://|http(s*)://).+
    + * + * @param clinicalDocumentUri

    + * Holds the Amazon S3 URI for the Clinical Document. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeOutput withClinicalDocumentUri(String clinicalDocumentUri) { + this.clinicalDocumentUri = clinicalDocumentUri; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getTranscriptFileUri() != null) + sb.append("TranscriptFileUri: " + getTranscriptFileUri() + ","); + if (getClinicalDocumentUri() != null) + sb.append("ClinicalDocumentUri: " + getClinicalDocumentUri()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getTranscriptFileUri() == null) ? 0 : getTranscriptFileUri().hashCode()); + hashCode = prime * hashCode + + ((getClinicalDocumentUri() == null) ? 0 : getClinicalDocumentUri().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MedicalScribeOutput == false) + return false; + MedicalScribeOutput other = (MedicalScribeOutput) obj; + + if (other.getTranscriptFileUri() == null ^ this.getTranscriptFileUri() == null) + return false; + if (other.getTranscriptFileUri() != null + && other.getTranscriptFileUri().equals(this.getTranscriptFileUri()) == false) + return false; + if (other.getClinicalDocumentUri() == null ^ this.getClinicalDocumentUri() == null) + return false; + if (other.getClinicalDocumentUri() != null + && other.getClinicalDocumentUri().equals(this.getClinicalDocumentUri()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeParticipantRole.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeParticipantRole.java new file mode 100644 index 0000000000..913228eaed --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeParticipantRole.java @@ -0,0 +1,62 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.util.HashMap; +import java.util.Map; + +/** + * Medical Scribe Participant Role + */ +public enum MedicalScribeParticipantRole { + + PATIENT("PATIENT"), + CLINICIAN("CLINICIAN"); + + private String value; + + private MedicalScribeParticipantRole(String value) { + this.value = value; + } + + @Override + public String toString() { + return value; + } + + private static final Map enumMap; + static { + enumMap = new HashMap(); + enumMap.put("PATIENT", PATIENT); + enumMap.put("CLINICIAN", CLINICIAN); + } + + /** + * Use this in place of valueOf. + * + * @param value real value + * @return MedicalScribeParticipantRole corresponding to the value + */ + public static MedicalScribeParticipantRole fromValue(String value) { + if (value == null || value.isEmpty()) { + throw new IllegalArgumentException("Value cannot be null or empty!"); + } else if (enumMap.containsKey(value)) { + return enumMap.get(value); + } else { + throw new IllegalArgumentException("Cannot create enum from " + value + " value!"); + } + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeSettings.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeSettings.java new file mode 100644 index 0000000000..9d60fb9968 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalScribeSettings.java @@ -0,0 +1,991 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +/** + *

    + * Makes it possible to control how your Medical Scribe job is processed using a + * MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions are + * not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If ShowSpeakerLabels + * is set, MaxSpeakerLabels must also be set. Use + * Settings to specify a vocabulary or vocabulary filter or both + * using VocabularyName, VocabularyFilterName. + * VocabularyFilterMethod must be specified if + * VocabularyFilterName is set. + *

    + */ +public class MedicalScribeSettings implements Serializable { + /** + *

    + * Enables speaker partitioning (diarization) in your Medical Scribe output. + * Speaker partitioning labels the speech from individual speakers in your + * media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, you must + * also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + */ + private Boolean showSpeakerLabels; + + /** + *

    + * Specify the maximum number of speakers you want to partition in your + * media. + *

    + *

    + * Note that if your media contains more speakers than the specified number, + * multiple speakers are treated as a single speaker. + *

    + *

    + * If you specify the MaxSpeakerLabels field, you must set the + * ShowSpeakerLabels field to true. + *

    + *

    + * Constraints:
    + * Range: 2 - 30
    + */ + private Integer maxSpeakerLabels; + + /** + *

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into one + * transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + */ + private Boolean channelIdentification; + + /** + *

    + * The name of the custom vocabulary you want to include in your Medical + * Scribe request. Custom vocabulary names are case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + */ + private String vocabularyName; + + /** + *

    + * The name of the custom vocabulary filter you want to include in your + * Medical Scribe request. Custom vocabulary filter names are case + * sensitive. + *

    + *

    + * Note that if you include VocabularyFilterName in your + * request, you must also include VocabularyFilterMethod. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + */ + private String vocabularyFilterName; + + /** + *

    + * Specify how you want your custom vocabulary filter applied to your + * transcript. + *

    + *

    + * To replace words with ***, choose mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + *

    + * Constraints:
    + * Allowed Values: remove, mask, tag + */ + private String vocabularyFilterMethod; + + /** + *

    + * Enables speaker partitioning (diarization) in your Medical Scribe output. + * Speaker partitioning labels the speech from individual speakers in your + * media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, you must + * also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + * + * @return

    + * Enables speaker partitioning (diarization) in your Medical Scribe + * output. Speaker partitioning labels the speech from individual + * speakers in your media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, you + * must also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + */ + public Boolean isShowSpeakerLabels() { + return showSpeakerLabels; + } + + /** + *

    + * Enables speaker partitioning (diarization) in your Medical Scribe output. + * Speaker partitioning labels the speech from individual speakers in your + * media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, you must + * also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + * + * @return

    + * Enables speaker partitioning (diarization) in your Medical Scribe + * output. Speaker partitioning labels the speech from individual + * speakers in your media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, you + * must also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + */ + public Boolean getShowSpeakerLabels() { + return showSpeakerLabels; + } + + /** + *

    + * Enables speaker partitioning (diarization) in your Medical Scribe output. + * Speaker partitioning labels the speech from individual speakers in your + * media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, you must + * also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + * + * @param showSpeakerLabels

    + * Enables speaker partitioning (diarization) in your Medical + * Scribe output. Speaker partitioning labels the speech from + * individual speakers in your media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, + * you must also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + */ + public void setShowSpeakerLabels(Boolean showSpeakerLabels) { + this.showSpeakerLabels = showSpeakerLabels; + } + + /** + *

    + * Enables speaker partitioning (diarization) in your Medical Scribe output. + * Speaker partitioning labels the speech from individual speakers in your + * media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, you must + * also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param showSpeakerLabels

    + * Enables speaker partitioning (diarization) in your Medical + * Scribe output. Speaker partitioning labels the speech from + * individual speakers in your media file. + *

    + *

    + * If you enable ShowSpeakerLabels in your request, + * you must also include MaxSpeakerLabels. + *

    + *

    + * For more information, see Partitioning speakers (diarization). + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeSettings withShowSpeakerLabels(Boolean showSpeakerLabels) { + this.showSpeakerLabels = showSpeakerLabels; + return this; + } + + /** + *

    + * Specify the maximum number of speakers you want to partition in your + * media. + *

    + *

    + * Note that if your media contains more speakers than the specified number, + * multiple speakers are treated as a single speaker. + *

    + *

    + * If you specify the MaxSpeakerLabels field, you must set the + * ShowSpeakerLabels field to true. + *

    + *

    + * Constraints:
    + * Range: 2 - 30
    + * + * @return

    + * Specify the maximum number of speakers you want to partition in + * your media. + *

    + *

    + * Note that if your media contains more speakers than the specified + * number, multiple speakers are treated as a single speaker. + *

    + *

    + * If you specify the MaxSpeakerLabels field, you must + * set the ShowSpeakerLabels field to true. + *

    + */ + public Integer getMaxSpeakerLabels() { + return maxSpeakerLabels; + } + + /** + *

    + * Specify the maximum number of speakers you want to partition in your + * media. + *

    + *

    + * Note that if your media contains more speakers than the specified number, + * multiple speakers are treated as a single speaker. + *

    + *

    + * If you specify the MaxSpeakerLabels field, you must set the + * ShowSpeakerLabels field to true. + *

    + *

    + * Constraints:
    + * Range: 2 - 30
    + * + * @param maxSpeakerLabels

    + * Specify the maximum number of speakers you want to partition + * in your media. + *

    + *

    + * Note that if your media contains more speakers than the + * specified number, multiple speakers are treated as a single + * speaker. + *

    + *

    + * If you specify the MaxSpeakerLabels field, you + * must set the ShowSpeakerLabels field to true. + *

    + */ + public void setMaxSpeakerLabels(Integer maxSpeakerLabels) { + this.maxSpeakerLabels = maxSpeakerLabels; + } + + /** + *

    + * Specify the maximum number of speakers you want to partition in your + * media. + *

    + *

    + * Note that if your media contains more speakers than the specified number, + * multiple speakers are treated as a single speaker. + *

    + *

    + * If you specify the MaxSpeakerLabels field, you must set the + * ShowSpeakerLabels field to true. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Range: 2 - 30
    + * + * @param maxSpeakerLabels

    + * Specify the maximum number of speakers you want to partition + * in your media. + *

    + *

    + * Note that if your media contains more speakers than the + * specified number, multiple speakers are treated as a single + * speaker. + *

    + *

    + * If you specify the MaxSpeakerLabels field, you + * must set the ShowSpeakerLabels field to true. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeSettings withMaxSpeakerLabels(Integer maxSpeakerLabels) { + this.maxSpeakerLabels = maxSpeakerLabels; + return this; + } + + /** + *

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into one + * transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + * + * @return

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into one + * transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + */ + public Boolean isChannelIdentification() { + return channelIdentification; + } + + /** + *

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into one + * transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + * + * @return

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into one + * transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + */ + public Boolean getChannelIdentification() { + return channelIdentification; + } + + /** + *

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into one + * transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + * + * @param channelIdentification

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into + * one transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + */ + public void setChannelIdentification(Boolean channelIdentification) { + this.channelIdentification = channelIdentification; + } + + /** + *

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into one + * transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param channelIdentification

    + * Enables channel identification in multi-channel audio. + *

    + *

    + * Channel identification transcribes the audio on each channel + * independently, then appends the output for each channel into + * one transcript. + *

    + *

    + * For more information, see Transcribing multi-channel audio. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeSettings withChannelIdentification(Boolean channelIdentification) { + this.channelIdentification = channelIdentification; + return this; + } + + /** + *

    + * The name of the custom vocabulary you want to include in your Medical + * Scribe request. Custom vocabulary names are case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @return

    + * The name of the custom vocabulary you want to include in your + * Medical Scribe request. Custom vocabulary names are case + * sensitive. + *

    + */ + public String getVocabularyName() { + return vocabularyName; + } + + /** + *

    + * The name of the custom vocabulary you want to include in your Medical + * Scribe request. Custom vocabulary names are case sensitive. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param vocabularyName

    + * The name of the custom vocabulary you want to include in your + * Medical Scribe request. Custom vocabulary names are case + * sensitive. + *

    + */ + public void setVocabularyName(String vocabularyName) { + this.vocabularyName = vocabularyName; + } + + /** + *

    + * The name of the custom vocabulary you want to include in your Medical + * Scribe request. Custom vocabulary names are case sensitive. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param vocabularyName

    + * The name of the custom vocabulary you want to include in your + * Medical Scribe request. Custom vocabulary names are case + * sensitive. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeSettings withVocabularyName(String vocabularyName) { + this.vocabularyName = vocabularyName; + return this; + } + + /** + *

    + * The name of the custom vocabulary filter you want to include in your + * Medical Scribe request. Custom vocabulary filter names are case + * sensitive. + *

    + *

    + * Note that if you include VocabularyFilterName in your + * request, you must also include VocabularyFilterMethod. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @return

    + * The name of the custom vocabulary filter you want to include in + * your Medical Scribe request. Custom vocabulary filter names are + * case sensitive. + *

    + *

    + * Note that if you include VocabularyFilterName in + * your request, you must also include + * VocabularyFilterMethod. + *

    + */ + public String getVocabularyFilterName() { + return vocabularyFilterName; + } + + /** + *

    + * The name of the custom vocabulary filter you want to include in your + * Medical Scribe request. Custom vocabulary filter names are case + * sensitive. + *

    + *

    + * Note that if you include VocabularyFilterName in your + * request, you must also include VocabularyFilterMethod. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param vocabularyFilterName

    + * The name of the custom vocabulary filter you want to include + * in your Medical Scribe request. Custom vocabulary filter names + * are case sensitive. + *

    + *

    + * Note that if you include VocabularyFilterName in + * your request, you must also include + * VocabularyFilterMethod. + *

    + */ + public void setVocabularyFilterName(String vocabularyFilterName) { + this.vocabularyFilterName = vocabularyFilterName; + } + + /** + *

    + * The name of the custom vocabulary filter you want to include in your + * Medical Scribe request. Custom vocabulary filter names are case + * sensitive. + *

    + *

    + * Note that if you include VocabularyFilterName in your + * request, you must also include VocabularyFilterMethod. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param vocabularyFilterName

    + * The name of the custom vocabulary filter you want to include + * in your Medical Scribe request. Custom vocabulary filter names + * are case sensitive. + *

    + *

    + * Note that if you include VocabularyFilterName in + * your request, you must also include + * VocabularyFilterMethod. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public MedicalScribeSettings withVocabularyFilterName(String vocabularyFilterName) { + this.vocabularyFilterName = vocabularyFilterName; + return this; + } + + /** + *

    + * Specify how you want your custom vocabulary filter applied to your + * transcript. + *

    + *

    + * To replace words with ***, choose mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + *

    + * Constraints:
    + * Allowed Values: remove, mask, tag + * + * @return

    + * Specify how you want your custom vocabulary filter applied to + * your transcript. + *

    + *

    + * To replace words with ***, choose mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + * @see VocabularyFilterMethod + */ + public String getVocabularyFilterMethod() { + return vocabularyFilterMethod; + } + + /** + *

    + * Specify how you want your custom vocabulary filter applied to your + * transcript. + *

    + *

    + * To replace words with ***, choose mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + *

    + * Constraints:
    + * Allowed Values: remove, mask, tag + * + * @param vocabularyFilterMethod

    + * Specify how you want your custom vocabulary filter applied to + * your transcript. + *

    + *

    + * To replace words with ***, choose + * mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + * @see VocabularyFilterMethod + */ + public void setVocabularyFilterMethod(String vocabularyFilterMethod) { + this.vocabularyFilterMethod = vocabularyFilterMethod; + } + + /** + *

    + * Specify how you want your custom vocabulary filter applied to your + * transcript. + *

    + *

    + * To replace words with ***, choose mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: remove, mask, tag + * + * @param vocabularyFilterMethod

    + * Specify how you want your custom vocabulary filter applied to + * your transcript. + *

    + *

    + * To replace words with ***, choose + * mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see VocabularyFilterMethod + */ + public MedicalScribeSettings withVocabularyFilterMethod(String vocabularyFilterMethod) { + this.vocabularyFilterMethod = vocabularyFilterMethod; + return this; + } + + /** + *

    + * Specify how you want your custom vocabulary filter applied to your + * transcript. + *

    + *

    + * To replace words with ***, choose mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + *

    + * Constraints:
    + * Allowed Values: remove, mask, tag + * + * @param vocabularyFilterMethod

    + * Specify how you want your custom vocabulary filter applied to + * your transcript. + *

    + *

    + * To replace words with ***, choose + * mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + * @see VocabularyFilterMethod + */ + public void setVocabularyFilterMethod(VocabularyFilterMethod vocabularyFilterMethod) { + this.vocabularyFilterMethod = vocabularyFilterMethod.toString(); + } + + /** + *

    + * Specify how you want your custom vocabulary filter applied to your + * transcript. + *

    + *

    + * To replace words with ***, choose mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Allowed Values: remove, mask, tag + * + * @param vocabularyFilterMethod

    + * Specify how you want your custom vocabulary filter applied to + * your transcript. + *

    + *

    + * To replace words with ***, choose + * mask. + *

    + *

    + * To delete words, choose remove. + *

    + *

    + * To flag words without changing them, choose tag. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + * @see VocabularyFilterMethod + */ + public MedicalScribeSettings withVocabularyFilterMethod( + VocabularyFilterMethod vocabularyFilterMethod) { + this.vocabularyFilterMethod = vocabularyFilterMethod.toString(); + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getShowSpeakerLabels() != null) + sb.append("ShowSpeakerLabels: " + getShowSpeakerLabels() + ","); + if (getMaxSpeakerLabels() != null) + sb.append("MaxSpeakerLabels: " + getMaxSpeakerLabels() + ","); + if (getChannelIdentification() != null) + sb.append("ChannelIdentification: " + getChannelIdentification() + ","); + if (getVocabularyName() != null) + sb.append("VocabularyName: " + getVocabularyName() + ","); + if (getVocabularyFilterName() != null) + sb.append("VocabularyFilterName: " + getVocabularyFilterName() + ","); + if (getVocabularyFilterMethod() != null) + sb.append("VocabularyFilterMethod: " + getVocabularyFilterMethod()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getShowSpeakerLabels() == null) ? 0 : getShowSpeakerLabels().hashCode()); + hashCode = prime * hashCode + + ((getMaxSpeakerLabels() == null) ? 0 : getMaxSpeakerLabels().hashCode()); + hashCode = prime + * hashCode + + ((getChannelIdentification() == null) ? 0 : getChannelIdentification().hashCode()); + hashCode = prime * hashCode + + ((getVocabularyName() == null) ? 0 : getVocabularyName().hashCode()); + hashCode = prime * hashCode + + ((getVocabularyFilterName() == null) ? 0 : getVocabularyFilterName().hashCode()); + hashCode = prime + * hashCode + + ((getVocabularyFilterMethod() == null) ? 0 : getVocabularyFilterMethod() + .hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof MedicalScribeSettings == false) + return false; + MedicalScribeSettings other = (MedicalScribeSettings) obj; + + if (other.getShowSpeakerLabels() == null ^ this.getShowSpeakerLabels() == null) + return false; + if (other.getShowSpeakerLabels() != null + && other.getShowSpeakerLabels().equals(this.getShowSpeakerLabels()) == false) + return false; + if (other.getMaxSpeakerLabels() == null ^ this.getMaxSpeakerLabels() == null) + return false; + if (other.getMaxSpeakerLabels() != null + && other.getMaxSpeakerLabels().equals(this.getMaxSpeakerLabels()) == false) + return false; + if (other.getChannelIdentification() == null ^ this.getChannelIdentification() == null) + return false; + if (other.getChannelIdentification() != null + && other.getChannelIdentification().equals(this.getChannelIdentification()) == false) + return false; + if (other.getVocabularyName() == null ^ this.getVocabularyName() == null) + return false; + if (other.getVocabularyName() != null + && other.getVocabularyName().equals(this.getVocabularyName()) == false) + return false; + if (other.getVocabularyFilterName() == null ^ this.getVocabularyFilterName() == null) + return false; + if (other.getVocabularyFilterName() != null + && other.getVocabularyFilterName().equals(this.getVocabularyFilterName()) == false) + return false; + if (other.getVocabularyFilterMethod() == null ^ this.getVocabularyFilterMethod() == null) + return false; + if (other.getVocabularyFilterMethod() != null + && other.getVocabularyFilterMethod().equals(this.getVocabularyFilterMethod()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscript.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscript.java index f52ae7adcb..c74f3dc299 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscript.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscript.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionJob.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionJob.java index cf414ba80d..3df7df4cb3 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionJob.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionJob.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -72,7 +72,13 @@ public class MedicalTranscriptionJob implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -92,7 +98,7 @@ public class MedicalTranscriptionJob implements Serializable { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a */ private String mediaFormat; @@ -102,9 +108,8 @@ public class MedicalTranscriptionJob implements Serializable { * your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -178,7 +183,8 @@ public class MedicalTranscriptionJob implements Serializable { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -219,8 +225,8 @@ public class MedicalTranscriptionJob implements Serializable { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -230,8 +236,8 @@ public class MedicalTranscriptionJob implements Serializable { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -539,7 +545,13 @@ public MedicalTranscriptionJob withTranscriptionJobStatus( * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code used to create your medical transcription job. @@ -564,7 +576,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your medical transcription @@ -592,7 +610,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your medical transcription @@ -620,7 +644,13 @@ public MedicalTranscriptionJob withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your medical transcription @@ -648,7 +678,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your medical transcription @@ -727,7 +763,7 @@ public MedicalTranscriptionJob withMediaSampleRateHertz(Integer mediaSampleRateH *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @return

    * The format of the input media file. @@ -744,7 +780,7 @@ public String getMediaFormat() { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -764,7 +800,7 @@ public void setMediaFormat(String mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -784,7 +820,7 @@ public MedicalTranscriptionJob withMediaFormat(String mediaFormat) { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -804,7 +840,7 @@ public void setMediaFormat(MediaFormat mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -824,9 +860,8 @@ public MedicalTranscriptionJob withMediaFormat(MediaFormat mediaFormat) { * your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -836,9 +871,8 @@ public MedicalTranscriptionJob withMediaFormat(MediaFormat mediaFormat) { * use in your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -853,9 +887,8 @@ public Media getMedia() { * your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -865,10 +898,8 @@ public Media getMedia() { * use in your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -883,9 +914,8 @@ public void setMedia(Media media) { * your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -898,10 +928,8 @@ public void setMedia(Media media) { * use in your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -1251,7 +1279,8 @@ public MedicalTranscriptionJob withCompletionTime(java.util.Date completionTime) *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1292,8 +1321,8 @@ public MedicalTranscriptionJob withCompletionTime(java.util.Date completionTime) *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1303,8 +1332,8 @@ public MedicalTranscriptionJob withCompletionTime(java.util.Date completionTime) *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1325,8 +1354,8 @@ public MedicalTranscriptionJob withCompletionTime(java.util.Date completionTime) *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat parameter + * for a list of supported formats. *

    * *
  • @@ -1369,8 +1398,8 @@ public MedicalTranscriptionJob withCompletionTime(java.util.Date completionTime) *

    * The size of your media file is larger than what Amazon Transcribe * can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1381,8 +1410,8 @@ public MedicalTranscriptionJob withCompletionTime(java.util.Date completionTime) *

    * Your audio contains more channels than Amazon Transcribe is able * to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1408,7 +1437,8 @@ public String getFailureReason() { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1449,8 +1479,8 @@ public String getFailureReason() { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1460,8 +1490,8 @@ public String getFailureReason() { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1482,8 +1512,8 @@ public String getFailureReason() { *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat + * parameter for a list of supported formats. *

    * *
  • @@ -1527,8 +1557,8 @@ public String getFailureReason() { * The size of your media file is larger than what Amazon * Transcribe can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1539,8 +1569,8 @@ public String getFailureReason() { *

    * Your audio contains more channels than Amazon Transcribe is * able to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1566,7 +1596,8 @@ public void setFailureReason(String failureReason) { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1607,8 +1638,8 @@ public void setFailureReason(String failureReason) { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1618,8 +1649,8 @@ public void setFailureReason(String failureReason) { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1643,8 +1674,8 @@ public void setFailureReason(String failureReason) { *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat + * parameter for a list of supported formats. *

    * *
  • @@ -1688,8 +1719,8 @@ public void setFailureReason(String failureReason) { * The size of your media file is larger than what Amazon * Transcribe can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1700,8 +1731,8 @@ public void setFailureReason(String failureReason) { *

    * Your audio contains more channels than Amazon Transcribe is * able to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionJobSummary.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionJobSummary.java index 1cc3432772..05b29fe584 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionJobSummary.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionJobSummary.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -88,7 +88,13 @@ public class MedicalTranscriptionJobSummary implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -523,7 +529,13 @@ public MedicalTranscriptionJobSummary withCompletionTime(java.util.Date completi * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code used to create your medical transcription. US @@ -548,7 +560,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your medical transcription. @@ -576,7 +594,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your medical transcription. @@ -604,7 +628,13 @@ public MedicalTranscriptionJobSummary withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your medical transcription. @@ -632,7 +662,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your medical transcription. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionSetting.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionSetting.java index ac3bfc7bf5..d3fec437f8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionSetting.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/MedicalTranscriptionSetting.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -36,11 +36,6 @@ public class MedicalTranscriptionSetting implements Serializable { * also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -63,7 +58,7 @@ public class MedicalTranscriptionSetting implements Serializable { *

    *

    * Constraints:
    - * Range: 2 - 10
    + * Range: 2 - 30
    */ private Integer maxSpeakerLabels; @@ -82,11 +77,6 @@ public class MedicalTranscriptionSetting implements Serializable { * not separate the speech by channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -145,8 +135,8 @@ public class MedicalTranscriptionSetting implements Serializable { *

    *

    * The language of the specified custom vocabulary must match the language - * code that you specify in your transcription request. If the languages - * don't match, the custom vocabulary isn't applied. There are no errors or + * code that you specify in your transcription request. If the languages do + * not match, the custom vocabulary isn't applied. There are no errors or * warnings associated with a language mismatch. US English ( * en-US) is the only valid language for Amazon Transcribe * Medical. @@ -169,11 +159,6 @@ public class MedicalTranscriptionSetting implements Serializable { * also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -189,11 +174,6 @@ public class MedicalTranscriptionSetting implements Serializable { * must also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. Including - * both parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -214,11 +194,6 @@ public Boolean isShowSpeakerLabels() { * also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -234,11 +209,6 @@ public Boolean isShowSpeakerLabels() { * must also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. Including - * both parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -259,11 +229,6 @@ public Boolean getShowSpeakerLabels() { * also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -279,12 +244,6 @@ public Boolean getShowSpeakerLabels() { * you must also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. - * Including both parameters returns a - * BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -305,11 +264,6 @@ public void setShowSpeakerLabels(Boolean showSpeakerLabels) { * also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -328,12 +282,6 @@ public void setShowSpeakerLabels(Boolean showSpeakerLabels) { * you must also include MaxSpeakerLabels. *

    *

    - * You can't include ShowSpeakerLabels and - * ChannelIdentification in the same request. - * Including both parameters returns a - * BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -361,7 +309,7 @@ public MedicalTranscriptionSetting withShowSpeakerLabels(Boolean showSpeakerLabe *

    *

    * Constraints:
    - * Range: 2 - 10
    + * Range: 2 - 30
    * * @return

    * Specify the maximum number of speakers you want to partition in @@ -395,7 +343,7 @@ public Integer getMaxSpeakerLabels() { *

    *

    * Constraints:
    - * Range: 2 - 10
    + * Range: 2 - 30
    * * @param maxSpeakerLabels

    * Specify the maximum number of speakers you want to partition @@ -433,7 +381,7 @@ public void setMaxSpeakerLabels(Integer maxSpeakerLabels) { * together. *

    * Constraints:
    - * Range: 2 - 10
    + * Range: 2 - 30
    * * @param maxSpeakerLabels

    * Specify the maximum number of speakers you want to partition @@ -471,11 +419,6 @@ public MedicalTranscriptionSetting withMaxSpeakerLabels(Integer maxSpeakerLabels * not separate the speech by channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -495,11 +438,6 @@ public MedicalTranscriptionSetting withMaxSpeakerLabels(Integer maxSpeakerLabels * and your transcript does not separate the speech by channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including - * both parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -524,11 +462,6 @@ public Boolean isChannelIdentification() { * not separate the speech by channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -548,11 +481,6 @@ public Boolean isChannelIdentification() { * and your transcript does not separate the speech by channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including - * both parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -577,11 +505,6 @@ public Boolean getChannelIdentification() { * not separate the speech by channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -602,12 +525,6 @@ public Boolean getChannelIdentification() { * channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. - * Including both parameters returns a - * BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -632,11 +549,6 @@ public void setChannelIdentification(Boolean channelIdentification) { * not separate the speech by channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -660,12 +572,6 @@ public void setChannelIdentification(Boolean channelIdentification) { * channel. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. - * Including both parameters returns a - * BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -989,8 +895,8 @@ public MedicalTranscriptionSetting withMaxAlternatives(Integer maxAlternatives) *

    *

    * The language of the specified custom vocabulary must match the language - * code that you specify in your transcription request. If the languages - * don't match, the custom vocabulary isn't applied. There are no errors or + * code that you specify in your transcription request. If the languages do + * not match, the custom vocabulary isn't applied. There are no errors or * warnings associated with a language mismatch. US English ( * en-US) is the only valid language for Amazon Transcribe * Medical. @@ -1008,7 +914,7 @@ public MedicalTranscriptionSetting withMaxAlternatives(Integer maxAlternatives) *

    * The language of the specified custom vocabulary must match the * language code that you specify in your transcription request. If - * the languages don't match, the custom vocabulary isn't applied. + * the languages do not match, the custom vocabulary isn't applied. * There are no errors or warnings associated with a language * mismatch. US English (en-US) is the only valid * language for Amazon Transcribe Medical. @@ -1025,8 +931,8 @@ public String getVocabularyName() { *

    *

    * The language of the specified custom vocabulary must match the language - * code that you specify in your transcription request. If the languages - * don't match, the custom vocabulary isn't applied. There are no errors or + * code that you specify in your transcription request. If the languages do + * not match, the custom vocabulary isn't applied. There are no errors or * warnings associated with a language mismatch. US English ( * en-US) is the only valid language for Amazon Transcribe * Medical. @@ -1044,7 +950,7 @@ public String getVocabularyName() { *

    * The language of the specified custom vocabulary must match the * language code that you specify in your transcription request. - * If the languages don't match, the custom vocabulary isn't + * If the languages do not match, the custom vocabulary isn't * applied. There are no errors or warnings associated with a * language mismatch. US English (en-US) is the only * valid language for Amazon Transcribe Medical. @@ -1061,8 +967,8 @@ public void setVocabularyName(String vocabularyName) { *

    *

    * The language of the specified custom vocabulary must match the language - * code that you specify in your transcription request. If the languages - * don't match, the custom vocabulary isn't applied. There are no errors or + * code that you specify in your transcription request. If the languages do + * not match, the custom vocabulary isn't applied. There are no errors or * warnings associated with a language mismatch. US English ( * en-US) is the only valid language for Amazon Transcribe * Medical. @@ -1083,7 +989,7 @@ public void setVocabularyName(String vocabularyName) { *

    * The language of the specified custom vocabulary must match the * language code that you specify in your transcription request. - * If the languages don't match, the custom vocabulary isn't + * If the languages do not match, the custom vocabulary isn't * applied. There are no errors or warnings associated with a * language mismatch. US English (en-US) is the only * valid language for Amazon Transcribe Medical. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ModelSettings.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ModelSettings.java index 64748269d3..9e281bca1f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ModelSettings.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ModelSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -39,8 +39,8 @@ public class ModelSettings implements Serializable { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -58,8 +58,8 @@ public class ModelSettings implements Serializable { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -74,7 +74,7 @@ public class ModelSettings implements Serializable { *

    * The language of the specified custom language model must match * the language code that you specify in your transcription request. - * If the languages don't match, the custom language model isn't + * If the languages do not match, the custom language model isn't * applied. There are no errors or warnings associated with a * language mismatch. *

    @@ -92,8 +92,8 @@ public String getLanguageModelName() { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Constraints:
    @@ -108,7 +108,7 @@ public String getLanguageModelName() { *

    * The language of the specified custom language model must match * the language code that you specify in your transcription - * request. If the languages don't match, the custom language + * request. If the languages do not match, the custom language * model isn't applied. There are no errors or warnings * associated with a language mismatch. *

    @@ -126,8 +126,8 @@ public void setLanguageModelName(String languageModelName) { *

    * The language of the specified custom language model must match the * language code that you specify in your transcription request. If the - * languages don't match, the custom language model isn't applied. There are - * no errors or warnings associated with a language mismatch. + * languages do not match, the custom language model isn't applied. There + * are no errors or warnings associated with a language mismatch. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -145,7 +145,7 @@ public void setLanguageModelName(String languageModelName) { *

    * The language of the specified custom language model must match * the language code that you specify in your transcription - * request. If the languages don't match, the custom language + * request. If the languages do not match, the custom language * model isn't applied. There are no errors or warnings * associated with a language mismatch. *

    diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ModelStatus.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ModelStatus.java index 194ea3f71f..f01b869429 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ModelStatus.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ModelStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/NonTalkTimeFilter.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/NonTalkTimeFilter.java index 6663409775..42bf11f0e4 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/NonTalkTimeFilter.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/NonTalkTimeFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/NotFoundException.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/NotFoundException.java index c405776299..b5c1f55750 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/NotFoundException.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/NotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/OutputLocationType.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/OutputLocationType.java index ff8aa1bb23..e96940dc9a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/OutputLocationType.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/OutputLocationType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ParticipantRole.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ParticipantRole.java index 3617556a08..4645172b3f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ParticipantRole.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ParticipantRole.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/PiiEntityType.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/PiiEntityType.java index 9246474145..62fe990c20 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/PiiEntityType.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/PiiEntityType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RedactionOutput.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RedactionOutput.java index c3cb236ed0..a8e028b834 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RedactionOutput.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RedactionOutput.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RedactionType.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RedactionType.java index bf21ae8a3a..8edb56cbfb 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RedactionType.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RedactionType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RelativeTimeRange.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RelativeTimeRange.java index 6d2c70c39a..e044c116cd 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RelativeTimeRange.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/RelativeTimeRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Rule.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Rule.java index 57a4e0127a..4a288bfd38 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Rule.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Rule.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentFilter.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentFilter.java index 6f4435fcf1..c3274e02c7 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentFilter.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentValue.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentValue.java index b29e88e92a..c529d3a995 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentValue.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentValue.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Settings.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Settings.java index d330f7f318..4f7532ae8b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Settings.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Settings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -49,11 +49,6 @@ public class Settings implements Serializable { * also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -76,7 +71,7 @@ public class Settings implements Serializable { *

    *

    * Constraints:
    - * Range: 2 - 10
    + * Range: 2 - 30
    */ private Integer maxSpeakerLabels; @@ -90,11 +85,6 @@ public class Settings implements Serializable { * transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -271,11 +261,6 @@ public Settings withVocabularyName(String vocabularyName) { * also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -291,11 +276,6 @@ public Settings withVocabularyName(String vocabularyName) { * must also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including - * both parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -316,11 +296,6 @@ public Boolean isShowSpeakerLabels() { * also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -336,11 +311,6 @@ public Boolean isShowSpeakerLabels() { * must also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including - * both parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -361,11 +331,6 @@ public Boolean getShowSpeakerLabels() { * also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -381,12 +346,6 @@ public Boolean getShowSpeakerLabels() { * you must also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. - * Including both parameters returns a - * BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -407,11 +366,6 @@ public void setShowSpeakerLabels(Boolean showSpeakerLabels) { * also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -430,12 +384,6 @@ public void setShowSpeakerLabels(Boolean showSpeakerLabels) { * you must also include MaxSpeakerLabels. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. - * Including both parameters returns a - * BadRequestException. - *

    - *

    * For more information, see Partitioning speakers (diarization). @@ -463,7 +411,7 @@ public Settings withShowSpeakerLabels(Boolean showSpeakerLabels) { *

    *

    * Constraints:
    - * Range: 2 - 10
    + * Range: 2 - 30
    * * @return

    * Specify the maximum number of speakers you want to partition in @@ -497,7 +445,7 @@ public Integer getMaxSpeakerLabels() { *

    *

    * Constraints:
    - * Range: 2 - 10
    + * Range: 2 - 30
    * * @param maxSpeakerLabels

    * Specify the maximum number of speakers you want to partition @@ -535,7 +483,7 @@ public void setMaxSpeakerLabels(Integer maxSpeakerLabels) { * together. *

    * Constraints:
    - * Range: 2 - 10
    + * Range: 2 - 30
    * * @param maxSpeakerLabels

    * Specify the maximum number of speakers you want to partition @@ -568,11 +516,6 @@ public Settings withMaxSpeakerLabels(Integer maxSpeakerLabels) { * transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -587,11 +530,6 @@ public Settings withMaxSpeakerLabels(Integer maxSpeakerLabels) { * transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including - * both parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -611,11 +549,6 @@ public Boolean isChannelIdentification() { * transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -630,11 +563,6 @@ public Boolean isChannelIdentification() { * transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including - * both parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -654,11 +582,6 @@ public Boolean getChannelIdentification() { * transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -673,12 +596,6 @@ public Boolean getChannelIdentification() { * one transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. - * Including both parameters returns a - * BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -698,11 +615,6 @@ public void setChannelIdentification(Boolean channelIdentification) { * transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. Including both - * parameters returns a BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. @@ -720,12 +632,6 @@ public void setChannelIdentification(Boolean channelIdentification) { * one transcript. *

    *

    - * You can't include both ShowSpeakerLabels and - * ChannelIdentification in the same request. - * Including both parameters returns a - * BadRequestException. - *

    - *

    * For more information, see Transcribing multi-channel audio. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Specialty.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Specialty.java index ab6db8fbdd..61362eda7d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Specialty.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Specialty.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartCallAnalyticsJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartCallAnalyticsJobRequest.java index 72b2e5ef2c..5a337394c5 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartCallAnalyticsJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartCallAnalyticsJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -153,12 +153,12 @@ public class StartCallAnalyticsJobRequest extends AmazonWebServiceRequest implem *

    *

    * You can specify a KMS key to encrypt your output using the - * OutputEncryptionKMSKeyId parameter. If you don't specify a + * OutputEncryptionKMSKeyId parameter. If you do not specify a * KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side * encryption. *

    *

    - * If you don't specify OutputLocation, your transcript is + * If you do not specify OutputLocation, your transcript is * placed in a service-managed Amazon S3 bucket and you are provided with a * URI to access your transcript. *

    @@ -225,8 +225,8 @@ public class StartCallAnalyticsJobRequest extends AmazonWebServiceRequest implem * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -463,12 +463,12 @@ public StartCallAnalyticsJobRequest withMedia(Media media) { *

    *

    * You can specify a KMS key to encrypt your output using the - * OutputEncryptionKMSKeyId parameter. If you don't specify a + * OutputEncryptionKMSKeyId parameter. If you do not specify a * KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side * encryption. *

    *

    - * If you don't specify OutputLocation, your transcript is + * If you do not specify OutputLocation, your transcript is * placed in a service-managed Amazon S3 bucket and you are provided with a * URI to access your transcript. *

    @@ -508,14 +508,14 @@ public StartCallAnalyticsJobRequest withMedia(Media media) { *

    *

    * You can specify a KMS key to encrypt your output using the - * OutputEncryptionKMSKeyId parameter. If you don't + * OutputEncryptionKMSKeyId parameter. If you do not * specify a KMS key, Amazon Transcribe uses the default Amazon S3 * key for server-side encryption. *

    *

    - * If you don't specify OutputLocation, your transcript - * is placed in a service-managed Amazon S3 bucket and you are - * provided with a URI to access your transcript. + * If you do not specify OutputLocation, your + * transcript is placed in a service-managed Amazon S3 bucket and + * you are provided with a URI to access your transcript. *

    */ public String getOutputLocation() { @@ -552,12 +552,12 @@ public String getOutputLocation() { *

    *

    * You can specify a KMS key to encrypt your output using the - * OutputEncryptionKMSKeyId parameter. If you don't specify a + * OutputEncryptionKMSKeyId parameter. If you do not specify a * KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side * encryption. *

    *

    - * If you don't specify OutputLocation, your transcript is + * If you do not specify OutputLocation, your transcript is * placed in a service-managed Amazon S3 bucket and you are provided with a * URI to access your transcript. *

    @@ -597,12 +597,12 @@ public String getOutputLocation() { *

    *

    * You can specify a KMS key to encrypt your output using the - * OutputEncryptionKMSKeyId parameter. If you don't + * OutputEncryptionKMSKeyId parameter. If you do not * specify a KMS key, Amazon Transcribe uses the default Amazon * S3 key for server-side encryption. *

    *

    - * If you don't specify OutputLocation, your + * If you do not specify OutputLocation, your * transcript is placed in a service-managed Amazon S3 bucket and * you are provided with a URI to access your transcript. *

    @@ -641,12 +641,12 @@ public void setOutputLocation(String outputLocation) { *

    *

    * You can specify a KMS key to encrypt your output using the - * OutputEncryptionKMSKeyId parameter. If you don't specify a + * OutputEncryptionKMSKeyId parameter. If you do not specify a * KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side * encryption. *

    *

    - * If you don't specify OutputLocation, your transcript is + * If you do not specify OutputLocation, your transcript is * placed in a service-managed Amazon S3 bucket and you are provided with a * URI to access your transcript. *

    @@ -689,12 +689,12 @@ public void setOutputLocation(String outputLocation) { *

    *

    * You can specify a KMS key to encrypt your output using the - * OutputEncryptionKMSKeyId parameter. If you don't + * OutputEncryptionKMSKeyId parameter. If you do not * specify a KMS key, Amazon Transcribe uses the default Amazon * S3 key for server-side encryption. *

    *

    - * If you don't specify OutputLocation, your + * If you do not specify OutputLocation, your * transcript is placed in a service-managed Amazon S3 bucket and * you are provided with a URI to access your transcript. *

    @@ -762,8 +762,8 @@ public StartCallAnalyticsJobRequest withOutputLocation(String outputLocation) { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -835,7 +835,7 @@ public StartCallAnalyticsJobRequest withOutputLocation(String outputLocation) { * * *

    - * If you don't specify an encryption key, your output is encrypted + * If you do not specify an encryption key, your output is encrypted * with the default Amazon S3 key (SSE-S3). *

    *

    @@ -908,8 +908,8 @@ public String getOutputEncryptionKMSKeyId() { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -982,7 +982,7 @@ public String getOutputEncryptionKMSKeyId() { * * *

    - * If you don't specify an encryption key, your output is + * If you do not specify an encryption key, your output is * encrypted with the default Amazon S3 key (SSE-S3). *

    *

    @@ -1055,8 +1055,8 @@ public void setOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -1132,7 +1132,7 @@ public void setOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { * * *

    - * If you don't specify an encryption key, your output is + * If you do not specify an encryption key, your output is * encrypted with the default Amazon S3 key (SSE-S3). *

    *

    diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartCallAnalyticsJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartCallAnalyticsJobResult.java index 1fb215f103..c49c710572 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartCallAnalyticsJobResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartCallAnalyticsJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalScribeJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalScribeJobRequest.java new file mode 100644 index 0000000000..53f8194e87 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalScribeJobRequest.java @@ -0,0 +1,1820 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +import com.amazonaws.AmazonWebServiceRequest; + +/** + *

    + * Transcribes patient-clinician conversations and generates clinical notes. + *

    + *

    + * Amazon Web Services HealthScribe automatically provides rich conversation + * transcripts, identifies speaker roles, classifies dialogues, extracts medical + * terms, and generates preliminary clinical notes. To learn more about these + * features, refer to Amazon Web Services HealthScribe. + *

    + *

    + * To make a StartMedicalScribeJob request, you must first upload + * your media file into an Amazon S3 bucket; you can then specify the Amazon S3 + * location of the file using the Media parameter. + *

    + *

    + * You must include the following parameters in your + * StartMedicalTranscriptionJob request: + *

    + *
      + *
    • + *

      + * DataAccessRoleArn: The ARN of an IAM role with the these minimum + * permissions: read permission on input file Amazon S3 bucket specified in + * Media, write permission on the Amazon S3 bucket specified in + * OutputBucketName, and full permissions on the KMS key specified + * in OutputEncryptionKMSKeyId (if set). The role should also allow + * transcribe.amazonaws.com to assume it. + *

      + *
    • + *
    • + *

      + * Media (MediaFileUri): The Amazon S3 location of + * your media file. + *

      + *
    • + *
    • + *

      + * MedicalScribeJobName: A custom name you create for your + * MedicalScribe job that is unique within your Amazon Web Services account. + *

      + *
    • + *
    • + *

      + * OutputBucketName: The Amazon S3 bucket where you want your + * output files stored. + *

      + *
    • + *
    • + *

      + * Settings: A MedicalScribeSettings obect that must + * set exactly one of ShowSpeakerLabels or + * ChannelIdentification to true. If ShowSpeakerLabels + * is true, MaxSpeakerLabels must also be set. + *

      + *
    • + *
    • + *

      + * ChannelDefinitions: A + * MedicalScribeChannelDefinitions array should be set if and only + * if the ChannelIdentification value of Settings is + * set to true. + *

      + *
    • + *
    + */ +public class StartMedicalScribeJobRequest extends AmazonWebServiceRequest implements Serializable { + /** + *

    + * A unique name, chosen by you, for your Medical Scribe job. + *

    + *

    + * This name is case sensitive, cannot contain spaces, and must be unique + * within an Amazon Web Services account. If you try to create a new job + * with the same name as an existing job, you get a + * ConflictException error. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + */ + private String medicalScribeJobName; + + /** + *

    + * Describes the Amazon S3 location of the media file you want to use in + * your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + */ + private Media media; + + /** + *

    + * The name of the Amazon S3 bucket where you want your Medical Scribe + * output stored. Do not include the S3:// prefix of the + * specified bucket. + *

    + *

    + * Note that the role specified in the DataAccessRoleArn + * request parameter must have permission to use the specified location. You + * can change Amazon S3 permissions using the Amazon Web Services Management + * Console. See also Permissions Required for IAM User Roles. + *

    + *

    + * Constraints:
    + * Length: - 64
    + * Pattern: [a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]
    + */ + private String outputBucketName; + + /** + *

    + * The KMS key you want to use to encrypt your Medical Scribe output. + *

    + *

    + * If using a key located in the current Amazon Web Services account, + * you can specify your KMS key in one of four ways: + *

    + *
      + *
    1. + *

      + * Use the KMS key ID itself. For example, + * 1234abcd-12ab-34cd-56ef-1234567890ab. + *

      + *
    2. + *
    3. + *

      + * Use an alias for the KMS key ID. For example, + * alias/ExampleAlias. + *

      + *
    4. + *
    5. + *

      + * Use the Amazon Resource Name (ARN) for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    6. + *
    7. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    8. + *
    + *

    + * If using a key located in a different Amazon Web Services account + * than the current Amazon Web Services account, you can specify your KMS + * key in one of two ways: + *

    + *
      + *
    1. + *

      + * Use the ARN for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    2. + *
    3. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    4. + *
    + *

    + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). + *

    + *

    + * Note that the role specified in the DataAccessRoleArn + * request parameter must have permission to use the specified KMS key. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + */ + private String outputEncryptionKMSKeyId; + + /** + *

    + * A map of plain text, non-secret key:value pairs, known as encryption + * context pairs, that provide an added layer of security for your data. For + * more information, see KMS encryption context and Asymmetric keys in KMS. + *

    + */ + private java.util.Map kMSEncryptionContext; + + /** + *

    + * The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, write to the + * output bucket, and use your KMS key if supplied. If the role that you + * specify doesn’t have the appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. For + * example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam:: + * [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
    + */ + private String dataAccessRoleArn; + + /** + *

    + * Makes it possible to control how your Medical Scribe job is processed + * using a MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions + * are not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, MaxSpeakerLabels must + * also be set. Use Settings to specify a vocabulary or + * vocabulary filter or both using VocabularyName, + * VocabularyFilterName. VocabularyFilterMethod + * must be specified if VocabularyFilterName is set. + *

    + */ + private MedicalScribeSettings settings; + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + */ + private java.util.List channelDefinitions; + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + */ + private java.util.List tags; + + /** + *

    + * A unique name, chosen by you, for your Medical Scribe job. + *

    + *

    + * This name is case sensitive, cannot contain spaces, and must be unique + * within an Amazon Web Services account. If you try to create a new job + * with the same name as an existing job, you get a + * ConflictException error. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @return

    + * A unique name, chosen by you, for your Medical Scribe job. + *

    + *

    + * This name is case sensitive, cannot contain spaces, and must be + * unique within an Amazon Web Services account. If you try to + * create a new job with the same name as an existing job, you get a + * ConflictException error. + *

    + */ + public String getMedicalScribeJobName() { + return medicalScribeJobName; + } + + /** + *

    + * A unique name, chosen by you, for your Medical Scribe job. + *

    + *

    + * This name is case sensitive, cannot contain spaces, and must be unique + * within an Amazon Web Services account. If you try to create a new job + * with the same name as an existing job, you get a + * ConflictException error. + *

    + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * A unique name, chosen by you, for your Medical Scribe job. + *

    + *

    + * This name is case sensitive, cannot contain spaces, and must + * be unique within an Amazon Web Services account. If you try to + * create a new job with the same name as an existing job, you + * get a ConflictException error. + *

    + */ + public void setMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + } + + /** + *

    + * A unique name, chosen by you, for your Medical Scribe job. + *

    + *

    + * This name is case sensitive, cannot contain spaces, and must be unique + * within an Amazon Web Services account. If you try to create a new job + * with the same name as an existing job, you get a + * ConflictException error. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 200
    + * Pattern: ^[0-9a-zA-Z._-]+
    + * + * @param medicalScribeJobName

    + * A unique name, chosen by you, for your Medical Scribe job. + *

    + *

    + * This name is case sensitive, cannot contain spaces, and must + * be unique within an Amazon Web Services account. If you try to + * create a new job with the same name as an existing job, you + * get a ConflictException error. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withMedicalScribeJobName(String medicalScribeJobName) { + this.medicalScribeJobName = medicalScribeJobName; + return this; + } + + /** + *

    + * Describes the Amazon S3 location of the media file you want to use in + * your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + * + * @return

    + * Describes the Amazon S3 location of the media file you want to + * use in your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + */ + public Media getMedia() { + return media; + } + + /** + *

    + * Describes the Amazon S3 location of the media file you want to use in + * your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + * + * @param media

    + * Describes the Amazon S3 location of the media file you want to + * use in your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + */ + public void setMedia(Media media) { + this.media = media; + } + + /** + *

    + * Describes the Amazon S3 location of the media file you want to use in + * your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param media

    + * Describes the Amazon S3 location of the media file you want to + * use in your request. + *

    + *

    + * For information on supported media formats, refer to the + * MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withMedia(Media media) { + this.media = media; + return this; + } + + /** + *

    + * The name of the Amazon S3 bucket where you want your Medical Scribe + * output stored. Do not include the S3:// prefix of the + * specified bucket. + *

    + *

    + * Note that the role specified in the DataAccessRoleArn + * request parameter must have permission to use the specified location. You + * can change Amazon S3 permissions using the Amazon Web Services Management + * Console. See also Permissions Required for IAM User Roles. + *

    + *

    + * Constraints:
    + * Length: - 64
    + * Pattern: [a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]
    + * + * @return

    + * The name of the Amazon S3 bucket where you want your Medical + * Scribe output stored. Do not include the S3:// + * prefix of the specified bucket. + *

    + *

    + * Note that the role specified in the + * DataAccessRoleArn request parameter must have + * permission to use the specified location. You can change Amazon + * S3 permissions using the Amazon Web Services + * Management Console. See also Permissions Required for IAM User Roles. + *

    + */ + public String getOutputBucketName() { + return outputBucketName; + } + + /** + *

    + * The name of the Amazon S3 bucket where you want your Medical Scribe + * output stored. Do not include the S3:// prefix of the + * specified bucket. + *

    + *

    + * Note that the role specified in the DataAccessRoleArn + * request parameter must have permission to use the specified location. You + * can change Amazon S3 permissions using the Amazon Web Services Management + * Console. See also Permissions Required for IAM User Roles. + *

    + *

    + * Constraints:
    + * Length: - 64
    + * Pattern: [a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]
    + * + * @param outputBucketName

    + * The name of the Amazon S3 bucket where you want your Medical + * Scribe output stored. Do not include the S3:// + * prefix of the specified bucket. + *

    + *

    + * Note that the role specified in the + * DataAccessRoleArn request parameter must have + * permission to use the specified location. You can change + * Amazon S3 permissions using the Amazon Web Services + * Management Console. See also Permissions Required for IAM User Roles. + *

    + */ + public void setOutputBucketName(String outputBucketName) { + this.outputBucketName = outputBucketName; + } + + /** + *

    + * The name of the Amazon S3 bucket where you want your Medical Scribe + * output stored. Do not include the S3:// prefix of the + * specified bucket. + *

    + *

    + * Note that the role specified in the DataAccessRoleArn + * request parameter must have permission to use the specified location. You + * can change Amazon S3 permissions using the Amazon Web Services Management + * Console. See also Permissions Required for IAM User Roles. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: - 64
    + * Pattern: [a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]
    + * + * @param outputBucketName

    + * The name of the Amazon S3 bucket where you want your Medical + * Scribe output stored. Do not include the S3:// + * prefix of the specified bucket. + *

    + *

    + * Note that the role specified in the + * DataAccessRoleArn request parameter must have + * permission to use the specified location. You can change + * Amazon S3 permissions using the Amazon Web Services + * Management Console. See also Permissions Required for IAM User Roles. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withOutputBucketName(String outputBucketName) { + this.outputBucketName = outputBucketName; + return this; + } + + /** + *

    + * The KMS key you want to use to encrypt your Medical Scribe output. + *

    + *

    + * If using a key located in the current Amazon Web Services account, + * you can specify your KMS key in one of four ways: + *

    + *
      + *
    1. + *

      + * Use the KMS key ID itself. For example, + * 1234abcd-12ab-34cd-56ef-1234567890ab. + *

      + *
    2. + *
    3. + *

      + * Use an alias for the KMS key ID. For example, + * alias/ExampleAlias. + *

      + *
    4. + *
    5. + *

      + * Use the Amazon Resource Name (ARN) for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    6. + *
    7. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    8. + *
    + *

    + * If using a key located in a different Amazon Web Services account + * than the current Amazon Web Services account, you can specify your KMS + * key in one of two ways: + *

    + *
      + *
    1. + *

      + * Use the ARN for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    2. + *
    3. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    4. + *
    + *

    + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). + *

    + *

    + * Note that the role specified in the DataAccessRoleArn + * request parameter must have permission to use the specified KMS key. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @return

    + * The KMS key you want to use to encrypt your Medical Scribe + * output. + *

    + *

    + * If using a key located in the current Amazon Web Services + * account, you can specify your KMS key in one of four ways: + *

    + *
      + *
    1. + *

      + * Use the KMS key ID itself. For example, + * 1234abcd-12ab-34cd-56ef-1234567890ab. + *

      + *
    2. + *
    3. + *

      + * Use an alias for the KMS key ID. For example, + * alias/ExampleAlias. + *

      + *
    4. + *
    5. + *

      + * Use the Amazon Resource Name (ARN) for the KMS key ID. For + * example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    6. + *
    7. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    8. + *
    + *

    + * If using a key located in a different Amazon Web Services + * account than the current Amazon Web Services account, you can + * specify your KMS key in one of two ways: + *

    + *
      + *
    1. + *

      + * Use the ARN for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    2. + *
    3. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    4. + *
    + *

    + * If you do not specify an encryption key, your output is encrypted + * with the default Amazon S3 key (SSE-S3). + *

    + *

    + * Note that the role specified in the + * DataAccessRoleArn request parameter must have + * permission to use the specified KMS key. + *

    + */ + public String getOutputEncryptionKMSKeyId() { + return outputEncryptionKMSKeyId; + } + + /** + *

    + * The KMS key you want to use to encrypt your Medical Scribe output. + *

    + *

    + * If using a key located in the current Amazon Web Services account, + * you can specify your KMS key in one of four ways: + *

    + *
      + *
    1. + *

      + * Use the KMS key ID itself. For example, + * 1234abcd-12ab-34cd-56ef-1234567890ab. + *

      + *
    2. + *
    3. + *

      + * Use an alias for the KMS key ID. For example, + * alias/ExampleAlias. + *

      + *
    4. + *
    5. + *

      + * Use the Amazon Resource Name (ARN) for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    6. + *
    7. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    8. + *
    + *

    + * If using a key located in a different Amazon Web Services account + * than the current Amazon Web Services account, you can specify your KMS + * key in one of two ways: + *

    + *
      + *
    1. + *

      + * Use the ARN for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    2. + *
    3. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    4. + *
    + *

    + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). + *

    + *

    + * Note that the role specified in the DataAccessRoleArn + * request parameter must have permission to use the specified KMS key. + *

    + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @param outputEncryptionKMSKeyId

    + * The KMS key you want to use to encrypt your Medical Scribe + * output. + *

    + *

    + * If using a key located in the current Amazon Web + * Services account, you can specify your KMS key in one of four + * ways: + *

    + *
      + *
    1. + *

      + * Use the KMS key ID itself. For example, + * 1234abcd-12ab-34cd-56ef-1234567890ab. + *

      + *
    2. + *
    3. + *

      + * Use an alias for the KMS key ID. For example, + * alias/ExampleAlias. + *

      + *
    4. + *
    5. + *

      + * Use the Amazon Resource Name (ARN) for the KMS key ID. For + * example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    6. + *
    7. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    8. + *
    + *

    + * If using a key located in a different Amazon Web + * Services account than the current Amazon Web Services account, + * you can specify your KMS key in one of two ways: + *

    + *
      + *
    1. + *

      + * Use the ARN for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    2. + *
    3. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    4. + *
    + *

    + * If you do not specify an encryption key, your output is + * encrypted with the default Amazon S3 key (SSE-S3). + *

    + *

    + * Note that the role specified in the + * DataAccessRoleArn request parameter must have + * permission to use the specified KMS key. + *

    + */ + public void setOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { + this.outputEncryptionKMSKeyId = outputEncryptionKMSKeyId; + } + + /** + *

    + * The KMS key you want to use to encrypt your Medical Scribe output. + *

    + *

    + * If using a key located in the current Amazon Web Services account, + * you can specify your KMS key in one of four ways: + *

    + *
      + *
    1. + *

      + * Use the KMS key ID itself. For example, + * 1234abcd-12ab-34cd-56ef-1234567890ab. + *

      + *
    2. + *
    3. + *

      + * Use an alias for the KMS key ID. For example, + * alias/ExampleAlias. + *

      + *
    4. + *
    5. + *

      + * Use the Amazon Resource Name (ARN) for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    6. + *
    7. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    8. + *
    + *

    + * If using a key located in a different Amazon Web Services account + * than the current Amazon Web Services account, you can specify your KMS + * key in one of two ways: + *

    + *
      + *
    1. + *

      + * Use the ARN for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    2. + *
    3. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    4. + *
    + *

    + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). + *

    + *

    + * Note that the role specified in the DataAccessRoleArn + * request parameter must have permission to use the specified KMS key. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 1 - 2048
    + * Pattern: ^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$
    + * + * @param outputEncryptionKMSKeyId

    + * The KMS key you want to use to encrypt your Medical Scribe + * output. + *

    + *

    + * If using a key located in the current Amazon Web + * Services account, you can specify your KMS key in one of four + * ways: + *

    + *
      + *
    1. + *

      + * Use the KMS key ID itself. For example, + * 1234abcd-12ab-34cd-56ef-1234567890ab. + *

      + *
    2. + *
    3. + *

      + * Use an alias for the KMS key ID. For example, + * alias/ExampleAlias. + *

      + *
    4. + *
    5. + *

      + * Use the Amazon Resource Name (ARN) for the KMS key ID. For + * example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    6. + *
    7. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    8. + *
    + *

    + * If using a key located in a different Amazon Web + * Services account than the current Amazon Web Services account, + * you can specify your KMS key in one of two ways: + *

    + *
      + *
    1. + *

      + * Use the ARN for the KMS key ID. For example, + * arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab + * . + *

      + *
    2. + *
    3. + *

      + * Use the ARN for the KMS key alias. For example, + * arn:aws:kms:region:account-ID:alias/ExampleAlias. + *

      + *
    4. + *
    + *

    + * If you do not specify an encryption key, your output is + * encrypted with the default Amazon S3 key (SSE-S3). + *

    + *

    + * Note that the role specified in the + * DataAccessRoleArn request parameter must have + * permission to use the specified KMS key. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { + this.outputEncryptionKMSKeyId = outputEncryptionKMSKeyId; + return this; + } + + /** + *

    + * A map of plain text, non-secret key:value pairs, known as encryption + * context pairs, that provide an added layer of security for your data. For + * more information, see KMS encryption context and Asymmetric keys in KMS. + *

    + * + * @return

    + * A map of plain text, non-secret key:value pairs, known as + * encryption context pairs, that provide an added layer of security + * for your data. For more information, see KMS encryption context and Asymmetric keys in KMS. + *

    + */ + public java.util.Map getKMSEncryptionContext() { + return kMSEncryptionContext; + } + + /** + *

    + * A map of plain text, non-secret key:value pairs, known as encryption + * context pairs, that provide an added layer of security for your data. For + * more information, see KMS encryption context and Asymmetric keys in KMS. + *

    + * + * @param kMSEncryptionContext

    + * A map of plain text, non-secret key:value pairs, known as + * encryption context pairs, that provide an added layer of + * security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS. + *

    + */ + public void setKMSEncryptionContext(java.util.Map kMSEncryptionContext) { + this.kMSEncryptionContext = kMSEncryptionContext; + } + + /** + *

    + * A map of plain text, non-secret key:value pairs, known as encryption + * context pairs, that provide an added layer of security for your data. For + * more information, see KMS encryption context and Asymmetric keys in KMS. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param kMSEncryptionContext

    + * A map of plain text, non-secret key:value pairs, known as + * encryption context pairs, that provide an added layer of + * security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withKMSEncryptionContext( + java.util.Map kMSEncryptionContext) { + this.kMSEncryptionContext = kMSEncryptionContext; + return this; + } + + /** + *

    + * A map of plain text, non-secret key:value pairs, known as encryption + * context pairs, that provide an added layer of security for your data. For + * more information, see KMS encryption context and Asymmetric keys in KMS. + *

    + *

    + * The method adds a new key-value pair into KMSEncryptionContext parameter, + * and returns a reference to this object so that method calls can be + * chained together. + * + * @param key The key of the entry to be added into KMSEncryptionContext. + * @param value The corresponding value of the entry to be added into + * KMSEncryptionContext. + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest addKMSEncryptionContextEntry(String key, String value) { + if (null == this.kMSEncryptionContext) { + this.kMSEncryptionContext = new java.util.HashMap(); + } + if (this.kMSEncryptionContext.containsKey(key)) + throw new IllegalArgumentException("Duplicated keys (" + key.toString() + + ") are provided."); + this.kMSEncryptionContext.put(key, value); + return this; + } + + /** + * Removes all the entries added into KMSEncryptionContext. + *

    + * Returns a reference to this object so that method calls can be chained + * together. + */ + public StartMedicalScribeJobRequest clearKMSEncryptionContextEntries() { + this.kMSEncryptionContext = null; + return this; + } + + /** + *

    + * The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, write to the + * output bucket, and use your KMS key if supplied. If the role that you + * specify doesn’t have the appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. For + * example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam:: + * [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
    + * + * @return

    + * The Amazon Resource Name (ARN) of an IAM role that has + * permissions to access the Amazon S3 bucket that contains your + * input files, write to the output bucket, and use your KMS key if + * supplied. If the role that you specify doesn’t have the + * appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. + * For example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + */ + public String getDataAccessRoleArn() { + return dataAccessRoleArn; + } + + /** + *

    + * The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, write to the + * output bucket, and use your KMS key if supplied. If the role that you + * specify doesn’t have the appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. For + * example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam:: + * [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
    + * + * @param dataAccessRoleArn

    + * The Amazon Resource Name (ARN) of an IAM role that has + * permissions to access the Amazon S3 bucket that contains your + * input files, write to the output bucket, and use your KMS key + * if supplied. If the role that you specify doesn’t have the + * appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path + * . For example: + * arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + */ + public void setDataAccessRoleArn(String dataAccessRoleArn) { + this.dataAccessRoleArn = dataAccessRoleArn; + } + + /** + *

    + * The Amazon Resource Name (ARN) of an IAM role that has permissions to + * access the Amazon S3 bucket that contains your input files, write to the + * output bucket, and use your KMS key if supplied. If the role that you + * specify doesn’t have the appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path. For + * example: arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + *

    + * Constraints:
    + * Length: 20 - 2048
    + * Pattern: + * ^arn:(aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):iam:: + * [0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1024}$
    + * + * @param dataAccessRoleArn

    + * The Amazon Resource Name (ARN) of an IAM role that has + * permissions to access the Amazon S3 bucket that contains your + * input files, write to the output bucket, and use your KMS key + * if supplied. If the role that you specify doesn’t have the + * appropriate permissions your request fails. + *

    + *

    + * IAM role ARNs have the format + * arn:partition:iam::account:role/role-name-with-path + * . For example: + * arn:aws:iam::111122223333:role/Admin. + *

    + *

    + * For more information, see IAM ARNs. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withDataAccessRoleArn(String dataAccessRoleArn) { + this.dataAccessRoleArn = dataAccessRoleArn; + return this; + } + + /** + *

    + * Makes it possible to control how your Medical Scribe job is processed + * using a MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions + * are not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, MaxSpeakerLabels must + * also be set. Use Settings to specify a vocabulary or + * vocabulary filter or both using VocabularyName, + * VocabularyFilterName. VocabularyFilterMethod + * must be specified if VocabularyFilterName is set. + *

    + * + * @return

    + * Makes it possible to control how your Medical Scribe job is + * processed using a MedicalScribeSettings object. + * Specify ChannelIdentification if + * ChannelDefinitions are set. Enabled + * ShowSpeakerLabels if + * ChannelIdentification and + * ChannelDefinitions are not set. One and only one of + * ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, + * MaxSpeakerLabels must also be set. Use + * Settings to specify a vocabulary or vocabulary + * filter or both using VocabularyName, + * VocabularyFilterName. + * VocabularyFilterMethod must be specified if + * VocabularyFilterName is set. + *

    + */ + public MedicalScribeSettings getSettings() { + return settings; + } + + /** + *

    + * Makes it possible to control how your Medical Scribe job is processed + * using a MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions + * are not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, MaxSpeakerLabels must + * also be set. Use Settings to specify a vocabulary or + * vocabulary filter or both using VocabularyName, + * VocabularyFilterName. VocabularyFilterMethod + * must be specified if VocabularyFilterName is set. + *

    + * + * @param settings

    + * Makes it possible to control how your Medical Scribe job is + * processed using a MedicalScribeSettings object. + * Specify ChannelIdentification if + * ChannelDefinitions are set. Enabled + * ShowSpeakerLabels if + * ChannelIdentification and + * ChannelDefinitions are not set. One and only one + * of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, + * MaxSpeakerLabels must also be set. Use + * Settings to specify a vocabulary or vocabulary + * filter or both using VocabularyName, + * VocabularyFilterName. + * VocabularyFilterMethod must be specified if + * VocabularyFilterName is set. + *

    + */ + public void setSettings(MedicalScribeSettings settings) { + this.settings = settings; + } + + /** + *

    + * Makes it possible to control how your Medical Scribe job is processed + * using a MedicalScribeSettings object. Specify + * ChannelIdentification if ChannelDefinitions are + * set. Enabled ShowSpeakerLabels if + * ChannelIdentification and ChannelDefinitions + * are not set. One and only one of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, MaxSpeakerLabels must + * also be set. Use Settings to specify a vocabulary or + * vocabulary filter or both using VocabularyName, + * VocabularyFilterName. VocabularyFilterMethod + * must be specified if VocabularyFilterName is set. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param settings

    + * Makes it possible to control how your Medical Scribe job is + * processed using a MedicalScribeSettings object. + * Specify ChannelIdentification if + * ChannelDefinitions are set. Enabled + * ShowSpeakerLabels if + * ChannelIdentification and + * ChannelDefinitions are not set. One and only one + * of ChannelIdentification and + * ShowSpeakerLabels must be set. If + * ShowSpeakerLabels is set, + * MaxSpeakerLabels must also be set. Use + * Settings to specify a vocabulary or vocabulary + * filter or both using VocabularyName, + * VocabularyFilterName. + * VocabularyFilterMethod must be specified if + * VocabularyFilterName is set. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withSettings(MedicalScribeSettings settings) { + this.settings = settings; + return this; + } + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + * + * @return

    + * Makes it possible to specify which speaker is on which channel. + * For example, if the clinician is the first participant to speak, + * you would set ChannelId of the first + * ChannelDefinition in the list to 0 (to + * indicate the first channel) and ParticipantRole to + * CLINICIAN (to indicate that it's the clinician + * speaking). Then you would set the ChannelId of the + * second ChannelDefinition in the list to + * 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate + * that it's the patient speaking). + *

    + */ + public java.util.List getChannelDefinitions() { + return channelDefinitions; + } + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + * + * @param channelDefinitions

    + * Makes it possible to specify which speaker is on which + * channel. For example, if the clinician is the first + * participant to speak, you would set ChannelId of + * the first ChannelDefinition in the list to + * 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to + * indicate that it's the clinician speaking). Then you would set + * the ChannelId of the second + * ChannelDefinition in the list to 1 + * (to indicate the second channel) and + * ParticipantRole to PATIENT (to + * indicate that it's the patient speaking). + *

    + */ + public void setChannelDefinitions( + java.util.Collection channelDefinitions) { + if (channelDefinitions == null) { + this.channelDefinitions = null; + return; + } + + this.channelDefinitions = new java.util.ArrayList( + channelDefinitions); + } + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param channelDefinitions

    + * Makes it possible to specify which speaker is on which + * channel. For example, if the clinician is the first + * participant to speak, you would set ChannelId of + * the first ChannelDefinition in the list to + * 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to + * indicate that it's the clinician speaking). Then you would set + * the ChannelId of the second + * ChannelDefinition in the list to 1 + * (to indicate the second channel) and + * ParticipantRole to PATIENT (to + * indicate that it's the patient speaking). + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withChannelDefinitions( + MedicalScribeChannelDefinition... channelDefinitions) { + if (getChannelDefinitions() == null) { + this.channelDefinitions = new java.util.ArrayList( + channelDefinitions.length); + } + for (MedicalScribeChannelDefinition value : channelDefinitions) { + this.channelDefinitions.add(value); + } + return this; + } + + /** + *

    + * Makes it possible to specify which speaker is on which channel. For + * example, if the clinician is the first participant to speak, you would + * set ChannelId of the first ChannelDefinition in + * the list to 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to indicate that + * it's the clinician speaking). Then you would set the + * ChannelId of the second ChannelDefinition in + * the list to 1 (to indicate the second channel) and + * ParticipantRole to PATIENT (to indicate that + * it's the patient speaking). + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param channelDefinitions

    + * Makes it possible to specify which speaker is on which + * channel. For example, if the clinician is the first + * participant to speak, you would set ChannelId of + * the first ChannelDefinition in the list to + * 0 (to indicate the first channel) and + * ParticipantRole to CLINICIAN (to + * indicate that it's the clinician speaking). Then you would set + * the ChannelId of the second + * ChannelDefinition in the list to 1 + * (to indicate the second channel) and + * ParticipantRole to PATIENT (to + * indicate that it's the patient speaking). + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withChannelDefinitions( + java.util.Collection channelDefinitions) { + setChannelDefinitions(channelDefinitions); + return this; + } + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + * + * @return

    + * Adds one or more custom tags, each in the form of a key:value + * pair, to the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to + * Tagging resources. + *

    + */ + public java.util.List getTags() { + return tags; + } + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + * + * @param tags

    + * Adds one or more custom tags, each in the form of a key:value + * pair, to the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer + * to Tagging resources. + *

    + */ + public void setTags(java.util.Collection tags) { + if (tags == null) { + this.tags = null; + return; + } + + this.tags = new java.util.ArrayList(tags); + } + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param tags

    + * Adds one or more custom tags, each in the form of a key:value + * pair, to the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer + * to Tagging resources. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withTags(Tag... tags) { + if (getTags() == null) { + this.tags = new java.util.ArrayList(tags.length); + } + for (Tag value : tags) { + this.tags.add(value); + } + return this; + } + + /** + *

    + * Adds one or more custom tags, each in the form of a key:value pair, to + * the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer to Tagging resources. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param tags

    + * Adds one or more custom tags, each in the form of a key:value + * pair, to the Medica Scribe job. + *

    + *

    + * To learn more about using tags with Amazon Transcribe, refer + * to Tagging resources. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobRequest withTags(java.util.Collection tags) { + setTags(tags); + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getMedicalScribeJobName() != null) + sb.append("MedicalScribeJobName: " + getMedicalScribeJobName() + ","); + if (getMedia() != null) + sb.append("Media: " + getMedia() + ","); + if (getOutputBucketName() != null) + sb.append("OutputBucketName: " + getOutputBucketName() + ","); + if (getOutputEncryptionKMSKeyId() != null) + sb.append("OutputEncryptionKMSKeyId: " + getOutputEncryptionKMSKeyId() + ","); + if (getKMSEncryptionContext() != null) + sb.append("KMSEncryptionContext: " + getKMSEncryptionContext() + ","); + if (getDataAccessRoleArn() != null) + sb.append("DataAccessRoleArn: " + getDataAccessRoleArn() + ","); + if (getSettings() != null) + sb.append("Settings: " + getSettings() + ","); + if (getChannelDefinitions() != null) + sb.append("ChannelDefinitions: " + getChannelDefinitions() + ","); + if (getTags() != null) + sb.append("Tags: " + getTags()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getMedicalScribeJobName() == null) ? 0 : getMedicalScribeJobName().hashCode()); + hashCode = prime * hashCode + ((getMedia() == null) ? 0 : getMedia().hashCode()); + hashCode = prime * hashCode + + ((getOutputBucketName() == null) ? 0 : getOutputBucketName().hashCode()); + hashCode = prime + * hashCode + + ((getOutputEncryptionKMSKeyId() == null) ? 0 : getOutputEncryptionKMSKeyId() + .hashCode()); + hashCode = prime * hashCode + + ((getKMSEncryptionContext() == null) ? 0 : getKMSEncryptionContext().hashCode()); + hashCode = prime * hashCode + + ((getDataAccessRoleArn() == null) ? 0 : getDataAccessRoleArn().hashCode()); + hashCode = prime * hashCode + ((getSettings() == null) ? 0 : getSettings().hashCode()); + hashCode = prime * hashCode + + ((getChannelDefinitions() == null) ? 0 : getChannelDefinitions().hashCode()); + hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof StartMedicalScribeJobRequest == false) + return false; + StartMedicalScribeJobRequest other = (StartMedicalScribeJobRequest) obj; + + if (other.getMedicalScribeJobName() == null ^ this.getMedicalScribeJobName() == null) + return false; + if (other.getMedicalScribeJobName() != null + && other.getMedicalScribeJobName().equals(this.getMedicalScribeJobName()) == false) + return false; + if (other.getMedia() == null ^ this.getMedia() == null) + return false; + if (other.getMedia() != null && other.getMedia().equals(this.getMedia()) == false) + return false; + if (other.getOutputBucketName() == null ^ this.getOutputBucketName() == null) + return false; + if (other.getOutputBucketName() != null + && other.getOutputBucketName().equals(this.getOutputBucketName()) == false) + return false; + if (other.getOutputEncryptionKMSKeyId() == null + ^ this.getOutputEncryptionKMSKeyId() == null) + return false; + if (other.getOutputEncryptionKMSKeyId() != null + && other.getOutputEncryptionKMSKeyId().equals(this.getOutputEncryptionKMSKeyId()) == false) + return false; + if (other.getKMSEncryptionContext() == null ^ this.getKMSEncryptionContext() == null) + return false; + if (other.getKMSEncryptionContext() != null + && other.getKMSEncryptionContext().equals(this.getKMSEncryptionContext()) == false) + return false; + if (other.getDataAccessRoleArn() == null ^ this.getDataAccessRoleArn() == null) + return false; + if (other.getDataAccessRoleArn() != null + && other.getDataAccessRoleArn().equals(this.getDataAccessRoleArn()) == false) + return false; + if (other.getSettings() == null ^ this.getSettings() == null) + return false; + if (other.getSettings() != null && other.getSettings().equals(this.getSettings()) == false) + return false; + if (other.getChannelDefinitions() == null ^ this.getChannelDefinitions() == null) + return false; + if (other.getChannelDefinitions() != null + && other.getChannelDefinitions().equals(this.getChannelDefinitions()) == false) + return false; + if (other.getTags() == null ^ this.getTags() == null) + return false; + if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalScribeJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalScribeJobResult.java new file mode 100644 index 0000000000..372fddc823 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalScribeJobResult.java @@ -0,0 +1,125 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +public class StartMedicalScribeJobResult implements Serializable { + /** + *

    + * Provides detailed information about the current Medical Scribe job, + * including job status and, if applicable, failure reason. + *

    + */ + private MedicalScribeJob medicalScribeJob; + + /** + *

    + * Provides detailed information about the current Medical Scribe job, + * including job status and, if applicable, failure reason. + *

    + * + * @return

    + * Provides detailed information about the current Medical Scribe + * job, including job status and, if applicable, failure reason. + *

    + */ + public MedicalScribeJob getMedicalScribeJob() { + return medicalScribeJob; + } + + /** + *

    + * Provides detailed information about the current Medical Scribe job, + * including job status and, if applicable, failure reason. + *

    + * + * @param medicalScribeJob

    + * Provides detailed information about the current Medical Scribe + * job, including job status and, if applicable, failure reason. + *

    + */ + public void setMedicalScribeJob(MedicalScribeJob medicalScribeJob) { + this.medicalScribeJob = medicalScribeJob; + } + + /** + *

    + * Provides detailed information about the current Medical Scribe job, + * including job status and, if applicable, failure reason. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param medicalScribeJob

    + * Provides detailed information about the current Medical Scribe + * job, including job status and, if applicable, failure reason. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public StartMedicalScribeJobResult withMedicalScribeJob(MedicalScribeJob medicalScribeJob) { + this.medicalScribeJob = medicalScribeJob; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getMedicalScribeJob() != null) + sb.append("MedicalScribeJob: " + getMedicalScribeJob()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime * hashCode + + ((getMedicalScribeJob() == null) ? 0 : getMedicalScribeJob().hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof StartMedicalScribeJobResult == false) + return false; + StartMedicalScribeJobResult other = (StartMedicalScribeJobResult) obj; + + if (other.getMedicalScribeJob() == null ^ this.getMedicalScribeJob() == null) + return false; + if (other.getMedicalScribeJob() != null + && other.getMedicalScribeJob().equals(this.getMedicalScribeJob()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalTranscriptionJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalTranscriptionJobRequest.java index 05dd1f4691..06ff349065 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalTranscriptionJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalTranscriptionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -34,8 +34,8 @@ *

    *

    * To make a StartMedicalTranscriptionJob request, you must first - * upload your media file into an Amazon S3 bucket; you can then specify the S3 - * location of the file using the Media parameter. + * upload your media file into an Amazon S3 bucket; you can then specify the + * Amazon S3 location of the file using the Media parameter. *

    *

    * You must include the following parameters in your @@ -123,7 +123,13 @@ public class StartMedicalTranscriptionJobRequest extends AmazonWebServiceRequest * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -132,7 +138,7 @@ public class StartMedicalTranscriptionJobRequest extends AmazonWebServiceRequest * The sample rate, in hertz, of the audio track in your input media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe Medical + * If you do not specify the media sample rate, Amazon Transcribe Medical * determines it for you. If you specify the sample rate, it must match the * rate detected by Amazon Transcribe Medical; if there's a mismatch between * the value that you specify and the value detected, your job fails. @@ -152,7 +158,7 @@ public class StartMedicalTranscriptionJobRequest extends AmazonWebServiceRequest *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a */ private String mediaFormat; @@ -162,9 +168,8 @@ public class StartMedicalTranscriptionJobRequest extends AmazonWebServiceRequest * your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -321,8 +326,8 @@ public class StartMedicalTranscriptionJobRequest extends AmazonWebServiceRequest * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -545,7 +550,13 @@ public StartMedicalTranscriptionJobRequest withMedicalTranscriptionJobName( * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code that represents the language spoken in the @@ -573,7 +584,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language spoken in the @@ -604,7 +621,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language spoken in the @@ -635,7 +658,13 @@ public StartMedicalTranscriptionJobRequest withLanguageCode(String languageCode) * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language spoken in the @@ -666,7 +695,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language spoken in the @@ -689,7 +724,7 @@ public StartMedicalTranscriptionJobRequest withLanguageCode(LanguageCode languag * The sample rate, in hertz, of the audio track in your input media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe Medical + * If you do not specify the media sample rate, Amazon Transcribe Medical * determines it for you. If you specify the sample rate, it must match the * rate detected by Amazon Transcribe Medical; if there's a mismatch between * the value that you specify and the value detected, your job fails. @@ -706,7 +741,7 @@ public StartMedicalTranscriptionJobRequest withLanguageCode(LanguageCode languag * file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe + * If you do not specify the media sample rate, Amazon Transcribe * Medical determines it for you. If you specify the sample rate, it * must match the rate detected by Amazon Transcribe Medical; if * there's a mismatch between the value that you specify and the @@ -724,7 +759,7 @@ public Integer getMediaSampleRateHertz() { * The sample rate, in hertz, of the audio track in your input media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe Medical + * If you do not specify the media sample rate, Amazon Transcribe Medical * determines it for you. If you specify the sample rate, it must match the * rate detected by Amazon Transcribe Medical; if there's a mismatch between * the value that you specify and the value detected, your job fails. @@ -741,7 +776,7 @@ public Integer getMediaSampleRateHertz() { * media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe + * If you do not specify the media sample rate, Amazon Transcribe * Medical determines it for you. If you specify the sample rate, * it must match the rate detected by Amazon Transcribe Medical; * if there's a mismatch between the value that you specify and @@ -759,7 +794,7 @@ public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) { * The sample rate, in hertz, of the audio track in your input media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe Medical + * If you do not specify the media sample rate, Amazon Transcribe Medical * determines it for you. If you specify the sample rate, it must match the * rate detected by Amazon Transcribe Medical; if there's a mismatch between * the value that you specify and the value detected, your job fails. @@ -779,7 +814,7 @@ public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) { * media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe + * If you do not specify the media sample rate, Amazon Transcribe * Medical determines it for you. If you specify the sample rate, * it must match the rate detected by Amazon Transcribe Medical; * if there's a mismatch between the value that you specify and @@ -801,7 +836,7 @@ public StartMedicalTranscriptionJobRequest withMediaSampleRateHertz(Integer medi *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @return

    * Specify the format of your input media file. @@ -818,7 +853,7 @@ public String getMediaFormat() { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * Specify the format of your input media file. @@ -838,7 +873,7 @@ public void setMediaFormat(String mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * Specify the format of your input media file. @@ -858,7 +893,7 @@ public StartMedicalTranscriptionJobRequest withMediaFormat(String mediaFormat) { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * Specify the format of your input media file. @@ -878,7 +913,7 @@ public void setMediaFormat(MediaFormat mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * Specify the format of your input media file. @@ -898,9 +933,8 @@ public StartMedicalTranscriptionJobRequest withMediaFormat(MediaFormat mediaForm * your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -910,9 +944,8 @@ public StartMedicalTranscriptionJobRequest withMediaFormat(MediaFormat mediaForm * use in your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -927,9 +960,8 @@ public Media getMedia() { * your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -939,10 +971,8 @@ public Media getMedia() { * use in your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -957,9 +987,8 @@ public void setMedia(Media media) { * your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -972,10 +1001,8 @@ public void setMedia(Media media) { * use in your request. *

    *

    - * For information on supported media formats, refer to the MediaFormat parameter or the MediaFormat parameter or the Media formats section in the Amazon S3 Developer Guide. *

    @@ -1610,8 +1637,8 @@ public StartMedicalTranscriptionJobRequest withOutputKey(String outputKey) { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -1683,7 +1710,7 @@ public StartMedicalTranscriptionJobRequest withOutputKey(String outputKey) { * * *

    - * If you don't specify an encryption key, your output is encrypted + * If you do not specify an encryption key, your output is encrypted * with the default Amazon S3 key (SSE-S3). *

    *

    @@ -1756,8 +1783,8 @@ public String getOutputEncryptionKMSKeyId() { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -1830,7 +1857,7 @@ public String getOutputEncryptionKMSKeyId() { * * *

    - * If you don't specify an encryption key, your output is + * If you do not specify an encryption key, your output is * encrypted with the default Amazon S3 key (SSE-S3). *

    *

    @@ -1903,8 +1930,8 @@ public void setOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -1980,7 +2007,7 @@ public void setOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { * * *

    - * If you don't specify an encryption key, your output is + * If you do not specify an encryption key, your output is * encrypted with the default Amazon S3 key (SSE-S3). *

    *

    diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalTranscriptionJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalTranscriptionJobResult.java index 872ac8f9eb..b5ae244259 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalTranscriptionJobResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartMedicalTranscriptionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartTranscriptionJobRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartTranscriptionJobRequest.java index 3ee1c759f1..993a695b9e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartTranscriptionJobRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartTranscriptionJobRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -62,7 +62,7 @@ * media file, specify it using the LanguageCode parameter; you can * find all valid language codes in the Supported languages table. If you don't know the languages spoken in + * >Supported languages table. If you do not know the languages spoken in * your media, use either IdentifyLanguage or * IdentifyMultipleLanguages and let Amazon Transcribe identify the * languages for you. @@ -126,7 +126,13 @@ public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implem * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -135,7 +141,7 @@ public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implem * The sample rate, in hertz, of the audio track in your input media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe determines + * If you do not specify the media sample rate, Amazon Transcribe determines * it for you. If you specify the sample rate, it must match the rate * detected by Amazon Transcribe. If there's a mismatch between the value * that you specify and the value detected, your job fails. In most cases, @@ -154,7 +160,7 @@ public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implem *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a */ private String mediaFormat; @@ -194,7 +200,7 @@ public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implem * >Permissions Required for IAM User Roles. *

    *

    - * If you don't specify OutputBucketName, your transcript is + * If you do not specify OutputBucketName, your transcript is * placed in a service-managed Amazon S3 bucket and you are provided with a * URI to access your transcript. *

    @@ -321,8 +327,8 @@ public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implem * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -411,8 +417,10 @@ public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implem * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of + * PII you want to redact. If you do not include PiiEntityTypes + * in your request, all PII is redacted. *

    */ private ContentRedaction contentRedaction; @@ -732,7 +740,13 @@ public StartTranscriptionJobRequest withTranscriptionJobName(String transcriptio * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code that represents the language spoken in the @@ -805,7 +819,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language spoken in the @@ -881,7 +901,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language spoken in the @@ -957,7 +983,13 @@ public StartTranscriptionJobRequest withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language spoken in the @@ -1033,7 +1065,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language spoken in the @@ -1079,7 +1117,7 @@ public StartTranscriptionJobRequest withLanguageCode(LanguageCode languageCode) * The sample rate, in hertz, of the audio track in your input media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe determines + * If you do not specify the media sample rate, Amazon Transcribe determines * it for you. If you specify the sample rate, it must match the rate * detected by Amazon Transcribe. If there's a mismatch between the value * that you specify and the value detected, your job fails. In most cases, @@ -1095,7 +1133,7 @@ public StartTranscriptionJobRequest withLanguageCode(LanguageCode languageCode) * file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe + * If you do not specify the media sample rate, Amazon Transcribe * determines it for you. If you specify the sample rate, it must * match the rate detected by Amazon Transcribe. If there's a * mismatch between the value that you specify and the value @@ -1113,7 +1151,7 @@ public Integer getMediaSampleRateHertz() { * The sample rate, in hertz, of the audio track in your input media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe determines + * If you do not specify the media sample rate, Amazon Transcribe determines * it for you. If you specify the sample rate, it must match the rate * detected by Amazon Transcribe. If there's a mismatch between the value * that you specify and the value detected, your job fails. In most cases, @@ -1129,7 +1167,7 @@ public Integer getMediaSampleRateHertz() { * media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe + * If you do not specify the media sample rate, Amazon Transcribe * determines it for you. If you specify the sample rate, it must * match the rate detected by Amazon Transcribe. If there's a * mismatch between the value that you specify and the value @@ -1147,7 +1185,7 @@ public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) { * The sample rate, in hertz, of the audio track in your input media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe determines + * If you do not specify the media sample rate, Amazon Transcribe determines * it for you. If you specify the sample rate, it must match the rate * detected by Amazon Transcribe. If there's a mismatch between the value * that you specify and the value detected, your job fails. In most cases, @@ -1166,7 +1204,7 @@ public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) { * media file. *

    *

    - * If you don't specify the media sample rate, Amazon Transcribe + * If you do not specify the media sample rate, Amazon Transcribe * determines it for you. If you specify the sample rate, it must * match the rate detected by Amazon Transcribe. If there's a * mismatch between the value that you specify and the value @@ -1188,7 +1226,7 @@ public StartTranscriptionJobRequest withMediaSampleRateHertz(Integer mediaSample *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @return

    * Specify the format of your input media file. @@ -1205,7 +1243,7 @@ public String getMediaFormat() { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * Specify the format of your input media file. @@ -1225,7 +1263,7 @@ public void setMediaFormat(String mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * Specify the format of your input media file. @@ -1245,7 +1283,7 @@ public StartTranscriptionJobRequest withMediaFormat(String mediaFormat) { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * Specify the format of your input media file. @@ -1265,7 +1303,7 @@ public void setMediaFormat(MediaFormat mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * Specify the format of your input media file. @@ -1358,7 +1396,7 @@ public StartTranscriptionJobRequest withMedia(Media media) { * >Permissions Required for IAM User Roles. *

    *

    - * If you don't specify OutputBucketName, your transcript is + * If you do not specify OutputBucketName, your transcript is * placed in a service-managed Amazon S3 bucket and you are provided with a * URI to access your transcript. *

    @@ -1395,7 +1433,7 @@ public StartTranscriptionJobRequest withMedia(Media media) { * >Permissions Required for IAM User Roles. *

    *

    - * If you don't specify OutputBucketName, your + * If you do not specify OutputBucketName, your * transcript is placed in a service-managed Amazon S3 bucket and * you are provided with a URI to access your transcript. *

    @@ -1432,7 +1470,7 @@ public String getOutputBucketName() { * >Permissions Required for IAM User Roles. *

    *

    - * If you don't specify OutputBucketName, your transcript is + * If you do not specify OutputBucketName, your transcript is * placed in a service-managed Amazon S3 bucket and you are provided with a * URI to access your transcript. *

    @@ -1472,7 +1510,7 @@ public String getOutputBucketName() { * >Permissions Required for IAM User Roles. *

    *

    - * If you don't specify OutputBucketName, your + * If you do not specify OutputBucketName, your * transcript is placed in a service-managed Amazon S3 bucket and * you are provided with a URI to access your transcript. *

    @@ -1509,7 +1547,7 @@ public void setOutputBucketName(String outputBucketName) { * >Permissions Required for IAM User Roles. *

    *

    - * If you don't specify OutputBucketName, your transcript is + * If you do not specify OutputBucketName, your transcript is * placed in a service-managed Amazon S3 bucket and you are provided with a * URI to access your transcript. *

    @@ -1552,7 +1590,7 @@ public void setOutputBucketName(String outputBucketName) { * >Permissions Required for IAM User Roles. *

    *

    - * If you don't specify OutputBucketName, your + * If you do not specify OutputBucketName, your * transcript is placed in a service-managed Amazon S3 bucket and * you are provided with a URI to access your transcript. *

    @@ -1982,8 +2020,8 @@ public StartTranscriptionJobRequest withOutputKey(String outputKey) { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -2054,7 +2092,7 @@ public StartTranscriptionJobRequest withOutputKey(String outputKey) { * * *

    - * If you don't specify an encryption key, your output is encrypted + * If you do not specify an encryption key, your output is encrypted * with the default Amazon S3 key (SSE-S3). *

    *

    @@ -2127,8 +2165,8 @@ public String getOutputEncryptionKMSKeyId() { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -2201,7 +2239,7 @@ public String getOutputEncryptionKMSKeyId() { * * *

    - * If you don't specify an encryption key, your output is + * If you do not specify an encryption key, your output is * encrypted with the default Amazon S3 key (SSE-S3). *

    *

    @@ -2274,8 +2312,8 @@ public void setOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { * * *

    - * If you don't specify an encryption key, your output is encrypted with the - * default Amazon S3 key (SSE-S3). + * If you do not specify an encryption key, your output is encrypted with + * the default Amazon S3 key (SSE-S3). *

    *

    * If you specify a KMS key to encrypt your output, you must also specify an @@ -2351,7 +2389,7 @@ public void setOutputEncryptionKMSKeyId(String outputEncryptionKMSKeyId) { * * *

    - * If you don't specify an encryption key, your output is + * If you do not specify an encryption key, your output is * encrypted with the default Amazon S3 key (SSE-S3). *

    *

    @@ -2843,16 +2881,21 @@ public StartTranscriptionJobRequest withJobExecutionSettings( * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of + * PII you want to redact. If you do not include PiiEntityTypes + * in your request, all PII is redacted. *

    * * @return

    * Makes it possible to redact or flag specified personally * identifiable information (PII) in your transcript. If you use * ContentRedaction, you must also include the - * sub-parameters: PiiEntityTypes, - * RedactionOutput, and RedactionType. + * sub-parameters: RedactionOutput and + * RedactionType. You can optionally include + * PiiEntityTypes to choose which types of PII you want + * to redact. If you do not include PiiEntityTypes in + * your request, all PII is redacted. *

    */ public ContentRedaction getContentRedaction() { @@ -2864,16 +2907,22 @@ public ContentRedaction getContentRedaction() { * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of + * PII you want to redact. If you do not include PiiEntityTypes + * in your request, all PII is redacted. *

    * * @param contentRedaction

    * Makes it possible to redact or flag specified personally * identifiable information (PII) in your transcript. If you use * ContentRedaction, you must also include the - * sub-parameters: PiiEntityTypes, - * RedactionOutput, and RedactionType. + * sub-parameters: RedactionOutput and + * RedactionType. You can optionally include + * PiiEntityTypes to choose which types of PII you + * want to redact. If you do not include + * PiiEntityTypes in your request, all PII is + * redacted. *

    */ public void setContentRedaction(ContentRedaction contentRedaction) { @@ -2885,8 +2934,10 @@ public void setContentRedaction(ContentRedaction contentRedaction) { * Makes it possible to redact or flag specified personally identifiable * information (PII) in your transcript. If you use * ContentRedaction, you must also include the sub-parameters: - * PiiEntityTypes, RedactionOutput, and - * RedactionType. + * RedactionOutput and RedactionType. You can + * optionally include PiiEntityTypes to choose which types of + * PII you want to redact. If you do not include PiiEntityTypes + * in your request, all PII is redacted. *

    *

    * Returns a reference to this object so that method calls can be chained @@ -2896,8 +2947,12 @@ public void setContentRedaction(ContentRedaction contentRedaction) { * Makes it possible to redact or flag specified personally * identifiable information (PII) in your transcript. If you use * ContentRedaction, you must also include the - * sub-parameters: PiiEntityTypes, - * RedactionOutput, and RedactionType. + * sub-parameters: RedactionOutput and + * RedactionType. You can optionally include + * PiiEntityTypes to choose which types of PII you + * want to redact. If you do not include + * PiiEntityTypes in your request, all PII is + * redacted. *

    * @return A reference to this updated object so that method calls can be * chained together. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartTranscriptionJobResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartTranscriptionJobResult.java index fb73ef56d2..da9e24ddd7 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartTranscriptionJobResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/StartTranscriptionJobResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SubtitleFormat.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SubtitleFormat.java index 0cf25a446e..631982db2f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SubtitleFormat.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SubtitleFormat.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Subtitles.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Subtitles.java index a2100bbcd2..40dd960a58 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Subtitles.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Subtitles.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SubtitlesOutput.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SubtitlesOutput.java index b420cb0bb4..b3386c7e0e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SubtitlesOutput.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SubtitlesOutput.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Summarization.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Summarization.java new file mode 100644 index 0000000000..efdc0dbd8a --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Summarization.java @@ -0,0 +1,231 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model; + +import java.io.Serializable; + +/** + *

    + * Contains GenerateAbstractiveSummary, which is a required + * parameter if you want to enable Generative call summarization in your Call + * Analytics request. + *

    + */ +public class Summarization implements Serializable { + /** + *

    + * Enables Generative call summarization in your Call Analytics request + *

    + *

    + * Generative call summarization provides a summary of the transcript + * including important components discussed in the conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + */ + private Boolean generateAbstractiveSummary; + + /** + *

    + * Enables Generative call summarization in your Call Analytics request + *

    + *

    + * Generative call summarization provides a summary of the transcript + * including important components discussed in the conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + * + * @return

    + * Enables Generative call summarization in your Call Analytics + * request + *

    + *

    + * Generative call summarization provides a summary of the + * transcript including important components discussed in the + * conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + */ + public Boolean isGenerateAbstractiveSummary() { + return generateAbstractiveSummary; + } + + /** + *

    + * Enables Generative call summarization in your Call Analytics request + *

    + *

    + * Generative call summarization provides a summary of the transcript + * including important components discussed in the conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + * + * @return

    + * Enables Generative call summarization in your Call Analytics + * request + *

    + *

    + * Generative call summarization provides a summary of the + * transcript including important components discussed in the + * conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + */ + public Boolean getGenerateAbstractiveSummary() { + return generateAbstractiveSummary; + } + + /** + *

    + * Enables Generative call summarization in your Call Analytics request + *

    + *

    + * Generative call summarization provides a summary of the transcript + * including important components discussed in the conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + * + * @param generateAbstractiveSummary

    + * Enables Generative call summarization in your Call Analytics + * request + *

    + *

    + * Generative call summarization provides a summary of the + * transcript including important components discussed in the + * conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + */ + public void setGenerateAbstractiveSummary(Boolean generateAbstractiveSummary) { + this.generateAbstractiveSummary = generateAbstractiveSummary; + } + + /** + *

    + * Enables Generative call summarization in your Call Analytics request + *

    + *

    + * Generative call summarization provides a summary of the transcript + * including important components discussed in the conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + *

    + * Returns a reference to this object so that method calls can be chained + * together. + * + * @param generateAbstractiveSummary

    + * Enables Generative call summarization in your Call Analytics + * request + *

    + *

    + * Generative call summarization provides a summary of the + * transcript including important components discussed in the + * conversation. + *

    + *

    + * For more information, see Enabling generative call summarization. + *

    + * @return A reference to this updated object so that method calls can be + * chained together. + */ + public Summarization withGenerateAbstractiveSummary(Boolean generateAbstractiveSummary) { + this.generateAbstractiveSummary = generateAbstractiveSummary; + return this; + } + + /** + * Returns a string representation of this object; useful for testing and + * debugging. + * + * @return A string representation of this object. + * @see java.lang.Object#toString() + */ + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("{"); + if (getGenerateAbstractiveSummary() != null) + sb.append("GenerateAbstractiveSummary: " + getGenerateAbstractiveSummary()); + sb.append("}"); + return sb.toString(); + } + + @Override + public int hashCode() { + final int prime = 31; + int hashCode = 1; + + hashCode = prime + * hashCode + + ((getGenerateAbstractiveSummary() == null) ? 0 : getGenerateAbstractiveSummary() + .hashCode()); + return hashCode; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) + return true; + if (obj == null) + return false; + + if (obj instanceof Summarization == false) + return false; + Summarization other = (Summarization) obj; + + if (other.getGenerateAbstractiveSummary() == null + ^ this.getGenerateAbstractiveSummary() == null) + return false; + if (other.getGenerateAbstractiveSummary() != null + && other.getGenerateAbstractiveSummary().equals( + this.getGenerateAbstractiveSummary()) == false) + return false; + return true; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Tag.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Tag.java index 12bb73fc1e..d711591b81 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Tag.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Tag.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TagResourceRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TagResourceRequest.java index 263bfb2fc4..3112bb270f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TagResourceRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TagResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TagResourceResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TagResourceResult.java index a0cb4c4540..ae8190ceee 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TagResourceResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TagResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityCategory.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityCategory.java index 477c33a0b6..fdc849c3e3 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityCategory.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityCategory.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityDetectionSettings.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityDetectionSettings.java index 38dd89e6e4..52982c3d5d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityDetectionSettings.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/ToxicityDetectionSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Transcript.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Transcript.java index d0ec62928a..cb2fdd5974 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Transcript.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Transcript.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptFilter.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptFilter.java index b7ff91e2a7..e41d6b02fc 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptFilter.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptFilterType.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptFilterType.java index 9ac37e7512..311448b990 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptFilterType.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptFilterType.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJob.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJob.java index c14f79a95d..e2eaef008a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJob.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJob.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -78,7 +78,13 @@ public class TranscriptionJob implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -98,7 +104,7 @@ public class TranscriptionJob implements Serializable { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a */ private String mediaFormat; @@ -174,7 +180,8 @@ public class TranscriptionJob implements Serializable { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -215,8 +222,8 @@ public class TranscriptionJob implements Serializable { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -226,8 +233,8 @@ public class TranscriptionJob implements Serializable { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -606,7 +613,13 @@ public TranscriptionJob withTranscriptionJobStatus(TranscriptionJobStatus transc * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code used to create your transcription job. This @@ -633,7 +646,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your transcription job. This @@ -663,7 +682,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your transcription job. This @@ -693,7 +718,13 @@ public TranscriptionJob withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your transcription job. This @@ -723,7 +754,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your transcription job. This @@ -803,7 +840,7 @@ public TranscriptionJob withMediaSampleRateHertz(Integer mediaSampleRateHertz) { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @return

    * The format of the input media file. @@ -820,7 +857,7 @@ public String getMediaFormat() { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -840,7 +877,7 @@ public void setMediaFormat(String mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -860,7 +897,7 @@ public TranscriptionJob withMediaFormat(String mediaFormat) { *

    *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -880,7 +917,7 @@ public void setMediaFormat(MediaFormat mediaFormat) { * together. *

    * Constraints:
    - * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm + * Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm, m4a * * @param mediaFormat

    * The format of the input media file. @@ -1274,7 +1311,8 @@ public TranscriptionJob withCompletionTime(java.util.Date completionTime) { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1315,8 +1353,8 @@ public TranscriptionJob withCompletionTime(java.util.Date completionTime) { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1326,8 +1364,8 @@ public TranscriptionJob withCompletionTime(java.util.Date completionTime) { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1348,8 +1386,8 @@ public TranscriptionJob withCompletionTime(java.util.Date completionTime) { *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat parameter + * for a list of supported formats. *

    * *
  • @@ -1392,8 +1430,8 @@ public TranscriptionJob withCompletionTime(java.util.Date completionTime) { *

    * The size of your media file is larger than what Amazon Transcribe * can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1404,8 +1442,8 @@ public TranscriptionJob withCompletionTime(java.util.Date completionTime) { *

    * Your audio contains more channels than Amazon Transcribe is able * to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1431,7 +1469,8 @@ public String getFailureReason() { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1472,8 +1511,8 @@ public String getFailureReason() { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1483,8 +1522,8 @@ public String getFailureReason() { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1505,8 +1544,8 @@ public String getFailureReason() { *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat + * parameter for a list of supported formats. *

    * *
  • @@ -1550,8 +1589,8 @@ public String getFailureReason() { * The size of your media file is larger than what Amazon * Transcribe can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1562,8 +1601,8 @@ public String getFailureReason() { *

    * Your audio contains more channels than Amazon Transcribe is * able to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1589,7 +1628,8 @@ public void setFailureReason(String failureReason) { *

    *

    * The media format specified in MediaFormat isn't valid. Refer - * to MediaFormat for a list of supported formats. + * to refer to the MediaFormat parameter for a list of + * supported formats. *

    * *
  • @@ -1630,8 +1670,8 @@ public void setFailureReason(String failureReason) { *

    * The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1641,8 +1681,8 @@ public void setFailureReason(String failureReason) { *

    * Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * @@ -1666,8 +1706,8 @@ public void setFailureReason(String failureReason) { *

    *

    * The media format specified in MediaFormat isn't - * valid. Refer to MediaFormat for a list of supported - * formats. + * valid. Refer to refer to the MediaFormat + * parameter for a list of supported formats. *

    * *
  • @@ -1711,8 +1751,8 @@ public void setFailureReason(String failureReason) { * The size of your media file is larger than what Amazon * Transcribe can process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • *
  • @@ -1723,8 +1763,8 @@ public void setFailureReason(String failureReason) { *

    * Your audio contains more channels than Amazon Transcribe is * able to process. For more information, refer to Guidelines and quotas. + * "https://docs.aws.amazon.com/general/latest/gr/transcribe.html#limits-amazon-transcribe" + * >Service quotas. *

    *
  • * diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJobStatus.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJobStatus.java index 389d624ac8..3f25743670 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJobStatus.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJobStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJobSummary.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJobSummary.java index eb276711b0..d21f020d71 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJobSummary.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/TranscriptionJobSummary.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -84,7 +84,13 @@ public class TranscriptionJobSummary implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -543,7 +549,13 @@ public TranscriptionJobSummary withCompletionTime(java.util.Date completionTime) * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code used to create your transcription. @@ -564,7 +576,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your transcription. @@ -588,7 +606,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your transcription. @@ -612,7 +636,13 @@ public TranscriptionJobSummary withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your transcription. @@ -636,7 +666,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your transcription. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Type.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Type.java index 4a7a9e5849..31586316fa 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Type.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/Type.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UntagResourceRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UntagResourceRequest.java index 19040cfd9a..211a65c889 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UntagResourceRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UntagResourceRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UntagResourceResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UntagResourceResult.java index 1063b4d292..0b2416967c 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UntagResourceResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UntagResourceResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryRequest.java index af9148ecb7..64a992a93a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryResult.java index a83969a169..09b52e637e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateCallAnalyticsCategoryResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateMedicalVocabularyRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateMedicalVocabularyRequest.java index a7cfe8ed77..c14df70e3b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateMedicalVocabularyRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateMedicalVocabularyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -51,7 +51,13 @@ public class UpdateMedicalVocabularyRequest extends AmazonWebServiceRequest impl * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -147,7 +153,13 @@ public UpdateMedicalVocabularyRequest withVocabularyName(String vocabularyName) * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code that represents the language of the entries in @@ -173,7 +185,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -202,7 +220,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -231,7 +255,13 @@ public UpdateMedicalVocabularyRequest withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -260,7 +290,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateMedicalVocabularyResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateMedicalVocabularyResult.java index 98f5851276..9bf9fc3d68 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateMedicalVocabularyResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateMedicalVocabularyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -41,7 +41,13 @@ public class UpdateMedicalVocabularyResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -140,7 +146,13 @@ public UpdateMedicalVocabularyResult withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom medical @@ -165,7 +177,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -193,7 +211,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -221,7 +245,13 @@ public UpdateMedicalVocabularyResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical @@ -249,7 +279,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom medical diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyFilterRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyFilterRequest.java index 1df4e6beab..18fc73c92f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyFilterRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyFilterRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyFilterResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyFilterResult.java index 03dc5051e8..bfb9436a77 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyFilterResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyFilterResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -39,7 +39,13 @@ public class UpdateVocabularyFilterResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -124,7 +130,13 @@ public UpdateVocabularyFilterResult withVocabularyFilterName(String vocabularyFi * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom vocabulary filter. @@ -145,7 +157,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -170,7 +188,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -195,7 +219,13 @@ public UpdateVocabularyFilterResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary @@ -220,7 +250,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyRequest.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyRequest.java index 78fea1e2bc..782d5723ed 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyRequest.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -63,7 +63,13 @@ public class UpdateVocabularyRequest extends AmazonWebServiceRequest implements * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -227,7 +233,13 @@ public UpdateVocabularyRequest withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code that represents the language of the entries in @@ -277,7 +289,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -330,7 +348,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -383,7 +407,13 @@ public UpdateVocabularyRequest withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -436,7 +466,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyResult.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyResult.java index 2953a34018..9107b144ca 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyResult.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/UpdateVocabularyResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -39,7 +39,13 @@ public class UpdateVocabularyResult implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -135,7 +141,13 @@ public UpdateVocabularyResult withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code you selected for your custom vocabulary. @@ -156,7 +168,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -180,7 +198,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -204,7 +228,13 @@ public UpdateVocabularyResult withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. @@ -228,7 +258,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code you selected for your custom vocabulary. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyFilterInfo.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyFilterInfo.java index 5450a892b7..9114035a71 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyFilterInfo.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyFilterInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -61,7 +61,13 @@ public class VocabularyFilterInfo implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -172,7 +178,13 @@ public VocabularyFilterInfo withVocabularyFilterName(String vocabularyFilterName * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code that represents the language of the entries in @@ -222,7 +234,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -275,7 +293,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -328,7 +352,13 @@ public VocabularyFilterInfo withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries @@ -381,7 +411,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code that represents the language of the entries diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyFilterMethod.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyFilterMethod.java index 041ff0d93e..3ef2d2fb05 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyFilterMethod.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyFilterMethod.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyInfo.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyInfo.java index 38a7585f24..032a3afd25 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyInfo.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyInfo.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -55,7 +55,13 @@ public class VocabularyInfo implements Serializable { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA */ private String languageCode; @@ -170,7 +176,13 @@ public VocabularyInfo withVocabularyName(String vocabularyName) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @return

    * The language code used to create your custom vocabulary. Each @@ -206,7 +218,13 @@ public String getLanguageCode() { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your custom vocabulary. Each @@ -245,7 +263,13 @@ public void setLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your custom vocabulary. Each @@ -284,7 +308,13 @@ public VocabularyInfo withLanguageCode(String languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your custom vocabulary. Each @@ -323,7 +353,13 @@ public void setLanguageCode(LanguageCode languageCode) { * en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, * fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, * pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ, - * vi-VN, sv-SE + * vi-VN, sv-SE, ab-GE, ast-ES, az-AZ, ba-RU, be-BY, bg-BG, bn-IN, bs-BA, + * ca-ES, ckb-IQ, ckb-IR, cs-CZ, cy-WL, el-GR, et-ET, eu-ES, fi-FI, gl-ES, + * gu-IN, ha-NG, hr-HR, hu-HU, hy-AM, is-IS, ka-GE, kab-DZ, kk-KZ, kn-IN, + * ky-KG, lg-IN, lt-LT, lv-LV, mhr-RU, mi-NZ, mk-MK, ml-IN, mn-MN, mr-IN, + * mt-MT, no-NO, or-IN, pa-IN, pl-PL, ps-AF, ro-RO, rw-RW, si-LK, sk-SK, + * sl-SI, so-SO, sr-RS, su-ID, sw-BI, sw-KE, sw-RW, sw-TZ, sw-UG, tl-PH, + * tt-RU, ug-CN, uk-UA, uz-UZ, wo-SN, zu-ZA * * @param languageCode

    * The language code used to create your custom vocabulary. Each diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyState.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyState.java index 5e2e57e518..86d984cf68 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyState.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/VocabularyState.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/AbsoluteTimeRangeJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/AbsoluteTimeRangeJsonMarshaller.java index 2cab155a09..b5b936434e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/AbsoluteTimeRangeJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/AbsoluteTimeRangeJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/AbsoluteTimeRangeJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/AbsoluteTimeRangeJsonUnmarshaller.java index b8ff1d211c..eee14aabd9 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/AbsoluteTimeRangeJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/AbsoluteTimeRangeJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/BadRequestExceptionUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/BadRequestExceptionUnmarshaller.java index cf31920490..55c270627f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/BadRequestExceptionUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/BadRequestExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobDetailsJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobDetailsJsonMarshaller.java new file mode 100644 index 0000000000..ed00efc3bd --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobDetailsJsonMarshaller.java @@ -0,0 +1,53 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO CallAnalyticsJobDetails + */ +class CallAnalyticsJobDetailsJsonMarshaller { + + public void marshall(CallAnalyticsJobDetails callAnalyticsJobDetails, AwsJsonWriter jsonWriter) + throws Exception { + jsonWriter.beginObject(); + if (callAnalyticsJobDetails.getSkipped() != null) { + java.util.List skipped = callAnalyticsJobDetails + .getSkipped(); + jsonWriter.name("Skipped"); + jsonWriter.beginArray(); + for (CallAnalyticsSkippedFeature skippedItem : skipped) { + if (skippedItem != null) { + CallAnalyticsSkippedFeatureJsonMarshaller.getInstance().marshall(skippedItem, + jsonWriter); + } + } + jsonWriter.endArray(); + } + jsonWriter.endObject(); + } + + private static CallAnalyticsJobDetailsJsonMarshaller instance; + + public static CallAnalyticsJobDetailsJsonMarshaller getInstance() { + if (instance == null) + instance = new CallAnalyticsJobDetailsJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobDetailsJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobDetailsJsonUnmarshaller.java new file mode 100644 index 0000000000..0fbc028485 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobDetailsJsonUnmarshaller.java @@ -0,0 +1,60 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO CallAnalyticsJobDetails + */ +class CallAnalyticsJobDetailsJsonUnmarshaller implements + Unmarshaller { + + public CallAnalyticsJobDetails unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + CallAnalyticsJobDetails callAnalyticsJobDetails = new CallAnalyticsJobDetails(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("Skipped")) { + callAnalyticsJobDetails + .setSkipped(new ListUnmarshaller( + CallAnalyticsSkippedFeatureJsonUnmarshaller.getInstance() + ) + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return callAnalyticsJobDetails; + } + + private static CallAnalyticsJobDetailsJsonUnmarshaller instance; + + public static CallAnalyticsJobDetailsJsonUnmarshaller getInstance() { + if (instance == null) + instance = new CallAnalyticsJobDetailsJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobJsonMarshaller.java index 95e3cac501..07daa35238 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -37,6 +37,13 @@ public void marshall(CallAnalyticsJob callAnalyticsJob, AwsJsonWriter jsonWriter jsonWriter.name("CallAnalyticsJobStatus"); jsonWriter.value(callAnalyticsJobStatus); } + if (callAnalyticsJob.getCallAnalyticsJobDetails() != null) { + CallAnalyticsJobDetails callAnalyticsJobDetails = callAnalyticsJob + .getCallAnalyticsJobDetails(); + jsonWriter.name("CallAnalyticsJobDetails"); + CallAnalyticsJobDetailsJsonMarshaller.getInstance().marshall(callAnalyticsJobDetails, + jsonWriter); + } if (callAnalyticsJob.getLanguageCode() != null) { String languageCode = callAnalyticsJob.getLanguageCode(); jsonWriter.name("LanguageCode"); diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobJsonUnmarshaller.java index 38ecae32ee..c73655cbc2 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -42,6 +42,10 @@ public CallAnalyticsJob unmarshall(JsonUnmarshallerContext context) throws Excep } else if (name.equals("CallAnalyticsJobStatus")) { callAnalyticsJob.setCallAnalyticsJobStatus(StringJsonUnmarshaller.getInstance() .unmarshall(context)); + } else if (name.equals("CallAnalyticsJobDetails")) { + callAnalyticsJob.setCallAnalyticsJobDetails(CallAnalyticsJobDetailsJsonUnmarshaller + .getInstance() + .unmarshall(context)); } else if (name.equals("LanguageCode")) { callAnalyticsJob.setLanguageCode(StringJsonUnmarshaller.getInstance() .unmarshall(context)); diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSettingsJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSettingsJsonMarshaller.java index 66b8d9bc9e..c3aab13241 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSettingsJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -79,6 +79,11 @@ public void marshall(CallAnalyticsJobSettings callAnalyticsJobSettings, AwsJsonW } jsonWriter.endObject(); } + if (callAnalyticsJobSettings.getSummarization() != null) { + Summarization summarization = callAnalyticsJobSettings.getSummarization(); + jsonWriter.name("Summarization"); + SummarizationJsonMarshaller.getInstance().marshall(summarization, jsonWriter); + } jsonWriter.endObject(); } diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSettingsJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSettingsJsonUnmarshaller.java index b384083137..45a1f56f22 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -65,6 +65,10 @@ public CallAnalyticsJobSettings unmarshall(JsonUnmarshallerContext context) thro LanguageIdSettingsJsonUnmarshaller.getInstance() ) .unmarshall(context)); + } else if (name.equals("Summarization")) { + callAnalyticsJobSettings.setSummarization(SummarizationJsonUnmarshaller + .getInstance() + .unmarshall(context)); } else { reader.skipValue(); } diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSummaryJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSummaryJsonMarshaller.java index 8b48f8b31c..eb0cbdcc1e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSummaryJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSummaryJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -57,6 +57,13 @@ public void marshall(CallAnalyticsJobSummary callAnalyticsJobSummary, AwsJsonWri jsonWriter.name("CallAnalyticsJobStatus"); jsonWriter.value(callAnalyticsJobStatus); } + if (callAnalyticsJobSummary.getCallAnalyticsJobDetails() != null) { + CallAnalyticsJobDetails callAnalyticsJobDetails = callAnalyticsJobSummary + .getCallAnalyticsJobDetails(); + jsonWriter.name("CallAnalyticsJobDetails"); + CallAnalyticsJobDetailsJsonMarshaller.getInstance().marshall(callAnalyticsJobDetails, + jsonWriter); + } if (callAnalyticsJobSummary.getFailureReason() != null) { String failureReason = callAnalyticsJobSummary.getFailureReason(); jsonWriter.name("FailureReason"); diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSummaryJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSummaryJsonUnmarshaller.java index 59c5ab9518..14307d7820 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSummaryJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsJobSummaryJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. @@ -56,6 +56,11 @@ public CallAnalyticsJobSummary unmarshall(JsonUnmarshallerContext context) throw callAnalyticsJobSummary.setCallAnalyticsJobStatus(StringJsonUnmarshaller .getInstance() .unmarshall(context)); + } else if (name.equals("CallAnalyticsJobDetails")) { + callAnalyticsJobSummary + .setCallAnalyticsJobDetails(CallAnalyticsJobDetailsJsonUnmarshaller + .getInstance() + .unmarshall(context)); } else if (name.equals("FailureReason")) { callAnalyticsJobSummary.setFailureReason(StringJsonUnmarshaller.getInstance() .unmarshall(context)); diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsSkippedFeatureJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsSkippedFeatureJsonMarshaller.java new file mode 100644 index 0000000000..3eb7a22332 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsSkippedFeatureJsonMarshaller.java @@ -0,0 +1,55 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO CallAnalyticsSkippedFeature + */ +class CallAnalyticsSkippedFeatureJsonMarshaller { + + public void marshall(CallAnalyticsSkippedFeature callAnalyticsSkippedFeature, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (callAnalyticsSkippedFeature.getFeature() != null) { + String feature = callAnalyticsSkippedFeature.getFeature(); + jsonWriter.name("Feature"); + jsonWriter.value(feature); + } + if (callAnalyticsSkippedFeature.getReasonCode() != null) { + String reasonCode = callAnalyticsSkippedFeature.getReasonCode(); + jsonWriter.name("ReasonCode"); + jsonWriter.value(reasonCode); + } + if (callAnalyticsSkippedFeature.getMessage() != null) { + String message = callAnalyticsSkippedFeature.getMessage(); + jsonWriter.name("Message"); + jsonWriter.value(message); + } + jsonWriter.endObject(); + } + + private static CallAnalyticsSkippedFeatureJsonMarshaller instance; + + public static CallAnalyticsSkippedFeatureJsonMarshaller getInstance() { + if (instance == null) + instance = new CallAnalyticsSkippedFeatureJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsSkippedFeatureJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsSkippedFeatureJsonUnmarshaller.java new file mode 100644 index 0000000000..62cef1672e --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CallAnalyticsSkippedFeatureJsonUnmarshaller.java @@ -0,0 +1,63 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO CallAnalyticsSkippedFeature + */ +class CallAnalyticsSkippedFeatureJsonUnmarshaller implements + Unmarshaller { + + public CallAnalyticsSkippedFeature unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + CallAnalyticsSkippedFeature callAnalyticsSkippedFeature = new CallAnalyticsSkippedFeature(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("Feature")) { + callAnalyticsSkippedFeature.setFeature(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("ReasonCode")) { + callAnalyticsSkippedFeature.setReasonCode(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("Message")) { + callAnalyticsSkippedFeature.setMessage(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return callAnalyticsSkippedFeature; + } + + private static CallAnalyticsSkippedFeatureJsonUnmarshaller instance; + + public static CallAnalyticsSkippedFeatureJsonUnmarshaller getInstance() { + if (instance == null) + instance = new CallAnalyticsSkippedFeatureJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CategoryPropertiesJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CategoryPropertiesJsonMarshaller.java index c158c90d84..41b1bf6b0d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CategoryPropertiesJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CategoryPropertiesJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CategoryPropertiesJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CategoryPropertiesJsonUnmarshaller.java index 35aea80593..697c327c6c 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CategoryPropertiesJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CategoryPropertiesJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ChannelDefinitionJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ChannelDefinitionJsonMarshaller.java index 3d4d56444c..0044f2781c 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ChannelDefinitionJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ChannelDefinitionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ChannelDefinitionJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ChannelDefinitionJsonUnmarshaller.java index 762d8d1d48..d496680b2f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ChannelDefinitionJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ChannelDefinitionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ConflictExceptionUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ConflictExceptionUnmarshaller.java index 2db52eeedd..5a14cf1324 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ConflictExceptionUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ConflictExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ContentRedactionJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ContentRedactionJsonMarshaller.java index c2a24e11a2..90fd6e0126 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ContentRedactionJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ContentRedactionJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ContentRedactionJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ContentRedactionJsonUnmarshaller.java index 6d217db204..7540343ae1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ContentRedactionJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ContentRedactionJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateCallAnalyticsCategoryRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateCallAnalyticsCategoryRequestMarshaller.java index e3d962418b..f1a5a741f1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateCallAnalyticsCategoryRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateCallAnalyticsCategoryRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateCallAnalyticsCategoryResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateCallAnalyticsCategoryResultJsonUnmarshaller.java index 3edce8eb6a..1d66b59f0f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateCallAnalyticsCategoryResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateCallAnalyticsCategoryResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateLanguageModelRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateLanguageModelRequestMarshaller.java index 7052bfc816..dda51629d4 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateLanguageModelRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateLanguageModelRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateLanguageModelResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateLanguageModelResultJsonUnmarshaller.java index adb9935665..f00900745f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateLanguageModelResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateLanguageModelResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateMedicalVocabularyRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateMedicalVocabularyRequestMarshaller.java index fd68866b5a..371730bd1d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateMedicalVocabularyRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateMedicalVocabularyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateMedicalVocabularyResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateMedicalVocabularyResultJsonUnmarshaller.java index a828677745..4686fe4f78 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateMedicalVocabularyResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateMedicalVocabularyResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyFilterRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyFilterRequestMarshaller.java index 8b54d8723f..d473210580 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyFilterRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyFilterRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyFilterResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyFilterResultJsonUnmarshaller.java index b792e77c09..224c1b97ee 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyFilterResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyFilterResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyRequestMarshaller.java index b37df85b77..06010b3929 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyResultJsonUnmarshaller.java index 64e57344b9..4a504076d8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/CreateVocabularyResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsCategoryRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsCategoryRequestMarshaller.java index ebe1e04e21..160426a680 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsCategoryRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsCategoryRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsCategoryResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsCategoryResultJsonUnmarshaller.java index dc5e500ca1..8a1474aa5e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsCategoryResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsCategoryResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsJobRequestMarshaller.java index 8177d22a3a..51462f6f2e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsJobResultJsonUnmarshaller.java index b73378de7a..e62cc606d2 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsJobResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteCallAnalyticsJobResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteLanguageModelRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteLanguageModelRequestMarshaller.java index 1e3b6ec386..65b89a1a8d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteLanguageModelRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteLanguageModelRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalScribeJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalScribeJobRequestMarshaller.java new file mode 100644 index 0000000000..3188d65b17 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalScribeJobRequestMarshaller.java @@ -0,0 +1,89 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for DeleteMedicalScribeJobRequest + */ +public class DeleteMedicalScribeJobRequestMarshaller implements + Marshaller, DeleteMedicalScribeJobRequest> { + + public Request marshall( + DeleteMedicalScribeJobRequest deleteMedicalScribeJobRequest) { + if (deleteMedicalScribeJobRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(DeleteMedicalScribeJobRequest)"); + } + + Request request = new DefaultRequest( + deleteMedicalScribeJobRequest, "AmazonTranscribe"); + String target = "Transcribe.DeleteMedicalScribeJob"; + request.addHeader("X-Amz-Target", target); + request.setHttpMethod(HttpMethodName.POST); + + String uriResourcePath = "/"; + request.setResourcePath(uriResourcePath); + try { + StringWriter stringWriter = new StringWriter(); + AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(stringWriter); + jsonWriter.beginObject(); + + if (deleteMedicalScribeJobRequest.getMedicalScribeJobName() != null) { + String medicalScribeJobName = deleteMedicalScribeJobRequest + .getMedicalScribeJobName(); + jsonWriter.name("MedicalScribeJobName"); + jsonWriter.value(medicalScribeJobName); + } + + jsonWriter.endObject(); + jsonWriter.close(); + String snippet = stringWriter.toString(); + byte[] content = snippet.getBytes(UTF8); + request.setContent(new StringInputStream(snippet)); + request.addHeader("Content-Length", Integer.toString(content.length)); + } catch (Throwable t) { + throw new AmazonClientException( + "Unable to marshall request to JSON: " + t.getMessage(), t); + } + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalTranscriptionJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalTranscriptionJobRequestMarshaller.java index c804e36be6..bf7234b24b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalTranscriptionJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalTranscriptionJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalVocabularyRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalVocabularyRequestMarshaller.java index 1d17fa85dc..b406a77201 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalVocabularyRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteMedicalVocabularyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteTranscriptionJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteTranscriptionJobRequestMarshaller.java index 818ec5779e..dfa61eb805 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteTranscriptionJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteTranscriptionJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteVocabularyFilterRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteVocabularyFilterRequestMarshaller.java index 383be3f5e0..87c66d9acd 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteVocabularyFilterRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteVocabularyFilterRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteVocabularyRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteVocabularyRequestMarshaller.java index 0e59481b35..e7eb89c5ad 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteVocabularyRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DeleteVocabularyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DescribeLanguageModelRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DescribeLanguageModelRequestMarshaller.java index ac0e9917be..54366ea8cc 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DescribeLanguageModelRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DescribeLanguageModelRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DescribeLanguageModelResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DescribeLanguageModelResultJsonUnmarshaller.java index 6b367602e0..159c964ff3 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DescribeLanguageModelResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/DescribeLanguageModelResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsCategoryRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsCategoryRequestMarshaller.java index 0540a21774..84610d612e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsCategoryRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsCategoryRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsCategoryResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsCategoryResultJsonUnmarshaller.java index 68094d9ae0..b3532834a2 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsCategoryResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsCategoryResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsJobRequestMarshaller.java index 0815f3a323..dc24677da5 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsJobResultJsonUnmarshaller.java index f91ce789d1..bd85241df4 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsJobResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetCallAnalyticsJobResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalScribeJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalScribeJobRequestMarshaller.java new file mode 100644 index 0000000000..ae2971f2e8 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalScribeJobRequestMarshaller.java @@ -0,0 +1,88 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for GetMedicalScribeJobRequest + */ +public class GetMedicalScribeJobRequestMarshaller implements + Marshaller, GetMedicalScribeJobRequest> { + + public Request marshall( + GetMedicalScribeJobRequest getMedicalScribeJobRequest) { + if (getMedicalScribeJobRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(GetMedicalScribeJobRequest)"); + } + + Request request = new DefaultRequest( + getMedicalScribeJobRequest, "AmazonTranscribe"); + String target = "Transcribe.GetMedicalScribeJob"; + request.addHeader("X-Amz-Target", target); + request.setHttpMethod(HttpMethodName.POST); + + String uriResourcePath = "/"; + request.setResourcePath(uriResourcePath); + try { + StringWriter stringWriter = new StringWriter(); + AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(stringWriter); + jsonWriter.beginObject(); + + if (getMedicalScribeJobRequest.getMedicalScribeJobName() != null) { + String medicalScribeJobName = getMedicalScribeJobRequest.getMedicalScribeJobName(); + jsonWriter.name("MedicalScribeJobName"); + jsonWriter.value(medicalScribeJobName); + } + + jsonWriter.endObject(); + jsonWriter.close(); + String snippet = stringWriter.toString(); + byte[] content = snippet.getBytes(UTF8); + request.setContent(new StringInputStream(snippet)); + request.addHeader("Content-Length", Integer.toString(content.length)); + } catch (Throwable t) { + throw new AmazonClientException( + "Unable to marshall request to JSON: " + t.getMessage(), t); + } + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalScribeJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalScribeJobResultJsonUnmarshaller.java new file mode 100644 index 0000000000..40a8a9390e --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalScribeJobResultJsonUnmarshaller.java @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for response GetMedicalScribeJobResult + */ +public class GetMedicalScribeJobResultJsonUnmarshaller implements + Unmarshaller { + + public GetMedicalScribeJobResult unmarshall(JsonUnmarshallerContext context) throws Exception { + GetMedicalScribeJobResult getMedicalScribeJobResult = new GetMedicalScribeJobResult(); + + AwsJsonReader reader = context.getReader(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("MedicalScribeJob")) { + getMedicalScribeJobResult.setMedicalScribeJob(MedicalScribeJobJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + + return getMedicalScribeJobResult; + } + + private static GetMedicalScribeJobResultJsonUnmarshaller instance; + + public static GetMedicalScribeJobResultJsonUnmarshaller getInstance() { + if (instance == null) + instance = new GetMedicalScribeJobResultJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalTranscriptionJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalTranscriptionJobRequestMarshaller.java index 258c6e7b26..1e1122517b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalTranscriptionJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalTranscriptionJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalTranscriptionJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalTranscriptionJobResultJsonUnmarshaller.java index 64c1fb1bb4..b230be18bb 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalTranscriptionJobResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalTranscriptionJobResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalVocabularyRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalVocabularyRequestMarshaller.java index 39a07c837b..7604ec0467 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalVocabularyRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalVocabularyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalVocabularyResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalVocabularyResultJsonUnmarshaller.java index f1471707b3..76dcc9456d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalVocabularyResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetMedicalVocabularyResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetTranscriptionJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetTranscriptionJobRequestMarshaller.java index 166e026781..a0b4634dd0 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetTranscriptionJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetTranscriptionJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetTranscriptionJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetTranscriptionJobResultJsonUnmarshaller.java index 49338dfe9b..afa14eb2eb 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetTranscriptionJobResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetTranscriptionJobResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyFilterRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyFilterRequestMarshaller.java index 76ef856d61..9698a9594d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyFilterRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyFilterRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyFilterResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyFilterResultJsonUnmarshaller.java index 337997d251..ae77007287 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyFilterResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyFilterResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyRequestMarshaller.java index 6cc3d3c29e..c18c6d9e77 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyResultJsonUnmarshaller.java index f8b4cf9e5d..b03d60899a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/GetVocabularyResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InputDataConfigJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InputDataConfigJsonMarshaller.java index 8824ce488c..90369c8f22 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InputDataConfigJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InputDataConfigJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InputDataConfigJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InputDataConfigJsonUnmarshaller.java index e75be9dd67..359c6ffbf8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InputDataConfigJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InputDataConfigJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InternalFailureExceptionUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InternalFailureExceptionUnmarshaller.java index 250542f318..3d513b5079 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InternalFailureExceptionUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InternalFailureExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InterruptionFilterJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InterruptionFilterJsonMarshaller.java index 85395ec94f..02d7b06ac1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InterruptionFilterJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InterruptionFilterJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InterruptionFilterJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InterruptionFilterJsonUnmarshaller.java index dde44332b0..c1e59291d5 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InterruptionFilterJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/InterruptionFilterJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/JobExecutionSettingsJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/JobExecutionSettingsJsonMarshaller.java index fe0e9f942d..d1a83f4495 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/JobExecutionSettingsJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/JobExecutionSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/JobExecutionSettingsJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/JobExecutionSettingsJsonUnmarshaller.java index 35686ac08a..9ff91c6300 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/JobExecutionSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/JobExecutionSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageCodeItemJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageCodeItemJsonMarshaller.java index 7e3b0d02fd..e7f3453ed3 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageCodeItemJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageCodeItemJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageCodeItemJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageCodeItemJsonUnmarshaller.java index 3629fc24bc..c2d4a1c101 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageCodeItemJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageCodeItemJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageIdSettingsJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageIdSettingsJsonMarshaller.java index 92b4a291ef..27e7098ed4 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageIdSettingsJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageIdSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageIdSettingsJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageIdSettingsJsonUnmarshaller.java index 532c66d11b..d5d317d205 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageIdSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageIdSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageModelJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageModelJsonMarshaller.java index 8ad96def35..08edb8ac47 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageModelJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageModelJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageModelJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageModelJsonUnmarshaller.java index 0677bf3f26..5c5ae1d3e7 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageModelJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LanguageModelJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LimitExceededExceptionUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LimitExceededExceptionUnmarshaller.java index ef0e736b34..3da9cc1710 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LimitExceededExceptionUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/LimitExceededExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsCategoriesRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsCategoriesRequestMarshaller.java index d3d18d8387..8a8df9981e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsCategoriesRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsCategoriesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsCategoriesResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsCategoriesResultJsonUnmarshaller.java index 970767c140..890a60b263 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsCategoriesResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsCategoriesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsJobsRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsJobsRequestMarshaller.java index a16782d186..2ab0b76f67 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsJobsRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsJobsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsJobsResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsJobsResultJsonUnmarshaller.java index 3fb1c92fd8..2b021195ac 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsJobsResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListCallAnalyticsJobsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListLanguageModelsRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListLanguageModelsRequestMarshaller.java index 0e24a1517d..91b4b82f08 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListLanguageModelsRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListLanguageModelsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListLanguageModelsResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListLanguageModelsResultJsonUnmarshaller.java index b36a6c0b5d..0fb35ebd2d 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListLanguageModelsResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListLanguageModelsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalScribeJobsRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalScribeJobsRequestMarshaller.java new file mode 100644 index 0000000000..d9ac076082 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalScribeJobsRequestMarshaller.java @@ -0,0 +1,103 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for ListMedicalScribeJobsRequest + */ +public class ListMedicalScribeJobsRequestMarshaller implements + Marshaller, ListMedicalScribeJobsRequest> { + + public Request marshall( + ListMedicalScribeJobsRequest listMedicalScribeJobsRequest) { + if (listMedicalScribeJobsRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(ListMedicalScribeJobsRequest)"); + } + + Request request = new DefaultRequest( + listMedicalScribeJobsRequest, "AmazonTranscribe"); + String target = "Transcribe.ListMedicalScribeJobs"; + request.addHeader("X-Amz-Target", target); + request.setHttpMethod(HttpMethodName.POST); + + String uriResourcePath = "/"; + request.setResourcePath(uriResourcePath); + try { + StringWriter stringWriter = new StringWriter(); + AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(stringWriter); + jsonWriter.beginObject(); + + if (listMedicalScribeJobsRequest.getStatus() != null) { + String status = listMedicalScribeJobsRequest.getStatus(); + jsonWriter.name("Status"); + jsonWriter.value(status); + } + if (listMedicalScribeJobsRequest.getJobNameContains() != null) { + String jobNameContains = listMedicalScribeJobsRequest.getJobNameContains(); + jsonWriter.name("JobNameContains"); + jsonWriter.value(jobNameContains); + } + if (listMedicalScribeJobsRequest.getNextToken() != null) { + String nextToken = listMedicalScribeJobsRequest.getNextToken(); + jsonWriter.name("NextToken"); + jsonWriter.value(nextToken); + } + if (listMedicalScribeJobsRequest.getMaxResults() != null) { + Integer maxResults = listMedicalScribeJobsRequest.getMaxResults(); + jsonWriter.name("MaxResults"); + jsonWriter.value(maxResults); + } + + jsonWriter.endObject(); + jsonWriter.close(); + String snippet = stringWriter.toString(); + byte[] content = snippet.getBytes(UTF8); + request.setContent(new StringInputStream(snippet)); + request.addHeader("Content-Length", Integer.toString(content.length)); + } catch (Throwable t) { + throw new AmazonClientException( + "Unable to marshall request to JSON: " + t.getMessage(), t); + } + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalScribeJobsResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalScribeJobsResultJsonUnmarshaller.java new file mode 100644 index 0000000000..e7efb88df3 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalScribeJobsResultJsonUnmarshaller.java @@ -0,0 +1,64 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for response ListMedicalScribeJobsResult + */ +public class ListMedicalScribeJobsResultJsonUnmarshaller implements + Unmarshaller { + + public ListMedicalScribeJobsResult unmarshall(JsonUnmarshallerContext context) throws Exception { + ListMedicalScribeJobsResult listMedicalScribeJobsResult = new ListMedicalScribeJobsResult(); + + AwsJsonReader reader = context.getReader(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("Status")) { + listMedicalScribeJobsResult.setStatus(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("NextToken")) { + listMedicalScribeJobsResult.setNextToken(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("MedicalScribeJobSummaries")) { + listMedicalScribeJobsResult + .setMedicalScribeJobSummaries(new ListUnmarshaller( + MedicalScribeJobSummaryJsonUnmarshaller.getInstance() + ) + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + + return listMedicalScribeJobsResult; + } + + private static ListMedicalScribeJobsResultJsonUnmarshaller instance; + + public static ListMedicalScribeJobsResultJsonUnmarshaller getInstance() { + if (instance == null) + instance = new ListMedicalScribeJobsResultJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalTranscriptionJobsRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalTranscriptionJobsRequestMarshaller.java index 884f636ca6..5286143b9c 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalTranscriptionJobsRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalTranscriptionJobsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalTranscriptionJobsResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalTranscriptionJobsResultJsonUnmarshaller.java index 9dc30c4695..ef47f99356 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalTranscriptionJobsResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalTranscriptionJobsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalVocabulariesRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalVocabulariesRequestMarshaller.java index 9bc414bcfb..a4b7e19aef 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalVocabulariesRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalVocabulariesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalVocabulariesResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalVocabulariesResultJsonUnmarshaller.java index 0589c2e044..d347428c53 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalVocabulariesResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListMedicalVocabulariesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTagsForResourceRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTagsForResourceRequestMarshaller.java index 402632cfdf..11b608d7ae 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTagsForResourceRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTagsForResourceRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTagsForResourceResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTagsForResourceResultJsonUnmarshaller.java index 9e17907a85..7f0755daf6 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTagsForResourceResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTagsForResourceResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTranscriptionJobsRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTranscriptionJobsRequestMarshaller.java index 58659a8d78..c298d146f4 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTranscriptionJobsRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTranscriptionJobsRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTranscriptionJobsResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTranscriptionJobsResultJsonUnmarshaller.java index e31ea3d82d..ff261d6605 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTranscriptionJobsResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListTranscriptionJobsResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabulariesRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabulariesRequestMarshaller.java index 1ad277e8de..d68403a8f8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabulariesRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabulariesRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabulariesResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabulariesResultJsonUnmarshaller.java index 41e5b6ad7f..a24d8b76ee 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabulariesResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabulariesResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabularyFiltersRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabularyFiltersRequestMarshaller.java index 24bac677c6..093c41a016 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabularyFiltersRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabularyFiltersRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabularyFiltersResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabularyFiltersResultJsonUnmarshaller.java index a0382c1ad5..796807fbbd 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabularyFiltersResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ListVocabularyFiltersResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MediaJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MediaJsonMarshaller.java index f4bc71023a..265d00b6c5 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MediaJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MediaJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MediaJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MediaJsonUnmarshaller.java index e0e29cf7bd..2bd96536eb 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MediaJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MediaJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeChannelDefinitionJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeChannelDefinitionJsonMarshaller.java new file mode 100644 index 0000000000..bde16b96bd --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeChannelDefinitionJsonMarshaller.java @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MedicalScribeChannelDefinition + */ +class MedicalScribeChannelDefinitionJsonMarshaller { + + public void marshall(MedicalScribeChannelDefinition medicalScribeChannelDefinition, + AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (medicalScribeChannelDefinition.getChannelId() != null) { + Integer channelId = medicalScribeChannelDefinition.getChannelId(); + jsonWriter.name("ChannelId"); + jsonWriter.value(channelId); + } + if (medicalScribeChannelDefinition.getParticipantRole() != null) { + String participantRole = medicalScribeChannelDefinition.getParticipantRole(); + jsonWriter.name("ParticipantRole"); + jsonWriter.value(participantRole); + } + jsonWriter.endObject(); + } + + private static MedicalScribeChannelDefinitionJsonMarshaller instance; + + public static MedicalScribeChannelDefinitionJsonMarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeChannelDefinitionJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeChannelDefinitionJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeChannelDefinitionJsonUnmarshaller.java new file mode 100644 index 0000000000..37e6343b25 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeChannelDefinitionJsonUnmarshaller.java @@ -0,0 +1,62 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MedicalScribeChannelDefinition + */ +class MedicalScribeChannelDefinitionJsonUnmarshaller implements + Unmarshaller { + + public MedicalScribeChannelDefinition unmarshall(JsonUnmarshallerContext context) + throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MedicalScribeChannelDefinition medicalScribeChannelDefinition = new MedicalScribeChannelDefinition(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("ChannelId")) { + medicalScribeChannelDefinition.setChannelId(IntegerJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("ParticipantRole")) { + medicalScribeChannelDefinition.setParticipantRole(StringJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return medicalScribeChannelDefinition; + } + + private static MedicalScribeChannelDefinitionJsonUnmarshaller instance; + + public static MedicalScribeChannelDefinitionJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeChannelDefinitionJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobJsonMarshaller.java new file mode 100644 index 0000000000..a6b1ba4345 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobJsonMarshaller.java @@ -0,0 +1,120 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MedicalScribeJob + */ +class MedicalScribeJobJsonMarshaller { + + public void marshall(MedicalScribeJob medicalScribeJob, AwsJsonWriter jsonWriter) + throws Exception { + jsonWriter.beginObject(); + if (medicalScribeJob.getMedicalScribeJobName() != null) { + String medicalScribeJobName = medicalScribeJob.getMedicalScribeJobName(); + jsonWriter.name("MedicalScribeJobName"); + jsonWriter.value(medicalScribeJobName); + } + if (medicalScribeJob.getMedicalScribeJobStatus() != null) { + String medicalScribeJobStatus = medicalScribeJob.getMedicalScribeJobStatus(); + jsonWriter.name("MedicalScribeJobStatus"); + jsonWriter.value(medicalScribeJobStatus); + } + if (medicalScribeJob.getLanguageCode() != null) { + String languageCode = medicalScribeJob.getLanguageCode(); + jsonWriter.name("LanguageCode"); + jsonWriter.value(languageCode); + } + if (medicalScribeJob.getMedia() != null) { + Media media = medicalScribeJob.getMedia(); + jsonWriter.name("Media"); + MediaJsonMarshaller.getInstance().marshall(media, jsonWriter); + } + if (medicalScribeJob.getMedicalScribeOutput() != null) { + MedicalScribeOutput medicalScribeOutput = medicalScribeJob.getMedicalScribeOutput(); + jsonWriter.name("MedicalScribeOutput"); + MedicalScribeOutputJsonMarshaller.getInstance().marshall(medicalScribeOutput, + jsonWriter); + } + if (medicalScribeJob.getStartTime() != null) { + java.util.Date startTime = medicalScribeJob.getStartTime(); + jsonWriter.name("StartTime"); + jsonWriter.value(startTime); + } + if (medicalScribeJob.getCreationTime() != null) { + java.util.Date creationTime = medicalScribeJob.getCreationTime(); + jsonWriter.name("CreationTime"); + jsonWriter.value(creationTime); + } + if (medicalScribeJob.getCompletionTime() != null) { + java.util.Date completionTime = medicalScribeJob.getCompletionTime(); + jsonWriter.name("CompletionTime"); + jsonWriter.value(completionTime); + } + if (medicalScribeJob.getFailureReason() != null) { + String failureReason = medicalScribeJob.getFailureReason(); + jsonWriter.name("FailureReason"); + jsonWriter.value(failureReason); + } + if (medicalScribeJob.getSettings() != null) { + MedicalScribeSettings settings = medicalScribeJob.getSettings(); + jsonWriter.name("Settings"); + MedicalScribeSettingsJsonMarshaller.getInstance().marshall(settings, jsonWriter); + } + if (medicalScribeJob.getDataAccessRoleArn() != null) { + String dataAccessRoleArn = medicalScribeJob.getDataAccessRoleArn(); + jsonWriter.name("DataAccessRoleArn"); + jsonWriter.value(dataAccessRoleArn); + } + if (medicalScribeJob.getChannelDefinitions() != null) { + java.util.List channelDefinitions = medicalScribeJob + .getChannelDefinitions(); + jsonWriter.name("ChannelDefinitions"); + jsonWriter.beginArray(); + for (MedicalScribeChannelDefinition channelDefinitionsItem : channelDefinitions) { + if (channelDefinitionsItem != null) { + MedicalScribeChannelDefinitionJsonMarshaller.getInstance().marshall( + channelDefinitionsItem, jsonWriter); + } + } + jsonWriter.endArray(); + } + if (medicalScribeJob.getTags() != null) { + java.util.List tags = medicalScribeJob.getTags(); + jsonWriter.name("Tags"); + jsonWriter.beginArray(); + for (Tag tagsItem : tags) { + if (tagsItem != null) { + TagJsonMarshaller.getInstance().marshall(tagsItem, jsonWriter); + } + } + jsonWriter.endArray(); + } + jsonWriter.endObject(); + } + + private static MedicalScribeJobJsonMarshaller instance; + + public static MedicalScribeJobJsonMarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeJobJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobJsonUnmarshaller.java new file mode 100644 index 0000000000..052f7bf640 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobJsonUnmarshaller.java @@ -0,0 +1,99 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MedicalScribeJob + */ +class MedicalScribeJobJsonUnmarshaller implements + Unmarshaller { + + public MedicalScribeJob unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MedicalScribeJob medicalScribeJob = new MedicalScribeJob(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("MedicalScribeJobName")) { + medicalScribeJob.setMedicalScribeJobName(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("MedicalScribeJobStatus")) { + medicalScribeJob.setMedicalScribeJobStatus(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("LanguageCode")) { + medicalScribeJob.setLanguageCode(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("Media")) { + medicalScribeJob.setMedia(MediaJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("MedicalScribeOutput")) { + medicalScribeJob.setMedicalScribeOutput(MedicalScribeOutputJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("StartTime")) { + medicalScribeJob.setStartTime(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("CreationTime")) { + medicalScribeJob.setCreationTime(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("CompletionTime")) { + medicalScribeJob.setCompletionTime(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("FailureReason")) { + medicalScribeJob.setFailureReason(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("Settings")) { + medicalScribeJob.setSettings(MedicalScribeSettingsJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("DataAccessRoleArn")) { + medicalScribeJob.setDataAccessRoleArn(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("ChannelDefinitions")) { + medicalScribeJob + .setChannelDefinitions(new ListUnmarshaller( + MedicalScribeChannelDefinitionJsonUnmarshaller.getInstance() + ) + .unmarshall(context)); + } else if (name.equals("Tags")) { + medicalScribeJob.setTags(new ListUnmarshaller(TagJsonUnmarshaller + .getInstance() + ) + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return medicalScribeJob; + } + + private static MedicalScribeJobJsonUnmarshaller instance; + + public static MedicalScribeJobJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeJobJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobSummaryJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobSummaryJsonMarshaller.java new file mode 100644 index 0000000000..089ebf65a7 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobSummaryJsonMarshaller.java @@ -0,0 +1,75 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MedicalScribeJobSummary + */ +class MedicalScribeJobSummaryJsonMarshaller { + + public void marshall(MedicalScribeJobSummary medicalScribeJobSummary, AwsJsonWriter jsonWriter) + throws Exception { + jsonWriter.beginObject(); + if (medicalScribeJobSummary.getMedicalScribeJobName() != null) { + String medicalScribeJobName = medicalScribeJobSummary.getMedicalScribeJobName(); + jsonWriter.name("MedicalScribeJobName"); + jsonWriter.value(medicalScribeJobName); + } + if (medicalScribeJobSummary.getCreationTime() != null) { + java.util.Date creationTime = medicalScribeJobSummary.getCreationTime(); + jsonWriter.name("CreationTime"); + jsonWriter.value(creationTime); + } + if (medicalScribeJobSummary.getStartTime() != null) { + java.util.Date startTime = medicalScribeJobSummary.getStartTime(); + jsonWriter.name("StartTime"); + jsonWriter.value(startTime); + } + if (medicalScribeJobSummary.getCompletionTime() != null) { + java.util.Date completionTime = medicalScribeJobSummary.getCompletionTime(); + jsonWriter.name("CompletionTime"); + jsonWriter.value(completionTime); + } + if (medicalScribeJobSummary.getLanguageCode() != null) { + String languageCode = medicalScribeJobSummary.getLanguageCode(); + jsonWriter.name("LanguageCode"); + jsonWriter.value(languageCode); + } + if (medicalScribeJobSummary.getMedicalScribeJobStatus() != null) { + String medicalScribeJobStatus = medicalScribeJobSummary.getMedicalScribeJobStatus(); + jsonWriter.name("MedicalScribeJobStatus"); + jsonWriter.value(medicalScribeJobStatus); + } + if (medicalScribeJobSummary.getFailureReason() != null) { + String failureReason = medicalScribeJobSummary.getFailureReason(); + jsonWriter.name("FailureReason"); + jsonWriter.value(failureReason); + } + jsonWriter.endObject(); + } + + private static MedicalScribeJobSummaryJsonMarshaller instance; + + public static MedicalScribeJobSummaryJsonMarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeJobSummaryJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobSummaryJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobSummaryJsonUnmarshaller.java new file mode 100644 index 0000000000..0408cac751 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeJobSummaryJsonUnmarshaller.java @@ -0,0 +1,77 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MedicalScribeJobSummary + */ +class MedicalScribeJobSummaryJsonUnmarshaller implements + Unmarshaller { + + public MedicalScribeJobSummary unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MedicalScribeJobSummary medicalScribeJobSummary = new MedicalScribeJobSummary(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("MedicalScribeJobName")) { + medicalScribeJobSummary.setMedicalScribeJobName(StringJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("CreationTime")) { + medicalScribeJobSummary.setCreationTime(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("StartTime")) { + medicalScribeJobSummary.setStartTime(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("CompletionTime")) { + medicalScribeJobSummary.setCompletionTime(DateJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("LanguageCode")) { + medicalScribeJobSummary.setLanguageCode(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("MedicalScribeJobStatus")) { + medicalScribeJobSummary.setMedicalScribeJobStatus(StringJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("FailureReason")) { + medicalScribeJobSummary.setFailureReason(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return medicalScribeJobSummary; + } + + private static MedicalScribeJobSummaryJsonUnmarshaller instance; + + public static MedicalScribeJobSummaryJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeJobSummaryJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeOutputJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeOutputJsonMarshaller.java new file mode 100644 index 0000000000..c84bbdfd2f --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeOutputJsonMarshaller.java @@ -0,0 +1,50 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MedicalScribeOutput + */ +class MedicalScribeOutputJsonMarshaller { + + public void marshall(MedicalScribeOutput medicalScribeOutput, AwsJsonWriter jsonWriter) + throws Exception { + jsonWriter.beginObject(); + if (medicalScribeOutput.getTranscriptFileUri() != null) { + String transcriptFileUri = medicalScribeOutput.getTranscriptFileUri(); + jsonWriter.name("TranscriptFileUri"); + jsonWriter.value(transcriptFileUri); + } + if (medicalScribeOutput.getClinicalDocumentUri() != null) { + String clinicalDocumentUri = medicalScribeOutput.getClinicalDocumentUri(); + jsonWriter.name("ClinicalDocumentUri"); + jsonWriter.value(clinicalDocumentUri); + } + jsonWriter.endObject(); + } + + private static MedicalScribeOutputJsonMarshaller instance; + + public static MedicalScribeOutputJsonMarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeOutputJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeOutputJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeOutputJsonUnmarshaller.java new file mode 100644 index 0000000000..17f7e6a816 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeOutputJsonUnmarshaller.java @@ -0,0 +1,60 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MedicalScribeOutput + */ +class MedicalScribeOutputJsonUnmarshaller implements + Unmarshaller { + + public MedicalScribeOutput unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MedicalScribeOutput medicalScribeOutput = new MedicalScribeOutput(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("TranscriptFileUri")) { + medicalScribeOutput.setTranscriptFileUri(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("ClinicalDocumentUri")) { + medicalScribeOutput.setClinicalDocumentUri(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return medicalScribeOutput; + } + + private static MedicalScribeOutputJsonUnmarshaller instance; + + public static MedicalScribeOutputJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeOutputJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeSettingsJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeSettingsJsonMarshaller.java new file mode 100644 index 0000000000..1382ba76a6 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeSettingsJsonMarshaller.java @@ -0,0 +1,70 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO MedicalScribeSettings + */ +class MedicalScribeSettingsJsonMarshaller { + + public void marshall(MedicalScribeSettings medicalScribeSettings, AwsJsonWriter jsonWriter) + throws Exception { + jsonWriter.beginObject(); + if (medicalScribeSettings.getShowSpeakerLabels() != null) { + Boolean showSpeakerLabels = medicalScribeSettings.getShowSpeakerLabels(); + jsonWriter.name("ShowSpeakerLabels"); + jsonWriter.value(showSpeakerLabels); + } + if (medicalScribeSettings.getMaxSpeakerLabels() != null) { + Integer maxSpeakerLabels = medicalScribeSettings.getMaxSpeakerLabels(); + jsonWriter.name("MaxSpeakerLabels"); + jsonWriter.value(maxSpeakerLabels); + } + if (medicalScribeSettings.getChannelIdentification() != null) { + Boolean channelIdentification = medicalScribeSettings.getChannelIdentification(); + jsonWriter.name("ChannelIdentification"); + jsonWriter.value(channelIdentification); + } + if (medicalScribeSettings.getVocabularyName() != null) { + String vocabularyName = medicalScribeSettings.getVocabularyName(); + jsonWriter.name("VocabularyName"); + jsonWriter.value(vocabularyName); + } + if (medicalScribeSettings.getVocabularyFilterName() != null) { + String vocabularyFilterName = medicalScribeSettings.getVocabularyFilterName(); + jsonWriter.name("VocabularyFilterName"); + jsonWriter.value(vocabularyFilterName); + } + if (medicalScribeSettings.getVocabularyFilterMethod() != null) { + String vocabularyFilterMethod = medicalScribeSettings.getVocabularyFilterMethod(); + jsonWriter.name("VocabularyFilterMethod"); + jsonWriter.value(vocabularyFilterMethod); + } + jsonWriter.endObject(); + } + + private static MedicalScribeSettingsJsonMarshaller instance; + + public static MedicalScribeSettingsJsonMarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeSettingsJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeSettingsJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeSettingsJsonUnmarshaller.java new file mode 100644 index 0000000000..e4ff22d1ca --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalScribeSettingsJsonUnmarshaller.java @@ -0,0 +1,74 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO MedicalScribeSettings + */ +class MedicalScribeSettingsJsonUnmarshaller implements + Unmarshaller { + + public MedicalScribeSettings unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + MedicalScribeSettings medicalScribeSettings = new MedicalScribeSettings(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("ShowSpeakerLabels")) { + medicalScribeSettings.setShowSpeakerLabels(BooleanJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("MaxSpeakerLabels")) { + medicalScribeSettings.setMaxSpeakerLabels(IntegerJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("ChannelIdentification")) { + medicalScribeSettings.setChannelIdentification(BooleanJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else if (name.equals("VocabularyName")) { + medicalScribeSettings.setVocabularyName(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("VocabularyFilterName")) { + medicalScribeSettings.setVocabularyFilterName(StringJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else if (name.equals("VocabularyFilterMethod")) { + medicalScribeSettings.setVocabularyFilterMethod(StringJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return medicalScribeSettings; + } + + private static MedicalScribeSettingsJsonUnmarshaller instance; + + public static MedicalScribeSettingsJsonUnmarshaller getInstance() { + if (instance == null) + instance = new MedicalScribeSettingsJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptJsonMarshaller.java index 0c2beee9ce..8f8a87386c 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptJsonUnmarshaller.java index 1e1a9feafb..edc7c3c930 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobJsonMarshaller.java index c8b07fdca9..ad953cb9a8 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobJsonUnmarshaller.java index 0f0be28dca..f9228051a1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobSummaryJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobSummaryJsonMarshaller.java index 7b3114cc67..a4e99fa93a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobSummaryJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobSummaryJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobSummaryJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobSummaryJsonUnmarshaller.java index f6123e3d98..cd659159db 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobSummaryJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionJobSummaryJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionSettingJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionSettingJsonMarshaller.java index 9b16b3c6eb..7c3b3444f9 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionSettingJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionSettingJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionSettingJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionSettingJsonUnmarshaller.java index e963c2e93c..2dc22616a0 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionSettingJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/MedicalTranscriptionSettingJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ModelSettingsJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ModelSettingsJsonMarshaller.java index 31cf0ecfac..66a2d966dd 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ModelSettingsJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ModelSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ModelSettingsJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ModelSettingsJsonUnmarshaller.java index dda3500ab5..dd1c18b275 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ModelSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ModelSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NonTalkTimeFilterJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NonTalkTimeFilterJsonMarshaller.java index 091e32fcf7..4a93d15309 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NonTalkTimeFilterJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NonTalkTimeFilterJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NonTalkTimeFilterJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NonTalkTimeFilterJsonUnmarshaller.java index a784f58bcd..2bc24c8d1a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NonTalkTimeFilterJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NonTalkTimeFilterJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NotFoundExceptionUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NotFoundExceptionUnmarshaller.java index 7878eb8b51..e9c656cd39 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NotFoundExceptionUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/NotFoundExceptionUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RelativeTimeRangeJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RelativeTimeRangeJsonMarshaller.java index 8c8820c50b..e0cc513246 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RelativeTimeRangeJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RelativeTimeRangeJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RelativeTimeRangeJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RelativeTimeRangeJsonUnmarshaller.java index 5d4ce339ff..e0d5db5967 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RelativeTimeRangeJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RelativeTimeRangeJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RuleJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RuleJsonMarshaller.java index 25d2961b12..8fe043c407 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RuleJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RuleJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RuleJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RuleJsonUnmarshaller.java index 9214c2abab..cd9c8843c7 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RuleJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/RuleJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SentimentFilterJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SentimentFilterJsonMarshaller.java index fd4d955e13..c88d98385e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SentimentFilterJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SentimentFilterJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SentimentFilterJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SentimentFilterJsonUnmarshaller.java index 2c85271244..466fb07304 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SentimentFilterJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SentimentFilterJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SettingsJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SettingsJsonMarshaller.java index af56247096..d17bc15957 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SettingsJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SettingsJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SettingsJsonUnmarshaller.java index 3f3369fc12..9a9b8ab87f 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SettingsJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartCallAnalyticsJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartCallAnalyticsJobRequestMarshaller.java index 6132ae3aa9..9e5a060199 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartCallAnalyticsJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartCallAnalyticsJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartCallAnalyticsJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartCallAnalyticsJobResultJsonUnmarshaller.java index c84c6a01ce..c4f37426a2 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartCallAnalyticsJobResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartCallAnalyticsJobResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalScribeJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalScribeJobRequestMarshaller.java new file mode 100644 index 0000000000..ef43665985 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalScribeJobRequestMarshaller.java @@ -0,0 +1,154 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import static com.amazonaws.util.StringUtils.UTF8; +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.OutputStreamWriter; +import java.io.StringWriter; +import java.io.Writer; + +import android.text.TextUtils; + +import com.amazonaws.AmazonClientException; +import com.amazonaws.Request; +import com.amazonaws.DefaultRequest; +import com.amazonaws.http.HttpMethodName; +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.Marshaller; +import com.amazonaws.util.BinaryUtils; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.StringUtils; +import com.amazonaws.util.StringInputStream; +import com.amazonaws.util.json.AwsJsonWriter; +import com.amazonaws.util.json.JsonUtils; + +/** + * JSON request marshaller for StartMedicalScribeJobRequest + */ +public class StartMedicalScribeJobRequestMarshaller implements + Marshaller, StartMedicalScribeJobRequest> { + + public Request marshall( + StartMedicalScribeJobRequest startMedicalScribeJobRequest) { + if (startMedicalScribeJobRequest == null) { + throw new AmazonClientException( + "Invalid argument passed to marshall(StartMedicalScribeJobRequest)"); + } + + Request request = new DefaultRequest( + startMedicalScribeJobRequest, "AmazonTranscribe"); + String target = "Transcribe.StartMedicalScribeJob"; + request.addHeader("X-Amz-Target", target); + request.setHttpMethod(HttpMethodName.POST); + + String uriResourcePath = "/"; + request.setResourcePath(uriResourcePath); + try { + StringWriter stringWriter = new StringWriter(); + AwsJsonWriter jsonWriter = JsonUtils.getJsonWriter(stringWriter); + jsonWriter.beginObject(); + + if (startMedicalScribeJobRequest.getMedicalScribeJobName() != null) { + String medicalScribeJobName = startMedicalScribeJobRequest + .getMedicalScribeJobName(); + jsonWriter.name("MedicalScribeJobName"); + jsonWriter.value(medicalScribeJobName); + } + if (startMedicalScribeJobRequest.getMedia() != null) { + Media media = startMedicalScribeJobRequest.getMedia(); + jsonWriter.name("Media"); + MediaJsonMarshaller.getInstance().marshall(media, jsonWriter); + } + if (startMedicalScribeJobRequest.getOutputBucketName() != null) { + String outputBucketName = startMedicalScribeJobRequest.getOutputBucketName(); + jsonWriter.name("OutputBucketName"); + jsonWriter.value(outputBucketName); + } + if (startMedicalScribeJobRequest.getOutputEncryptionKMSKeyId() != null) { + String outputEncryptionKMSKeyId = startMedicalScribeJobRequest + .getOutputEncryptionKMSKeyId(); + jsonWriter.name("OutputEncryptionKMSKeyId"); + jsonWriter.value(outputEncryptionKMSKeyId); + } + if (startMedicalScribeJobRequest.getKMSEncryptionContext() != null) { + java.util.Map kMSEncryptionContext = startMedicalScribeJobRequest + .getKMSEncryptionContext(); + jsonWriter.name("KMSEncryptionContext"); + jsonWriter.beginObject(); + for (java.util.Map.Entry kMSEncryptionContextEntry : kMSEncryptionContext + .entrySet()) { + String kMSEncryptionContextValue = kMSEncryptionContextEntry.getValue(); + if (kMSEncryptionContextValue != null) { + jsonWriter.name(kMSEncryptionContextEntry.getKey()); + jsonWriter.value(kMSEncryptionContextValue); + } + } + jsonWriter.endObject(); + } + if (startMedicalScribeJobRequest.getDataAccessRoleArn() != null) { + String dataAccessRoleArn = startMedicalScribeJobRequest.getDataAccessRoleArn(); + jsonWriter.name("DataAccessRoleArn"); + jsonWriter.value(dataAccessRoleArn); + } + if (startMedicalScribeJobRequest.getSettings() != null) { + MedicalScribeSettings settings = startMedicalScribeJobRequest.getSettings(); + jsonWriter.name("Settings"); + MedicalScribeSettingsJsonMarshaller.getInstance().marshall(settings, jsonWriter); + } + if (startMedicalScribeJobRequest.getChannelDefinitions() != null) { + java.util.List channelDefinitions = startMedicalScribeJobRequest + .getChannelDefinitions(); + jsonWriter.name("ChannelDefinitions"); + jsonWriter.beginArray(); + for (MedicalScribeChannelDefinition channelDefinitionsItem : channelDefinitions) { + if (channelDefinitionsItem != null) { + MedicalScribeChannelDefinitionJsonMarshaller.getInstance().marshall( + channelDefinitionsItem, jsonWriter); + } + } + jsonWriter.endArray(); + } + if (startMedicalScribeJobRequest.getTags() != null) { + java.util.List tags = startMedicalScribeJobRequest.getTags(); + jsonWriter.name("Tags"); + jsonWriter.beginArray(); + for (Tag tagsItem : tags) { + if (tagsItem != null) { + TagJsonMarshaller.getInstance().marshall(tagsItem, jsonWriter); + } + } + jsonWriter.endArray(); + } + + jsonWriter.endObject(); + jsonWriter.close(); + String snippet = stringWriter.toString(); + byte[] content = snippet.getBytes(UTF8); + request.setContent(new StringInputStream(snippet)); + request.addHeader("Content-Length", Integer.toString(content.length)); + } catch (Throwable t) { + throw new AmazonClientException( + "Unable to marshall request to JSON: " + t.getMessage(), t); + } + if (!request.getHeaders().containsKey("Content-Type")) { + request.addHeader("Content-Type", "application/x-amz-json-1.1"); + } + + return request; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalScribeJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalScribeJobResultJsonUnmarshaller.java new file mode 100644 index 0000000000..0525c9c7b5 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalScribeJobResultJsonUnmarshaller.java @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for response StartMedicalScribeJobResult + */ +public class StartMedicalScribeJobResultJsonUnmarshaller implements + Unmarshaller { + + public StartMedicalScribeJobResult unmarshall(JsonUnmarshallerContext context) throws Exception { + StartMedicalScribeJobResult startMedicalScribeJobResult = new StartMedicalScribeJobResult(); + + AwsJsonReader reader = context.getReader(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("MedicalScribeJob")) { + startMedicalScribeJobResult.setMedicalScribeJob(MedicalScribeJobJsonUnmarshaller + .getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + + return startMedicalScribeJobResult; + } + + private static StartMedicalScribeJobResultJsonUnmarshaller instance; + + public static StartMedicalScribeJobResultJsonUnmarshaller getInstance() { + if (instance == null) + instance = new StartMedicalScribeJobResultJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalTranscriptionJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalTranscriptionJobRequestMarshaller.java index 4085616b93..54b5611adf 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalTranscriptionJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalTranscriptionJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalTranscriptionJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalTranscriptionJobResultJsonUnmarshaller.java index 0fd87ac3f9..4396f7e0d4 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalTranscriptionJobResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartMedicalTranscriptionJobResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartTranscriptionJobRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartTranscriptionJobRequestMarshaller.java index 5669790722..638de4c397 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartTranscriptionJobRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartTranscriptionJobRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartTranscriptionJobResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartTranscriptionJobResultJsonUnmarshaller.java index 0438de4d50..379e214a23 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartTranscriptionJobResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/StartTranscriptionJobResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesJsonMarshaller.java index 6bd504f84f..37dc451d71 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesJsonUnmarshaller.java index 49f1d05033..16ee699034 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesOutputJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesOutputJsonMarshaller.java index 88c8e2738c..ccb568f2f1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesOutputJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesOutputJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesOutputJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesOutputJsonUnmarshaller.java index 040c61a811..e2208ae8f1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesOutputJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SubtitlesOutputJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SummarizationJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SummarizationJsonMarshaller.java new file mode 100644 index 0000000000..b75fc15194 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SummarizationJsonMarshaller.java @@ -0,0 +1,44 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.util.DateUtils; +import com.amazonaws.util.json.AwsJsonWriter; + +/** + * JSON marshaller for POJO Summarization + */ +class SummarizationJsonMarshaller { + + public void marshall(Summarization summarization, AwsJsonWriter jsonWriter) throws Exception { + jsonWriter.beginObject(); + if (summarization.getGenerateAbstractiveSummary() != null) { + Boolean generateAbstractiveSummary = summarization.getGenerateAbstractiveSummary(); + jsonWriter.name("GenerateAbstractiveSummary"); + jsonWriter.value(generateAbstractiveSummary); + } + jsonWriter.endObject(); + } + + private static SummarizationJsonMarshaller instance; + + public static SummarizationJsonMarshaller getInstance() { + if (instance == null) + instance = new SummarizationJsonMarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SummarizationJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SummarizationJsonUnmarshaller.java new file mode 100644 index 0000000000..97b8364629 --- /dev/null +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/SummarizationJsonUnmarshaller.java @@ -0,0 +1,56 @@ +/* + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://aws.amazon.com/apache2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +package com.amazonaws.services.transcribe.model.transform; + +import com.amazonaws.services.transcribe.model.*; +import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; +import com.amazonaws.transform.*; +import com.amazonaws.util.json.AwsJsonReader; + +/** + * JSON unmarshaller for POJO Summarization + */ +class SummarizationJsonUnmarshaller implements Unmarshaller { + + public Summarization unmarshall(JsonUnmarshallerContext context) throws Exception { + AwsJsonReader reader = context.getReader(); + if (!reader.isContainer()) { + reader.skipValue(); + return null; + } + Summarization summarization = new Summarization(); + reader.beginObject(); + while (reader.hasNext()) { + String name = reader.nextName(); + if (name.equals("GenerateAbstractiveSummary")) { + summarization.setGenerateAbstractiveSummary(BooleanJsonUnmarshaller.getInstance() + .unmarshall(context)); + } else { + reader.skipValue(); + } + } + reader.endObject(); + return summarization; + } + + private static SummarizationJsonUnmarshaller instance; + + public static SummarizationJsonUnmarshaller getInstance() { + if (instance == null) + instance = new SummarizationJsonUnmarshaller(); + return instance; + } +} diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagJsonMarshaller.java index 57f7b4b60e..87856c8323 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagJsonUnmarshaller.java index 4db9bc1108..444096f094 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagResourceRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagResourceRequestMarshaller.java index 35236cf091..77d3a426d1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagResourceRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagResourceRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagResourceResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagResourceResultJsonUnmarshaller.java index 8b53a08b85..c7d1184310 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagResourceResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TagResourceResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ToxicityDetectionSettingsJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ToxicityDetectionSettingsJsonMarshaller.java index 3e9f16613d..6a42cc6abd 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ToxicityDetectionSettingsJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ToxicityDetectionSettingsJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ToxicityDetectionSettingsJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ToxicityDetectionSettingsJsonUnmarshaller.java index 92cb1d7fa4..822be0e4d7 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ToxicityDetectionSettingsJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/ToxicityDetectionSettingsJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonMarshaller.java index 206b3d8951..22a11c36db 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonUnmarshaller.java index 95e6579920..da918e67c1 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptFilterJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptJsonMarshaller.java index 79bb5482e5..ed6addd4fd 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptJsonUnmarshaller.java index 3aad5413df..72a09ac777 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobJsonMarshaller.java index a8a9a63d23..4f470f133a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobJsonUnmarshaller.java index 03366bdc27..52da15fa75 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobSummaryJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobSummaryJsonMarshaller.java index 6c251658f5..8858d0ff87 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobSummaryJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobSummaryJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobSummaryJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobSummaryJsonUnmarshaller.java index 69ac808704..3a68f374a2 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobSummaryJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/TranscriptionJobSummaryJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UntagResourceRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UntagResourceRequestMarshaller.java index a29039bd28..16b77afd00 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UntagResourceRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UntagResourceRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UntagResourceResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UntagResourceResultJsonUnmarshaller.java index f3fa438851..b05adc4d7e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UntagResourceResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UntagResourceResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateCallAnalyticsCategoryRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateCallAnalyticsCategoryRequestMarshaller.java index f6f0c642fd..bf2ef6364a 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateCallAnalyticsCategoryRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateCallAnalyticsCategoryRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateCallAnalyticsCategoryResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateCallAnalyticsCategoryResultJsonUnmarshaller.java index faabda5f0c..42f45efcc5 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateCallAnalyticsCategoryResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateCallAnalyticsCategoryResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateMedicalVocabularyRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateMedicalVocabularyRequestMarshaller.java index d32dd23a2d..e05be47889 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateMedicalVocabularyRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateMedicalVocabularyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateMedicalVocabularyResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateMedicalVocabularyResultJsonUnmarshaller.java index f69eca4e94..27642e6c60 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateMedicalVocabularyResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateMedicalVocabularyResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyFilterRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyFilterRequestMarshaller.java index 373066130a..a122abebe0 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyFilterRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyFilterRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyFilterResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyFilterResultJsonUnmarshaller.java index 949f1bff71..4fc012bb5b 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyFilterResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyFilterResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyRequestMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyRequestMarshaller.java index 878d03c385..4c2606c758 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyRequestMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyRequestMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyResultJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyResultJsonUnmarshaller.java index e485385bf4..823ea10467 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyResultJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/UpdateVocabularyResultJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyFilterInfoJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyFilterInfoJsonMarshaller.java index c94fc88d99..070c2c8ac2 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyFilterInfoJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyFilterInfoJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyFilterInfoJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyFilterInfoJsonUnmarshaller.java index 094e51878a..1cbd20fa4e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyFilterInfoJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyFilterInfoJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyInfoJsonMarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyInfoJsonMarshaller.java index f1e83930a9..e4c29b0c96 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyInfoJsonMarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyInfoJsonMarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyInfoJsonUnmarshaller.java b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyInfoJsonUnmarshaller.java index 55acf1f7e9..29e3d12c9e 100644 --- a/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyInfoJsonUnmarshaller.java +++ b/aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/transform/VocabularyInfoJsonUnmarshaller.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License.