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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9a06b6e170eb739be9e0d38c072c7bc43da49a4af09b87a13322f9274d454fe
4
- data.tar.gz: c58a6e5ad6de26255e818e6f07417c43bbe58d6e436c32bb0c73ed8142d6b4d8
3
+ metadata.gz: 923ab344fe39e23d9c71d5ac67e98d2a4ddfbd43f676b60260ba062112efb20a
4
+ data.tar.gz: f1b74dba04e36e265460ffbcd7f3113e8956330e91f534f50fd578c84f2599da
5
5
  SHA512:
6
- metadata.gz: 4fa9dcefc63beda3d398cdd10b2908e832c0641b9a89b079b7595bd8bc78a5d8000b8d491596bc833ea516a36cf3a062bd79608763f4a11eeb0438495ce80bba
7
- data.tar.gz: b9b2322d340484b9752ca701f142740ab48cc7cf0fc002289b38baf7c92fb79107ff6af6b5d0de22087b89b335bddc2c521b79753f550b7dce81328a2de931ae
6
+ metadata.gz: 541ad51aa3a802e2723f77ded86a89622a05960ee25ddf3dbf0894f28ae5922bca196b2a962a82e3a6e8e71f38ccbb4b1b1b06bf6143af558d80e9f44273aa93
7
+ data.tar.gz: c7234dfc834e337d75bedfdbd61c84ba464a827b8f8e9e8cf2d7a0a498ed55ec0ab8f87c420783d3c1fe0eba3c78834cb38f0c04bd1fe86eabfc93db5c0ca369
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.4.0 (2026-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -475,31 +475,57 @@ module Aws::ElementalInference
475
475
  # @!group API Operations
476
476
 
477
477
  # Associates a resource with the feed. The resource provides the input
478
- # that Elemental Inference needs needs in order to perform an Elemental
478
+ # that Elemental Inference needs in order to perform an Elemental
479
479
  # Inference feature, such as cropping video. You always provide the
480
480
  # resource by associating it with a feed. You can associate only one
481
- # 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.
482
500
  #
483
501
  # @option params [required, String] :id
484
502
  # The ID of the feed.
485
503
  #
486
504
  # @option params [required, String] :associated_resource_name
487
- # An identifier for the resource. If the resource is from an AWS
488
- # service, this identifier must be the full ARN of that resource.
489
- # Otherwise, the identifier is a name that you assign and that is
490
- # appropriate for the application that owns the resource. This name must
491
- # not resemble an ARN.
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).
492
511
  #
493
512
  # **A suitable default value is auto-generated.** You should normally
494
513
  # not need to pass this option.**
495
514
  #
496
515
  # @option params [required, Array<Types::CreateOutput>] :outputs
497
- # The outputs to add to this feed. You must specify at least one output.
498
- # You can later use the UpdateFeed action to change the list of outputs.
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.
499
519
  #
500
520
  # @option params [Boolean] :dry_run
501
521
  # Set to true if you want to do a dry run of the associate action.
502
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
+ #
503
529
  # @return [Types::AssociateFeedResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
504
530
  #
505
531
  # * {Types::AssociateFeedResponse#arn #arn} => String
@@ -519,6 +545,15 @@ module Aws::ElementalInference
519
545
  # clipping: {
520
546
  # callback_metadata: "ResourceDescription",
521
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
+ # },
522
557
  # },
523
558
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
524
559
  # description: "ResourceDescription",
@@ -541,22 +576,90 @@ module Aws::ElementalInference
541
576
  req.send_request(options)
542
577
  end
543
578
 
544
- # Creates a feed. The feed is the target for live streams being sent by
545
- # the calling application. An example of a calling application is AWS
546
- # Elemental MediaLive. After you create the feed, you can associate a
547
- # resource with the feed.
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.
548
584
  #
549
585
  # @option params [required, String] :name
550
- # A name for this feed.
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&lt;String&gt;
608
+ # * {Types::CreateDictionaryResponse#tags #tags} => Hash&lt;String,String&gt;
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.
551
653
  #
552
654
  # @option params [required, Array<Types::CreateOutput>] :outputs
553
655
  # An array of outputs for this feed. Each output represents a specific
554
- # Elemental Inference feature. For example, an output might represent
555
- # 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.
556
660
  #
557
661
  # @option params [Hash<String,String>] :tags
558
- # If you want to include tags, add them now. You won't be able to add
559
- # them later.
662
+ # Optional tags. You can also add tags later, using TagResource.
560
663
  #
561
664
  # @return [Types::CreateFeedResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
562
665
  #
@@ -582,6 +685,15 @@ module Aws::ElementalInference
582
685
  # clipping: {
583
686
  # callback_metadata: "ResourceDescription",
584
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
+ # },
585
697
  # },
586
698
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
587
699
  # description: "ResourceDescription",
@@ -602,6 +714,11 @@ module Aws::ElementalInference
602
714
  # resp.outputs #=> Array
603
715
  # resp.outputs[0].name #=> String
