aws-sdk-rekognition 1.69.0 → 1.71.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,8 +35,10 @@ module Aws::Rekognition
35
35
  # * {InvalidImageFormatException}
36
36
  # * {InvalidPaginationTokenException}
37
37
  # * {InvalidParameterException}
38
+ # * {InvalidPolicyRevisionIdException}
38
39
  # * {InvalidS3ObjectException}
39
40
  # * {LimitExceededException}
41
+ # * {MalformedPolicyDocumentException}
40
42
  # * {ProvisionedThroughputExceededException}
41
43
  # * {ResourceAlreadyExistsException}
42
44
  # * {ResourceInUseException}
@@ -147,6 +149,16 @@ module Aws::Rekognition
147
149
  end
148
150
  end
149
151
 
152
+ class InvalidPolicyRevisionIdException < ServiceError
153
+
154
+ # @param [Seahorse::Client::RequestContext] context
155
+ # @param [String] message
156
+ # @param [Aws::Rekognition::Types::InvalidPolicyRevisionIdException] data
157
+ def initialize(context, message, data = Aws::EmptyStructure.new)
158
+ super(context, message, data)
159
+ end
160
+ end
161
+
150
162
  class InvalidS3ObjectException < ServiceError
151
163
 
152
164
  # @param [Seahorse::Client::RequestContext] context
@@ -167,6 +179,16 @@ module Aws::Rekognition
167
179
  end
168
180
  end
169
181
 
182
+ class MalformedPolicyDocumentException < ServiceError
183
+
184
+ # @param [Seahorse::Client::RequestContext] context
185
+ # @param [String] message
186
+ # @param [Aws::Rekognition::Types::MalformedPolicyDocumentException] data
187
+ def initialize(context, message, data = Aws::EmptyStructure.new)
188
+ super(context, message, data)
189
+ end
190
+ end
191
+
170
192
  class ProvisionedThroughputExceededException < ServiceError
171
193
 
172
194
  # @param [Seahorse::Client::RequestContext] context
