Skip to content

Commit c2f19f9

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated API models and rebuilt service gems.
1 parent aa59631 commit c2f19f9

File tree

20 files changed

+1557
-274
lines changed

20 files changed

+1557
-274
lines changed

apis/rekognition/2016-06-27/api-2.json

Lines changed: 211 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,26 @@
3131
{"shape":"InvalidImageFormatException"}
3232
]
3333
},
34+
"CopyProjectVersion":{
35+
"name":"CopyProjectVersion",
36+
"http":{
37+
"method":"POST",
38+
"requestUri":"/"
39+
},
40+
"input":{"shape":"CopyProjectVersionRequest"},
41+
"output":{"shape":"CopyProjectVersionResponse"},
42+
"errors":[
43+
{"shape":"AccessDeniedException"},
44+
{"shape":"InternalServerError"},
45+
{"shape":"InvalidParameterException"},
46+
{"shape":"LimitExceededException"},
47+
{"shape":"ResourceNotFoundException"},
48+
{"shape":"ThrottlingException"},
49+
{"shape":"ServiceQuotaExceededException"},
50+
{"shape":"ProvisionedThroughputExceededException"},
51+
{"shape":"ResourceInUseException"}
52+
]
53+
},
3454
"CreateCollection":{
3555
"name":"CreateCollection",
3656
"http":{
@@ -197,6 +217,24 @@
197217
{"shape":"ProvisionedThroughputExceededException"}
198218
]
199219
},
220+
"DeleteProjectPolicy":{
221+
"name":"DeleteProjectPolicy",
222+
"http":{
223+
"method":"POST",
224+
"requestUri":"/"
225+
},
226+
"input":{"shape":"DeleteProjectPolicyRequest"},
227+
"output":{"shape":"DeleteProjectPolicyResponse"},
228+
"errors":[
229+
{"shape":"AccessDeniedException"},
230+
{"shape":"InternalServerError"},
231+
{"shape":"InvalidParameterException"},
232+
{"shape":"ResourceNotFoundException"},
233+
{"shape":"ThrottlingException"},
234+
{"shape":"ProvisionedThroughputExceededException"},
235+
{"shape":"InvalidPolicyRevisionIdException"}
236+
]
237+
},
200238
"DeleteProjectVersion":{
201239
"name":"DeleteProjectVersion",
202240
"http":{
@@ -713,6 +751,24 @@
713751
{"shape":"ResourceNotFoundException"}
714752
]
715753
},
754+
"ListProjectPolicies":{
755+
"name":"ListProjectPolicies",
756+
"http":{
757+
"method":"POST",
758+
"requestUri":"/"
759+
},
760+
"input":{"shape":"ListProjectPoliciesRequest"},
761+
"output":{"shape":"ListProjectPoliciesResponse"},
762+
"errors":[
763+
{"shape":"AccessDeniedException"},
764+
{"shape":"InternalServerError"},
765+
{"shape":"InvalidParameterException"},
766+
{"shape":"ResourceNotFoundException"},
767+
{"shape":"ThrottlingException"},
768+
{"shape":"ProvisionedThroughputExceededException"},
769+
{"shape":"InvalidPaginationTokenException"}
770+
]
771+
},
716772
"ListStreamProcessors":{
717773
"name":"ListStreamProcessors",
718774
"http":{
@@ -747,6 +803,28 @@
747803
{"shape":"ProvisionedThroughputExceededException"}
748804
]
749805
},
806+
"PutProjectPolicy":{
807+
"name":"PutProjectPolicy",
808+
"http":{
809+
"method":"POST",
810+
"requestUri":"/"
811+
},
812+
"input":{"shape":"PutProjectPolicyRequest"},
813+
"output":{"shape":"PutProjectPolicyResponse"},
814+
"errors":[
815+
{"shape":"AccessDeniedException"},
816+
{"shape":"InternalServerError"},
817+
{"shape":"InvalidParameterException"},
818+
{"shape":"InvalidPolicyRevisionIdException"},
819+
{"shape":"MalformedPolicyDocumentException"},
820+
{"shape":"ResourceNotFoundException"},
821+
{"shape":"ResourceAlreadyExistsException"},
822+
{"shape":"ThrottlingException"},
823+
{"shape":"ServiceQuotaExceededException"},
824+
{"shape":"ProvisionedThroughputExceededException"},
825+
{"shape":"LimitExceededException"}
826+
]
827+
},
750828
"RecognizeCelebrities":{
751829
"name":"RecognizeCelebrities",
752830
"http":{
@@ -1387,6 +1465,31 @@
13871465
"TIMESTAMP"
13881466
]
13891467
},
1468+
"CopyProjectVersionRequest":{
1469+
"type":"structure",
1470+
"required":[
1471+
"SourceProjectArn",
1472+
"SourceProjectVersionArn",
1473+
"DestinationProjectArn",
1474+
"VersionName",
1475+
"OutputConfig"
1476+
],
1477+
"members":{
1478+
"SourceProjectArn":{"shape":"ProjectArn"},
1479+
"SourceProjectVersionArn":{"shape":"ProjectVersionArn"},
1480+
"DestinationProjectArn":{"shape":"ProjectArn"},
1481+
"VersionName":{"shape":"VersionName"},
1482+
"OutputConfig":{"shape":"OutputConfig"},
1483+
"Tags":{"shape":"TagMap"},
1484+
"KmsKeyId":{"shape":"KmsKeyId"}
1485+
}
1486+
},
1487+
"CopyProjectVersionResponse":{
1488+
"type":"structure",
1489+
"members":{
1490+
"ProjectVersionArn":{"shape":"ProjectVersionArn"}
1491+
}
1492+
},
13901493
"CoversBodyPart":{
13911494
"type":"structure",
13921495
"members":{
@@ -1674,6 +1777,23 @@
16741777
"DeletedFaces":{"shape":"FaceIdList"}
16751778
}
16761779
},
1780+
"DeleteProjectPolicyRequest":{
1781+
"type":"structure",
1782+
"required":[
1783+
"ProjectArn",
1784+
"PolicyName"
1785+
],
1786+
"members":{
1787+
"ProjectArn":{"shape":"ProjectArn"},
1788+
"PolicyName":{"shape":"ProjectPolicyName"},
1789+
"PolicyRevisionId":{"shape":"ProjectPolicyRevisionId"}
1790+
}
1791+
},
1792+
"DeleteProjectPolicyResponse":{
1793+
"type":"structure",
1794+
"members":{
1795+
}
1796+
},
16771797
"DeleteProjectRequest":{
16781798
"type":"structure",
16791799
"required":["ProjectArn"],
@@ -2490,6 +2610,12 @@
24902610
},
24912611
"exception":true
24922612
},
2613+
"InvalidPolicyRevisionIdException":{
2614+
"type":"structure",
2615+
"members":{
2616+
},
2617+
"exception":true
2618+
},
24932619
"InvalidS3ObjectException":{
24942620
"type":"structure",
24952621
"members":{
@@ -2725,6 +2851,27 @@
27252851
"FaceModelVersion":{"shape":"String"}
27262852
}
27272853
},
2854+
"ListProjectPoliciesPageSize":{
2855+
"type":"integer",
2856+
"max":5,
2857+
"min":1
2858+
},
2859+
"ListProjectPoliciesRequest":{
2860+
"type":"structure",
2861+
"required":["ProjectArn"],
2862+
"members":{
2863+
"ProjectArn":{"shape":"ProjectArn"},
2864+
"NextToken":{"shape":"ExtendedPaginationToken"},
2865+
"MaxResults":{"shape":"ListProjectPoliciesPageSize"}
2866+
}
2867+
},
2868+
"ListProjectPoliciesResponse":{
2869+
"type":"structure",
2870+
"members":{
2871+
"ProjectPolicies":{"shape":"ProjectPolicies"},
2872+
"NextToken":{"shape":"ExtendedPaginationToken"}
2873+
}
2874+
},
27282875
"ListStreamProcessorsRequest":{
27292876
"type":"structure",
27302877
"members":{
@@ -2752,6 +2899,12 @@
27522899
"Tags":{"shape":"TagMap"}
27532900
}
27542901
},
2902+
"MalformedPolicyDocumentException":{
2903+
"type":"structure",
2904+
"members":{
2905+
},
2906+
"exception":true
2907+
},
27552908
"MaxDurationInSecondsULong":{
27562909
"type":"long",
27572910
"max":120,
@@ -2946,6 +3099,38 @@
29463099
"max":10,
29473100
"min":1
29483101
},
3102+
"ProjectPolicies":{
3103+
"type":"list",
3104+
"member":{"shape":"ProjectPolicy"}
3105+
},
3106+
"ProjectPolicy":{
3107+
"type":"structure",
3108+
"members":{
3109+
"ProjectArn":{"shape":"ProjectArn"},
3110+
"PolicyName":{"shape":"ProjectPolicyName"},
3111+
"PolicyRevisionId":{"shape":"ProjectPolicyRevisionId"},
3112+
"PolicyDocument":{"shape":"ProjectPolicyDocument"},
3113+
"CreationTimestamp":{"shape":"DateTime"},
3114+
"LastUpdatedTimestamp":{"shape":"DateTime"}
3115+
}
3116+
},
3117+
"ProjectPolicyDocument":{
3118+
"type":"string",
3119+
"max":2000,
3120+
"min":1,
3121+
"pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
3122+
},
3123+
"ProjectPolicyName":{
3124+
"type":"string",
3125+
"max":128,
3126+
"min":1,
3127+
"pattern":"[a-zA-Z0-9_.\\-]+"
3128+
},
3129+
"ProjectPolicyRevisionId":{
3130+
"type":"string",
3131+
"max":64,
3132+
"pattern":"[0-9A-Fa-f]+"
3133+
},
29493134
"ProjectStatus":{
29503135
"type":"string",
29513136
"enum":[
@@ -2976,7 +3161,8 @@
29763161
"EvaluationResult":{"shape":"EvaluationResult"},
29773162
"ManifestSummary":{"shape":"GroundTruthManifest"},
29783163
"KmsKeyId":{"shape":"KmsKeyId"},
2979-
"MaxInferenceUnits":{"shape":"InferenceUnits"}
3164+
"MaxInferenceUnits":{"shape":"InferenceUnits"},
3165+
"SourceProjectVersionArn":{"shape":"ProjectVersionArn"}
29803166
}
29813167
},
29823168
"ProjectVersionDescriptions":{
@@ -2994,7 +3180,10 @@
29943180
"FAILED",
29953181
"STOPPING",
29963182
"STOPPED",
2997-
"DELETING"
3183+
"DELETING",
3184+
"COPYING_IN_PROGRESS",
3185+
"COPYING_COMPLETED",
3186+
"COPYING_FAILED"
29983187
]
29993188
},
30003189
"ProjectVersionsPageSize":{
@@ -3069,6 +3258,26 @@
30693258
},
30703259
"exception":true
30713260
},
3261+
"PutProjectPolicyRequest":{
3262+
"type":"structure",
3263+
"required":[
3264+
"ProjectArn",
3265+
"PolicyName",
3266+
"PolicyDocument"
3267+
],
3268+
"members":{
3269+
"ProjectArn":{"shape":"ProjectArn"},
3270+
"PolicyName":{"shape":"ProjectPolicyName"},
3271+
"PolicyRevisionId":{"shape":"ProjectPolicyRevisionId"},
3272+
"PolicyDocument":{"shape":"ProjectPolicyDocument"}
3273+
}
3274+
},
3275+
"PutProjectPolicyResponse":{
3276+
"type":"structure",
3277+
"members":{
3278+
"PolicyRevisionId":{"shape":"ProjectPolicyRevisionId"}
3279+
}
3280+
},
30723281
"QualityFilter":{
30733282
"type":"string",
30743283
"enum":[

apis/rekognition/2016-06-27/docs-2.json

Lines changed: 117 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)