aws-sdk-transcribeservice 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fcdba7191c5554667efbb090128ffcac93c2642d
4
- data.tar.gz: 69daeca9fdf416a20a5e686b9cd2e2d7846a78e3
3
+ metadata.gz: 8af289e805a3f24632abf382a1f78473eff406c8
4
+ data.tar.gz: 484123fc30feffbf6bc73ab505267b0138772bb0
5
5
  SHA512:
6
- metadata.gz: f9dbc8f033fb5e7c5f05d2de60a6fe1dc1c5518c8950a5cf9fe612c99b88ee90db60f40ad1f2b651b01f687b74e1f1684ceea11388fcf55555ea00d6997e7cc3
7
- data.tar.gz: 1119a322d2c7057537a84224ccbf40582778750132d435911fc0ef60b6b67b3b21d1ede77feff352745d4bec0ee1cbc90a43a6237c9de9d3c4b9d1127844cd0f
6
+ metadata.gz: a1c02796a70fe0d741d7d10737162cb700fb33d1a625ae497cd25f86db66c400d12a0e3575cf347a9e899c91c30aa3b1706830ccb4a2ec499e63f4ccf17d3b94
7
+ data.tar.gz: 2667f218ae736ad6381e09cb3f7e37e60234b18aee185ca0a2555b874edecb9bb854367e7a9827131decb368a76d6864552be01f5d94a588731eee66780fb77b
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
42
42
  # @service
43
43
  module Aws::TranscribeService
44
44
 
45
- GEM_VERSION = '1.6.0'
45
+ GEM_VERSION = '1.7.0'
46
46
 
47
47
  end
@@ -232,6 +232,29 @@ module Aws::TranscribeService
232
232
  req.send_request(options)
233
233
  end
234
234
 
235
+ # Deletes a previously submitted transcription job as wella s any other
236
+ # generated results such as the transcription, models, and so on.
237
+ #
238
+ # @option params [required, String] :transcription_job_name
239
+ # The name of the transcription job to be deleted.
240
+ #
241
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
242
+ #
243
+ # @example Request syntax with placeholder values
244
+ #
245
+ # resp = client.delete_transcription_job({
246
+ # transcription_job_name: "TranscriptionJobName", # required
247
+ # })
248
+ #
249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJob AWS API Documentation
250
+ #
251
+ # @overload delete_transcription_job(params = {})
252
+ # @param [Hash] params ({})
253
+ def delete_transcription_job(params = {}, options = {})
254
+ req = build_request(:delete_transcription_job, params)
255
+ req.send_request(options)
256
+ end
257
+
235
258
  # Deletes a vocabulary from Amazon Transcribe.
236
259
  #
237
260
  # @option params [required, String] :vocabulary_name
@@ -596,7 +619,7 @@ module Aws::TranscribeService
596
619
  params: params,
597
620
  config: config)
598
621
  context[:gem_name] = 'aws-sdk-transcribeservice'
599
- context[:gem_version] = '1.6.0'
622
+ context[:gem_version] = '1.7.0'
600
623
  Seahorse::Client::Request.new(handlers, context)
601
624
  end
602
625
 
@@ -17,6 +17,7 @@ module Aws::TranscribeService
17
17
  CreateVocabularyRequest = Shapes::StructureShape.new(name: 'CreateVocabularyRequest')
18
18
  CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
19
19
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
20
+ DeleteTranscriptionJobRequest = Shapes::StructureShape.new(name: 'DeleteTranscriptionJobRequest')
20
21
  DeleteVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyRequest')
21
22
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
22
23
  GetTranscriptionJobRequest = Shapes::StructureShape.new(name: 'GetTranscriptionJobRequest')
@@ -71,6 +72,9 @@ module Aws::TranscribeService
71
72
  CreateVocabularyResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
72
73
  CreateVocabularyResponse.struct_class = Types::CreateVocabularyResponse
73
74
 
75
+ DeleteTranscriptionJobRequest.add_member(:transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "TranscriptionJobName"))
76
+ DeleteTranscriptionJobRequest.struct_class = Types::DeleteTranscriptionJobRequest
77
+
74
78
  DeleteVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
75
79
  DeleteVocabularyRequest.struct_class = Types::DeleteVocabularyRequest
76
80
 
@@ -213,6 +217,17 @@ module Aws::TranscribeService
213
217
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
214
218
  end)
215
219
 
220
+ api.add_operation(:delete_transcription_job, Seahorse::Model::Operation.new.tap do |o|
221
+ o.name = "DeleteTranscriptionJob"
222
+ o.http_method = "POST"
223
+ o.http_request_uri = "/"
224
+ o.input = Shapes::ShapeRef.new(shape: DeleteTranscriptionJobRequest)
225
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
226
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
227
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
228
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
229
+ end)
230
+
216
231
  api.add_operation(:delete_vocabulary, Seahorse::Model::Operation.new.tap do |o|
217
232
  o.name = "DeleteVocabulary"
218
233
  o.http_method = "POST"
@@ -73,6 +73,24 @@ module Aws::TranscribeService
73
73
  include Aws::Structure
74
74
  end
75
75
 
76
+ # @note When making an API call, you may pass DeleteTranscriptionJobRequest
77
+ # data as a hash:
78
+ #
79
+ # {
80
+ # transcription_job_name: "TranscriptionJobName", # required
81
+ # }
82
+ #
83
+ # @!attribute [rw] transcription_job_name
84
+ # The name of the transcription job to be deleted.
85
+ # @return [String]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJobRequest AWS API Documentation
88
+ #
89
+ class DeleteTranscriptionJobRequest < Struct.new(
90
+ :transcription_job_name)
91
+ include Aws::Structure
92
+ end
93
+
76
94
  # @note When making an API call, you may pass DeleteVocabularyRequest
77
95
  # data as a hash:
78
96
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-transcribeservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core