@@ -0,0 +1,194 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::Rekognition
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::Rekognition::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::Rekognition::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::Rekognition::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :compare_faces
60
+ Aws::Rekognition::Endpoints::CompareFaces.build(context)
61
+ when :copy_project_version
62
+ Aws::Rekognition::Endpoints::CopyProjectVersion.build(context)
63
+ when :create_collection
64
+ Aws::Rekognition::Endpoints::CreateCollection.build(context)
65
+ when :create_dataset
66
+ Aws::Rekognition::Endpoints::CreateDataset.build(context)
67
+ when :create_project
68
+ Aws::Rekognition::Endpoints::CreateProject.build(context)
69
+ when :create_project_version
70
+ Aws::Rekognition::Endpoints::CreateProjectVersion.build(context)
71
+ when :create_stream_processor
72
+ Aws::Rekognition::Endpoints::CreateStreamProcessor.build(context)
73
+ when :delete_collection
74
+ Aws::Rekognition::Endpoints::DeleteCollection.build(context)
75
+ when :delete_dataset
76
+ Aws::Rekognition::Endpoints::DeleteDataset.build(context)
77
+ when :delete_faces
78
+ Aws::Rekognition::Endpoints::DeleteFaces.build(context)
79
+ when :delete_project
80
+ Aws::Rekognition::Endpoints::DeleteProject.build(context)
81
+ when :delete_project_policy
82
+ Aws::Rekognition::Endpoints::DeleteProjectPolicy.build(context)
83
+ when :delete_project_version
84
+ Aws::Rekognition::Endpoints::DeleteProjectVersion.build(context)
85
+ when :delete_stream_processor
86
+ Aws::Rekognition::Endpoints::DeleteStreamProcessor.build(context)
87
+ when :describe_collection
88
+ Aws::Rekognition::Endpoints::DescribeCollection.build(context)
89
+ when :describe_dataset
90
+ Aws::Rekognition::Endpoints::DescribeDataset.build(context)
91
+ when :describe_project_versions
92
+ Aws::Rekognition::Endpoints::DescribeProjectVersions.build(context)
93
+ when :describe_projects
94
+ Aws::Rekognition::Endpoints::DescribeProjects.build(context)
95
+ when :describe_stream_processor
96
+ Aws::Rekognition::Endpoints::DescribeStreamProcessor.build(context)
97
+ when :detect_custom_labels
98
+ Aws::Rekognition::Endpoints::DetectCustomLabels.build(context)
99
+ when :detect_faces
100
+ Aws::Rekognition::Endpoints::DetectFaces.build(context)
101
+ when :detect_labels
102
+ Aws::Rekognition::Endpoints::DetectLabels.build(context)
103
+ when :detect_moderation_labels
104
+ Aws::Rekognition::Endpoints::DetectModerationLabels.build(context)
105
+ when :detect_protective_equipment
106
+ Aws::Rekognition::Endpoints::DetectProtectiveEquipment.build(context)
107
+ when :detect_text
108
+ Aws::Rekognition::Endpoints::DetectText.build(context)
109
+ when :distribute_dataset_entries
110
+ Aws::Rekognition::Endpoints::DistributeDatasetEntries.build(context)
111
+ when :get_celebrity_info
112
+ Aws::Rekognition::Endpoints::GetCelebrityInfo.build(context)
113
+ when :get_celebrity_recognition
114
+ Aws::Rekognition::Endpoints::GetCelebrityRecognition.build(context)
115
+ when :get_content_moderation
116
+ Aws::Rekognition::Endpoints::GetContentModeration.build(context)
117
+ when :get_face_detection
118
+ Aws::Rekognition::Endpoints::GetFaceDetection.build(context)
119
+ when :get_face_search
120
+ Aws::Rekognition::Endpoints::GetFaceSearch.build(context)
121
+ when :get_label_detection
122
+ Aws::Rekognition::Endpoints::GetLabelDetection.build(context)
123
+ when :get_person_tracking
124
+ Aws::Rekognition::Endpoints::GetPersonTracking.build(context)
125
+ when :get_segment_detection
126
+ Aws::Rekognition::Endpoints::GetSegmentDetection.build(context)
127
+ when :get_text_detection
128
+ Aws::Rekognition::Endpoints::GetTextDetection.build(context)
129
+ when :index_faces
130
+ Aws::Rekognition::Endpoints::IndexFaces.build(context)
131
+ when :list_collections
132
+ Aws::Rekognition::Endpoints::ListCollections.build(context)
133
+ when :list_dataset_entries
134
+ Aws::Rekognition::Endpoints::ListDatasetEntries.build(context)
135
+ when :list_dataset_labels
136
+ Aws::Rekognition::Endpoints::ListDatasetLabels.build(context)
137
+ when :list_faces
138
+ Aws::Rekognition::Endpoints::ListFaces.build(context)
139
+ when :list_project_policies
140
+ Aws::Rekognition::Endpoints::ListProjectPolicies.build(context)
141
+ when :list_stream_processors
142
+ Aws::Rekognition::Endpoints::ListStreamProcessors.build(context)
143
+ when :list_tags_for_resource
144
+ Aws::Rekognition::Endpoints::ListTagsForResource.build(context)
145
+ when :put_project_policy
146
+ Aws::Rekognition::Endpoints::PutProjectPolicy.build(context)
147
+ when :recognize_celebrities
148
+ Aws::Rekognition::Endpoints::RecognizeCelebrities.build(context)
149
+ when :search_faces
150
+ Aws::Rekognition::Endpoints::SearchFaces.build(context)
151
+ when :search_faces_by_image
152
+ Aws::Rekognition::Endpoints::SearchFacesByImage.build(context)
153
+ when :start_celebrity_recognition
154
+ Aws::Rekognition::Endpoints::StartCelebrityRecognition.build(context)
155
+ when :start_content_moderation
156
+ Aws::Rekognition::Endpoints::StartContentModeration.build(context)
157
+ when :start_face_detection
158
+ Aws::Rekognition::Endpoints::StartFaceDetection.build(context)
159
+ when :start_face_search
160
+ Aws::Rekognition::Endpoints::StartFaceSearch.build(context)
161
+ when :start_label_detection
162
+ Aws::Rekognition::Endpoints::StartLabelDetection.build(context)
163
+ when :start_person_tracking
164
+ Aws::Rekognition::Endpoints::StartPersonTracking.build(context)
165
+ when :start_project_version
166
+ Aws::Rekognition::Endpoints::StartProjectVersion.build(context)
167
+ when :start_segment_detection
168
+ Aws::Rekognition::Endpoints::StartSegmentDetection.build(context)
169
+ when :start_stream_processor
170
+ Aws::Rekognition::Endpoints::StartStreamProcessor.build(context)
171
+ when :start_text_detection
172
+ Aws::Rekognition::Endpoints::StartTextDetection.build(context)
173
+ when :stop_project_version
174
+ Aws::Rekognition::Endpoints::StopProjectVersion.build(context)
175
+ when :stop_stream_processor
176
+ Aws::Rekognition::Endpoints::StopStreamProcessor.build(context)
177
+ when :tag_resource
178
+ Aws::Rekognition::Endpoints::TagResource.build(context)
179
+ when :untag_resource
180
+ Aws::Rekognition::Endpoints::UntagResource.build(context)
181
+ when :update_dataset_entries
182
+ Aws::Rekognition::Endpoints::UpdateDatasetEntries.build(context)
183
+ when :update_stream_processor
184
+ Aws::Rekognition::Endpoints::UpdateStreamProcessor.build(context)
185
+ end
186
+ end
187
+ end
188
+
189
+ def add_handlers(handlers, _config)
190
+ handlers.add(Handler, step: :build, priority: 75)
191
+ end
192
+ end
193
+ end
194
+ end
@@ -643,6 +643,96 @@ module Aws::Rekognition
643
643
  include Aws::Structure
