aws-sdk-elementalinference 1.3.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elementalinference/client.rb +388 -33
- 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 +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 923ab344fe39e23d9c71d5ac67e98d2a4ddfbd43f676b60260ba062112efb20a
|
|
4
|
+
data.tar.gz: f1b74dba04e36e265460ffbcd7f3113e8956330e91f534f50fd578c84f2599da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 541ad51aa3a802e2723f77ded86a89622a05960ee25ddf3dbf0894f28ae5922bca196b2a962a82e3a6e8e71f38ccbb4b1b1b06bf6143af558d80e9f44273aa93
|
|
7
|
+
data.tar.gz: c7234dfc834e337d75bedfdbd61c84ba464a827b8f8e9e8cf2d7a0a498ed55ec0ab8f87c420783d3c1fe0eba3c78834cb38f0c04bd1fe86eabfc93db5c0ca369
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.5.0 (2026-05-27)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added support for smart subtitles in Elemental Inference, enabling automatic generation of subtitles for media content. Available in English, Spanish, French, German, Italian, and Portuguese.
|
|
8
|
+
|
|
9
|
+
1.4.0 (2026-05-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.3.0 (2026-05-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.5.0
|
|
@@ -199,7 +199,7 @@ module Aws::ElementalInference
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
203
203
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
204
204
|
#
|
|
205
205
|
# @option options [String] :defaults_mode ("legacy")
|
|
@@ -323,17 +323,15 @@ module Aws::ElementalInference
|
|
|
323
323
|
# @option options [String] :retry_mode ("legacy")
|
|
324
324
|
# Specifies which retry algorithm to use. Values are:
|
|
325
325
|
#
|
|
326
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
327
|
-
# no retry mode is provided.
|
|
326
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
327
|
+
# value if no retry mode is provided.
|
|
328
328
|
#
|
|
329
329
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
330
330
|
# This includes support for retry quotas, which limit the number of
|
|
331
331
|
# unsuccessful retries a client can make.
|
|
332
332
|
#
|
|
333
|
-
# * `adaptive` -
|
|
334
|
-
#
|
|
335
|
-
# throttling. This is a provisional mode that may change behavior
|
|
336
|
-
# in the future.
|
|
333
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
334
|
+
# `standard` mode along with automatic client side throttling.
|
|
337
335
|
#
|
|
338
336
|
# @option options [String] :sdk_ua_app_id
|
|
339
337
|
# A unique and opaque application ID that is appended to the
|
|
@@ -477,31 +475,57 @@ module Aws::ElementalInference
|
|
|
477
475
|
# @!group API Operations
|
|
478
476
|
|
|
479
477
|
# Associates a resource with the feed. The resource provides the input
|
|
480
|
-
# that Elemental Inference needs
|
|
478
|
+
# that Elemental Inference needs in order to perform an Elemental
|
|
481
479
|
# Inference feature, such as cropping video. You always provide the
|
|
482
480
|
# resource by associating it with a feed. You can associate only one
|
|
483
|
-
# resource with each feed.
|
|
481
|
+
# resource with each feed. With an association, a specific source media
|
|
482
|
+
# is claiming ownership of the feed.
|
|
483
|
+
#
|
|
484
|
+
# AssociateFeed is a PATCH operation, which means that you can include
|
|
485
|
+
# only parameters that you want to change. Parameters that you don't
|
|
486
|
+
# include will not be affected by the operation.
|
|
487
|
+
#
|
|
488
|
+
# Specifically:
|
|
489
|
+
#
|
|
490
|
+
# * You can add more outputs to the existing outputs. New outputs will
|
|
491
|
+
# be appended.
|
|
492
|
+
#
|
|
493
|
+
# * You can't modify an existing output (for example to change its
|
|
494
|
+
# name). Instead, use UpdateFeed.
|
|
495
|
+
#
|
|
496
|
+
# * You can't delete an existing output. Instead, use UpdateFeed.
|
|
497
|
+
#
|
|
498
|
+
# Also note that you can't change the feed name with AssociateFeed.
|
|
499
|
+
# Instead, use UpdateFeed.
|
|
484
500
|
#
|
|
485
501
|
# @option params [required, String] :id
|
|
486
502
|
# The ID of the feed.
|
|
487
503
|
#
|
|
488
504
|
# @option params [required, String] :associated_resource_name
|
|
489
|
-
# An identifier for the resource.
|
|
490
|
-
#
|
|
491
|
-
#
|
|
492
|
-
#
|
|
493
|
-
#
|
|
505
|
+
# An identifier for the resource. This name must not resemble an ARN.
|
|
506
|
+
#
|
|
507
|
+
# The resource is the source media that the feed will process. The name
|
|
508
|
+
# you assign should help you to later identify the source media that
|
|
509
|
+
# belongs to the feed. In this way, you will know which source media to
|
|
510
|
+
# push to the feed (using PutMedia).
|
|
494
511
|
#
|
|
495
512
|
# **A suitable default value is auto-generated.** You should normally
|
|
496
513
|
# not need to pass this option.**
|
|
497
514
|
#
|
|
498
515
|
# @option params [required, Array<Types::CreateOutput>] :outputs
|
|
499
|
-
#
|
|
500
|
-
#
|
|
516
|
+
# An array of one or more outputs that you want to add to this feed now,
|
|
517
|
+
# to supplement any outputs that you specified when you created or
|
|
518
|
+
# updated the feed.
|
|
501
519
|
#
|
|
502
520
|
# @option params [Boolean] :dry_run
|
|
503
521
|
# Set to true if you want to do a dry run of the associate action.
|
|
504
522
|
#
|
|
523
|
+
# Elemental Inference will validate that the real request would succeed
|
|
524
|
+
# without actually making any changes. A dry run catches errors such as
|
|
525
|
+
# missing IAM permissions, quota limits exceeded, conflicting outputs,
|
|
526
|
+
# and so on. If the dry run fails, the action returns a 4xx error code.
|
|
527
|
+
# After you've fixed the errors, resubmit the request.
|
|
528
|
+
#
|
|
505
529
|
# @return [Types::AssociateFeedResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
506
530
|
#
|
|
507
531
|
# * {Types::AssociateFeedResponse#arn #arn} => String
|
|
@@ -521,6 +545,15 @@ module Aws::ElementalInference
|
|
|
521
545
|
# clipping: {
|
|
522
546
|
# callback_metadata: "ResourceDescription",
|
|
523
547
|
# },
|
|
548
|
+
# subtitling: {
|
|
549
|
+
# language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
|
|
550
|
+
# aspect_ratio: {
|
|
551
|
+
# width: 1, # required
|
|
552
|
+
# height: 1, # required
|
|
553
|
+
# },
|
|
554
|
+
# dictionary: "DictionaryId",
|
|
555
|
+
# profanity_filter: "DISABLED", # accepts DISABLED, CENSOR, DROP
|
|
556
|
+
# },
|
|
524
557
|
# },
|
|
525
558
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
526
559
|
# description: "ResourceDescription",
|
|
@@ -543,22 +576,90 @@ module Aws::ElementalInference
|
|
|
543
576
|
req.send_request(options)
|
|
544
577
|
end
|
|
545
578
|
|
|
546
|
-
# Creates a
|
|
547
|
-
#
|
|
548
|
-
#
|
|
549
|
-
#
|
|
579
|
+
# Creates a custom dictionary for improving transcription accuracy. A
|
|
580
|
+
# dictionary contains custom words and phrases that the ASR engine might
|
|
581
|
+
# not recognize, such as brand names, technical terms, or proper nouns.
|
|
582
|
+
# You can reference a dictionary when configuring a smart subtitles
|
|
583
|
+
# output.
|
|
550
584
|
#
|
|
551
585
|
# @option params [required, String] :name
|
|
552
|
-
# A name for this
|
|
586
|
+
# A user-friendly name for this dictionary.
|
|
587
|
+
#
|
|
588
|
+
# @option params [required, String] :language
|
|
589
|
+
# The language of the dictionary entries. Specify the language using an
|
|
590
|
+
# ISO 639-2/T three-letter code. Supported values: eng, fra, ita, deu,
|
|
591
|
+
# spa, por.
|
|
592
|
+
#
|
|
593
|
+
# @option params [String] :entries
|
|
594
|
+
# The dictionary entries payload. Contains the custom words and phrases
|
|
595
|
+
# for the dictionary. Maximum size is 40,960 characters.
|
|
596
|
+
#
|
|
597
|
+
# @option params [Hash<String,String>] :tags
|
|
598
|
+
# Optional tags to associate with the dictionary.
|
|
599
|
+
#
|
|
600
|
+
# @return [Types::CreateDictionaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
601
|
+
#
|
|
602
|
+
# * {Types::CreateDictionaryResponse#name #name} => String
|
|
603
|
+
# * {Types::CreateDictionaryResponse#arn #arn} => String
|
|
604
|
+
# * {Types::CreateDictionaryResponse#id #id} => String
|
|
605
|
+
# * {Types::CreateDictionaryResponse#language #language} => String
|
|
606
|
+
# * {Types::CreateDictionaryResponse#status #status} => String
|
|
607
|
+
# * {Types::CreateDictionaryResponse#references #references} => Array<String>
|
|
608
|
+
# * {Types::CreateDictionaryResponse#tags #tags} => Hash<String,String>
|
|
609
|
+
#
|
|
610
|
+
# @example Request syntax with placeholder values
|
|
611
|
+
#
|
|
612
|
+
# resp = client.create_dictionary({
|
|
613
|
+
# name: "ResourceName", # required
|
|
614
|
+
# language: "eng", # required, accepts eng, fra, ita, deu, spa, por
|
|
615
|
+
# entries: "DictionaryEntriesPayload",
|
|
616
|
+
# tags: {
|
|
617
|
+
# "TagKey" => "TagValue",
|
|
618
|
+
# },
|
|
619
|
+
# })
|
|
620
|
+
#
|
|
621
|
+
# @example Response structure
|
|
622
|
+
#
|
|
623
|
+
# resp.name #=> String
|
|
624
|
+
# resp.arn #=> String
|
|
625
|
+
# resp.id #=> String
|
|
626
|
+
# resp.language #=> String, one of "eng", "fra", "ita", "deu", "spa", "por"
|
|
627
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "REFERENCED", "DELETING", "DELETED"
|
|
628
|
+
# resp.references #=> Array
|
|
629
|
+
# resp.references[0] #=> String
|
|
630
|
+
# resp.tags #=> Hash
|
|
631
|
+
# resp.tags["TagKey"] #=> String
|
|
632
|
+
#
|
|
633
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/CreateDictionary AWS API Documentation
|
|
634
|
+
#
|
|
635
|
+
# @overload create_dictionary(params = {})
|
|
636
|
+
# @param [Hash] params ({})
|
|
637
|
+
def create_dictionary(params = {}, options = {})
|
|
638
|
+
req = build_request(:create_dictionary, params)
|
|
639
|
+
req.send_request(options)
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
# Creates a feed. The feed is the target for the live media stream that
|
|
643
|
+
# is being sent by the calling application. An example of a calling
|
|
644
|
+
# application is AWS Elemental MediaLive.
|
|
645
|
+
#
|
|
646
|
+
# The key contents of the feed is an array of outputs. Each output
|
|
647
|
+
# represents an Elemental Inference feature. After you create the feed,
|
|
648
|
+
# you must associate a resource with the feed. At that point, you will
|
|
649
|
+
# have a useable feed: resource - feed - output or outputs.
|
|
650
|
+
#
|
|
651
|
+
# @option params [required, String] :name
|
|
652
|
+
# A user-friendly name for this feed.
|
|
553
653
|
#
|
|
554
654
|
# @option params [required, Array<Types::CreateOutput>] :outputs
|
|
555
655
|
# An array of outputs for this feed. Each output represents a specific
|
|
556
|
-
# Elemental Inference feature. For example,
|
|
557
|
-
# the crop feature.
|
|
656
|
+
# Elemental Inference feature. For example, there is one output type for
|
|
657
|
+
# the smart crop feature. You must specify at least one output, but you
|
|
658
|
+
# can later add outputs using AssociateFeed, or add, modify, and delete
|
|
659
|
+
# outputs using UpdateFeed.
|
|
558
660
|
#
|
|
559
661
|
# @option params [Hash<String,String>] :tags
|
|
560
|
-
#
|
|
561
|
-
# them later.
|
|
662
|
+
# Optional tags. You can also add tags later, using TagResource.
|
|
562
663
|
#
|
|
563
664
|
# @return [Types::CreateFeedResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
564
665
|
#
|
|
@@ -584,6 +685,15 @@ module Aws::ElementalInference
|
|
|
584
685
|
# clipping: {
|
|
585
686
|
# callback_metadata: "ResourceDescription",
|
|
586
687
|
# },
|
|
688
|
+
# subtitling: {
|
|
689
|
+
# language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
|
|
690
|
+
# aspect_ratio: {
|
|
691
|
+
# width: 1, # required
|
|
692
|
+
# height: 1, # required
|
|
693
|
+
# },
|
|
694
|
+
# dictionary: "DictionaryId",
|
|
695
|
+
# profanity_filter: "DISABLED", # accepts DISABLED, CENSOR, DROP
|
|
696
|
+
# },
|
|
587
697
|
# },
|
|
588
698
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
589
699
|
# description: "ResourceDescription",
|
|
@@ -604,6 +714,11 @@ module Aws::ElementalInference
|
|
|
604
714
|
# resp.outputs #=> Array
|
|
605
715
|
# resp.outputs[0].name #=> String
|
|
606
716
|
# resp.outputs[0].output_config.clipping.callback_metadata #=> String
|
|
717
|
+
# resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
|
|
718
|
+
# resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
|
|
719
|
+
# resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
|
|
720
|
+
# resp.outputs[0].output_config.subtitling.dictionary #=> String
|
|
721
|
+
# resp.outputs[0].output_config.subtitling.profanity_filter #=> String, one of "DISABLED", "CENSOR", "DROP"
|
|
607
722
|
# resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
608
723
|
# resp.outputs[0].description #=> String
|
|
609
724
|
# resp.outputs[0].from_association #=> Boolean
|
|
@@ -621,7 +736,45 @@ module Aws::ElementalInference
|
|
|
621
736
|
req.send_request(options)
|
|
622
737
|
end
|
|
623
738
|
|
|
624
|
-
# Deletes the specified
|
|
739
|
+
# Deletes the specified dictionary. You cannot delete a dictionary that
|
|
740
|
+
# is referenced by a feed. You must first remove the dictionary
|
|
741
|
+
# reference from the feed's subtitling configuration.
|
|
742
|
+
#
|
|
743
|
+
# @option params [required, String] :id
|
|
744
|
+
# The ID of the dictionary to delete.
|
|
745
|
+
#
|
|
746
|
+
# @return [Types::DeleteDictionaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
747
|
+
#
|
|
748
|
+
# * {Types::DeleteDictionaryResponse#arn #arn} => String
|
|
749
|
+
# * {Types::DeleteDictionaryResponse#id #id} => String
|
|
750
|
+
# * {Types::DeleteDictionaryResponse#status #status} => String
|
|
751
|
+
#
|
|
752
|
+
# @example Request syntax with placeholder values
|
|
753
|
+
#
|
|
754
|
+
# resp = client.delete_dictionary({
|
|
755
|
+
# id: "DictionaryId", # required
|
|
756
|
+
# })
|
|
757
|
+
#
|
|
758
|
+
# @example Response structure
|
|
759
|
+
#
|
|
760
|
+
# resp.arn #=> String
|
|
761
|
+
# resp.id #=> String
|
|
762
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "REFERENCED", "DELETING", "DELETED"
|
|
763
|
+
#
|
|
764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/DeleteDictionary AWS API Documentation
|
|
765
|
+
#
|
|
766
|
+
# @overload delete_dictionary(params = {})
|
|
767
|
+
# @param [Hash] params ({})
|
|
768
|
+
def delete_dictionary(params = {}, options = {})
|
|
769
|
+
req = build_request(:delete_dictionary, params)
|
|
770
|
+
req.send_request(options)
|
|
771
|
+
end
|
|
772
|
+
|
|
773
|
+
# Deletes the specified feed. You can delete the feed at any time.
|
|
774
|
+
# Elemental Inference doesn't block you from deleting a feed when the
|
|
775
|
+
# calling application is calling PutMedia or GetMetadata on that feed,
|
|
776
|
+
# although both these calls will start to fail. For more information
|
|
777
|
+
# about managing inactive feeds, see the Elemental Inference User Guide.
|
|
625
778
|
#
|
|
626
779
|
# @option params [required, String] :id
|
|
627
780
|
# The ID of the feed.
|
|
@@ -653,14 +806,14 @@ module Aws::ElementalInference
|
|
|
653
806
|
req.send_request(options)
|
|
654
807
|
end
|
|
655
808
|
|
|
656
|
-
# Releases the resource (
|
|
657
|
-
#
|
|
809
|
+
# Releases the resource (the source media) that is associated with this
|
|
810
|
+
# feed. The outputs in the feed become DISABLED.
|
|
658
811
|
#
|
|
659
812
|
# @option params [required, String] :id
|
|
660
813
|
# The ID of the feed where you want to release the resource.
|
|
661
814
|
#
|
|
662
815
|
# @option params [required, String] :associated_resource_name
|
|
663
|
-
# The name of the resource currently associated with the feed
|
|
816
|
+
# The name of the resource currently associated with the feed.
|
|
664
817
|
#
|
|
665
818
|
# **A suitable default value is auto-generated.** You should normally
|
|
666
819
|
# not need to pass this option.**
|
|
@@ -668,6 +821,11 @@ module Aws::ElementalInference
|
|
|
668
821
|
# @option params [Boolean] :dry_run
|
|
669
822
|
# Set to true if you want to do a dry run of the disassociate action.
|
|
670
823
|
#
|
|
824
|
+
# Elemental Inference will validate that the real request would succeed
|
|
825
|
+
# without actually making any changes. A dry run catches errors such as
|
|
826
|
+
# missing IAM permissions. If the dry run fails, the action returns a
|
|
827
|
+
# 4xx error code.
|
|
828
|
+
#
|
|
671
829
|
# @return [Types::DisassociateFeedResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
672
830
|
#
|
|
673
831
|
# * {Types::DisassociateFeedResponse#arn #arn} => String
|
|
@@ -695,6 +853,76 @@ module Aws::ElementalInference
|
|
|
695
853
|
req.send_request(options)
|
|
696
854
|
end
|
|
697
855
|
|
|
856
|
+
# Exports the entries from the specified dictionary.
|
|
857
|
+
#
|
|
858
|
+
# @option params [required, String] :id
|
|
859
|
+
# The ID of the dictionary whose entries you want to export.
|
|
860
|
+
#
|
|
861
|
+
# @return [Types::ExportDictionaryEntriesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
862
|
+
#
|
|
863
|
+
# * {Types::ExportDictionaryEntriesResponse#entries #data.entries} => String (This method conflicts with a method on Response, call it through the data member)
|
|
864
|
+
#
|
|
865
|
+
# @example Request syntax with placeholder values
|
|
866
|
+
#
|
|
867
|
+
# resp = client.export_dictionary_entries({
|
|
868
|
+
# id: "DictionaryId", # required
|
|
869
|
+
# })
|
|
870
|
+
#
|
|
871
|
+
# @example Response structure
|
|
872
|
+
#
|
|
873
|
+
# resp.data.entries #=> String
|
|
874
|
+
#
|
|
875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ExportDictionaryEntries AWS API Documentation
|
|
876
|
+
#
|
|
877
|
+
# @overload export_dictionary_entries(params = {})
|
|
878
|
+
# @param [Hash] params ({})
|
|
879
|
+
def export_dictionary_entries(params = {}, options = {})
|
|
880
|
+
req = build_request(:export_dictionary_entries, params)
|
|
881
|
+
req.send_request(options)
|
|
882
|
+
end
|
|
883
|
+
|
|
884
|
+
# Retrieves information about the specified dictionary.
|
|
885
|
+
#
|
|
886
|
+
# @option params [required, String] :id
|
|
887
|
+
# The ID of the dictionary to retrieve.
|
|
888
|
+
#
|
|
889
|
+
# @return [Types::GetDictionaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
890
|
+
#
|
|
891
|
+
# * {Types::GetDictionaryResponse#name #name} => String
|
|
892
|
+
# * {Types::GetDictionaryResponse#arn #arn} => String
|
|
893
|
+
# * {Types::GetDictionaryResponse#id #id} => String
|
|
894
|
+
# * {Types::GetDictionaryResponse#language #language} => String
|
|
895
|
+
# * {Types::GetDictionaryResponse#status #status} => String
|
|
896
|
+
# * {Types::GetDictionaryResponse#references #references} => Array<String>
|
|
897
|
+
# * {Types::GetDictionaryResponse#tags #tags} => Hash<String,String>
|
|
898
|
+
#
|
|
899
|
+
# @example Request syntax with placeholder values
|
|
900
|
+
#
|
|
901
|
+
# resp = client.get_dictionary({
|
|
902
|
+
# id: "DictionaryId", # required
|
|
903
|
+
# })
|
|
904
|
+
#
|
|
905
|
+
# @example Response structure
|
|
906
|
+
#
|
|
907
|
+
# resp.name #=> String
|
|
908
|
+
# resp.arn #=> String
|
|
909
|
+
# resp.id #=> String
|
|
910
|
+
# resp.language #=> String, one of "eng", "fra", "ita", "deu", "spa", "por"
|
|
911
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "REFERENCED", "DELETING", "DELETED"
|
|
912
|
+
# resp.references #=> Array
|
|
913
|
+
# resp.references[0] #=> String
|
|
914
|
+
# resp.tags #=> Hash
|
|
915
|
+
# resp.tags["TagKey"] #=> String
|
|
916
|
+
#
|
|
917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/GetDictionary AWS API Documentation
|
|
918
|
+
#
|
|
919
|
+
# @overload get_dictionary(params = {})
|
|
920
|
+
# @param [Hash] params ({})
|
|
921
|
+
def get_dictionary(params = {}, options = {})
|
|
922
|
+
req = build_request(:get_dictionary, params)
|
|
923
|
+
req.send_request(options)
|
|
924
|
+
end
|
|
925
|
+
|
|
698
926
|
# Retrieves information about the specified feed.
|
|
699
927
|
#
|
|
700
928
|
# @option params [required, String] :id
|
|
@@ -727,6 +955,11 @@ module Aws::ElementalInference
|
|
|
727
955
|
# resp.outputs #=> Array
|
|
728
956
|
# resp.outputs[0].name #=> String
|
|
729
957
|
# resp.outputs[0].output_config.clipping.callback_metadata #=> String
|
|
958
|
+
# resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
|
|
959
|
+
# resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
|
|
960
|
+
# resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
|
|
961
|
+
# resp.outputs[0].output_config.subtitling.dictionary #=> String
|
|
962
|
+
# resp.outputs[0].output_config.subtitling.profanity_filter #=> String, one of "DISABLED", "CENSOR", "DROP"
|
|
730
963
|
# resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
731
964
|
# resp.outputs[0].description #=> String
|
|
732
965
|
# resp.outputs[0].from_association #=> Boolean
|
|
@@ -749,6 +982,48 @@ module Aws::ElementalInference
|
|
|
749
982
|
req.send_request(options)
|
|
750
983
|
end
|
|
751
984
|
|
|
985
|
+
# Lists the dictionaries in your account.
|
|
986
|
+
#
|
|
987
|
+
# @option params [Integer] :max_results
|
|
988
|
+
# The maximum number of results to return per API request. Valid range:
|
|
989
|
+
# 1 to 100.
|
|
990
|
+
#
|
|
991
|
+
# @option params [String] :next_token
|
|
992
|
+
# The token that identifies the next batch of results to return.
|
|
993
|
+
#
|
|
994
|
+
# @return [Types::ListDictionariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
995
|
+
#
|
|
996
|
+
# * {Types::ListDictionariesResponse#dictionaries #dictionaries} => Array<Types::DictionarySummary>
|
|
997
|
+
# * {Types::ListDictionariesResponse#next_token #next_token} => String
|
|
998
|
+
#
|
|
999
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1000
|
+
#
|
|
1001
|
+
# @example Request syntax with placeholder values
|
|
1002
|
+
#
|
|
1003
|
+
# resp = client.list_dictionaries({
|
|
1004
|
+
# max_results: 1,
|
|
1005
|
+
# next_token: "String",
|
|
1006
|
+
# })
|
|
1007
|
+
#
|
|
1008
|
+
# @example Response structure
|
|
1009
|
+
#
|
|
1010
|
+
# resp.dictionaries #=> Array
|
|
1011
|
+
# resp.dictionaries[0].arn #=> String
|
|
1012
|
+
# resp.dictionaries[0].id #=> String
|
|
1013
|
+
# resp.dictionaries[0].name #=> String
|
|
1014
|
+
# resp.dictionaries[0].language #=> String, one of "eng", "fra", "ita", "deu", "spa", "por"
|
|
1015
|
+
# resp.dictionaries[0].status #=> String, one of "CREATING", "AVAILABLE", "REFERENCED", "DELETING", "DELETED"
|
|
1016
|
+
# resp.next_token #=> String
|
|
1017
|
+
#
|
|
1018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/ListDictionaries AWS API Documentation
|
|
1019
|
+
#
|
|
1020
|
+
# @overload list_dictionaries(params = {})
|
|
1021
|
+
# @param [Hash] params ({})
|
|
1022
|
+
def list_dictionaries(params = {}, options = {})
|
|
1023
|
+
req = build_request(:list_dictionaries, params)
|
|
1024
|
+
req.send_request(options)
|
|
1025
|
+
end
|
|
1026
|
+
|
|
752
1027
|
# Displays a list of feeds that belong to this AWS account.
|
|
753
1028
|
#
|
|
754
1029
|
# @option params [Integer] :max_results
|
|
@@ -768,10 +1043,10 @@ module Aws::ElementalInference
|
|
|
768
1043
|
# @option params [String] :next_token
|
|
769
1044
|
# The token that identifies the batch of results that you want to see.
|
|
770
1045
|
#
|
|
771
|
-
# For example, you submit a
|
|
772
|
-
#
|
|
1046
|
+
# For example, you submit a ListFeeds request with MaxResults set at 5.
|
|
1047
|
+
# The service returns the first batch of results (up to 5) and a
|
|
773
1048
|
# NextToken value. To see the next batch of results, you can submit the
|
|
774
|
-
#
|
|
1049
|
+
# ListFeeds request a second time and specify the NextToken value.
|
|
775
1050
|
#
|
|
776
1051
|
# @return [Types::ListFeedsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
777
1052
|
#
|
|
@@ -895,8 +1170,74 @@ module Aws::ElementalInference
|
|
|
895
1170
|
req.send_request(options)
|
|
896
1171
|
end
|
|
897
1172
|
|
|
1173
|
+
# Updates the specified dictionary.
|
|
1174
|
+
#
|
|
1175
|
+
# @option params [required, String] :id
|
|
1176
|
+
# The ID of the dictionary to update.
|
|
1177
|
+
#
|
|
1178
|
+
# @option params [String] :name
|
|
1179
|
+
# A new name for the dictionary. If not specified, the name is not
|
|
1180
|
+
# changed.
|
|
1181
|
+
#
|
|
1182
|
+
# @option params [String] :language
|
|
1183
|
+
# A new language for the dictionary. If not specified, the language is
|
|
1184
|
+
# not changed.
|
|
1185
|
+
#
|
|
1186
|
+
# @option params [String] :entries
|
|
1187
|
+
# New dictionary entries. If not specified, the entries are not changed.
|
|
1188
|
+
#
|
|
1189
|
+
# @return [Types::UpdateDictionaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1190
|
+
#
|
|
1191
|
+
# * {Types::UpdateDictionaryResponse#name #name} => String
|
|
1192
|
+
# * {Types::UpdateDictionaryResponse#arn #arn} => String
|
|
1193
|
+
# * {Types::UpdateDictionaryResponse#id #id} => String
|
|
1194
|
+
# * {Types::UpdateDictionaryResponse#language #language} => String
|
|
1195
|
+
# * {Types::UpdateDictionaryResponse#status #status} => String
|
|
1196
|
+
# * {Types::UpdateDictionaryResponse#references #references} => Array<String>
|
|
1197
|
+
# * {Types::UpdateDictionaryResponse#tags #tags} => Hash<String,String>
|
|
1198
|
+
#
|
|
1199
|
+
# @example Request syntax with placeholder values
|
|
1200
|
+
#
|
|
1201
|
+
# resp = client.update_dictionary({
|
|
1202
|
+
# id: "DictionaryId", # required
|
|
1203
|
+
# name: "ResourceName",
|
|
1204
|
+
# language: "eng", # accepts eng, fra, ita, deu, spa, por
|
|
1205
|
+
# entries: "DictionaryEntriesPayload",
|
|
1206
|
+
# })
|
|
1207
|
+
#
|
|
1208
|
+
# @example Response structure
|
|
1209
|
+
#
|
|
1210
|
+
# resp.name #=> String
|
|
1211
|
+
# resp.arn #=> String
|
|
1212
|
+
# resp.id #=> String
|
|
1213
|
+
# resp.language #=> String, one of "eng", "fra", "ita", "deu", "spa", "por"
|
|
1214
|
+
# resp.status #=> String, one of "CREATING", "AVAILABLE", "REFERENCED", "DELETING", "DELETED"
|
|
1215
|
+
# resp.references #=> Array
|
|
1216
|
+
# resp.references[0] #=> String
|
|
1217
|
+
# resp.tags #=> Hash
|
|
1218
|
+
# resp.tags["TagKey"] #=> String
|
|
1219
|
+
#
|
|
1220
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elementalinference-2018-11-14/UpdateDictionary AWS API Documentation
|
|
1221
|
+
#
|
|
1222
|
+
# @overload update_dictionary(params = {})
|
|
1223
|
+
# @param [Hash] params ({})
|
|
1224
|
+
def update_dictionary(params = {}, options = {})
|
|
1225
|
+
req = build_request(:update_dictionary, params)
|
|
1226
|
+
req.send_request(options)
|
|
1227
|
+
end
|
|
1228
|
+
|
|
898
1229
|
# Updates the name and/or outputs in a feed.
|
|
899
1230
|
#
|
|
1231
|
+
# UpdateFeed is a PUT operation, which means that the payload that you
|
|
1232
|
+
# specify completely overwrites the existing payload.
|
|
1233
|
+
#
|
|
1234
|
+
# This means that if you want to touch the array of outputs, you must
|
|
1235
|
+
# pass in the full new list. So you must omit outputs you want to
|
|
1236
|
+
# delete, and include outputs you want to add or modify.
|
|
1237
|
+
#
|
|
1238
|
+
# If you want to patch the array of outputs to make selective additions,
|
|
1239
|
+
# use AssociateFeed.
|
|
1240
|
+
#
|
|
900
1241
|
# @option params [required, String] :name
|
|
901
1242
|
# Required. You can specify the existing name (to leave it unchanged) or
|
|
902
1243
|
# a new name.
|
|
@@ -933,6 +1274,15 @@ module Aws::ElementalInference
|
|
|
933
1274
|
# clipping: {
|
|
934
1275
|
# callback_metadata: "ResourceDescription",
|
|
935
1276
|
# },
|
|
1277
|
+
# subtitling: {
|
|
1278
|
+
# language: "eng", # required, accepts eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por
|
|
1279
|
+
# aspect_ratio: {
|
|
1280
|
+
# width: 1, # required
|
|
1281
|
+
# height: 1, # required
|
|
1282
|
+
# },
|
|
1283
|
+
# dictionary: "DictionaryId",
|
|
1284
|
+
# profanity_filter: "DISABLED", # accepts DISABLED, CENSOR, DROP
|
|
1285
|
+
# },
|
|
936
1286
|
# },
|
|
937
1287
|
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
938
1288
|
# description: "ResourceDescription",
|
|
@@ -951,6 +1301,11 @@ module Aws::ElementalInference
|
|
|
951
1301
|
# resp.outputs #=> Array
|
|
952
1302
|
# resp.outputs[0].name #=> String
|
|
953
1303
|
# resp.outputs[0].output_config.clipping.callback_metadata #=> String
|
|
1304
|
+
# resp.outputs[0].output_config.subtitling.language #=> String, one of "eng", "eng-au", "eng-gb", "eng-us", "fra", "ita", "deu", "spa", "por"
|
|
1305
|
+
# resp.outputs[0].output_config.subtitling.aspect_ratio.width #=> Integer
|
|
1306
|
+
# resp.outputs[0].output_config.subtitling.aspect_ratio.height #=> Integer
|
|
1307
|
+
# resp.outputs[0].output_config.subtitling.dictionary #=> String
|
|
1308
|
+
# resp.outputs[0].output_config.subtitling.profanity_filter #=> String, one of "DISABLED", "CENSOR", "DROP"
|
|
954
1309
|
# resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
955
1310
|
# resp.outputs[0].description #=> String
|
|
956
1311
|
# resp.outputs[0].from_association #=> Boolean
|
|
@@ -986,7 +1341,7 @@ module Aws::ElementalInference
|
|
|
986
1341
|
tracer: tracer
|
|
987
1342
|
)
|
|
988
1343
|
context[:gem_name] = 'aws-sdk-elementalinference'
|
|
989
|
-
context[:gem_version] = '1.
|
|
1344
|
+
context[:gem_version] = '1.5.0'
|
|
990
1345
|
Seahorse::Client::Request.new(handlers, context)
|
|
991
1346
|
end
|
|
992
1347
|
|