aws-sdk-rekognition 1.48.0 → 1.52.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.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -525,14 +525,23 @@ module Aws::Rekognition
525
525
  #
526
526
  # {
527
527
  # collection_id: "CollectionId", # required
528
+ # tags: {
529
+ # "TagKey" => "TagValue",
530
+ # },
528
531
  # }
529
532
  #
530
533
  # @!attribute [rw] collection_id
531
534
  # ID for the collection that you are creating.
532
535
  # @return [String]
533
536
  #
537
+ # @!attribute [rw] tags
538
+ # A set of tags (key-value pairs) that you want to attach to the
539
+ # collection.
540
+ # @return [Hash<String,String>]
541
+ #
534
542
  class CreateCollectionRequest < Struct.new(
535
- :collection_id)
543
+ :collection_id,
544
+ :tags)
536
545
  SENSITIVE = []
537
546
  include Aws::Structure
538
547
  end
@@ -624,6 +633,10 @@ module Aws::Rekognition
624
633
  # ],
625
634
  # auto_create: false,
626
635
  # },
636
+ # tags: {
637
+ # "TagKey" => "TagValue",
638
+ # },
639
+ # kms_key_id: "KmsKeyId",
627
640
  # }
628
641
  #
629
642
  # @!attribute [rw] project_arn
@@ -647,12 +660,32 @@ module Aws::Rekognition
647
660
  # The dataset to use for testing.
648
661
  # @return [Types::TestingData]
649
662
  #
663
+ # @!attribute [rw] tags
664
+ # A set of tags (key-value pairs) that you want to attach to the
665
+ # model.
666
+ # @return [Hash<String,String>]
667
+ #
668
+ # @!attribute [rw] kms_key_id
669
+ # The identifier for your AWS Key Management Service (AWS KMS)
670
+ # customer master key (CMK). You can supply the Amazon Resource Name
671
+ # (ARN) of your CMK, the ID of your CMK, or an alias for your CMK. The
672
+ # key is used to encrypt training and test images copied into the
673
+ # service for model training. Your source images are unaffected. The
674
+ # key is also used to encrypt training results and manifest files
675
+ # written to the output Amazon S3 bucket (`OutputConfig`).
676
+ #
677
+ # If you don't specify a value for `KmsKeyId`, images copied into the
678
+ # service are encrypted using a key that AWS owns and manages.
679
+ # @return [String]
680
+ #
650
681
  class CreateProjectVersionRequest < Struct.new(
651
682
  :project_arn,
652
683
  :version_name,
653
684
  :output_config,
654
685
  :training_data,
655
- :testing_data)
686
+ :testing_data,
687
+ :tags,
688
+ :kms_key_id)
656
689
  SENSITIVE = []
657
690
  include Aws::Structure
658
691
  end
@@ -691,6 +724,9 @@ module Aws::Rekognition
691
724
  # },
692
725
  # },
693
726
  # role_arn: "RoleArn", # required
727
+ # tags: {
728
+ # "TagKey" => "TagValue",
729
+ # },
694
730
  # }
695
731
  #
696
732
  # @!attribute [rw] input
@@ -722,12 +758,18 @@ module Aws::Rekognition
722
758
  # ARN of the IAM role that allows access to the stream processor.
723
759
  # @return [String]
724
760
  #
761
+ # @!attribute [rw] tags
762
+ # A set of tags (key-value pairs) that you want to attach to the
763
+ # stream processor.
764
+ # @return [Hash<String,String>]
765
+ #
725
766
  class CreateStreamProcessorRequest < Struct.new(
726
767
  :input,
727
768
  :output,
728
769
  :name,
729
770
  :settings,
730
- :role_arn)
771
+ :role_arn,
772
+ :tags)
731
773
  SENSITIVE = []
732
774
  include Aws::Structure
733
775
  end
@@ -1649,10 +1691,10 @@ module Aws::Rekognition
1649
1691
  # }
1650
1692
  #
1651
1693
  # @!attribute [rw] min_confidence
1652
- # Sets confidence of word detection. Words with detection confidence
1653
- # below this will be excluded from the result. Values should be
1654
- # between 0.5 and 1 as Text in Video will not return any result below
1655
- # 0.5.
1694
+ # Sets the confidence of word detection. Words with detection
1695
+ # confidence below this will be excluded from the result. Values
1696
+ # should be between 50 and 100 as Text in Video will not return any
1697
+ # result below 50.
1656
1698
  # @return [Float]