644
644
  end
645
645
 
646
+ # @note When making an API call, you may pass CopyProjectVersionRequest
647
+ # data as a hash:
648
+ #
649
+ # {
650
+ # source_project_arn: "ProjectArn", # required
651
+ # source_project_version_arn: "ProjectVersionArn", # required
652
+ # destination_project_arn: "ProjectArn", # required
653
+ # version_name: "VersionName", # required
654
+ # output_config: { # required
655
+ # s3_bucket: "S3Bucket",
656
+ # s3_key_prefix: "S3KeyPrefix",
657
+ # },
658
+ # tags: {
659
+ # "TagKey" => "TagValue",
660
+ # },
661
+ # kms_key_id: "KmsKeyId",
662
+ # }
663
+ #
664
+ # @!attribute [rw] source_project_arn
665
+ # The ARN of the source project in the trusting AWS account.
666
+ # @return [String]
667
+ #
668
+ # @!attribute [rw] source_project_version_arn
669
+ # The ARN of the model version in the source project that you want to
670
+ # copy to a destination project.
671
+ # @return [String]
672
+ #
673
+ # @!attribute [rw] destination_project_arn
674
+ # The ARN of the project in the trusted AWS account that you want to
675
+ # copy the model version to.
676
+ # @return [String]
677
+ #
678
+ # @!attribute [rw] version_name
679
+ # A name for the version of the model that's copied to the
680
+ # destination project.
681
+ # @return [String]
682
+ #
683
+ # @!attribute [rw] output_config
684
+ # The S3 bucket and folder location where the training output for the
685
+ # source model version is placed.
686
+ # @return [Types::OutputConfig]
687
+ #
688
+ # @!attribute [rw] tags
689
+ # The key-value tags to assign to the model version.
690
+ # @return [Hash<String,String>]
691
+ #
692
+ # @!attribute [rw] kms_key_id
693
+ # The identifier for your AWS Key Management Service key (AWS KMS
694
+ # key). You can supply the Amazon Resource Name (ARN) of your KMS key,
695
+ # the ID of your KMS key, an alias for your KMS key, or an alias ARN.
696
+ # The key is used to encrypt training results and manifest files
697
+ # written to the output Amazon S3 bucket (`OutputConfig`).
698
+ #
699
+ # If you choose to use your own KMS key, you need the following
700
+ # permissions on the KMS key.
701
+ #
702
+ # * kms:CreateGrant
703
+ #
704
+ # * kms:DescribeKey
705
+ #
706
+ # * kms:GenerateDataKey
707
+ #
708
+ # * kms:Decrypt
709
+ #
710
+ # If you don't specify a value for `KmsKeyId`, images copied into the
711
+ # service are encrypted using a key that AWS owns and manages.
712
+ # @return [String]
713
+ #
714
+ class CopyProjectVersionRequest < Struct.new(
715
+ :source_project_arn,
716
+ :source_project_version_arn,
717
+ :destination_project_arn,
718
+ :version_name,
719
+ :output_config,
720
+ :tags,
721
+ :kms_key_id)
722
+ SENSITIVE = []
723
+ include Aws::Structure
724
+ end
725
+
726
+ # @!attribute [rw] project_version_arn
727
+ # The ARN of the copied model version in the destination project.
728
+ # @return [String]
729
+ #
730
+ class CopyProjectVersionResponse < Struct.new(
731
+ :project_version_arn)
732
+ SENSITIVE = []
733
+ include Aws::Structure
734
+ end
735
+
646
736
  # Information about an item of Personal Protective Equipment covering a
