aws-sdk-translate 1.25.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,8 @@ module Aws::Translate
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {ConcurrentModificationException}
31
+ # * {ConflictException}
30
32
  # * {DetectedLanguageLowConfidenceException}
31
33
  # * {InternalServerException}
32
34
  # * {InvalidFilterException}
@@ -45,6 +47,36 @@ module Aws::Translate
45
47
 
46
48
  extend Aws::Errors::DynamicErrors
47
49
 
50
+ class ConcurrentModificationException < ServiceError
51
+
52
+ # @param [Seahorse::Client::RequestContext] context
53
+ # @param [String] message
54
+ # @param [Aws::Translate::Types::ConcurrentModificationException] data
55
+ def initialize(context, message, data = Aws::EmptyStructure.new)
56
+ super(context, message, data)
57
+ end
58
+
59
+ # @return [String]
60
+ def message
61
+ @message || @data[:message]
62
+ end
63
+ end
64
+
65
+ class ConflictException < ServiceError
66
+
67
+ # @param [Seahorse::Client::RequestContext] context
68
+ # @param [String] message
69
+ # @param [Aws::Translate::Types::ConflictException] data
70
+ def initialize(context, message, data = Aws::EmptyStructure.new)
71
+ super(context, message, data)
72
+ end
73
+
74
+ # @return [String]
75
+ def message
76
+ @message || @data[:message]
77
+ end
78
+ end
79
+
48
80
  class DetectedLanguageLowConfidenceException < ServiceError
49
81
 
50
82
  # @param [Seahorse::Client::RequestContext] context
@@ -37,6 +37,143 @@ module Aws::Translate
37
37
  include Aws::Structure
38
38
  end
39
39
 
40
+ # Another modification is being made. That modification must complete
41
+ # before you can make your change.
42
+ #
43
+ # @!attribute [rw] message
44
+ # @return [String]
45
+ #
46
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ConcurrentModificationException AWS API Documentation
47
+ #
48
+ class ConcurrentModificationException < Struct.new(
49
+ :message)
50
+ SENSITIVE = []
51
+ include Aws::Structure
52
+ end
53
+
54
+ # There was a conflict processing the request. Try your request again.
55
+ #
56
+ # @!attribute [rw] message
57
+ # @return [String]
58
+ #
59
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ConflictException AWS API Documentation
60
+ #
61
+ class ConflictException < Struct.new(
62
+ :message)
63
+ SENSITIVE = []
64
+ include Aws::Structure
65
+ end
66
+
67
+ # @note When making an API call, you may pass CreateParallelDataRequest
68
+ # data as a hash:
69
+ #
70
+ # {
71
+ # name: "ResourceName", # required
72
+ # description: "Description",
73
+ # parallel_data_config: { # required
74
+ # s3_uri: "S3Uri", # required
75
+ # format: "TSV", # required, accepts TSV, CSV, TMX
76
+ # },
77
+ # encryption_key: {
78
+ # type: "KMS", # required, accepts KMS
79
+ # id: "EncryptionKeyID", # required
80
+ # },
81
+ # client_token: "ClientTokenString", # required
82
+ # }
83
+ #
84
+ # @!attribute [rw] name
85
+ # A custom name for the parallel data resource in Amazon Translate.
86
+ # You must assign a name that is unique in the account and region.
87
+ # @return [String]
88
+ #
89
+ # @!attribute [rw] description
90
+ # A custom description for the parallel data resource in Amazon
91
+ # Translate.
92
+ # @return [String]
93
+ #
94
+ # @!attribute [rw] parallel_data_config
95
+ # Specifies the format and S3 location of the parallel data input
96
+ # file.
97
+ # @return [Types::ParallelDataConfig]
98
+ #
99
+ # @!attribute [rw] encryption_key
100
+ # The encryption key used to encrypt this object.
101
+ # @return [Types::EncryptionKey]
102
+ #
103
+ # @!attribute [rw] client_token
104
+ # A unique identifier for the request. This token is automatically
105
+ # generated when you use Amazon Translate through an AWS SDK.
106
+ #
107
+ # **A suitable default value is auto-generated.** You should normally
108
+ # not need to pass this option.
109
+ # @return [String]
110
+ #
111
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/CreateParallelDataRequest AWS API Documentation
112
+ #
113
+ class CreateParallelDataRequest < Struct.new(
114
+ :name,
115
+ :description,
116
+ :parallel_data_config,
117
+ :encryption_key,
118
+ :client_token)
119
+ SENSITIVE = []
120
+ include Aws::Structure
121
+ end
122
+
123
+ # @!attribute [rw] name
124
+ # The custom name that you assigned to the parallel data resource.
125
+ # @return [String]
126
+ #
127
+ # @!attribute [rw] status
128
+ # The status of the parallel data resource. When the resource is ready
129
+ # for you to use, the status is `ACTIVE`.
130
+ # @return [String]
131
+ #
132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/CreateParallelDataResponse AWS API Documentation
133
+ #
134
+ class CreateParallelDataResponse < Struct.new(
135
+ :name,
136
+ :status)
137
+ SENSITIVE = []
138
+ include Aws::Structure
139
+ end
140
+
141
+ # @note When making an API call, you may pass DeleteParallelDataRequest
142
+ # data as a hash:
143
+ #
144
+ # {
145
+ # name: "ResourceName", # required
146
+ # }
147
+ #
148
+ # @!attribute [rw] name
149
+ # The name of the parallel data resource that is being deleted.
150
+ # @return [String]
151
+ #
152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DeleteParallelDataRequest AWS API Documentation
153
+ #
154
+ class DeleteParallelDataRequest < Struct.new(
155
+ :name)
156
+ SENSITIVE = []
157
+ include Aws::Structure
158
+ end
159
+
160
+ # @!attribute [rw] name
161
+ # The name of the parallel data resource that is being deleted.
162
+ # @return [String]
163
+ #
164
+ # @!attribute [rw] status
165
+ # The status of the parallel data deletion.
166
+ # @return [String]
167
+ #
168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DeleteParallelDataResponse AWS API Documentation
169
+ #
170
+ class DeleteParallelDataResponse < Struct.new(
171
+ :name,
172
+ :status)
173
+ SENSITIVE = []
174
+ include Aws::Structure
175
+ end
176
+
40
177
  # @note When making an API call, you may pass DeleteTerminologyRequest
41
178
  # data as a hash:
42
179
  #
@@ -118,8 +255,7 @@ module Aws::Translate
118
255
  include Aws::Structure
119
256
  end
120
257
 
121
- # The encryption key used to encrypt the custom terminologies used by
122
- # Amazon Translate.
258
+ # The encryption key used to encrypt this object.
123
259
  #
124
260
  # @note When making an API call, you may pass EncryptionKey
125
261
  # data as a hash:
@@ -148,6 +284,63 @@ module Aws::Translate
148
284
  include Aws::Structure
149
285
  end
150
286
 
287
+ # @note When making an API call, you may pass GetParallelDataRequest
288
+ # data as a hash:
289
+ #
290
+ # {
291
+ # name: "ResourceName", # required
292
+ # }
293
+ #
294
+ # @!attribute [rw] name
295
+ # The name of the parallel data resource that is being retrieved.
296
+ # @return [String]
297
+ #
298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/GetParallelDataRequest AWS API Documentation
299
+ #
300
+ class GetParallelDataRequest < Struct.new(
301
+ :name)
302
+ SENSITIVE = []
303
+ include Aws::Structure
304
+ end
305
+
306
+ # @!attribute [rw] parallel_data_properties
307
+ # The properties of the parallel data resource that is being
308
+ # retrieved.
309
+ # @return [Types::ParallelDataProperties]
310
+ #
311
+ # @!attribute [rw] data_location
312
+ # The location of the most recent parallel data input file that was
313
+ # successfully imported into Amazon Translate. The location is
314
+ # returned as a presigned URL that has a 30 minute expiration.
315
+ # @return [Types::ParallelDataDataLocation]
316
+ #
317
+ # @!attribute [rw] auxiliary_data_location
318
+ # The Amazon S3 location of a file that provides any errors or
319
+ # warnings that were produced by your input file. This file was
320
+ # created when Amazon Translate attempted to create a parallel data
321
+ # resource. The location is returned as a presigned URL to that has a
322
+ # 30 minute expiration.
323
+ # @return [Types::ParallelDataDataLocation]
324
+ #
325
+ # @!attribute [rw] latest_update_attempt_auxiliary_data_location
326
+ # The Amazon S3 location of a file that provides any errors or
327
+ # warnings that were produced by your input file. This file was
328
+ # created when Amazon Translate attempted to update a parallel data
329
+ # resource. The location is returned as a presigned URL to that has a
330
+ # 30 minute expiration.
331
+ # @return [Types::ParallelDataDataLocation]
332
+ #
333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/GetParallelDataResponse AWS API Documentation
334
+ #
335
+ class GetParallelDataResponse < Struct.new(
336
+ :parallel_data_properties,
337
+ :data_location,
338
+ :auxiliary_data_location,
339
+ :latest_update_attempt_auxiliary_data_location)
340
+ SENSITIVE = []
341
+ include Aws::Structure
342
+ end
343
+
151
344
  # @note When making an API call, you may pass GetTerminologyRequest
152
345
  # data as a hash:
153
346
  #
@@ -275,9 +468,34 @@ module Aws::Translate
275
468
  # @return [String]
276
469
  #
277
470
  # @!attribute [rw] content_type
278
- # The multipurpose internet mail extension (MIME) type of the input
279
- # files. Valid values are `text/plain` for plaintext files and
280
- # `text/html` for HTML files.
471
+ # Describes the format of the data that you submit to Amazon Translate
472
+ # as input. You can specify one of the following multipurpose internet
473
+ # mail extension (MIME) types:
474
+ #
475
+ # * `text/html`\: The input data consists of one or more HTML files.
476
+ # Amazon Translate translates only the text that resides in the
477
+ # `html` element in each file.
478
+ #
479
+ # * `text/plain`\: The input data consists of one or more unformatted
480
+ # text files. Amazon Translate translates every character in this
481
+ # type of input.
482
+ #
483
+ # * `application/vnd.openxmlformats-officedocument.wordprocessingml.document`\:
484
+ # The input data consists of one or more Word documents (.docx).
485
+ #
486
+ # * `application/vnd.openxmlformats-officedocument.presentationml.presentation`\:
487
+ # The input data consists of one or more PowerPoint Presentation
488
+ # files (.pptx).
489
+ #
490
+ # * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`\:
491
+ # The input data consists of one or more Excel Workbook files
492
+ # (.xlsx).
493
+ #
494
+ # If you structure your input data as HTML, ensure that you set this
495
+ # parameter to `text/html`. By doing so, you cut costs by limiting the
496
+ # translation to the contents of the `html` element in each file.
497
+ # Otherwise, if you set this parameter to `text/plain`, your costs
498
+ # will cover the translation of every character.
281
499
  # @return [String]
282
500
  #
283
501
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/InputDataConfig AWS API Documentation
@@ -385,6 +603,53 @@ module Aws::Translate
385
603
  include Aws::Structure
386
604
  end
387
605
 
606
+ # @note When making an API call, you may pass ListParallelDataRequest
607
+ # data as a hash:
608
+ #
609
+ # {
610
+ # next_token: "NextToken",
611
+ # max_results: 1,
612
+ # }
613
+ #
614
+ # @!attribute [rw] next_token
615
+ # A string that specifies the next page of results to return in a
616
+ # paginated response.
617
+ # @return [String]
618
+ #
619
+ # @!attribute [rw] max_results
620
+ # The maximum number of parallel data resources returned for each
621
+ # request.
622
+ # @return [Integer]
623
+ #
624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListParallelDataRequest AWS API Documentation
625
+ #
626
+ class ListParallelDataRequest < Struct.new(
627
+ :next_token,
628
+ :max_results)
629
+ SENSITIVE = []
630
+ include Aws::Structure
631
+ end
632
+
633
+ # @!attribute [rw] parallel_data_properties_list
634
+ # The properties of the parallel data resources returned by this
635
+ # request.
636
+ # @return [Array<Types::ParallelDataProperties>]
637
+ #
638
+ # @!attribute [rw] next_token
639
+ # The string to use in a subsequent request to get the next page of
640
+ # results in a paginated response. This value is null if there are no
641
+ # additional pages.
642
+ # @return [String]
643
+ #
644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListParallelDataResponse AWS API Documentation
645
+ #
646
+ class ListParallelDataResponse < Struct.new(
647
+ :parallel_data_properties_list,
648
+ :next_token)
649
+ SENSITIVE = []
650
+ include Aws::Structure
651
+ end
652
+
388
653
  # @note When making an API call, you may pass ListTerminologiesRequest