1657
1699
  #
1658
1700
  # @!attribute [rw] min_bounding_box_height
@@ -3011,9 +3053,10 @@ module Aws::Rekognition
3011
3053
  include Aws::Structure
3012
3054
  end
3013
3055
 
3014
- # The input image size exceeds the allowed limit. For more information,
3015
- # see Limits in Amazon Rekognition in the Amazon Rekognition Developer
3016
- # Guide.
3056
+ # The input image size exceeds the allowed limit. If you are calling
3057
+ # DetectProtectiveEquipment, the image size or resolution exceeds the
3058
+ # allowed limit. For more information, see Limits in Amazon Rekognition
3059
+ # in the Amazon Rekognition Developer Guide.
3017
3060
  #
3018
3061
  class ImageTooLargeException < Aws::EmptyStructure; end
3019
3062
 
@@ -3495,6 +3538,34 @@ module Aws::Rekognition
3495
3538
  include Aws::Structure
3496
3539
  end
3497
3540
 
3541
+ # @note When making an API call, you may pass ListTagsForResourceRequest
3542
+ # data as a hash:
3543
+ #
3544
+ # {
3545
+ # resource_arn: "ResourceArn", # required
3546
+ # }
3547
+ #
3548
+ # @!attribute [rw] resource_arn
3549
+ # Amazon Resource Name (ARN) of the model, collection, or stream
3550
+ # processor that contains the tags that you want a list of.
3551
+ # @return [String]
3552
+ #
3553
+ class ListTagsForResourceRequest < Struct.new(
3554
+ :resource_arn)
3555
+ SENSITIVE = []
3556
+ include Aws::Structure
3557
+ end
3558
+
3559
+ # @!attribute [rw] tags
3560
+ # A list of key-value tags assigned to the resource.
3561
+ # @return [Hash<String,String>]
3562
+ #
3563
+ class ListTagsForResourceResponse < Struct.new(
3564
+ :tags)
3565
+ SENSITIVE = []
3566
+ include Aws::Structure
3567
+ end
3568
+
3498
3569
  # Provides information about a single type of unsafe content found in an
3499
3570
  # image or video. Each type of moderated content has a label within a
3500
3571
  # hierarchical taxonomy. For more information, see Detecting Unsafe
@@ -3833,6 +3904,11 @@ module Aws::Rekognition
3833
3904
  # datasets.
3834
3905
  # @return [Types::GroundTruthManifest]
3835
3906
  #
3907
+ # @!attribute [rw] kms_key_id
3908
+ # The identifer for the AWS Key Management Service (AWS KMS) customer
3909
+ # master key that was used to encrypt the model during training.
3910
+ # @return [String]
3911
+ #
3836
3912
  class ProjectVersionDescription < Struct.new(
3837
3913
  :project_version_arn,
3838
3914
  :creation_timestamp,
@@ -3845,7 +3921,8 @@ module Aws::Rekognition
3845
3921
  :training_data_result,
3846
3922
  :testing_data_result,
3847
3923
  :evaluation_result,
3848
- :manifest_summary)
3924
+ :manifest_summary,
3925
+ :kms_key_id)
3849
3926
  SENSITIVE = []
3850
3927
  include Aws::Structure
3851
3928
  end
@@ -3983,7 +4060,7 @@ module Aws::Rekognition
3983
4060
  #
3984
4061
  # @!attribute [rw] persons_without_required_equipment
3985
4062
  # An array of IDs for persons who are not wearing all of the types of
3986
- # PPE specified in the RequiredEquipmentTypes field of the detected
4063
+ # PPE specified in the `RequiredEquipmentTypes` field of the detected
3987
4064
  # personal protective equipment.
3988
4065
  # @return [Array<Integer>]
3989
4066
  #
@@ -4102,7 +4179,7 @@ module Aws::Rekognition
4102
4179
  include Aws::Structure
4103
4180
  end
4104
4181
 
4105
- # A collection with the specified ID already exists.
4182
+ # A resource with the specified ID already exists.
4106
4183
  #