647
737
  # corresponding body part. For more information, see
648
738
  # DetectProtectiveEquipment.
@@ -1421,6 +1511,38 @@ module Aws::Rekognition
1421
1511
  include Aws::Structure
1422
1512
  end
1423
1513
 
1514
+ # @note When making an API call, you may pass DeleteProjectPolicyRequest
1515
+ # data as a hash:
1516
+ #
1517
+ # {
1518
+ # project_arn: "ProjectArn", # required
1519
+ # policy_name: "ProjectPolicyName", # required
1520
+ # policy_revision_id: "ProjectPolicyRevisionId",
1521
+ # }
1522
+ #
1523
+ # @!attribute [rw] project_arn
1524
+ # The Amazon Resource Name (ARN) of the project that the project
1525
+ # policy you want to delete is attached to.
1526
+ # @return [String]
1527
+ #
1528
+ # @!attribute [rw] policy_name
1529
+ # The name of the policy that you want to delete.
1530
+ # @return [String]
1531
+ #
1532
+ # @!attribute [rw] policy_revision_id
1533
+ # The ID of the project policy revision that you want to delete.
1534
+ # @return [String]
1535
+ #
1536
+ class DeleteProjectPolicyRequest < Struct.new(
1537
+ :project_arn,
1538
+ :policy_name,
1539
+ :policy_revision_id)
1540
+ SENSITIVE = []
1541
+ include Aws::Structure
1542
+ end
1543
+
1544
+ class DeleteProjectPolicyResponse < Aws::EmptyStructure; end
1545
+
1424
1546
  # @note When making an API call, you may pass DeleteProjectRequest
1425
1547
  # data as a hash:
1426
1548
  #
@@ -3954,6 +4076,10 @@ module Aws::Rekognition
3954
4076
  #
3955
4077
  class InvalidParameterException < Aws::EmptyStructure; end
3956
4078
 
4079
+ # The supplied revision id for the project policy is invalid.
4080
+ #
4081
+ class InvalidPolicyRevisionIdException < Aws::EmptyStructure; end
4082
+
3957
4083
  # Amazon Rekognition is unable to access the S3 object specified in the
3958
4084
  # request.
3959
4085
  #
@@ -4382,6 +4508,58 @@ module Aws::Rekognition
4382
4508
  include Aws::Structure
4383
4509
  end
4384
4510
 
4511
+ # @note When making an API call, you may pass ListProjectPoliciesRequest
4512
+ # data as a hash:
4513
+ #
4514
+ # {
4515
+ # project_arn: "ProjectArn", # required
4516
+ # next_token: "ExtendedPaginationToken",
4517
+ # max_results: 1,
4518
+ # }
4519
+ #
4520
+ # @!attribute [rw] project_arn
4521
+ # The ARN of the project for which you want to list the project
4522
+ # policies.
4523
+ # @return [String]
4524
+ #
4525
+ # @!attribute [rw] next_token
4526
+ # If the previous response was incomplete (because there is more
4527
+ # results to retrieve), Amazon Rekognition Custom Labels returns a
4528
+ # pagination token in the response. You can use this pagination token
4529
+ # to retrieve the next set of results.
4530
+ # @return [String]
4531
+ #
4532
+ # @!attribute [rw] max_results
4533
+ # The maximum number of results to return per paginated call. The
4534
+ # largest value you can specify is 5. If you specify a value greater
4535
+ # than 5, a ValidationException error occurs. The default value is 5.
4536
+ # @return [Integer]
4537
+ #
4538
+ class ListProjectPoliciesRequest < Struct.new(
4539
+ :project_arn,
4540
+ :next_token,
4541
+ :max_results)
4542
+ SENSITIVE = []
4543
+ include Aws::Structure
4544
+ end
4545
+
4546
+ # @!attribute [rw] project_policies
4547
+ # A list of project policies attached to the project.
4548
+ # @return [Array<Types::ProjectPolicy>]
4549
+ #
4550
+ # @!attribute [rw] next_token
4551
+ # If the response is truncated, Amazon Rekognition returns this token
4552
+ # that you can use in the subsequent request to retrieve the next set
4553
+ # of project policies.
4554
+ # @return [String]
4555
+ #
4556
+ class ListProjectPoliciesResponse < Struct.new(
4557
+ :project_policies,
4558
+ :next_token)
4559
+ SENSITIVE = []
4560
+ include Aws::Structure
4561
+ end
4562
+
4385
4563
  # @note When making an API call, you may pass ListStreamProcessorsRequest
