aws-sdk-transcribeservice 1.21.0 → 1.22.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: aeadc9dbc237a3a8830dcae7071a8ab080ac7707
4
- data.tar.gz: d8502e88018e36379b5c6ae25b3823fe0d70af13
3
+ metadata.gz: 75a3bdfa56e7145e03111cdb94263ef23eff2e05
4
+ data.tar.gz: 10c380fdaba0258f6456d5f031b8ea1b7b536fd9
5
5
  SHA512:
6
- metadata.gz: 12b59fecce572f513db351fc46fd5eb70e589e1d5ef627b901b6e17355d35dccad4f471892679dc3dff66cab0eb38128bd8c69ccb6bb107d02460f47de402b0f
7
- data.tar.gz: 19c1033878e4b37edeeef1ddb1319e99aa9d8c0460d161238ea20b2e98f5c778e00c56c53cc1a4bc05b0426106a301a1324d6629cdfd13f19367788b618ff56f
6
+ metadata.gz: 300b667a5b0376c896d88f24b8690802c655de3d71a6726336a90b8beb27695679d7b5259c12a427f7968df2a4a0f0e157275beb93d218b62e4de638a80a7cd0
7
+ data.tar.gz: 2867d74cdae96e97f9057fcf706a7e330c90cd61141ef4b51a92b1402a8b9374b1a8d44aa3d48a0b057bd9aaffb10df45ed0a0427c7563a33048d8d5384e5998
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
42
42
  # @service
43
43
  module Aws::TranscribeService
44
44
 
45
- GEM_VERSION = '1.21.0'
45
+ GEM_VERSION = '1.22.0'
46
46
 
47
47
  end
@@ -750,7 +750,7 @@ module Aws::TranscribeService
750
750
  params: params,
751
751
  config: config)
752
752
  context[:gem_name] = 'aws-sdk-transcribeservice'
753
- context[:gem_version] = '1.21.0'
753
+ context[:gem_version] = '1.22.0'
754
754
  Seahorse::Client::Request.new(handlers, context)
755
755
  end
756
756
 
@@ -60,6 +60,12 @@ module Aws::TranscribeService
60
60
  VocabularyName = Shapes::StringShape.new(name: 'VocabularyName')
61
61
  VocabularyState = Shapes::StringShape.new(name: 'VocabularyState')
62
62
 
63
+ BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: FailureReason, location_name: "Message"))
64
+ BadRequestException.struct_class = Types::BadRequestException
65
+
66
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
67
+ ConflictException.struct_class = Types::ConflictException
68
+
63
69
  CreateVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
64
70
  CreateVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
65
71
  CreateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases, location_name: "Phrases"))
@@ -96,6 +102,12 @@ module Aws::TranscribeService
96
102
  GetVocabularyResponse.add_member(:download_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "DownloadUri"))
97
103
  GetVocabularyResponse.struct_class = Types::GetVocabularyResponse
98
104
 
105
+ InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
106
+ InternalFailureException.struct_class = Types::InternalFailureException
107
+
108
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
109
+ LimitExceededException.struct_class = Types::LimitExceededException
110
+
99
111
  ListTranscriptionJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "Status"))
100
112
  ListTranscriptionJobsRequest.add_member(:job_name_contains, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "JobNameContains"))
101
113
  ListTranscriptionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -121,6 +133,9 @@ module Aws::TranscribeService
121
133
  Media.add_member(:media_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "MediaFileUri"))
122
134
  Media.struct_class = Types::Media
123
135
 
136
+ NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
137
+ NotFoundException.struct_class = Types::NotFoundException
138
+
124
139
  Phrases.member = Shapes::ShapeRef.new(shape: Phrase)
125
140
 
126
141
  Settings.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
@@ -10,5 +10,85 @@ module Aws::TranscribeService
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BadRequestException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::TranscribeService::Types::BadRequestException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class ConflictException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::TranscribeService::Types::ConflictException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InternalFailureException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::TranscribeService::Types::InternalFailureException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class LimitExceededException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::TranscribeService::Types::LimitExceededException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class NotFoundException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::TranscribeService::Types::NotFoundException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
13
93
  end
14
94
  end
@@ -8,6 +8,38 @@
8
8
  module Aws::TranscribeService
9
9
  module Types
10
10
 
11
+ # Your request didn't pass one or more validation tests. For example,
12
+ # if the transcription you're trying to delete doesn't exist or if it
13
+ # is in a non-terminal state (for example, it's "in progress"). See
14
+ # the exception `Message` field for more information.
15
+ #
16
+ # @!attribute [rw] message
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/BadRequestException AWS API Documentation
20
+ #
21
+ class BadRequestException < Struct.new(
22
+ :message)
23
+ include Aws::Structure
24
+ end
25
+
26
+ # When you are using the `StartTranscriptionJob` operation, the
27
+ # `JobName` field is a duplicate of a previously entered job name.
28
+ # Resend your request with a different name.
29
+ #
30
+ # When you are using the `UpdateVocabulary` operation, there are two
31
+ # jobs running at the same time. Resend the second request later.
32
+ #
33
+ # @!attribute [rw] message
34
+ # @return [String]
35
+ #
36
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ConflictException AWS API Documentation
37
+ #
38
+ class ConflictException < Struct.new(
39
+ :message)
40
+ include Aws::Structure
41
+ end
42
+
11
43
  # @note When making an API call, you may pass CreateVocabularyRequest
12
44
  # data as a hash:
13
45
  #
@@ -223,6 +255,33 @@ module Aws::TranscribeService
223
255
  include Aws::Structure
224
256
  end
225
257
 
258
+ # There was an internal error. Check the error message and try your
259
+ # request again.
260
+ #
261
+ # @!attribute [rw] message
262
+ # @return [String]
263
+ #
264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/InternalFailureException AWS API Documentation
265
+ #
266
+ class InternalFailureException < Struct.new(
267
+ :message)
268
+ include Aws::Structure
269
+ end
270
+
271
+ # Either you have sent too many requests or your input file is too long.
272
+ # Wait before you resend your request, or use a smaller file and resend
273
+ # the request.
274
+ #
275
+ # @!attribute [rw] message
276
+ # @return [String]
277
+ #
278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/LimitExceededException AWS API Documentation
279
+ #
280
+ class LimitExceededException < Struct.new(
281
+ :message)
282
+ include Aws::Structure
283
+ end
284
+
226
285
  # @note When making an API call, you may pass ListTranscriptionJobsRequest
227
286
  # data as a hash:
228
287
  #
@@ -402,6 +461,19 @@ module Aws::TranscribeService
402
461
  include Aws::Structure
403
462
  end
404
463
 
464
+ # We can't find the requested resource. Check the name and try your
465
+ # request again.
466
+ #
467
+ # @!attribute [rw] message
468
+ # @return [String]
469
+ #
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/NotFoundException AWS API Documentation
471
+ #
472
+ class NotFoundException < Struct.new(
473
+ :message)
474
+ include Aws::Structure
475
+ end
476
+
405
477
  # Provides optional settings for the `StartTranscriptionJob` operation.
406
478
  #
407
479
  # @note When making an API call, you may pass Settings
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.21.0
4
+ version: 1.22.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: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement