|
46 | 46 | {"shape":"ThrottlingException"}
|
47 | 47 | ]
|
48 | 48 | },
|
| 49 | + "ListControlMappings":{ |
| 50 | + "name":"ListControlMappings", |
| 51 | + "http":{ |
| 52 | + "method":"POST", |
| 53 | + "requestUri":"/list-control-mappings", |
| 54 | + "responseCode":200 |
| 55 | + }, |
| 56 | + "input":{"shape":"ListControlMappingsRequest"}, |
| 57 | + "output":{"shape":"ListControlMappingsResponse"}, |
| 58 | + "errors":[ |
| 59 | + {"shape":"AccessDeniedException"}, |
| 60 | + {"shape":"InternalServerException"}, |
| 61 | + {"shape":"ValidationException"}, |
| 62 | + {"shape":"ThrottlingException"} |
| 63 | + ] |
| 64 | + }, |
49 | 65 | "ListControls":{
|
50 | 66 | "name":"ListControls",
|
51 | 67 | "http":{
|
|
127 | 143 | "min":41,
|
128 | 144 | "pattern":"arn:(aws(?:[-a-z]*)?):controlcatalog:::common-control/[0-9a-z]+"
|
129 | 145 | },
|
| 146 | + "CommonControlArnFilterList":{ |
| 147 | + "type":"list", |
| 148 | + "member":{"shape":"CommonControlArn"}, |
| 149 | + "max":1, |
| 150 | + "min":1 |
| 151 | + }, |
130 | 152 | "CommonControlFilter":{
|
131 | 153 | "type":"structure",
|
132 | 154 | "members":{
|
133 | 155 | "Objectives":{"shape":"ObjectiveResourceFilterList"}
|
134 | 156 | }
|
135 | 157 | },
|
| 158 | + "CommonControlMappingDetails":{ |
| 159 | + "type":"structure", |
| 160 | + "required":["CommonControlArn"], |
| 161 | + "members":{ |
| 162 | + "CommonControlArn":{"shape":"CommonControlArn"} |
| 163 | + } |
| 164 | + }, |
136 | 165 | "CommonControlSummary":{
|
137 | 166 | "type":"structure",
|
138 | 167 | "required":[
|
|
158 | 187 | "type":"list",
|
159 | 188 | "member":{"shape":"CommonControlSummary"}
|
160 | 189 | },
|
| 190 | + "ControlAlias":{ |
| 191 | + "type":"string", |
| 192 | + "pattern":"[a-zA-Z0-9](?:[a-zA-Z0-9_.-]{0,254}[a-zA-Z0-9])" |
| 193 | + }, |
| 194 | + "ControlAliases":{ |
| 195 | + "type":"list", |
| 196 | + "member":{"shape":"ControlAlias"} |
| 197 | + }, |
161 | 198 | "ControlArn":{
|
162 | 199 | "type":"string",
|
163 | 200 | "max":2048,
|
164 | 201 | "min":34,
|
165 | 202 | "pattern":"arn:(aws(?:[-a-z]*)?):(controlcatalog|controltower):[a-zA-Z0-9-]*::control/[0-9a-zA-Z_\\-]+"
|
166 | 203 | },
|
| 204 | + "ControlArnFilterList":{ |
| 205 | + "type":"list", |
| 206 | + "member":{"shape":"ControlArn"}, |
| 207 | + "max":1, |
| 208 | + "min":1 |
| 209 | + }, |
167 | 210 | "ControlBehavior":{
|
168 | 211 | "type":"string",
|
169 | 212 | "enum":[
|
|
172 | 215 | "DETECTIVE"
|
173 | 216 | ]
|
174 | 217 | },
|
| 218 | + "ControlFilter":{ |
| 219 | + "type":"structure", |
| 220 | + "members":{ |
| 221 | + "Implementations":{"shape":"ImplementationFilter"} |
| 222 | + } |
| 223 | + }, |
| 224 | + "ControlMapping":{ |
| 225 | + "type":"structure", |
| 226 | + "required":[ |
| 227 | + "ControlArn", |
| 228 | + "MappingType", |
| 229 | + "Mapping" |
| 230 | + ], |
| 231 | + "members":{ |
| 232 | + "ControlArn":{"shape":"ControlArn"}, |
| 233 | + "MappingType":{"shape":"MappingType"}, |
| 234 | + "Mapping":{"shape":"Mapping"} |
| 235 | + } |
| 236 | + }, |
| 237 | + "ControlMappingFilter":{ |
| 238 | + "type":"structure", |
| 239 | + "members":{ |
| 240 | + "ControlArns":{"shape":"ControlArnFilterList"}, |
| 241 | + "CommonControlArns":{"shape":"CommonControlArnFilterList"}, |
| 242 | + "MappingTypes":{"shape":"MappingTypeFilterList"} |
| 243 | + } |
| 244 | + }, |
| 245 | + "ControlMappings":{ |
| 246 | + "type":"list", |
| 247 | + "member":{"shape":"ControlMapping"} |
| 248 | + }, |
175 | 249 | "ControlParameter":{
|
176 | 250 | "type":"structure",
|
177 | 251 | "required":["Name"],
|
|
208 | 282 | ],
|
209 | 283 | "members":{
|
210 | 284 | "Arn":{"shape":"ControlArn"},
|
| 285 | + "Aliases":{"shape":"ControlAliases"}, |
211 | 286 | "Name":{"shape":"String"},
|
212 | 287 | "Description":{"shape":"String"},
|
213 | 288 | "Behavior":{"shape":"ControlBehavior"},
|
214 | 289 | "Severity":{"shape":"ControlSeverity"},
|
215 | 290 | "Implementation":{"shape":"ImplementationSummary"},
|
216 |
| - "CreateTime":{"shape":"Timestamp"} |
| 291 | + "CreateTime":{"shape":"Timestamp"}, |
| 292 | + "GovernedResources":{"shape":"GovernedResources"} |
217 | 293 | }
|
218 | 294 | },
|
219 | 295 | "Controls":{
|
|
261 | 337 | "type":"list",
|
262 | 338 | "member":{"shape":"DomainSummary"}
|
263 | 339 | },
|
| 340 | + "FrameworkItem":{ |
| 341 | + "type":"string", |
| 342 | + "max":250, |
| 343 | + "min":3 |
| 344 | + }, |
| 345 | + "FrameworkMappingDetails":{ |
| 346 | + "type":"structure", |
| 347 | + "required":[ |
| 348 | + "Name", |
| 349 | + "Item" |
| 350 | + ], |
| 351 | + "members":{ |
| 352 | + "Name":{"shape":"FrameworkName"}, |
| 353 | + "Item":{"shape":"FrameworkItem"} |
| 354 | + } |
| 355 | + }, |
| 356 | + "FrameworkName":{ |
| 357 | + "type":"string", |
| 358 | + "max":250, |
| 359 | + "min":3 |
| 360 | + }, |
264 | 361 | "GetControlRequest":{
|
265 | 362 | "type":"structure",
|
266 | 363 | "required":["ControlArn"],
|
|
279 | 376 | ],
|
280 | 377 | "members":{
|
281 | 378 | "Arn":{"shape":"ControlArn"},
|
| 379 | + "Aliases":{"shape":"ControlAliases"}, |
282 | 380 | "Name":{"shape":"String"},
|
283 | 381 | "Description":{"shape":"String"},
|
284 | 382 | "Behavior":{"shape":"ControlBehavior"},
|
285 | 383 | "Severity":{"shape":"ControlSeverity"},
|
286 | 384 | "RegionConfiguration":{"shape":"RegionConfiguration"},
|
287 | 385 | "Implementation":{"shape":"ImplementationDetails"},
|
288 | 386 | "Parameters":{"shape":"ControlParameters"},
|
289 |
| - "CreateTime":{"shape":"Timestamp"} |
| 387 | + "CreateTime":{"shape":"Timestamp"}, |
| 388 | + "GovernedResources":{"shape":"GovernedResources"} |
290 | 389 | }
|
291 | 390 | },
|
| 391 | + "GovernedResource":{ |
| 392 | + "type":"string", |
| 393 | + "pattern":"[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}" |
| 394 | + }, |
| 395 | + "GovernedResources":{ |
| 396 | + "type":"list", |
| 397 | + "member":{"shape":"GovernedResource"} |
| 398 | + }, |
292 | 399 | "ImplementationDetails":{
|
293 | 400 | "type":"structure",
|
294 | 401 | "required":["Type"],
|
|
297 | 404 | "Identifier":{"shape":"ImplementationIdentifier"}
|
298 | 405 | }
|
299 | 406 | },
|
| 407 | + "ImplementationFilter":{ |
| 408 | + "type":"structure", |
| 409 | + "members":{ |
| 410 | + "Types":{"shape":"ImplementationTypeFilterList"}, |
| 411 | + "Identifiers":{"shape":"ImplementationIdentifierFilterList"} |
| 412 | + } |
| 413 | + }, |
300 | 414 | "ImplementationIdentifier":{
|
301 | 415 | "type":"string",
|
302 | 416 | "max":256,
|
303 | 417 | "min":1,
|
304 |
| - "pattern":"[a-z0-9-]+" |
| 418 | + "pattern":"[a-zA-Z0-9_\\.-]+" |
| 419 | + }, |
| 420 | + "ImplementationIdentifierFilterList":{ |
| 421 | + "type":"list", |
| 422 | + "member":{"shape":"ImplementationIdentifier"}, |
| 423 | + "max":1, |
| 424 | + "min":1 |
305 | 425 | },
|
306 | 426 | "ImplementationSummary":{
|
307 | 427 | "type":"structure",
|
|
317 | 437 | "min":7,
|
318 | 438 | "pattern":"[A-Za-z0-9]+(::[A-Za-z0-9_]+){2,3}"
|
319 | 439 | },
|
| 440 | + "ImplementationTypeFilterList":{ |
| 441 | + "type":"list", |
| 442 | + "member":{"shape":"ImplementationType"}, |
| 443 | + "max":1, |
| 444 | + "min":1 |
| 445 | + }, |
320 | 446 | "InternalServerException":{
|
321 | 447 | "type":"structure",
|
322 | 448 | "members":{
|
|
351 | 477 | "NextToken":{"shape":"PaginationToken"}
|
352 | 478 | }
|
353 | 479 | },
|
| 480 | + "ListControlMappingsRequest":{ |
| 481 | + "type":"structure", |
| 482 | + "members":{ |
| 483 | + "NextToken":{ |
| 484 | + "shape":"PaginationToken", |
| 485 | + "location":"querystring", |
| 486 | + "locationName":"nextToken" |
| 487 | + }, |
| 488 | + "MaxResults":{ |
| 489 | + "shape":"MaxListControlMappingsResults", |
| 490 | + "location":"querystring", |
| 491 | + "locationName":"maxResults" |
| 492 | + }, |
| 493 | + "Filter":{"shape":"ControlMappingFilter"} |
| 494 | + } |
| 495 | + }, |
| 496 | + "ListControlMappingsResponse":{ |
| 497 | + "type":"structure", |
| 498 | + "required":["ControlMappings"], |
| 499 | + "members":{ |
| 500 | + "ControlMappings":{"shape":"ControlMappings"}, |
| 501 | + "NextToken":{"shape":"PaginationToken"} |
| 502 | + } |
| 503 | + }, |
354 | 504 | "ListControlsRequest":{
|
355 | 505 | "type":"structure",
|
356 | 506 | "members":{
|
|
363 | 513 | "shape":"MaxListControlsResults",
|
364 | 514 | "location":"querystring",
|
365 | 515 | "locationName":"maxResults"
|
366 |
| - } |
| 516 | + }, |
| 517 | + "Filter":{"shape":"ControlFilter"} |
367 | 518 | }
|
368 | 519 | },
|
369 | 520 | "ListControlsResponse":{
|
|
421 | 572 | "NextToken":{"shape":"PaginationToken"}
|
422 | 573 | }
|
423 | 574 | },
|
| 575 | + "Mapping":{ |
| 576 | + "type":"structure", |
| 577 | + "members":{ |
| 578 | + "Framework":{"shape":"FrameworkMappingDetails"}, |
| 579 | + "CommonControl":{"shape":"CommonControlMappingDetails"} |
| 580 | + }, |
| 581 | + "union":true |
| 582 | + }, |
| 583 | + "MappingType":{ |
| 584 | + "type":"string", |
| 585 | + "enum":[ |
| 586 | + "FRAMEWORK", |
| 587 | + "COMMON_CONTROL" |
| 588 | + ] |
| 589 | + }, |
| 590 | + "MappingTypeFilterList":{ |
| 591 | + "type":"list", |
| 592 | + "member":{"shape":"MappingType"}, |
| 593 | + "max":1, |
| 594 | + "min":1 |
| 595 | + }, |
424 | 596 | "MaxListCommonControlsResults":{
|
425 | 597 | "type":"integer",
|
426 | 598 | "box":true,
|
427 | 599 | "max":100,
|
428 | 600 | "min":1
|
429 | 601 | },
|
| 602 | + "MaxListControlMappingsResults":{ |
| 603 | + "type":"integer", |
| 604 | + "box":true, |
| 605 | + "max":1000, |
| 606 | + "min":1 |
| 607 | + }, |
430 | 608 | "MaxListControlsResults":{
|
431 | 609 | "type":"integer",
|
432 | 610 | "box":true,
|
|
0 commit comments