4386
4564
  # data as a hash:
4387
4565
  #
@@ -4454,6 +4632,11 @@ module Aws::Rekognition
4454
4632
  include Aws::Structure
4455
4633
  end
4456
4634
 
4635
+ # The format of the project policy document that you supplied to
4636
+ # `PutProjectPolicy` is incorrect.
4637
+ #
4638
+ class MalformedPolicyDocumentException < Aws::EmptyStructure; end
4639
+
4457
4640
  # Provides information about a single type of inappropriate, unwanted,
4458
4641
  # or offensive content found in an image or video. Each type of
4459
4642
  # moderated content has a label within a hierarchical taxonomy. For more
@@ -4762,6 +4945,44 @@ module Aws::Rekognition
4762
4945
  include Aws::Structure
4763
4946
  end
4764
4947
 
4948
+ # Describes a project policy in the response from ListProjectPolicies.
4949
+ #
4950
+ # @!attribute [rw] project_arn
4951
+ # The Amazon Resource Name (ARN) of the project to which the project
4952
+ # policy is attached.
4953
+ # @return [String]
4954
+ #
4955
+ # @!attribute [rw] policy_name
4956
+ # The name of the project policy.
4957
+ # @return [String]
4958
+ #
4959
+ # @!attribute [rw] policy_revision_id
4960
+ # The revision ID of the project policy.
4961
+ # @return [String]
4962
+ #
4963
+ # @!attribute [rw] policy_document
4964
+ # The JSON document for the project policy.
4965
+ # @return [String]
4966
+ #
4967
+ # @!attribute [rw] creation_timestamp
4968
+ # The Unix datetime for the creation of the project policy.
4969
+ # @return [Time]
4970
+ #
4971
+ # @!attribute [rw] last_updated_timestamp
4972
+ # The Unix datetime for when the project policy was last updated.
4973
+ # @return [Time]
4974
+ #
4975
+ class ProjectPolicy < Struct.new(
4976
+ :project_arn,
4977
+ :policy_name,
4978
+ :policy_revision_id,
4979
+ :policy_document,
4980
+ :creation_timestamp,
4981
+ :last_updated_timestamp)
4982
+ SENSITIVE = []
4983
+ include Aws::Structure
4984
+ end
4985
+
4765
4986
  # A description of a version of an Amazon Rekognition Custom Labels
4766
4987
  # model.
4767
4988
  #
@@ -4830,6 +5051,12 @@ module Aws::Rekognition
4830
5051
  # StartProjectVersion.
4831
5052
  # @return [Integer]
4832
5053
  #
5054
+ # @!attribute [rw] source_project_version_arn
5055
+ # If the model version was copied from a different project,
5056
+ # `SourceProjectVersionArn` contains the ARN of the source model
5057
+ # version.
5058
+ # @return [String]
5059
+ #
4833
5060
  class ProjectVersionDescription < Struct.new(
4834
5061
  :project_version_arn,
4835
5062
  :creation_timestamp,
@@ -4844,7 +5071,8 @@ module Aws::Rekognition
4844
5071
  :evaluation_result,
4845
5072
  :manifest_summary,
4846
5073
  :kms_key_id,
4847
- :max_inference_units)
5074
+ :max_inference_units,
5075
+ :source_project_version_arn)
4848
5076
  SENSITIVE = []
4849
5077
  include Aws::Structure
4850
5078
  end
@@ -5004,6 +5232,63 @@ module Aws::Rekognition
5004
5232
  #
5005
5233
  class ProvisionedThroughputExceededException < Aws::EmptyStructure; end
5006
5234
 