389
654
  # data as a hash:
390
655
  #
@@ -512,6 +777,166 @@ module Aws::Translate
512
777
  include Aws::Structure
513
778
  end
514
779
 
780
+ # Specifies the format and S3 location of the parallel data input file.
781
+ #
782
+ # @note When making an API call, you may pass ParallelDataConfig
783
+ # data as a hash:
784
+ #
785
+ # {
786
+ # s3_uri: "S3Uri", # required
787
+ # format: "TSV", # required, accepts TSV, CSV, TMX
788
+ # }
789
+ #
790
+ # @!attribute [rw] s3_uri
791
+ # The URI of the Amazon S3 folder that contains the parallel data
792
+ # input file. The folder must be in the same Region as the API
793
+ # endpoint you are calling.
794
+ # @return [String]
795
+ #
796
+ # @!attribute [rw] format
797
+ # The format of the parallel data input file.
798
+ # @return [String]
799
+ #
800
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ParallelDataConfig AWS API Documentation
801
+ #
802
+ class ParallelDataConfig < Struct.new(
803
+ :s3_uri,
804
+ :format)
805
+ SENSITIVE = []
806
+ include Aws::Structure
807
+ end
808
+
809
+ # The location of the most recent parallel data input file that was
810
+ # successfully imported into Amazon Translate.
811
+ #
812
+ # @!attribute [rw] repository_type
813
+ # Describes the repository that contains the parallel data input file.
814
+ # @return [String]
815
+ #
816
+ # @!attribute [rw] location
817
+ # The Amazon S3 location of the parallel data input file. The location
818
+ # is returned as a presigned URL to that has a 30 minute expiration.
819
+ # @return [String]
820
+ #
821
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ParallelDataDataLocation AWS API Documentation
822
+ #
823
+ class ParallelDataDataLocation < Struct.new(
824
+ :repository_type,
825
+ :location)
826
+ SENSITIVE = []
827
+ include Aws::Structure
828
+ end
829
+
830
+ # The properties of a parallel data resource.
831
+ #
832
+ # @!attribute [rw] name
833
+ # The custom name assigned to the parallel data resource.
834
+ # @return [String]
835
+ #
836
+ # @!attribute [rw] arn
837
+ # The Amazon Resource Name (ARN) of the parallel data resource.
838
+ # @return [String]
839
+ #
840
+ # @!attribute [rw] description
841
+ # The description assigned to the parallel data resource.
842
+ # @return [String]
843
+ #
844
+ # @!attribute [rw] status
845
+ # The status of the parallel data resource. When the parallel data is
846
+ # ready for you to use, the status is `ACTIVE`.
847
+ # @return [String]
848
+ #
849
+ # @!attribute [rw] source_language_code
850
+ # The source language of the translations in the parallel data file.
851
+ # @return [String]
852
+ #
853
+ # @!attribute [rw] target_language_codes
854
+ # The language codes for the target languages available in the
855
+ # parallel data file. All possible target languages are returned as an
856
+ # array.
857
+ # @return [Array<String>]
858
+ #
859
+ # @!attribute [rw] parallel_data_config
860
+ # Specifies the format and S3 location of the parallel data input
861
+ # file.
862
+ # @return [Types::ParallelDataConfig]
863
+ #
864
+ # @!attribute [rw] message
865
+ # Additional information from Amazon Translate about the parallel data
866
+ # resource.
867
+ # @return [String]
868
+ #
869
+ # @!attribute [rw] imported_data_size
870
+ # The number of UTF-8 characters that Amazon Translate imported from
871
+ # the parallel data input file. This number includes only the
872
+ # characters in your translation examples. It does not include
873
+ # characters that are used to format your file. For example, if you
874
+ # provided a Translation Memory Exchange (.tmx) file, this number does
875
+ # not include the tags.
876
+ # @return [Integer]
877
+ #
878
+ # @!attribute [rw] imported_record_count
879
+ # The number of records successfully imported from the parallel data
880
+ # input file.
881
+ # @return [Integer]
882
+ #
883
+ # @!attribute [rw] failed_record_count
884
+ # The number of records unsuccessfully imported from the parallel data
885
+ # input file.
886
+ # @return [Integer]
887
+ #
888
+ # @!attribute [rw] skipped_record_count
889
+ # The number of items in the input file that Amazon Translate skipped
890
+ # when you created or updated the parallel data resource. For example,
891
+ # Amazon Translate skips empty records, empty target texts, and empty
892
+ # lines.
893
+ # @return [Integer]
894
+ #
895
+ # @!attribute [rw] encryption_key
896
+ # The encryption key used to encrypt this object.
897
+ # @return [Types::EncryptionKey]
898
+ #
899
+ # @!attribute [rw] created_at
900
+ # The time at which the parallel data resource was created.
901
+ # @return [Time]
902
+ #
903
+ # @!attribute [rw] last_updated_at
904
+ # The time at which the parallel data resource was last updated.
905
+ # @return [Time]
906
+ #
907
+ # @!attribute [rw] latest_update_attempt_status
908
+ # The status of the most recent update attempt for the parallel data
909
+ # resource.
910
+ # @return [String]
911
+ #
912
+ # @!attribute [rw] latest_update_attempt_at
913
+ # The time that the most recent update was attempted.
914
+ # @return [Time]
915
+ #
916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ParallelDataProperties AWS API Documentation
917
+ #
918
+ class ParallelDataProperties < Struct.new(
919
+ :name,
920
+ :arn,
921
+ :description,
922
+ :status,
923
+ :source_language_code,
924
+ :target_language_codes,
925
+ :parallel_data_config,
926
+ :message,
927
+ :imported_data_size,
928
+ :imported_record_count,
929
+ :failed_record_count,
930
+ :skipped_record_count,
931
+ :encryption_key,
932
+ :created_at,
933
+ :last_updated_at,
934
+ :latest_update_attempt_status,
935
+ :latest_update_attempt_at)
936
+ SENSITIVE = []
937
+ include Aws::Structure
938
+ end
939
+
515
940
  # The resource you are looking for has not been found. Review the
