Skip to content

Commit 92444a0

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent 6f2182f commit 92444a0

File tree

3 files changed

+177
-4
lines changed

3 files changed

+177
-4
lines changed

CHANGELOG.md

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

4+
* Feature - Aws::CodeGuruProfiler - Updated the API, and documentation for Amazon CodeGuru Profiler.
5+
46
2.11.548 (2020-07-20)
57
------------------
68

aws-sdk-core/apis/codeguruprofiler/2019-07-18/api-2.json

Lines changed: 120 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,21 @@
237237
{"shape":"ThrottlingException"}
238238
]
239239
},
240+
"ListTagsForResource":{
241+
"name":"ListTagsForResource",
242+
"http":{
243+
"method":"GET",
244+
"requestUri":"/tags/{resourceArn}",
245+
"responseCode":200
246+
},
247+
"input":{"shape":"ListTagsForResourceRequest"},
248+
"output":{"shape":"ListTagsForResourceResponse"},
249+
"errors":[
250+
{"shape":"InternalServerException"},
251+
{"shape":"ValidationException"},
252+
{"shape":"ResourceNotFoundException"}
253+
]
254+
},
240255
"PostAgentProfile":{
241256
"name":"PostAgentProfile",
242257
"http":{
@@ -321,6 +336,37 @@
321336
{"shape":"ResourceNotFoundException"}
322337
]
323338
},
339+
"TagResource":{
340+
"name":"TagResource",
341+
"http":{
342+
"method":"POST",
343+
"requestUri":"/tags/{resourceArn}",
344+
"responseCode":204
345+
},
346+
"input":{"shape":"TagResourceRequest"},
347+
"output":{"shape":"TagResourceResponse"},
348+
"errors":[
349+
{"shape":"InternalServerException"},
350+
{"shape":"ValidationException"},
351+
{"shape":"ResourceNotFoundException"}
352+
]
353+
},
354+
"UntagResource":{
355+
"name":"UntagResource",
356+
"http":{
357+
"method":"DELETE",
358+
"requestUri":"/tags/{resourceArn}",
359+
"responseCode":204
360+
},
361+
"input":{"shape":"UntagResourceRequest"},
362+
"output":{"shape":"UntagResourceResponse"},
363+
"errors":[
364+
{"shape":"InternalServerException"},
365+
{"shape":"ValidationException"},
366+
{"shape":"ResourceNotFoundException"}
367+
],
368+
"idempotent":true
369+
},
324370
"UpdateProfilingGroup":{
325371
"name":"UpdateProfilingGroup",
326372
"http":{
@@ -594,7 +640,8 @@
594640
"locationName":"clientToken"
595641
},
596642
"computePlatform":{"shape":"ComputePlatform"},
597-
"profilingGroupName":{"shape":"ProfilingGroupName"}
643+
"profilingGroupName":{"shape":"ProfilingGroupName"},
644+
"tags":{"shape":"TagsMap"}
598645
}
599646
},
600647
"CreateProfilingGroupResponse":{
@@ -682,8 +729,7 @@
682729
"FleetInstanceId":{
683730
"type":"string",
684731
"max":255,
685-
"min":1,
686-
"pattern":"^[\\w-.:/]+$"
732+
"min":1
687733
},
688734
"FrameMetric":{
689735
"type":"structure",
@@ -1042,6 +1088,23 @@
10421088
"profilingGroups":{"shape":"ProfilingGroupDescriptions"}
10431089
}
10441090
},
1091+
"ListTagsForResourceRequest":{
1092+
"type":"structure",
1093+
"required":["resourceArn"],
1094+
"members":{
1095+
"resourceArn":{
1096+
"shape":"ProfilingGroupArn",
1097+
"location":"uri",
1098+
"locationName":"resourceArn"
1099+
}
1100+
}
1101+
},
1102+
"ListTagsForResourceResponse":{
1103+
"type":"structure",
1104+
"members":{
1105+
"tags":{"shape":"TagsMap"}
1106+
}
1107+
},
10451108
"Locale":{"type":"string"},
10461109
"Match":{
10471110
"type":"structure",
@@ -1204,6 +1267,7 @@
12041267
"createdAt":{"shape":"Timestamp"},
12051268
"name":{"shape":"ProfilingGroupName"},
12061269
"profilingStatus":{"shape":"ProfilingStatus"},
1270+
"tags":{"shape":"TagsMap"},
12071271
"updatedAt":{"shape":"Timestamp"}
12081272
}
12091273
},
@@ -1406,6 +1470,35 @@
14061470
"members":{
14071471
}
14081472
},
1473+
"TagKeys":{
1474+
"type":"list",
1475+
"member":{"shape":"String"}
1476+
},
1477+
"TagResourceRequest":{
1478+
"type":"structure",
1479+
"required":[
1480+
"resourceArn",
1481+
"tags"
1482+
],
1483+
"members":{
1484+
"resourceArn":{
1485+
"shape":"ProfilingGroupArn",
1486+
"location":"uri",
1487+
"locationName":"resourceArn"
1488+
},
1489+
"tags":{"shape":"TagsMap"}
1490+
}
1491+
},
1492+
"TagResourceResponse":{
1493+
"type":"structure",
1494+
"members":{
1495+
}
1496+
},
1497+
"TagsMap":{
1498+
"type":"map",
1499+
"key":{"shape":"String"},
1500+
"value":{"shape":"String"}
1501+
},
14091502
"TargetFrame":{
14101503
"type":"list",
14111504
"member":{"shape":"String"}
@@ -1446,6 +1539,30 @@
14461539
"key":{"shape":"String"},
14471540
"value":{"shape":"ListOfTimestamps"}
14481541
},
1542+
"UntagResourceRequest":{
1543+
"type":"structure",
1544+
"required":[
1545+
"resourceArn",
1546+
"tagKeys"
1547+
],
1548+
"members":{
1549+
"resourceArn":{
1550+
"shape":"ProfilingGroupArn",
1551+
"location":"uri",
1552+
"locationName":"resourceArn"
1553+
},
1554+
"tagKeys":{
1555+
"shape":"TagKeys",
1556+
"location":"querystring",
1557+
"locationName":"tagKeys"
1558+
}
1559+
}
1560+
},
1561+
"UntagResourceResponse":{
1562+
"type":"structure",
1563+
"members":{
1564+
}
1565+
},
14491566
"UpdateProfilingGroupRequest":{
14501567
"type":"structure",
14511568
"required":[

aws-sdk-core/apis/codeguruprofiler/2019-07-18/docs-2.json

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@
1616
"ListFindingsReports": "<p>List the available reports for a given profiling group and time range.</p>",
1717
"ListProfileTimes": "<p>Lists the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.</p>",
1818
"ListProfilingGroups": "<p> Returns a list of profiling groups. The profiling groups are returned as <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html\"> <code>ProfilingGroupDescription</code> </a> objects. </p>",
19+
"ListTagsForResource": "<p> Returns a list of the tags that are assigned to a specified resource. </p>",
1920
"PostAgentProfile": "<p> Submits profiling data to an aggregated profile of a profiling group. To get an aggregated profile that is created with this profiling data, use <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_GetProfile.html\"> <code>GetProfile</code> </a>. </p>",
2021
"PutPermission": "<p> Adds permissions to a profiling group's resource-based policy that are provided using an action group. If a profiling group doesn't have a resource-based policy, one is created for it using the permissions in the action group and the roles and users in the <code>principals</code> parameter. </p> <pre><code> &lt;p&gt; The one supported action group that can be added is &lt;code&gt;agentPermission&lt;/code&gt; which grants &lt;code&gt;ConfigureAgent&lt;/code&gt; and &lt;code&gt;PostAgent&lt;/code&gt; permissions. For more information, see &lt;a href=&quot;https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html&quot;&gt;Resource-based policies in CodeGuru Profiler&lt;/a&gt; in the &lt;i&gt;Amazon CodeGuru Profiler User Guide&lt;/i&gt;, &lt;a href=&quot;https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html&quot;&gt; &lt;code&gt;ConfigureAgent&lt;/code&gt; &lt;/a&gt;, and &lt;a href=&quot;https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html&quot;&gt; &lt;code&gt;PostAgentProfile&lt;/code&gt; &lt;/a&gt;. &lt;/p&gt; &lt;p&gt; The first time you call &lt;code&gt;PutPermission&lt;/code&gt; on a profiling group, do not specify a &lt;code&gt;revisionId&lt;/code&gt; because it doesn't have a resource-based policy. Subsequent calls must provide a &lt;code&gt;revisionId&lt;/code&gt; to specify which revision of the resource-based policy to add the permissions to. &lt;/p&gt; &lt;p&gt; The response contains the profiling group's JSON-formatted resource policy. &lt;/p&gt; </code></pre>",
2122
"RemoveNotificationChannel": "<p>Remove one anomaly notifications channel for a profiling group.</p>",
2223
"RemovePermission": "<p> Removes permissions from a profiling group's resource-based policy that are provided using an action group. The one supported action group that can be removed is <code>agentPermission</code> which grants <code>ConfigureAgent</code> and <code>PostAgent</code> permissions. For more information, see <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-ug/resource-based-policies.html\">Resource-based policies in CodeGuru Profiler</a> in the <i>Amazon CodeGuru Profiler User Guide</i>, <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ConfigureAgent.html\"> <code>ConfigureAgent</code> </a>, and <a href=\"https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_PostAgentProfile.html\"> <code>PostAgentProfile</code> </a>. </p>",
2324
"SubmitFeedback": "<p>Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.</p>",
25+
"TagResource": "<p> Use to assign one or more tags to a resource. </p>",
26+
"UntagResource": "<p> Use to remove one or more tags from a resource. </p>",
2427
"UpdateProfilingGroup": "<p>Updates a profiling group.</p>"
2528
},
2629
"shapes": {
@@ -413,6 +416,16 @@
413416
"refs": {
414417
}
415418
},
419+
"ListTagsForResourceRequest": {
420+
"base": null,
421+
"refs": {
422+
}
423+
},
424+
"ListTagsForResourceResponse": {
425+
"base": null,
426+
"refs": {
427+
}
428+
},
416429
"Locale": {
417430
"base": "<p>BCP47 language code. Supported locales: de-DE, en-GB, en-US, es-ES, fr-FR, it-IT, ja-JP, ko-KR, pt-BR, zh-CN, zh-TW</p>",
418431
"refs": {
@@ -554,7 +567,10 @@
554567
"ProfilingGroupArn": {
555568
"base": null,
556569
"refs": {
557-
"ProfilingGroupDescription$arn": "<p>The Amazon Resource Name (ARN) identifying the profiling group resource.</p>"
570+
"ListTagsForResourceRequest$resourceArn": "<p> The Amazon Resource Name (ARN) of the resource that contains the tags to return. </p>",
571+
"ProfilingGroupDescription$arn": "<p>The Amazon Resource Name (ARN) identifying the profiling group resource.</p>",
572+
"TagResourceRequest$resourceArn": "<p> The Amazon Resource Name (ARN) of the resource that the tags are added to. </p>",
573+
"UntagResourceRequest$resourceArn": "<p> The Amazon Resource Name (ARN) of the resource that contains the tags to remove. </p>"
558574
}
559575
},
560576
"ProfilingGroupDescription": {
@@ -700,6 +716,9 @@
700716
"ServiceQuotaExceededException$message": null,
701717
"Strings$member": null,
702718
"SubmitFeedbackRequest$comment": "<p>Optional feedback about this anomaly.</p>",
719+
"TagKeys$member": null,
720+
"TagsMap$key": null,
721+
"TagsMap$value": null,
703722
"TargetFrame$member": null,
704723
"ThreadStates$member": null,
705724
"ThrottlingException$message": null,
@@ -724,6 +743,31 @@
724743
"refs": {
725744
}
726745
},
746+
"TagKeys": {
747+
"base": null,
748+
"refs": {
749+
"UntagResourceRequest$tagKeys": "<p> A list of tag keys. Existing tags of resources with keys in this list are removed from the specified resource. </p>"
750+
}
751+
},
752+
"TagResourceRequest": {
753+
"base": null,
754+
"refs": {
755+
}
756+
},
757+
"TagResourceResponse": {
758+
"base": null,
759+
"refs": {
760+
}
761+
},
762+
"TagsMap": {
763+
"base": null,
764+
"refs": {
765+
"CreateProfilingGroupRequest$tags": "<p> A list of tags to add to the created profiling group. </p>",
766+
"ListTagsForResourceResponse$tags": "<p> The list of tags assigned to the specified resource. This is the list of tags returned in the response. </p>",
767+
"ProfilingGroupDescription$tags": "<p> A list of the tags that belong to this profiling group. </p>",
768+
"TagResourceRequest$tags": "<p> The list of tags that are added to the specified resource. </p>"
769+
}
770+
},
727771
"TargetFrame": {
728772
"base": null,
729773
"refs": {
@@ -791,6 +835,16 @@
791835
"BatchGetFrameMetricDataResponse$unprocessedEndTimes": "<p>List of instances which remained unprocessed. This will create a missing time step in the list of end times.</p>"
792836
}
793837
},
838+
"UntagResourceRequest": {
839+
"base": null,
840+
"refs": {
841+
}
842+
},
843+
"UntagResourceResponse": {
844+
"base": null,
845+
"refs": {
846+
}
847+
},
794848
"UpdateProfilingGroupRequest": {
795849
"base": "<p>The structure representing the updateProfilingGroupRequest.</p>",
796850
"refs": {

0 commit comments

Comments
 (0)