aws-sdk 2.1195.0 → 2.1196.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.
package/CHANGELOG.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # Changelog for AWS SDK for JavaScript
2
- <!--LATEST=2.1195.0-->
2
+ <!--LATEST=2.1196.0-->
3
3
  <!--ENTRYINSERT-->
4
4
 
5
+ ## 2.1196.0
6
+ * feature: Rekognition: This release adds APIs which support copying an Amazon Rekognition Custom Labels model and managing project policies across AWS account.
7
+
5
8
  ## 2.1195.0
6
9
  * feature: CloudFront: Adds Http 3 support to distributions
7
10
  * feature: Wisdom: This release introduces a new API PutFeedback that allows submitting feedback to Wisdom on content relevance.
package/README.md CHANGED
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
29
29
  To use the SDK in the browser, simply add the following script tag to your
30
30
  HTML pages:
31
31
 
32
- <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1195.0.min.js"></script>
32
+ <script src="https://sdk.amazonaws.com/js/aws-sdk-2.1196.0.min.js"></script>
33
33
 
34
34
  You can also build a custom browser SDK with your specified set of AWS services.
35
35
  This can allow you to reduce the SDK's size, specify different API versions of
@@ -54,6 +54,36 @@
54
54
  "title": "To compare two images"
55
55
  }
56
56
  ],
57
+ "CopyProjectVersion": [
58
+ {
59
+ "input": {
60
+ "DestinationProjectArn": "arn:aws:rekognition:us-east-1:555555555555:project/DestinationProject/1656705098765",
61
+ "KmsKeyId": "arn:1234abcd-12ab-34cd-56ef-1234567890ab",
62
+ "OutputConfig": {
63
+ "S3Bucket": "bucket-name",
64
+ "S3KeyPrefix": "path_to_folder"
65
+ },
66
+ "SourceProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/16565123456",
67
+ "SourceProjectVersionArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/version/model_1/1656611123456",
68
+ "Tags": {
69
+ "key1": "val1"
70
+ },
71
+ "VersionName": "DestinationVersionName_cross_account"
72
+ },
73
+ "output": {
74
+ "ProjectVersionArn": "arn:aws:rekognition:us-east-1:555555555555:project/DestinationProject/version/DestinationVersionName_cross_account/16567050987651"
75
+ },
76
+ "comments": {
77
+ "input": {
78
+ },
79
+ "output": {
80
+ }
81
+ },
82
+ "description": "This operation copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project.",
83
+ "id": "copyprojectversion-1658203943815",
84
+ "title": "CopyProjectVersion"
85
+ }
86
+ ],
57
87
  "CreateCollection": [
58
88
  {
59
89
  "input": {
@@ -117,6 +147,26 @@
117
147
  "title": "To delete a face"
118
148
  }
119
149
  ],
150
+ "DeleteProjectPolicy": [
151
+ {
152
+ "input": {
153
+ "PolicyName": "testPolicy1",
154
+ "PolicyRevisionId": "3b274c25e9203a56a99e00e3ff205fbc",
155
+ "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/SourceProject/1656557123456"
156
+ },
157
+ "output": {
158
+ },
159
+ "comments": {
160
+ "input": {
161
+ },
162
+ "output": {
163
+ }
164
+ },
165
+ "description": "This operation deletes a revision of an existing project policy from an Amazon Rekognition Custom Labels project.",
166
+ "id": "deleteprojectpolicy-1658204413810",
167
+ "title": "DeleteProjectPolicy"
168
+ }
169
+ ],
120
170
  "DetectFaces": [
121
171
  {
122
172
  "input": {
@@ -532,6 +582,59 @@
532
582
  "title": "To list the faces in a collection"
533
583
  }
534
584
  ],
585
+ "ListProjectPolicies": [
586
+ {
587
+ "input": {
588
+ "MaxResults": 5,
589
+ "NextToken": "",
590
+ "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
591
+ },
592
+ "output": {
593
+ "NextToken": "",
594
+ "ProjectPolicies": [
595
+ {
596
+ "CreationTimestamp": "2022-07-01T11:51:27.086000-07:00",
597
+ "LastUpdatedTimestamp": "2022-07-01T11:51:27.086000-07:00",
598
+ "PolicyDocument": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Sid\":\"Statemented1\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::111122223333:root\"},\"Action\":\"rekognition:CopyProjectVersion\",\"Resource\":\"*\"}]}",
599
+ "PolicyName": "testPolicy",
600
+ "PolicyRevisionId": "3b274c25e9203a56a99e00e3ff205fbc",
601
+ "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
602
+ }
603
+ ]
604
+ },
605
+ "comments": {
606
+ "input": {
607
+ },
608
+ "output": {
609
+ }
610
+ },
611
+ "description": "This operation lists the project policies that are attached to an Amazon Rekognition Custom Labels project.",
612
+ "id": "listprojectpolicies-1658202290173",
613
+ "title": "ListProjectPolicies"
614
+ }
615
+ ],
616
+ "PutProjectPolicy": [
617
+ {
618
+ "input": {
619
+ "PolicyDocument": "'{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"ALLOW\",\"Principal\":{\"AWS\":\"principal\"},\"Action\":\"rekognition:CopyProjectVersion\",\"Resource\":\"arn:aws:rekognition:us-east-1:123456789012:project/my-sdk-project/version/DestinationVersionName/1627045542080\"}]}'",
620
+ "PolicyName": "SamplePolicy",
621
+ "PolicyRevisionId": "0123456789abcdef",
622
+ "ProjectArn": "arn:aws:rekognition:us-east-1:111122223333:project/my-sdk-project/1656557051929"
623
+ },
624
+ "output": {
625
+ "PolicyRevisionId": "0123456789abcdef"
626
+ },
627
+ "comments": {
628
+ "input": {
629
+ },
630
+ "output": {
631
+ }
632
+ },
633
+ "description": "This operation attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account.",
634
+ "id": "putprojectpolicy-1658201727623",
635
+ "title": "PutProjectPolicy"
636
+ }
637
+ ],
535
638
  "SearchFaces": [
536
639
  {
537
640
  "input": {