aws-sdk-textract 1.13.0 → 1.18.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: ace85fccc127be82a0016d8791c4cb2b87d2bb93ec725bfd9fd5a08abbb3057f
4
- data.tar.gz: ec518db114c41a7c87f6229d60f8cd083b24b46c3973d8d4fa01898adaf72e3b
3
+ metadata.gz: 0de70d03eb82ad6e26dbb662334f715fc4bd6dbfd7d61bba5f8e414ea2e348b5
4
+ data.tar.gz: 64d087e0fd9c3cb96a6031cda7cfe29315a85b3379c840e32708e24be56445c5
5
5
  SHA512:
6
- metadata.gz: 48651efc22f42e4772ff63f4f1ba26f42ef114131ea89f694a886e27df1b5b7d861a8c8df2d04dd9fd6af948aa701377e82ce5bfc869314d7136b0f44ab29306
7
- data.tar.gz: f9df6196933792508d6d47da4e957d4616b31b274dcac3d8797ed46d55e16853e03e8e2a81bdfc2e0e1955be34f86028468f32eeb0874562b807b689dfc06267
6
+ metadata.gz: a3dda4191d193482ad7bec2c6bf5279491873d0890414a25b6e690d30082fc1aaebff9cf8cd26c65eb7330ec0c7804ce26338c0bc71a8c052eedc0a3e0b6df19
7
+ data.tar.gz: b930071a0f0e3f1b2571a7dafaf06b9669deee46c144705916d8a782b5fcf64d1163d7d2d658ccc7331b8fa0fa3f34e0d8b282d29ac9c77d794d581a9fe25727
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-textract/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::Textract
47
49
 
48
- GEM_VERSION = '1.13.0'
50
+ GEM_VERSION = '1.18.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Textract
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -81,13 +85,28 @@ module Aws::Textract
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,15 +116,15 @@ module Aws::Textract
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
107
126
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
127
+ # a default `:region` is searched for in the following locations:
109
128
  #
110
129
  # * `Aws.config[:region]`
111
130
  # * `ENV['AWS_REGION']`
@@ -161,7 +180,7 @@ module Aws::Textract
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::Textract
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -279,8 +298,7 @@ module Aws::Textract
279
298
  #
280
299
  # @option options [Integer] :http_read_timeout (60) The default
281
300
  # number of seconds to wait for response data. This value can
282
- # safely be set
283
- # per-request on the session yielded by {#session_for}.
301
+ # safely be set per-request on the session.
284
302
  #
285
303
  # @option options [Float] :http_idle_timeout (5) The number of
286
304
  # seconds a connection is allowed to sit idle before it is
@@ -292,7 +310,7 @@ module Aws::Textract
292
310
  # request body. This option has no effect unless the request has
293
311
  # "Expect" header set to "100-continue". Defaults to `nil` which
294
312
  # disables this behaviour. This value can safely be set per
295
- # request on the session yielded by {#session_for}.
313
+ # request on the session.
296
314
  #
297
315
  # @option options [Boolean] :http_wire_trace (false) When `true`,
298
316
  # HTTP debug output will be sent to the `:logger`.
@@ -973,7 +991,7 @@ module Aws::Textract
973
991
  params: params,
974
992
  config: config)
975
993
  context[:gem_name] = 'aws-sdk-textract'
976
- context[:gem_version] = '1.13.0'
994
+ context[:gem_version] = '1.18.0'
977
995
  Seahorse::Client::Request.new(handlers, context)
978
996
  end
979
997
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::Textract
9
- # This class provides a resource oriented interface for Textract.
10
- # To create a resource object:
11
- # resource = Aws::Textract::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Textract::Client.new(region: 'us-west-2')
15
- # resource = Aws::Textract::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -68,6 +70,7 @@ module Aws::Textract
68
70
  :document,
69
71
  :feature_types,
70
72
  :human_loop_config)
73
+ SENSITIVE = []
71
74
  include Aws::Structure
72
75
  end
73
76
 
@@ -95,6 +98,7 @@ module Aws::Textract
95
98
  :blocks,
96
99
  :human_loop_activation_output,
97
100
  :analyze_document_model_version)
101
+ SENSITIVE = []
98
102
  include Aws::Structure
99
103
  end
100
104
 
@@ -269,6 +273,7 @@ module Aws::Textract
269
273
  :entity_types,
270
274
  :selection_status,
271
275
  :page)
276
+ SENSITIVE = []
272
277
  include Aws::Structure
273
278
  end
274
279
 
@@ -316,6 +321,7 @@ module Aws::Textract
316
321
  :height,
317
322
  :left,
318
323
  :top)
324
+ SENSITIVE = []
319
325
  include Aws::Structure
320
326
  end
321
327
 
@@ -348,6 +354,7 @@ module Aws::Textract
348
354
  #
349
355
  class DetectDocumentTextRequest < Struct.new(
350
356
  :document)
357
+ SENSITIVE = []
351
358
  include Aws::Structure
352
359
  end
353
360
 
@@ -370,6 +377,7 @@ module Aws::Textract
370
377
  :document_metadata,
371
378
  :blocks,
372
379
  :detect_document_text_model_version)
380
+ SENSITIVE = []
373
381
  include Aws::Structure
374
382
  end
375
383
 
@@ -428,6 +436,7 @@ module Aws::Textract
428
436
  class Document < Struct.new(
429
437
  :bytes,
430
438
  :s3_object)
439
+ SENSITIVE = []
431
440
  include Aws::Structure
432
441
  end
433
442
 
@@ -456,6 +465,7 @@ module Aws::Textract
456
465
  #
457
466
  class DocumentLocation < Struct.new(
458
467
  :s3_object)
