Skip to content

Commit 574760f

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent fbf9da1 commit 574760f

File tree

6 files changed

+250
-7
lines changed

6 files changed

+250
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::IoT1ClickProjects - Updated the API, and documentation for AWS IoT 1-Click Projects Service.
5+
6+
* Feature - Aws::TranscribeService - Updated the API, and documentation for Amazon Transcribe Service.
7+
48
2.11.245 (2019-03-21)
59
------------------
610

aws-sdk-core/apis/iot1click-projects/2018-05-14/api-2.json

Lines changed: 138 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,48 @@
171171
{"shape":"InvalidRequestException"}
172172
]
173173
},
174+
"ListTagsForResource":{
175+
"name":"ListTagsForResource",
176+
"http":{
177+
"method":"GET",
178+
"requestUri":"/tags/{resourceArn}"
179+
},
180+
"input":{"shape":"ListTagsForResourceRequest"},
181+
"output":{"shape":"ListTagsForResourceResponse"},
182+
"errors":[
183+
{"shape":"InternalFailureException"},
184+
{"shape":"InvalidRequestException"},
185+
{"shape":"ResourceNotFoundException"}
186+
]
187+
},
188+
"TagResource":{
189+
"name":"TagResource",
190+
"http":{
191+
"method":"POST",
192+
"requestUri":"/tags/{resourceArn}"
193+
},
194+
"input":{"shape":"TagResourceRequest"},
195+
"output":{"shape":"TagResourceResponse"},
196+
"errors":[
197+
{"shape":"InternalFailureException"},
198+
{"shape":"InvalidRequestException"},
199+
{"shape":"ResourceNotFoundException"}
200+
]
201+
},
202+
"UntagResource":{
203+
"name":"UntagResource",
204+
"http":{
205+
"method":"DELETE",
206+
"requestUri":"/tags/{resourceArn}"
207+
},
208+
"input":{"shape":"UntagResourceRequest"},
209+
"output":{"shape":"UntagResourceResponse"},
210+
"errors":[
211+
{"shape":"InternalFailureException"},
212+
{"shape":"InvalidRequestException"},
213+
{"shape":"ResourceNotFoundException"}
214+
]
215+
},
174216
"UpdatePlacement":{
175217
"name":"UpdatePlacement",
176218
"http":{
@@ -276,7 +318,8 @@
276318
"members":{
277319
"projectName":{"shape":"ProjectName"},
278320
"description":{"shape":"Description"},
279-
"placementTemplate":{"shape":"PlacementTemplate"}
321+
"placementTemplate":{"shape":"PlacementTemplate"},
322+
"tags":{"shape":"TagMap"}
280323
}
281324
},
282325
"CreateProjectResponse":{
@@ -558,6 +601,23 @@
558601
"nextToken":{"shape":"NextToken"}
559602
}
560603
},
604+
"ListTagsForResourceRequest":{
605+
"type":"structure",
606+
"required":["resourceArn"],
607+
"members":{
608+
"resourceArn":{
609+
"shape":"ProjectArn",
610+
"location":"uri",
611+
"locationName":"resourceArn"
612+
}
613+
}
614+
},
615+
"ListTagsForResourceResponse":{
616+
"type":"structure",
617+
"members":{
618+
"tags":{"shape":"TagMap"}
619+
}
620+
},
561621
"MaxResults":{
562622
"type":"integer",
563623
"max":250,
@@ -623,6 +683,10 @@
623683
"deviceTemplates":{"shape":"DeviceTemplateMap"}
624684
}
625685
},
686+
"ProjectArn":{
687+
"type":"string",
688+
"pattern":"^arn:aws:iot1click:[A-Za-z0-9_/.-]{0,63}:\\d+:projects/[0-9A-Za-z_-]{1,128}$"
689+
},
626690
"ProjectDescription":{
627691
"type":"structure",
628692
"required":[
@@ -631,11 +695,13 @@
631695
"updatedDate"
632696
],
633697
"members":{
698+
"arn":{"shape":"ProjectArn"},
634699
"projectName":{"shape":"ProjectName"},
635700
"description":{"shape":"Description"},
636701
"createdDate":{"shape":"Time"},
637702
"updatedDate":{"shape":"Time"},
638-
"placementTemplate":{"shape":"PlacementTemplate"}
703+
"placementTemplate":{"shape":"PlacementTemplate"},
704+
"tags":{"shape":"TagMap"}
639705
}
640706
},
641707
"ProjectName":{
@@ -652,9 +718,11 @@
652718
"updatedDate"
653719
],
654720
"members":{
721+
"arn":{"shape":"ProjectArn"},
655722
"projectName":{"shape":"ProjectName"},
656723
"createdDate":{"shape":"Time"},
657-
"updatedDate":{"shape":"Time"}
724+
"updatedDate":{"shape":"Time"},
725+
"tags":{"shape":"TagMap"}
658726
}
659727
},
660728
"ProjectSummaryList":{
@@ -687,6 +755,49 @@
687755
"error":{"httpStatusCode":404},
688756
"exception":true
689757
},
758+
"TagKey":{
759+
"type":"string",
760+
"max":128,
761+
"min":1,
762+
"pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$"
763+
},
764+
"TagKeyList":{
765+
"type":"list",
766+
"member":{"shape":"TagKey"},
767+
"max":50,
768+
"min":1
769+
},
770+
"TagMap":{
771+
"type":"map",
772+
"key":{"shape":"TagKey"},
773+
"value":{"shape":"TagValue"},
774+
"max":50,
775+
"min":1
776+
},
777+
"TagResourceRequest":{
778+
"type":"structure",
779+
"required":[
780+
"resourceArn",
781+
"tags"
782+
],
783+
"members":{
784+
"resourceArn":{
785+
"shape":"ProjectArn",
786+
"location":"uri",
787+
"locationName":"resourceArn"
788+
},
789+
"tags":{"shape":"TagMap"}
790+
}
791+
},
792+
"TagResourceResponse":{
793+
"type":"structure",
794+
"members":{
795+
}
796+
},
797+
"TagValue":{
798+
"type":"string",
799+
"max":256
800+
},
690801
"Time":{"type":"timestamp"},
691802
"TooManyRequestsException":{
692803
"type":"structure",
@@ -701,6 +812,30 @@
701812
"error":{"httpStatusCode":429},
702813
"exception":true
703814
},
815+
"UntagResourceRequest":{
816+
"type":"structure",
817+
"required":[
818+
"resourceArn",
819+
"tagKeys"
820+
],
821+
"members":{
822+
"resourceArn":{
823+
"shape":"ProjectArn",
824+
"location":"uri",
825+
"locationName":"resourceArn"
826+
},
827+
"tagKeys":{
828+
"shape":"TagKeyList",
829+
"location":"querystring",
830+
"locationName":"tagKeys"
831+
}
832+
}
833+
},
834+
"UntagResourceResponse":{
835+
"type":"structure",
836+
"members":{
837+
}
838+
},
704839
"UpdatePlacementRequest":{
705840
"type":"structure",
706841
"required":[

aws-sdk-core/apis/iot1click-projects/2018-05-14/docs-2.json

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "2.0",
3-
"service": "<p>The AWS IoT 1-Click Project API Reference</p>",
3+
"service": "<p>The AWS IoT 1-Click Projects API Reference</p>",
44
"operations": {
55
"AssociateDeviceWithPlacement": "<p>Associates a physical device with a placement.</p>",
66
"CreatePlacement": "<p>Creates an empty placement.</p>",
@@ -13,6 +13,9 @@
1313
"GetDevicesInPlacement": "<p>Returns an object enumerating the devices in a placement.</p>",
1414
"ListPlacements": "<p>Lists the placement(s) of a project.</p>",
1515
"ListProjects": "<p>Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.</p>",
16+
"ListTagsForResource": "<p>Lists the tags (metadata key/value pairs) which you have assigned to the resource.</p>",
17+
"TagResource": "<p>Creates or modifies tags for a resource. Tags are key/value pairs (metadata) that can be used to manage a resource. For more information, see <a href=\"https://aws.amazon.com/answers/account-management/aws-tagging-strategies/\">AWS Tagging Strategies</a>.</p>",
18+
"UntagResource": "<p>Removes one or more tags (metadata key/value pairs) from a resource.</p>",
1619
"UpdatePlacement": "<p>Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., \"\").</p>",
1720
"UpdateProject": "<p>Updates a project associated with your AWS account and region. With the exception of device template names, you can pass just the values that need to be updated because the update request will change only the values that are provided. To clear a value, pass the empty string (i.e., <code>\"\"</code>).</p>"
1821
},
@@ -238,6 +241,16 @@
238241
"refs": {
239242
}
240243
},
244+
"ListTagsForResourceRequest": {
245+
"base": null,
246+
"refs": {
247+
}
248+
},
249+
"ListTagsForResourceResponse": {
250+
"base": null,
251+
"refs": {
252+
}
253+
},
241254
"MaxResults": {
242255
"base": null,
243256
"refs": {
@@ -312,6 +325,16 @@
312325
"UpdateProjectRequest$placementTemplate": "<p>An object defining the project update. Once a project has been created, you cannot add device template names to the project. However, for a given <code>placementTemplate</code>, you can update the associated <code>callbackOverrides</code> for the device definition using this API.</p>"
313326
}
314327
},
328+
"ProjectArn": {
329+
"base": null,
330+
"refs": {
331+
"ListTagsForResourceRequest$resourceArn": "<p>The ARN of the resource whose tags you want to list.</p>",
332+
"ProjectDescription$arn": "<p>The ARN of the project.</p>",
333+
"ProjectSummary$arn": "<p>The ARN of the project.</p>",
334+
"TagResourceRequest$resourceArn": "<p>The ARN of the resouce for which tag(s) should be added or modified.</p>",
335+
"UntagResourceRequest$resourceArn": "<p>The ARN of the resource whose tag you want to remove.</p>"
336+
}
337+
},
315338
"ProjectDescription": {
316339
"base": "<p>An object providing detailed information for a particular project associated with an AWS account and region.</p>",
317340
"refs": {
@@ -361,6 +384,45 @@
361384
"refs": {
362385
}
363386
},
387+
"TagKey": {
388+
"base": null,
389+
"refs": {
390+
"TagKeyList$member": null,
391+
"TagMap$key": null
392+
}
393+
},
394+
"TagKeyList": {
395+
"base": null,
396+
"refs": {
397+
"UntagResourceRequest$tagKeys": "<p>The keys of those tags which you want to remove.</p>"
398+
}
399+
},
400+
"TagMap": {
401+
"base": null,
402+
"refs": {
403+
"CreateProjectRequest$tags": "<p>Optional tags (metadata key/value pairs) to be associated with the project. For example, <code>{ {\"key1\": \"value1\", \"key2\": \"value2\"} }</code>. For more information, see <a href=\"https://aws.amazon.com/answers/account-management/aws-tagging-strategies/\">AWS Tagging Strategies</a>.</p>",
404+
"ListTagsForResourceResponse$tags": "<p>The tags (metadata key/value pairs) which you have assigned to the resource.</p>",
405+
"ProjectDescription$tags": "<p>The tags (metadata key/value pairs) associated with the project.</p>",
406+
"ProjectSummary$tags": "<p>The tags (metadata key/value pairs) associated with the project.</p>",
407+
"TagResourceRequest$tags": "<p>The new or modifying tag(s) for the resource. See <a href=\"https://docs.aws.amazon.com/iot-1-click/latest/developerguide/1click-appendix.html#1click-limits\">AWS IoT 1-Click Service Limits</a> for the maximum number of tags allowed per resource.</p>"
408+
}
409+
},
410+
"TagResourceRequest": {
411+
"base": null,
412+
"refs": {
413+
}
414+
},
415+
"TagResourceResponse": {
416+
"base": null,
417+
"refs": {
418+
}
419+
},
420+
"TagValue": {
421+
"base": null,
422+
"refs": {
423+
"TagMap$value": null
424+
}
425+
},
364426
"Time": {
365427
"base": null,
366428
"refs": {
@@ -379,6 +441,16 @@
379441
"refs": {
380442
}
381443
},
444+
"UntagResourceRequest": {
445+
"base": null,
446+
"refs": {
447+
}
448+
},
449+
"UntagResourceResponse": {
450+
"base": null,
451+
"refs": {
452+
}
453+
},
382454
"UpdatePlacementRequest": {
383455
"base": null,
384456
"refs": {

aws-sdk-core/apis/transcribe/2017-10-26/api-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@
250250
"de-DE",
251251
"pt-BR",
252252
"fr-FR",
253-
"it-IT"
253+
"it-IT",
254+
"ko-KR"
254255
]
255256
},
256257
"LimitExceededException":{

aws-sdk-core/apis/transcribe/2017-10-26/docs-2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"BadRequestException$Message": null,
7070
"CreateVocabularyResponse$FailureReason": "<p>If the <code>VocabularyState</code> field is <code>FAILED</code>, this field contains information about why the job failed.</p>",
7171
"GetVocabularyResponse$FailureReason": "<p>If the <code>VocabularyState</code> field is <code>FAILED</code>, this field contains information about why the job failed.</p>",
72-
"TranscriptionJob$FailureReason": "<p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, this field contains information about why the job failed.</p>",
72+
"TranscriptionJob$FailureReason": "<p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, this field contains information about why the job failed.</p> <p>The <code>FailureReason</code> field can contain one of the following values:</p> <ul> <li> <p> <code>Unsupported media format</code> - The media format specified in the <code>MediaFormat</code> field of the request isn't valid. See the description of the <code>MediaFormat</code> field for a list of valid values.</p> </li> <li> <p> <code>The media format provided does not match the detected media format</code> - The media format of the audio file doesn't match the format specified in the <code>MediaFormat</code> field in the request. Check the media format of your media file and make sure that the two values match.</p> </li> <li> <p> <code>Invalid sample rate for audio file</code> - The sample rate specified in the <code>MediaSampleRateHertz</code> of the request isn't valid. The sample rate must be between 8000 and 48000 Hertz.</p> </li> <li> <p> <code>The sample rate provided does not match the detected sample rate</code> - The sample rate in the audio file doesn't match the sample rate specified in the <code>MediaSampleRateHertz</code> field in the request. Check the sample rate of your media file and make sure that the two values match.</p> </li> <li> <p> <code>Invalid file size: file size too large</code> - The size of your audio file is larger than Amazon Transcribe can process. For more information, see <a href=\"https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits\">Limits</a> in the <i>Amazon Transcribe Developer Guide</i>.</p> </li> <li> <p> <code>Invalid number of channels: number of channels too large</code> - Your audio contains more channels than Amazon Transcribe is configured to process. To request additional channels, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits-amazon-transcribe\">Amazon Transcribe Limits</a> in the <i>Amazon Web Services General Reference</i>.</p> </li> </ul>",
7373
"TranscriptionJobSummary$FailureReason": "<p>If the <code>TranscriptionJobStatus</code> field is <code>FAILED</code>, a description of the error.</p>"
7474
}
7575
},
@@ -188,7 +188,7 @@
188188
"OutputBucketName": {
189189
"base": null,
190190
"refs": {
191-
"StartTranscriptionJobRequest$OutputBucketName": "<p>The location where the transcription is stored.</p> <p>If you set the <code>OutputBucketName</code>, Amazon Transcribe puts the transcription in the specified S3 bucket. When you call the <a>GetTranscriptionJob</a> operation, the operation returns this location in the <code>TranscriptFileUri</code> field. The S3 bucket must have permissions that allow Amazon Transcribe to put files in the bucket. For more information, see <a href=\"https://docs.aws.amazon.com/transcribe/latest/dg/access-control-managing-permissions.html#auth-role-iam-user\">Permissions Required for IAM User Roles</a>.</p> <p>If you don't set the <code>OutputBucketName</code>, Amazon Transcribe generates a pre-signed URL, a shareable URL that provides secure access to your transcription, and returns it in the <code>TranscriptFileUri</code> field. Use this URL to download the transcription.</p>"
191+
"StartTranscriptionJobRequest$OutputBucketName": "<p>The location where the transcription is stored.</p> <p>If you set the <code>OutputBucketName</code>, Amazon Transcribe puts the transcription in the specified S3 bucket. When you call the <a>GetTranscriptionJob</a> operation, the operation returns this location in the <code>TranscriptFileUri</code> field. The S3 bucket must have permissions that allow Amazon Transcribe to put files in the bucket. For more information, see <a href=\"https://docs.aws.amazon.com/transcribe/latest/dg/access-control-managing-permissions.html#auth-role-iam-user\">Permissions Required for IAM User Roles</a>.</p> <p>Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket. You can't specify your own encryption key.</p> <p>If you don't set the <code>OutputBucketName</code>, Amazon Transcribe generates a pre-signed URL, a shareable URL that provides secure access to your transcription, and returns it in the <code>TranscriptFileUri</code> field. Use this URL to download the transcription.</p>"
192192
}
193193
},
194194
"OutputLocationType": {

0 commit comments

Comments
 (0)