604
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"
605
722
  # resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
606
723
  # resp.outputs[0].description #=> String
607
724
  # resp.outputs[0].from_association #=> Boolean
@@ -619,7 +736,45 @@ module Aws::ElementalInference
619
736
  req.send_request(options)
620
737
  end
621
738
 
622
- # Deletes the specified feed. The feed can be deleted at any time.
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.
623
778
  #
624
779
  # @option params [required, String] :id
625
780
  # The ID of the feed.
@@ -651,14 +806,14 @@ module Aws::ElementalInference
651
806
  req.send_request(options)
652
807
  end
653
808
 
654
- # Releases the resource (for example, an MediaLive channel) that is
655
- # associated with this feed. The outputs in the feed become disabled.
809
+ # Releases the resource (the source media) that is associated with this
810
+ # feed. The outputs in the feed become DISABLED.
656
811
  #
657
812
  # @option params [required, String] :id
658
813
  # The ID of the feed where you want to release the resource.
659
814
  #
660
815
  # @option params [required, String] :associated_resource_name
661
- # The name of the resource currently associated with the feed'.
816
+ # The name of the resource currently associated with the feed.
662
817
  #
663
818
  # **A suitable default value is auto-generated.** You should normally
664
819
  # not need to pass this option.**
@@ -666,6 +821,11 @@ module Aws::ElementalInference
666
821
  # @option params [Boolean] :dry_run
667
822
  # Set to true if you want to do a dry run of the disassociate action.
668
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
+ #
669
829
  # @return [Types::DisassociateFeedResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
670
830
  #
671
831
  # * {Types::DisassociateFeedResponse#arn #arn} => String
@@ -693,6 +853,76 @@ module Aws::ElementalInference
693
853
  req.send_request(options)
694
854
  end
695
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&lt;String&gt;
897
+ # * {Types::GetDictionaryResponse#tags #tags} => Hash&lt;String,String&gt;
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
+
696
926
  # Retrieves information about the specified feed.
697
927
  #
698
928
  # @option params [required, String] :id
@@ -725,6 +955,11 @@ module Aws::ElementalInference
725
955
  # resp.outputs #=> Array
726
956
  # resp.outputs[0].name #=> String
727
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"
728
963
  # resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
729
964
  # resp.outputs[0].description #=> String
730
965
  # resp.outputs[0].from_association #=> Boolean
@@ -747,6 +982,48 @@ module Aws::ElementalInference
747
982
  req.send_request(options)
748
983
  end
749
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&lt;Types::DictionarySummary&gt;
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
+
750
1027
  # Displays a list of feeds that belong to this AWS account.
751
1028
  #
752
1029
  # @option params [Integer] :max_results
@@ -766,10 +1043,10 @@ module Aws::ElementalInference
766
1043
  # @option params [String] :next_token
767
1044
  # The token that identifies the batch of results that you want to see.
768
1045
  #
769
- # For example, you submit a ListBridges request with MaxResults set at
770
- # 5. The service returns the first batch of results (up to 5) and a
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
771
1048
  # NextToken value. To see the next batch of results, you can submit the
772
- # ListBridges request a second time and specify the NextToken value.
1049
+ # ListFeeds request a second time and specify the NextToken value.
773
1050
  #
774
1051
  # @return [Types::ListFeedsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
775
1052
  #
@@ -893,8 +1170,74 @@ module Aws::ElementalInference
893
1170
  req.send_request(options)
894
1171
  end
895
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&lt;String&gt;
1197
+ # * {Types::UpdateDictionaryResponse#tags #tags} => Hash&lt;String,String&gt;
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
+
896
1229
  # Updates the name and/or outputs in a feed.
897
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
+ #
898
1241
  # @option params [required, String] :name
899
1242
  # Required. You can specify the existing name (to leave it unchanged) or
900
1243
  # a new name.
@@ -931,6 +1274,15 @@ module Aws::ElementalInference
931
1274
  # clipping: {
932
1275
  # callback_metadata: "ResourceDescription",
933
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
+ # },
934
1286
  # },
935
1287
  # status: "ENABLED", # required, accepts ENABLED, DISABLED
936
1288
  # description: "ResourceDescription",
@@ -949,6 +1301,11 @@ module Aws::ElementalInference
949
1301
  # resp.outputs #=> Array
950
1302
  # resp.outputs[0].name #=> String
951
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"
952
1309
  # resp.outputs[0].status #=> String, one of "ENABLED", "DISABLED"
953
1310
  # resp.outputs[0].description #=> String
954
1311
  # resp.outputs[0].from_association #=> Boolean
@@ -984,7 +1341,7 @@ module Aws::ElementalInference
984
1341
  tracer: tracer
985
1342
  )
986
1343
  context[:gem_name] = 'aws-sdk-elementalinference'
987
- context[:gem_version] = '1.4.0'
1344
+ context[:gem_version] = '1.5.0'
988
1345
  Seahorse::Client::Request.new(handlers, context)
989
1346
  end
990
1347