516
941
  # resource you're looking for and see if a different resource will
517
942
  # accomplish your needs before retrying the revised request.
@@ -557,6 +982,7 @@ module Aws::Translate
557
982
  # source_language_code: "LanguageCodeString", # required
558
983
  # target_language_codes: ["LanguageCodeString"], # required
559
984
  # terminology_names: ["ResourceName"],
985
+ # parallel_data_names: ["ResourceName"],
560
986
  # client_token: "ClientTokenString", # required
561
987
  # }
562
988
  #
@@ -598,15 +1024,15 @@ module Aws::Translate
598
1024
  # operation.
599
1025
  # @return [Array<String>]
600
1026
  #
1027
+ # @!attribute [rw] parallel_data_names
1028
+ # The names of the parallel data resources to use in the batch
1029
+ # translation job. For a list of available parallel data resources,
1030
+ # use the ListParallelData operation.
1031
+ # @return [Array<String>]
1032
+ #
601
1033
  # @!attribute [rw] client_token
602
- # The client token of the EC2 instance calling the request. This token
603
- # is auto-generated when using the Amazon Translate SDK. Otherwise,
604
- # use the
605
- # [DescribeInstances](docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html)
606
- # EC2 operation to retreive an instance's client token. For more
607
- # information, see [Client
608
- # Tokens](docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html#client-tokens)
609
- # in the EC2 User Guide.
1034
+ # A unique identifier for the request. This token is auto-generated
1035
+ # when using the Amazon Translate SDK.
610
1036
  #
611
1037
  # **A suitable default value is auto-generated.** You should normally
612
1038
  # not need to pass this option.
@@ -622,6 +1048,7 @@ module Aws::Translate
622
1048
  :source_language_code,
623
1049
  :target_language_codes,
624
1050
  :terminology_names,
1051
+ :parallel_data_names,
625
1052
  :client_token)
626
1053
  SENSITIVE = []
627
1054
  include Aws::Structure
@@ -643,7 +1070,7 @@ module Aws::Translate
643
1070
  # * `COMPLETED` - The job was successfully completed and the output is
644
1071
  # available.
645
1072
  #