468
+ SENSITIVE = []
459
469
  include Aws::Structure
460
470
  end
461
471
 
@@ -469,6 +479,7 @@ module Aws::Textract
469
479
  #
470
480
  class DocumentMetadata < Struct.new(
471
481
  :pages)
482
+ SENSITIVE = []
472
483
  include Aws::Structure
473
484
  end
474
485
 
@@ -499,6 +510,7 @@ module Aws::Textract
499
510
  class Geometry < Struct.new(
500
511
  :bounding_box,
501
512
  :polygon)
513
+ SENSITIVE = []
502
514
  include Aws::Structure
503
515
  end
504
516
 
@@ -537,6 +549,7 @@ module Aws::Textract
537
549
  :job_id,
538
550
  :max_results,
539
551
  :next_token)
552
+ SENSITIVE = []
540
553
  include Aws::Structure
541
554
  end
542
555
 
@@ -582,6 +595,7 @@ module Aws::Textract
582
595
  :warnings,
583
596
  :status_message,
584
597
  :analyze_document_model_version)
598
+ SENSITIVE = []
585
599
  include Aws::Structure
586
600
  end
587
601
 
@@ -620,6 +634,7 @@ module Aws::Textract
620
634
  :job_id,
621
635
  :max_results,
622
636
  :next_token)
637
+ SENSITIVE = []
623
638
  include Aws::Structure
624
639
  end
625
640
 
@@ -666,6 +681,7 @@ module Aws::Textract
666
681
  :warnings,
667
682
  :status_message,
668
683
  :detect_document_text_model_version)
684
+ SENSITIVE = []
669
685
  include Aws::Structure
670
686
  end
671
687
 
@@ -691,6 +707,7 @@ module Aws::Textract
691
707
  :human_loop_arn,
692
708
  :human_loop_activation_reasons,
693
709
  :human_loop_activation_conditions_evaluation_results)
710
+ SENSITIVE = []
694
711
  include Aws::Structure
695
712
  end
696
713
 
@@ -728,6 +745,7 @@ module Aws::Textract
728
745
  :human_loop_name,
729
746
  :flow_definition_arn,
730
747
  :data_attributes)
748
+ SENSITIVE = []
731
749
  include Aws::Structure
732
750
  end
733
751
 
@@ -751,6 +769,7 @@ module Aws::Textract
751
769
  #
752
770
  class HumanLoopDataAttributes < Struct.new(
753
771
  :content_classifiers)
772
+ SENSITIVE = []
754
773
  include Aws::Structure
755
774
  end
756
775
 
@@ -772,6 +791,7 @@ module Aws::Textract
772
791
  :resource_type,
773
792
  :quota_code,
774
793
  :service_code)
794
+ SENSITIVE = []
775
795
  include Aws::Structure
776
796
  end
777
797
 
@@ -851,6 +871,7 @@ module Aws::Textract
851
871
  class NotificationChannel < Struct.new(
852
872
  :sns_topic_arn,
853
873
  :role_arn)
874
+ SENSITIVE = []
854
875
  include Aws::Structure
855
876
  end
856
877
 
@@ -878,6 +899,7 @@ module Aws::Textract
878
899
  class Point < Struct.new(
879
900
  :x,
880
901
  :y)
902
+ SENSITIVE = []
881
903
  include Aws::Structure
882
904
  end
883
905
 
@@ -914,6 +936,7 @@ module Aws::Textract
914
936
  class Relationship < Struct.new(
915
937
  :type,
916
938
  :ids)
939
+ SENSITIVE = []
917
940
  include Aws::Structure
918
941
  end
919
942
 
@@ -955,6 +978,7 @@ module Aws::Textract
955
978
  :bucket,
956
979
  :name,
957
980
  :version)
981
+ SENSITIVE = []
958
982
  include Aws::Structure
959
983
  end
960
984
 
@@ -1025,6 +1049,7 @@ module Aws::Textract
1025
1049
  :client_request_token,
1026
1050
  :job_tag,
1027
1051
  :notification_channel)
1052
+ SENSITIVE = []
1028
1053
  include Aws::Structure
1029
1054
  end
1030
1055
 
@@ -1038,6 +1063,7 @@ module Aws::Textract
1038
1063
  #
1039
1064
  class StartDocumentAnalysisResponse < Struct.new(
1040
1065
  :job_id)
1066
+ SENSITIVE = []
1041
1067
  include Aws::Structure
1042
1068
  end
1043
1069
 
@@ -1096,6 +1122,7 @@ module Aws::Textract
1096
1122
  :client_request_token,
1097
1123
  :job_tag,
1098
1124
  :notification_channel)
1125
+ SENSITIVE = []
1099
1126
  include Aws::Structure
1100
1127
  end
1101
1128
 
@@ -1110,6 +1137,7 @@ module Aws::Textract
1110
1137
  #
1111
1138
  class StartDocumentTextDetectionResponse < Struct.new(
1112
1139
  :job_id)
1140
+ SENSITIVE = []
1113
1141
  include Aws::Structure
1114
1142
  end
1115
1143
 
@@ -1145,6 +1173,7 @@ module Aws::Textract
1145
1173
  class Warning < Struct.new(
1146
1174
  :error_code,
1147
1175
  :pages)
1176
+ SENSITIVE = []
1148
1177
  include Aws::Structure
1149
1178
  end
1150
1179
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-textract
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-16 00:00:00.000000000 Z
11
+ date: 2020-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.71.0
22
+ version: 3.99.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubygems_version: 3.0.3
83
+ rubyforge_project:
84
+ rubygems_version: 2.7.6.2
84
85
  signing_key:
85
86
  specification_version: 4
86
87
  summary: AWS SDK for Ruby - Amazon Textract