|
83 | 83 | ],
|
84 | 84 | "documentation":"<p>Describes a profiling group.</p>"
|
85 | 85 | },
|
| 86 | + "GetPolicy":{ |
| 87 | + "name":"GetPolicy", |
| 88 | + "http":{ |
| 89 | + "method":"GET", |
| 90 | + "requestUri":"/profilingGroups/{profilingGroupName}/policy", |
| 91 | + "responseCode":200 |
| 92 | + }, |
| 93 | + "input":{"shape":"GetPolicyRequest"}, |
| 94 | + "output":{"shape":"GetPolicyResponse"}, |
| 95 | + "errors":[ |
| 96 | + {"shape":"InternalServerException"}, |
| 97 | + {"shape":"ThrottlingException"}, |
| 98 | + {"shape":"ResourceNotFoundException"} |
| 99 | + ], |
| 100 | + "documentation":"<p>Gets the profiling group policy.</p>" |
| 101 | + }, |
86 | 102 | "GetProfile":{
|
87 | 103 | "name":"GetProfile",
|
88 | 104 | "http":{
|
|
149 | 165 | ],
|
150 | 166 | "documentation":"<p/>"
|
151 | 167 | },
|
| 168 | + "PutPermission":{ |
| 169 | + "name":"PutPermission", |
| 170 | + "http":{ |
| 171 | + "method":"PUT", |
| 172 | + "requestUri":"/profilingGroups/{profilingGroupName}/policy/{actionGroup}", |
| 173 | + "responseCode":200 |
| 174 | + }, |
| 175 | + "input":{"shape":"PutPermissionRequest"}, |
| 176 | + "output":{"shape":"PutPermissionResponse"}, |
| 177 | + "errors":[ |
| 178 | + {"shape":"InternalServerException"}, |
| 179 | + {"shape":"ConflictException"}, |
| 180 | + {"shape":"ValidationException"}, |
| 181 | + {"shape":"ThrottlingException"}, |
| 182 | + {"shape":"ResourceNotFoundException"} |
| 183 | + ], |
| 184 | + "documentation":"<p>Provides permission to the principals. This overwrites the existing permissions, and is not additive.</p>", |
| 185 | + "idempotent":true |
| 186 | + }, |
| 187 | + "RemovePermission":{ |
| 188 | + "name":"RemovePermission", |
| 189 | + "http":{ |
| 190 | + "method":"DELETE", |
| 191 | + "requestUri":"/profilingGroups/{profilingGroupName}/policy/{actionGroup}", |
| 192 | + "responseCode":200 |
| 193 | + }, |
| 194 | + "input":{"shape":"RemovePermissionRequest"}, |
| 195 | + "output":{"shape":"RemovePermissionResponse"}, |
| 196 | + "errors":[ |
| 197 | + {"shape":"InternalServerException"}, |
| 198 | + {"shape":"ConflictException"}, |
| 199 | + {"shape":"ValidationException"}, |
| 200 | + {"shape":"ThrottlingException"}, |
| 201 | + {"shape":"ResourceNotFoundException"} |
| 202 | + ], |
| 203 | + "documentation":"<p>Removes statement for the provided action group from the policy.</p>" |
| 204 | + }, |
152 | 205 | "UpdateProfilingGroup":{
|
153 | 206 | "name":"UpdateProfilingGroup",
|
154 | 207 | "http":{
|
|
170 | 223 | }
|
171 | 224 | },
|
172 | 225 | "shapes":{
|
| 226 | + "ActionGroup":{ |
| 227 | + "type":"string", |
| 228 | + "enum":["agentPermissions"] |
| 229 | + }, |
173 | 230 | "AgentConfiguration":{
|
174 | 231 | "type":"structure",
|
175 | 232 | "required":[
|
|
362 | 419 | "min":1,
|
363 | 420 | "pattern":"^[\\w-.:/]+$"
|
364 | 421 | },
|
| 422 | + "GetPolicyRequest":{ |
| 423 | + "type":"structure", |
| 424 | + "required":["profilingGroupName"], |
| 425 | + "members":{ |
| 426 | + "profilingGroupName":{ |
| 427 | + "shape":"ProfilingGroupName", |
| 428 | + "documentation":"<p>The name of the profiling group.</p>", |
| 429 | + "location":"uri", |
| 430 | + "locationName":"profilingGroupName" |
| 431 | + } |
| 432 | + }, |
| 433 | + "documentation":"<p>The structure representing the getPolicyRequest.</p>" |
| 434 | + }, |
| 435 | + "GetPolicyResponse":{ |
| 436 | + "type":"structure", |
| 437 | + "required":[ |
| 438 | + "policy", |
| 439 | + "revisionId" |
| 440 | + ], |
| 441 | + "members":{ |
| 442 | + "policy":{ |
| 443 | + "shape":"String", |
| 444 | + "documentation":"<p>The resource-based policy attached to the <code>ProfilingGroup</code>.</p>" |
| 445 | + }, |
| 446 | + "revisionId":{ |
| 447 | + "shape":"RevisionId", |
| 448 | + "documentation":"<p>A unique identifier for the current revision of the policy.</p>" |
| 449 | + } |
| 450 | + }, |
| 451 | + "documentation":"<p>The structure representing the getPolicyResponse.</p>" |
| 452 | + }, |
365 | 453 | "GetProfileRequest":{
|
366 | 454 | "type":"structure",
|
367 | 455 | "required":["profilingGroupName"],
|
|
630 | 718 | },
|
631 | 719 | "documentation":"<p>The structure representing the postAgentProfileResponse.</p>"
|
632 | 720 | },
|
| 721 | + "Principal":{"type":"string"}, |
| 722 | + "Principals":{ |
| 723 | + "type":"list", |
| 724 | + "member":{"shape":"Principal"}, |
| 725 | + "max":50, |
| 726 | + "min":1 |
| 727 | + }, |
633 | 728 | "ProfileTime":{
|
634 | 729 | "type":"structure",
|
635 | 730 | "members":{
|
|
707 | 802 | },
|
708 | 803 | "documentation":"<p>Information about the profiling status.</p>"
|
709 | 804 | },
|
| 805 | + "PutPermissionRequest":{ |
| 806 | + "type":"structure", |
| 807 | + "required":[ |
| 808 | + "actionGroup", |
| 809 | + "principals", |
| 810 | + "profilingGroupName" |
| 811 | + ], |
| 812 | + "members":{ |
| 813 | + "actionGroup":{ |
| 814 | + "shape":"ActionGroup", |
| 815 | + "documentation":"<p>The list of actions that the users and roles can perform on the profiling group.</p>", |
| 816 | + "location":"uri", |
| 817 | + "locationName":"actionGroup" |
| 818 | + }, |
| 819 | + "principals":{ |
| 820 | + "shape":"Principals", |
| 821 | + "documentation":"<p>The list of role and user ARNs or the accountId that needs access (wildcards are not allowed).</p>" |
| 822 | + }, |
| 823 | + "profilingGroupName":{ |
| 824 | + "shape":"ProfilingGroupName", |
| 825 | + "documentation":"<p>The name of the profiling group.</p>", |
| 826 | + "location":"uri", |
| 827 | + "locationName":"profilingGroupName" |
| 828 | + }, |
| 829 | + "revisionId":{ |
| 830 | + "shape":"RevisionId", |
| 831 | + "documentation":"<p>A unique identifier for the current revision of the policy. This is required, if a policy exists for the profiling group. This is not required when creating the policy for the first time.</p>" |
| 832 | + } |
| 833 | + }, |
| 834 | + "documentation":"<p>The structure representing the putPermissionRequest.</p>" |
| 835 | + }, |
| 836 | + "PutPermissionResponse":{ |
| 837 | + "type":"structure", |
| 838 | + "required":[ |
| 839 | + "policy", |
| 840 | + "revisionId" |
| 841 | + ], |
| 842 | + "members":{ |
| 843 | + "policy":{ |
| 844 | + "shape":"String", |
| 845 | + "documentation":"<p>The resource-based policy.</p>" |
| 846 | + }, |
| 847 | + "revisionId":{ |
| 848 | + "shape":"RevisionId", |
| 849 | + "documentation":"<p>A unique identifier for the current revision of the policy.</p>" |
| 850 | + } |
| 851 | + }, |
| 852 | + "documentation":"<p>The structure representing the putPermissionResponse.</p>" |
| 853 | + }, |
| 854 | + "RemovePermissionRequest":{ |
| 855 | + "type":"structure", |
| 856 | + "required":[ |
| 857 | + "actionGroup", |
| 858 | + "profilingGroupName", |
| 859 | + "revisionId" |
| 860 | + ], |
| 861 | + "members":{ |
| 862 | + "actionGroup":{ |
| 863 | + "shape":"ActionGroup", |
| 864 | + "documentation":"<p>The list of actions that the users and roles can perform on the profiling group.</p>", |
| 865 | + "location":"uri", |
| 866 | + "locationName":"actionGroup" |
| 867 | + }, |
| 868 | + "profilingGroupName":{ |
| 869 | + "shape":"ProfilingGroupName", |
| 870 | + "documentation":"<p>The name of the profiling group.</p>", |
| 871 | + "location":"uri", |
| 872 | + "locationName":"profilingGroupName" |
| 873 | + }, |
| 874 | + "revisionId":{ |
| 875 | + "shape":"RevisionId", |
| 876 | + "documentation":"<p>A unique identifier for the current revision of the policy.</p>", |
| 877 | + "location":"querystring", |
| 878 | + "locationName":"revisionId" |
| 879 | + } |
| 880 | + }, |
| 881 | + "documentation":"<p>The structure representing the removePermissionRequest.</p>" |
| 882 | + }, |
| 883 | + "RemovePermissionResponse":{ |
| 884 | + "type":"structure", |
| 885 | + "required":[ |
| 886 | + "policy", |
| 887 | + "revisionId" |
| 888 | + ], |
| 889 | + "members":{ |
| 890 | + "policy":{ |
| 891 | + "shape":"String", |
| 892 | + "documentation":"<p>The resource-based policy.</p>" |
| 893 | + }, |
| 894 | + "revisionId":{ |
| 895 | + "shape":"RevisionId", |
| 896 | + "documentation":"<p>A unique identifier for the current revision of the policy.</p>" |
| 897 | + } |
| 898 | + }, |
| 899 | + "documentation":"<p>The structure representing the removePermissionResponse.</p>" |
| 900 | + }, |
710 | 901 | "ResourceNotFoundException":{
|
711 | 902 | "type":"structure",
|
712 | 903 | "required":["message"],
|
|
720 | 911 | },
|
721 | 912 | "exception":true
|
722 | 913 | },
|
| 914 | + "RevisionId":{ |
| 915 | + "type":"string", |
| 916 | + "pattern":"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" |
| 917 | + }, |
723 | 918 | "ServiceQuotaExceededException":{
|
724 | 919 | "type":"structure",
|
725 | 920 | "required":["message"],
|
|
0 commit comments