4107
4184
  class ResourceAlreadyExistsException < Aws::EmptyStructure; end
4108
4185
 
@@ -4110,7 +4187,7 @@ module Aws::Rekognition
4110
4187
  #
4111
4188
  class ResourceInUseException < Aws::EmptyStructure; end
4112
4189
 
4113
- # The collection specified in the request cannot be found.
4190
+ # The resource specified in the request cannot be found.
4114
4191
  #
4115
4192
  class ResourceNotFoundException < Aws::EmptyStructure; end
4116
4193
 
@@ -5428,6 +5505,34 @@ module Aws::Rekognition
5428
5505
  include Aws::Structure
5429
5506
  end
5430
5507
 
5508
+ # @note When making an API call, you may pass TagResourceRequest
5509
+ # data as a hash:
5510
+ #
5511
+ # {
5512
+ # resource_arn: "ResourceArn", # required
5513
+ # tags: { # required
5514
+ # "TagKey" => "TagValue",
5515
+ # },
5516
+ # }
5517
+ #
5518
+ # @!attribute [rw] resource_arn
5519
+ # Amazon Resource Name (ARN) of the model, collection, or stream
5520
+ # processor that you want to assign the tags to.
5521
+ # @return [String]
5522
+ #
5523
+ # @!attribute [rw] tags
5524
+ # The key-value tags to assign to the resource.
5525
+ # @return [Hash<String,String>]
5526
+ #
5527
+ class TagResourceRequest < Struct.new(
5528
+ :resource_arn,
5529
+ :tags)
5530
+ SENSITIVE = []
5531
+ include Aws::Structure
5532
+ end
5533
+
5534
+ class TagResourceResponse < Aws::EmptyStructure; end
5535
+
5431
5536
  # Information about a technical cue segment. For more information, see
5432
5537
  # SegmentDetection.
5433
5538
  #
@@ -5681,6 +5786,32 @@ module Aws::Rekognition
5681
5786
  include Aws::Structure
5682
5787
  end
5683
5788
 
5789
+ # @note When making an API call, you may pass UntagResourceRequest
5790
+ # data as a hash:
5791
+ #
5792
+ # {
5793
+ # resource_arn: "ResourceArn", # required
5794
+ # tag_keys: ["TagKey"], # required
5795
+ # }
5796
+ #
5797
+ # @!attribute [rw] resource_arn
5798
+ # Amazon Resource Name (ARN) of the model, collection, or stream
5799
+ # processor that you want to remove the tags from.
5800
+ # @return [String]
5801
+ #
5802
+ # @!attribute [rw] tag_keys
5803
+ # A list of the tags that you want to remove.
5804
+ # @return [Array<String>]
5805
+ #
5806
+ class UntagResourceRequest < Struct.new(
5807
+ :resource_arn,
5808
+ :tag_keys)
5809
+ SENSITIVE = []
5810
+ include Aws::Structure
5811
+ end
5812
+
5813
+ class UntagResourceResponse < Aws::EmptyStructure; end
5814
+
5684
5815
  # Contains the Amazon S3 bucket location of the validation data for a
5685
5816
  # model training job.
5686
5817
  #
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rekognition
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.52.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-07-28 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.112.0
22
+ version: 3.118.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.112.0
32
+ version: 3.118.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Amazon Rekognition. This gem is part of the
48
48
  AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-rekognition.rb
56
59
  - lib/aws-sdk-rekognition/client.rb
57
60
  - lib/aws-sdk-rekognition/client_api.rb
@@ -64,8 +67,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
64
67
  licenses:
65
68
  - Apache-2.0
66
69
  metadata:
67
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-rekognition
68
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-rekognition/CHANGELOG.md
70
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rekognition
71
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rekognition/CHANGELOG.md
69
72
  post_install_message:
70
73
  rdoc_options: []
71
74
  require_paths:
@@ -81,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
84
  - !ruby/object:Gem::Version
82
85
  version: '0'
83
86
  requirements: []
84
- rubyforge_project:
85
- rubygems_version: 2.7.6.2
87
+ rubygems_version: 3.1.6
86
88
  signing_key:
87
89
  specification_version: 4
88
90
  summary: AWS SDK for Ruby - Amazon Rekognition