aws-sdk-elementalinference 1.4.0 → 1.5.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elementalinference/client.rb +383 -26
- data/lib/aws-sdk-elementalinference/client_api.rb +199 -0
- data/lib/aws-sdk-elementalinference/types.rb +486 -72
- data/lib/aws-sdk-elementalinference.rb +1 -1
- data/sig/client.rbs +89 -7
- data/sig/params.rbs +20 -7
- data/sig/types.rbs +114 -0
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -94,6 +94,25 @@ module Aws
|
|
|
94
94
|
) -> _AssociateFeedResponseSuccess
|
|
95
95
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateFeedResponseSuccess
|
|
96
96
|
|
|
97
|
+
interface _CreateDictionaryResponseSuccess
|
|
98
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDictionaryResponse]
|
|
99
|
+
def name: () -> ::String
|
|
100
|
+
def arn: () -> ::String
|
|
101
|
+
def id: () -> ::String
|
|
102
|
+
def language: () -> ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
103
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
104
|
+
def references: () -> ::Array[::String]
|
|
105
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
106
|
+
end
|
|
107
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#create_dictionary-instance_method
|
|
108
|
+
def create_dictionary: (
|
|
109
|
+
name: ::String,
|
|
110
|
+
language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por"),
|
|
111
|
+
?entries: ::String,
|
|
112
|
+
?tags: Hash[::String, ::String]
|
|
113
|
+
) -> _CreateDictionaryResponseSuccess
|
|
114
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDictionaryResponseSuccess
|
|
115
|
+
|
|
97
116
|
interface _CreateFeedResponseSuccess
|
|
98
117
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFeedResponse]
|
|
99
118
|
def arn: () -> ::String
|
|
@@ -115,6 +134,18 @@ module Aws
|
|
|
115
134
|
) -> _CreateFeedResponseSuccess
|
|
116
135
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFeedResponseSuccess
|
|
117
136
|
|
|
137
|
+
interface _DeleteDictionaryResponseSuccess
|
|
138
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDictionaryResponse]
|
|
139
|
+
def arn: () -> ::String
|
|
140
|
+
def id: () -> ::String
|
|
141
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
142
|
+
end
|
|
143
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#delete_dictionary-instance_method
|
|
144
|
+
def delete_dictionary: (
|
|
145
|
+
id: ::String
|
|
146
|
+
) -> _DeleteDictionaryResponseSuccess
|
|
147
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDictionaryResponseSuccess
|
|
148
|
+
|
|
118
149
|
interface _DeleteFeedResponseSuccess
|
|
119
150
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFeedResponse]
|
|
120
151
|
def arn: () -> ::String
|
|
@@ -140,6 +171,32 @@ module Aws
|
|
|
140
171
|
) -> _DisassociateFeedResponseSuccess
|
|
141
172
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFeedResponseSuccess
|
|
142
173
|
|
|
174
|
+
interface _ExportDictionaryEntriesResponseSuccess
|
|
175
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ExportDictionaryEntriesResponse]
|
|
176
|
+
def entries: () -> ::String
|
|
177
|
+
end
|
|
178
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#export_dictionary_entries-instance_method
|
|
179
|
+
def export_dictionary_entries: (
|
|
180
|
+
id: ::String
|
|
181
|
+
) -> _ExportDictionaryEntriesResponseSuccess
|
|
182
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportDictionaryEntriesResponseSuccess
|
|
183
|
+
|
|
184
|
+
interface _GetDictionaryResponseSuccess
|
|
185
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDictionaryResponse]
|
|
186
|
+
def name: () -> ::String
|
|
187
|
+
def arn: () -> ::String
|
|
188
|
+
def id: () -> ::String
|
|
189
|
+
def language: () -> ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
190
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
191
|
+
def references: () -> ::Array[::String]
|
|
192
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
193
|
+
end
|
|
194
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#get_dictionary-instance_method
|
|
195
|
+
def get_dictionary: (
|
|
196
|
+
id: ::String
|
|
197
|
+
) -> _GetDictionaryResponseSuccess
|
|
198
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDictionaryResponseSuccess
|
|
199
|
+
|
|
143
200
|
interface _GetFeedResponseSuccess
|
|
144
201
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetFeedResponse]
|
|
145
202
|
def arn: () -> ::String
|
|
@@ -157,6 +214,18 @@ module Aws
|
|
|
157
214
|
) -> _GetFeedResponseSuccess
|
|
158
215
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFeedResponseSuccess
|
|
159
216
|
|
|
217
|
+
interface _ListDictionariesResponseSuccess
|
|
218
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDictionariesResponse]
|
|
219
|
+
def dictionaries: () -> ::Array[Types::DictionarySummary]
|
|
220
|
+
def next_token: () -> ::String
|
|
221
|
+
end
|
|
222
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#list_dictionaries-instance_method
|
|
223
|
+
def list_dictionaries: (
|
|
224
|
+
?max_results: ::Integer,
|
|
225
|
+
?next_token: ::String
|
|
226
|
+
) -> _ListDictionariesResponseSuccess
|
|
227
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDictionariesResponseSuccess
|
|
228
|
+
|
|
160
229
|
interface _ListFeedsResponseSuccess
|
|
161
230
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListFeedsResponse]
|
|
162
231
|
def feeds: () -> ::Array[Types::FeedSummary]
|
|
@@ -193,6 +262,25 @@ module Aws
|
|
|
193
262
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
194
263
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
195
264
|
|
|
265
|
+
interface _UpdateDictionaryResponseSuccess
|
|
266
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDictionaryResponse]
|
|
267
|
+
def name: () -> ::String
|
|
268
|
+
def arn: () -> ::String
|
|
269
|
+
def id: () -> ::String
|
|
270
|
+
def language: () -> ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
271
|
+
def status: () -> ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
272
|
+
def references: () -> ::Array[::String]
|
|
273
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
274
|
+
end
|
|
275
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ElementalInference/Client.html#update_dictionary-instance_method
|
|
276
|
+
def update_dictionary: (
|
|
277
|
+
id: ::String,
|
|
278
|
+
?name: ::String,
|
|
279
|
+
?language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por"),
|
|
280
|
+
?entries: ::String
|
|
281
|
+
) -> _UpdateDictionaryResponseSuccess
|
|
282
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDictionaryResponseSuccess
|
|
283
|
+
|
|
196
284
|
interface _UpdateFeedResponseSuccess
|
|
197
285
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFeedResponse]
|
|
198
286
|
def arn: () -> ::String
|
|
@@ -211,13 +299,7 @@ module Aws
|
|
|
211
299
|
outputs: Array[
|
|
212
300
|
{
|
|
213
301
|
name: ::String,
|
|
214
|
-
output_config:
|
|
215
|
-
cropping: {
|
|
216
|
-
}?,
|
|
217
|
-
clipping: {
|
|
218
|
-
callback_metadata: ::String?
|
|
219
|
-
}?
|
|
220
|
-
},
|
|
302
|
+
output_config: Params::output_config,
|
|
221
303
|
status: ("ENABLED" | "DISABLED"),
|
|
222
304
|
description: ::String?,
|
|
223
305
|
from_association: bool?
|
data/sig/params.rbs
CHANGED
|
@@ -8,15 +8,28 @@
|
|
|
8
8
|
module Aws
|
|
9
9
|
module ElementalInference
|
|
10
10
|
module Params
|
|
11
|
+
type subtitling_config = {
|
|
12
|
+
language: ("eng" | "eng-au" | "eng-gb" | "eng-us" | "fra" | "ita" | "deu" | "spa" | "por"),
|
|
13
|
+
aspect_ratio: {
|
|
14
|
+
width: ::Integer,
|
|
15
|
+
height: ::Integer
|
|
16
|
+
}?,
|
|
17
|
+
dictionary: ::String?,
|
|
18
|
+
profanity_filter: ("DISABLED" | "CENSOR" | "DROP")?
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
type output_config = {
|
|
22
|
+
cropping: {
|
|
23
|
+
}?,
|
|
24
|
+
clipping: {
|
|
25
|
+
callback_metadata: ::String?
|
|
26
|
+
}?,
|
|
27
|
+
subtitling: Params::subtitling_config?
|
|
28
|
+
}
|
|
29
|
+
|
|
11
30
|
type create_output = {
|
|
12
31
|
name: ::String,
|
|
13
|
-
output_config:
|
|
14
|
-
cropping: {
|
|
15
|
-
}?,
|
|
16
|
-
clipping: {
|
|
17
|
-
callback_metadata: ::String?
|
|
18
|
-
}?
|
|
19
|
-
},
|
|
32
|
+
output_config: Params::output_config,
|
|
20
33
|
status: ("ENABLED" | "DISABLED"),
|
|
21
34
|
description: ::String?
|
|
22
35
|
}
|
data/sig/types.rbs
CHANGED
|
@@ -13,6 +13,12 @@ module Aws::ElementalInference
|
|
|
13
13
|
SENSITIVE: []
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
class AspectRatio
|
|
17
|
+
attr_accessor width: ::Integer
|
|
18
|
+
attr_accessor height: ::Integer
|
|
19
|
+
SENSITIVE: []
|
|
20
|
+
end
|
|
21
|
+
|
|
16
22
|
class AssociateFeedRequest
|
|
17
23
|
attr_accessor id: ::String
|
|
18
24
|
attr_accessor associated_resource_name: ::String
|
|
@@ -37,6 +43,25 @@ module Aws::ElementalInference
|
|
|
37
43
|
SENSITIVE: []
|
|
38
44
|
end
|
|
39
45
|
|
|
46
|
+
class CreateDictionaryRequest
|
|
47
|
+
attr_accessor name: ::String
|
|
48
|
+
attr_accessor language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
49
|
+
attr_accessor entries: ::String
|
|
50
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
51
|
+
SENSITIVE: []
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
class CreateDictionaryResponse
|
|
55
|
+
attr_accessor name: ::String
|
|
56
|
+
attr_accessor arn: ::String
|
|
57
|
+
attr_accessor id: ::String
|
|
58
|
+
attr_accessor language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
59
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
60
|
+
attr_accessor references: ::Array[::String]
|
|
61
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
62
|
+
SENSITIVE: []
|
|
63
|
+
end
|
|
64
|
+
|
|
40
65
|
class CreateFeedRequest
|
|
41
66
|
attr_accessor name: ::String
|
|
42
67
|
attr_accessor outputs: ::Array[Types::CreateOutput]
|
|
@@ -67,6 +92,18 @@ module Aws::ElementalInference
|
|
|
67
92
|
class CroppingConfig < Aws::EmptyStructure
|
|
68
93
|
end
|
|
69
94
|
|
|
95
|
+
class DeleteDictionaryRequest
|
|
96
|
+
attr_accessor id: ::String
|
|
97
|
+
SENSITIVE: []
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
class DeleteDictionaryResponse
|
|
101
|
+
attr_accessor arn: ::String
|
|
102
|
+
attr_accessor id: ::String
|
|
103
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
104
|
+
SENSITIVE: []
|
|
105
|
+
end
|
|
106
|
+
|
|
70
107
|
class DeleteFeedRequest
|
|
71
108
|
attr_accessor id: ::String
|
|
72
109
|
SENSITIVE: []
|
|
@@ -79,6 +116,15 @@ module Aws::ElementalInference
|
|
|
79
116
|
SENSITIVE: []
|
|
80
117
|
end
|
|
81
118
|
|
|
119
|
+
class DictionarySummary
|
|
120
|
+
attr_accessor arn: ::String
|
|
121
|
+
attr_accessor id: ::String
|
|
122
|
+
attr_accessor name: ::String
|
|
123
|
+
attr_accessor language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
124
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
125
|
+
SENSITIVE: []
|
|
126
|
+
end
|
|
127
|
+
|
|
82
128
|
class DisassociateFeedRequest
|
|
83
129
|
attr_accessor id: ::String
|
|
84
130
|
attr_accessor associated_resource_name: ::String
|
|
@@ -92,6 +138,16 @@ module Aws::ElementalInference
|
|
|
92
138
|
SENSITIVE: []
|
|
93
139
|
end
|
|
94
140
|
|
|
141
|
+
class ExportDictionaryEntriesRequest
|
|
142
|
+
attr_accessor id: ::String
|
|
143
|
+
SENSITIVE: []
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
class ExportDictionaryEntriesResponse
|
|
147
|
+
attr_accessor entries: ::String
|
|
148
|
+
SENSITIVE: []
|
|
149
|
+
end
|
|
150
|
+
|
|
95
151
|
class FeedAssociation
|
|
96
152
|
attr_accessor associated_resource_name: ::String
|
|
97
153
|
SENSITIVE: []
|
|
@@ -106,6 +162,22 @@ module Aws::ElementalInference
|
|
|
106
162
|
SENSITIVE: []
|
|
107
163
|
end
|
|
108
164
|
|
|
165
|
+
class GetDictionaryRequest
|
|
166
|
+
attr_accessor id: ::String
|
|
167
|
+
SENSITIVE: []
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
class GetDictionaryResponse
|
|
171
|
+
attr_accessor name: ::String
|
|
172
|
+
attr_accessor arn: ::String
|
|
173
|
+
attr_accessor id: ::String
|
|
174
|
+
attr_accessor language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
175
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
176
|
+
attr_accessor references: ::Array[::String]
|
|
177
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
178
|
+
SENSITIVE: []
|
|
179
|
+
end
|
|
180
|
+
|
|
109
181
|
class GetFeedRequest
|
|
110
182
|
attr_accessor id: ::String
|
|
111
183
|
SENSITIVE: []
|
|
@@ -137,6 +209,18 @@ module Aws::ElementalInference
|
|
|
137
209
|
SENSITIVE: []
|
|
138
210
|
end
|
|
139
211
|
|
|
212
|
+
class ListDictionariesRequest
|
|
213
|
+
attr_accessor max_results: ::Integer
|
|
214
|
+
attr_accessor next_token: ::String
|
|
215
|
+
SENSITIVE: []
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
class ListDictionariesResponse
|
|
219
|
+
attr_accessor dictionaries: ::Array[Types::DictionarySummary]
|
|
220
|
+
attr_accessor next_token: ::String
|
|
221
|
+
SENSITIVE: []
|
|
222
|
+
end
|
|
223
|
+
|
|
140
224
|
class ListFeedsRequest
|
|
141
225
|
attr_accessor max_results: ::Integer
|
|
142
226
|
attr_accessor next_token: ::String
|
|
@@ -162,6 +246,7 @@ module Aws::ElementalInference
|
|
|
162
246
|
class OutputConfig
|
|
163
247
|
attr_accessor cropping: Types::CroppingConfig
|
|
164
248
|
attr_accessor clipping: Types::ClippingConfig
|
|
249
|
+
attr_accessor subtitling: Types::SubtitlingConfig
|
|
165
250
|
attr_accessor unknown: untyped
|
|
166
251
|
SENSITIVE: []
|
|
167
252
|
|
|
@@ -169,6 +254,8 @@ module Aws::ElementalInference
|
|
|
169
254
|
end
|
|
170
255
|
class Clipping < OutputConfig
|
|
171
256
|
end
|
|
257
|
+
class Subtitling < OutputConfig
|
|
258
|
+
end
|
|
172
259
|
class Unknown < OutputConfig
|
|
173
260
|
end
|
|
174
261
|
end
|
|
@@ -183,6 +270,14 @@ module Aws::ElementalInference
|
|
|
183
270
|
SENSITIVE: []
|
|
184
271
|
end
|
|
185
272
|
|
|
273
|
+
class SubtitlingConfig
|
|
274
|
+
attr_accessor language: ("eng" | "eng-au" | "eng-gb" | "eng-us" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
275
|
+
attr_accessor aspect_ratio: Types::AspectRatio
|
|
276
|
+
attr_accessor dictionary: ::String
|
|
277
|
+
attr_accessor profanity_filter: ("DISABLED" | "CENSOR" | "DROP")
|
|
278
|
+
SENSITIVE: []
|
|
279
|
+
end
|
|
280
|
+
|
|
186
281
|
class TagResourceRequest
|
|
187
282
|
attr_accessor resource_arn: ::String
|
|
188
283
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
@@ -200,6 +295,25 @@ module Aws::ElementalInference
|
|
|
200
295
|
SENSITIVE: []
|
|
201
296
|
end
|
|
202
297
|
|
|
298
|
+
class UpdateDictionaryRequest
|
|
299
|
+
attr_accessor id: ::String
|
|
300
|
+
attr_accessor name: ::String
|
|
301
|
+
attr_accessor language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
302
|
+
attr_accessor entries: ::String
|
|
303
|
+
SENSITIVE: []
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
class UpdateDictionaryResponse
|
|
307
|
+
attr_accessor name: ::String
|
|
308
|
+
attr_accessor arn: ::String
|
|
309
|
+
attr_accessor id: ::String
|
|
310
|
+
attr_accessor language: ("eng" | "fra" | "ita" | "deu" | "spa" | "por")
|
|
311
|
+
attr_accessor status: ("CREATING" | "AVAILABLE" | "REFERENCED" | "DELETING" | "DELETED")
|
|
312
|
+
attr_accessor references: ::Array[::String]
|
|
313
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
314
|
+
SENSITIVE: []
|
|
315
|
+
end
|
|
316
|
+
|
|
203
317
|
class UpdateFeedRequest
|
|
204
318
|
attr_accessor name: ::String
|
|
205
319
|
attr_accessor id: ::String
|