|
75 | 75 | { "shape": "AccessDeniedException" }
|
76 | 76 | ]
|
77 | 77 | },
|
| 78 | + "ListAvailableCustomizations": { |
| 79 | + "name": "ListAvailableCustomizations", |
| 80 | + "http": { |
| 81 | + "method": "POST", |
| 82 | + "requestUri": "/" |
| 83 | + }, |
| 84 | + "input": { "shape": "ListAvailableCustomizationsRequest" }, |
| 85 | + "output": { "shape": "ListAvailableCustomizationsResponse" }, |
| 86 | + "errors": [ |
| 87 | + { "shape": "ThrottlingException" }, |
| 88 | + { "shape": "InternalServerException" }, |
| 89 | + { "shape": "ValidationException" }, |
| 90 | + { "shape": "AccessDeniedException" } |
| 91 | + ] |
| 92 | + }, |
78 | 93 | "ListCodeAnalysisFindings": {
|
79 | 94 | "name": "ListCodeAnalysisFindings",
|
80 | 95 | "http": {
|
|
164 | 179 | "type": "structure",
|
165 | 180 | "required": ["programmingLanguage", "acceptedCharacterCount", "totalCharacterCount", "timestamp"],
|
166 | 181 | "members": {
|
| 182 | + "customizationArn": { "shape": "ResourceArn" }, |
167 | 183 | "programmingLanguage": { "shape": "ProgrammingLanguage" },
|
168 | 184 | "acceptedCharacterCount": { "shape": "SensitiveInteger" },
|
169 | 185 | "totalCharacterCount": { "shape": "SensitiveInteger" },
|
|
240 | 256 | "kmsKeyArn": { "shape": "ResourceArn" }
|
241 | 257 | }
|
242 | 258 | },
|
| 259 | + "Customization": { |
| 260 | + "type": "structure", |
| 261 | + "required": ["arn"], |
| 262 | + "members": { |
| 263 | + "arn": { "shape": "ResourceArn" }, |
| 264 | + "name": { "shape": "CustomizationName" }, |
| 265 | + "description": { "shape": "Description" } |
| 266 | + } |
| 267 | + }, |
| 268 | + "CustomizationName": { |
| 269 | + "type": "string", |
| 270 | + "max": 100, |
| 271 | + "min": 1, |
| 272 | + "pattern": "[a-zA-Z][a-zA-Z0-9_-]*" |
| 273 | + }, |
| 274 | + "Customizations": { |
| 275 | + "type": "list", |
| 276 | + "member": { "shape": "Customization" } |
| 277 | + }, |
| 278 | + "Description": { |
| 279 | + "type": "string", |
| 280 | + "max": 256, |
| 281 | + "min": 0 |
| 282 | + }, |
| 283 | + "Double": { |
| 284 | + "type": "double", |
| 285 | + "box": true |
| 286 | + }, |
243 | 287 | "FileContext": {
|
244 | 288 | "type": "structure",
|
245 | 289 | "required": ["leftFileContent", "rightFileContent", "filename", "programmingLanguage"],
|
|
276 | 320 | "maxResults": { "shape": "GenerateCompletionsRequestMaxResultsInteger" },
|
277 | 321 | "nextToken": { "shape": "GenerateCompletionsRequestNextTokenString" },
|
278 | 322 | "referenceTrackerConfiguration": { "shape": "ReferenceTrackerConfiguration" },
|
279 |
| - "supplementalContexts": { "shape": "SupplementalContextList" } |
| 323 | + "supplementalContexts": { "shape": "SupplementalContextList" }, |
| 324 | + "customizationArn": { "shape": "ResourceArn" } |
280 | 325 | }
|
281 | 326 | },
|
282 | 327 | "GenerateCompletionsRequestMaxResultsInteger": {
|
|
351 | 396 | "fault": true,
|
352 | 397 | "retryable": { "throttling": false }
|
353 | 398 | },
|
| 399 | + "ListAvailableCustomizationsRequest": { |
| 400 | + "type": "structure", |
| 401 | + "members": { |
| 402 | + "maxResults": { "shape": "ListAvailableCustomizationsRequestMaxResultsInteger" }, |
| 403 | + "nextToken": { "shape": "Base64EncodedPaginationToken" } |
| 404 | + } |
| 405 | + }, |
| 406 | + "ListAvailableCustomizationsRequestMaxResultsInteger": { |
| 407 | + "type": "integer", |
| 408 | + "box": true, |
| 409 | + "max": 100, |
| 410 | + "min": 1 |
| 411 | + }, |
| 412 | + "ListAvailableCustomizationsResponse": { |
| 413 | + "type": "structure", |
| 414 | + "required": ["customizations"], |
| 415 | + "members": { |
| 416 | + "customizations": { "shape": "Customizations" }, |
| 417 | + "nextToken": { "shape": "Base64EncodedPaginationToken" } |
| 418 | + } |
| 419 | + }, |
354 | 420 | "ListCodeAnalysisFindingsRequest": {
|
355 | 421 | "type": "structure",
|
356 | 422 | "required": ["jobId", "codeAnalysisFindingsSchema"],
|
|
598 | 664 | "requestId": { "shape": "UUID" },
|
599 | 665 | "programmingLanguage": { "shape": "ProgrammingLanguage" },
|
600 | 666 | "modificationPercentage": { "shape": "SensitiveDouble" },
|
| 667 | + "customizationArn": { "shape": "ResourceArn" }, |
601 | 668 | "timestamp": { "shape": "Timestamp" }
|
602 | 669 | }
|
603 | 670 | },
|
|
615 | 682 | "members": {
|
616 | 683 | "sessionId": { "shape": "UUID" },
|
617 | 684 | "requestId": { "shape": "UUID" },
|
| 685 | + "customizationArn": { "shape": "ResourceArn" }, |
618 | 686 | "programmingLanguage": { "shape": "ProgrammingLanguage" },
|
619 | 687 | "completionType": { "shape": "CompletionType" },
|
620 | 688 | "suggestionState": { "shape": "SuggestionState" },
|
|
0 commit comments