646
- # * `COMPLETED_WITH_ERRORS` - The job was completed with errors. The
1073
+ # * `COMPLETED_WITH_ERROR` - The job was completed with errors. The
647
1074
  # errors can be analyzed in the job's output.
648
1075
  #
649
1076
  # * `FAILED` - The job did not complete. To get details, use the
@@ -931,6 +1358,11 @@ module Aws::Translate
931
1358
  # StartTextTranslationJob request at this time.
932
1359
  # @return [Array<String>]
933
1360
  #
1361
+ # @!attribute [rw] parallel_data_names
1362
+ # A list containing the names of the parallel data resources applied
1363
+ # to the translation job.
1364
+ # @return [Array<String>]
1365
+ #
934
1366
  # @!attribute [rw] message
935
1367
  # An explanation of any errors that may have occured during the
936
1368
  # translation job.
@@ -970,6 +1402,7 @@ module Aws::Translate
970
1402
  :source_language_code,
971
1403
  :target_language_codes,
972
1404
  :terminology_names,
1405
+ :parallel_data_names,
973
1406
  :message,
974
1407
  :submitted_time,
975
1408
  :end_time,
@@ -1101,5 +1534,82 @@ module Aws::Translate
1101
1534
  include Aws::Structure
1102
1535
  end
1103
1536
 
1537
+ # @note When making an API call, you may pass UpdateParallelDataRequest
1538
+ # data as a hash:
1539
+ #
1540
+ # {
1541
+ # name: "ResourceName", # required
1542
+ # description: "Description",
1543
+ # parallel_data_config: { # required
1544
+ # s3_uri: "S3Uri", # required
1545
+ # format: "TSV", # required, accepts TSV, CSV, TMX
1546
+ # },
1547
+ # client_token: "ClientTokenString", # required
1548
+ # }
1549
+ #
1550
+ # @!attribute [rw] name
1551
+ # The name of the parallel data resource being updated.
1552
+ # @return [String]
1553
+ #
1554
+ # @!attribute [rw] description
1555
+ # A custom description for the parallel data resource in Amazon
1556
+ # Translate.
1557
+ # @return [String]
1558
+ #
1559
+ # @!attribute [rw] parallel_data_config
1560
+ # Specifies the format and S3 location of the parallel data input
1561
+ # file.
1562
+ # @return [Types::ParallelDataConfig]
1563
+ #
1564
+ # @!attribute [rw] client_token
1565
+ # A unique identifier for the request. This token is automatically
1566
+ # generated when you use Amazon Translate through an AWS SDK.
1567
+ #
1568
+ # **A suitable default value is auto-generated.** You should normally
1569
+ # not need to pass this option.
1570
+ # @return [String]
1571
+ #
1572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/UpdateParallelDataRequest AWS API Documentation
1573
+ #
1574
+ class UpdateParallelDataRequest < Struct.new(
1575
+ :name,
1576
+ :description,
1577
+ :parallel_data_config,
1578
+ :client_token)
1579
+ SENSITIVE = []
1580
+ include Aws::Structure
1581
+ end
1582
+
1583
+ # @!attribute [rw] name
1584
+ # The name of the parallel data resource being updated.
1585
+ # @return [String]
1586
+ #
1587
+ # @!attribute [rw] status
1588
+ # The status of the parallel data resource that you are attempting to
1589
+ # update. Your update request is accepted only if this status is
1590
+ # either `ACTIVE` or `FAILED`.
1591
+ # @return [String]
1592
+ #
1593
+ # @!attribute [rw] latest_update_attempt_status
1594
+ # The status of the parallel data update attempt. When the updated
1595
+ # parallel data resource is ready for you to use, the status is
1596
+ # `ACTIVE`.
1597
+ # @return [String]
1598
+ #
1599
+ # @!attribute [rw] latest_update_attempt_at
1600
+ # The time that the most recent update was attempted.
1601
+ # @return [Time]
1602
+ #
1603
+ # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/UpdateParallelDataResponse AWS API Documentation
1604
+ #
1605
+ class UpdateParallelDataResponse < Struct.new(
1606
+ :name,
1607
+ :status,
1608
+ :latest_update_attempt_status,
1609
+ :latest_update_attempt_at)
1610
+ SENSITIVE = []
1611
+ include Aws::Structure
1612
+ end
1613
+
1104
1614
  end
1105
1615
  end