5235
+ # @note When making an API call, you may pass PutProjectPolicyRequest
5236
+ # data as a hash:
5237
+ #
5238
+ # {
5239
+ # project_arn: "ProjectArn", # required
5240
+ # policy_name: "ProjectPolicyName", # required
5241
+ # policy_revision_id: "ProjectPolicyRevisionId",
5242
+ # policy_document: "ProjectPolicyDocument", # required
5243
+ # }
5244
+ #
5245
+ # @!attribute [rw] project_arn
5246
+ # The Amazon Resource Name (ARN) of the project that the project
5247
+ # policy is attached to.
5248
+ # @return [String]
5249
+ #
5250
+ # @!attribute [rw] policy_name
5251
+ # A name for the policy.
5252
+ # @return [String]
5253
+ #
5254
+ # @!attribute [rw] policy_revision_id
5255
+ # The revision ID for the Project Policy. Each time you modify a
5256
+ # policy, Amazon Rekognition Custom Labels generates and assigns a new
5257
+ # `PolicyRevisionId` and then deletes the previous version of the
5258
+ # policy.
5259
+ # @return [String]
5260
+ #
5261
+ # @!attribute [rw] policy_document
5262
+ # A resource policy to add to the model. The policy is a JSON
5263
+ # structure that contains one or more statements that define the
5264
+ # policy. The policy must follow the IAM syntax. For more information
5265
+ # about the contents of a JSON policy document, see [IAM JSON policy
5266
+ # reference][1].
5267
+ #
5268
+ #
5269
+ #
5270
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html
5271
+ # @return [String]
5272
+ #
5273
+ class PutProjectPolicyRequest < Struct.new(
5274
+ :project_arn,
5275
+ :policy_name,
5276
+ :policy_revision_id,
5277
+ :policy_document)
5278
+ SENSITIVE = []
5279
+ include Aws::Structure
5280
+ end
5281
+
5282
+ # @!attribute [rw] policy_revision_id
5283
+ # The ID of the project policy.
5284
+ # @return [String]
5285
+ #
5286
+ class PutProjectPolicyResponse < Struct.new(
5287
+ :policy_revision_id)
5288
+ SENSITIVE = []
5289
+ include Aws::Structure
5290
+ end
5291
+
5007
5292
  # @note When making an API call, you may pass RecognizeCelebritiesRequest
5008
5293
  # data as a hash:
5009
5294
  #
@@ -13,10 +13,14 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-rekognition/types'
15
15
  require_relative 'aws-sdk-rekognition/client_api'
16
+ require_relative 'aws-sdk-rekognition/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-rekognition/client'
17
18
  require_relative 'aws-sdk-rekognition/errors'
18
19
  require_relative 'aws-sdk-rekognition/waiters'
19
20
  require_relative 'aws-sdk-rekognition/resource'
21
+ require_relative 'aws-sdk-rekognition/endpoint_parameters'
22
+ require_relative 'aws-sdk-rekognition/endpoint_provider'
23
+ require_relative 'aws-sdk-rekognition/endpoints'
20
24
  require_relative 'aws-sdk-rekognition/customizations'
21
25
 
22
26
  # This module provides support for Amazon Rekognition. This module is available in the
@@ -49,6 +53,6 @@ require_relative 'aws-sdk-rekognition/customizations'
49
53
  # @!group service
50
54
  module Aws::Rekognition
51
55
 
52
- GEM_VERSION = '1.69.0'
56
+ GEM_VERSION = '1.71.0'
53
57
 
54
58
  end
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.69.0
4
+ version: 1.71.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: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-10-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.127.0
22
+ version: 3.165.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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-rekognition/client.rb
60
60
  - lib/aws-sdk-rekognition/client_api.rb
61
61
  - lib/aws-sdk-rekognition/customizations.rb
62
+ - lib/aws-sdk-rekognition/endpoint_parameters.rb
63
+ - lib/aws-sdk-rekognition/endpoint_provider.rb
64
+ - lib/aws-sdk-rekognition/endpoints.rb
62
65
  - lib/aws-sdk-rekognition/errors.rb
66
+ - lib/aws-sdk-rekognition/plugins/endpoints.rb
63
67
  - lib/aws-sdk-rekognition/resource.rb
64
68
  - lib/aws-sdk-rekognition/types.rb
65
69
  - lib/aws-sdk-rekognition/waiters.rb