| 1 |
{ |
| 2 |
"metadata": { |
| 3 |
"apiVersion": "2023-08-08", |
| 4 |
"endpointPrefix": "inspector-scan", |
| 5 |
"jsonVersion": "1.1", |
| 6 |
"protocol": "rest-json", |
| 7 |
"serviceAbbreviation": "inspector-scan", |
| 8 |
"serviceFullName": "Inspector Scan", |
| 9 |
"serviceId": "Inspector Scan", |
| 10 |
"signatureVersion": "v4", |
| 11 |
"signingName": "inspector-scan", |
| 12 |
"uid": "inspector-scan-2023-08-08" |
| 13 |
}, |
| 14 |
"operations": {}, |
| 15 |
"shapes": { |
| 16 |
"AccessDeniedException": { |
| 17 |
"error": { |
| 18 |
"httpStatusCode": 403, |
| 19 |
"senderFault": true |
| 20 |
}, |
| 21 |
"exception": true, |
| 22 |
"members": { |
| 23 |
"message": { |
| 24 |
"shape": "String" |
| 25 |
} |
| 26 |
}, |
| 27 |
"required": [ |
| 28 |
"message" |
| 29 |
], |
| 30 |
"type": "structure" |
| 31 |
}, |
| 32 |
"Integer": { |
| 33 |
"box": true, |
| 34 |
"type": "integer" |
| 35 |
}, |
| 36 |
"InternalServerException": { |
| 37 |
"error": { |
| 38 |
"httpStatusCode": 500 |
| 39 |
}, |
| 40 |
"exception": true, |
| 41 |
"fault": true, |
| 42 |
"members": { |
| 43 |
"message": { |
| 44 |
"shape": "String" |
| 45 |
}, |
| 46 |
"reason": { |
| 47 |
"shape": "InternalServerExceptionReason" |
| 48 |
}, |
| 49 |
"retryAfterSeconds": { |
| 50 |
"location": "header", |
| 51 |
"locationName": "Retry-After", |
| 52 |
"shape": "Integer" |
| 53 |
} |
| 54 |
}, |
| 55 |
"required": [ |
| 56 |
"message", |
| 57 |
"reason" |
| 58 |
], |
| 59 |
"retryable": { |
| 60 |
"throttling": false |
| 61 |
}, |
| 62 |
"type": "structure" |
| 63 |
}, |
| 64 |
"InternalServerExceptionReason": { |
| 65 |
"enum": [ |
| 66 |
"FAILED_TO_GENERATE_SBOM", |
| 67 |
"OTHER" |
| 68 |
], |
| 69 |
"type": "string" |
| 70 |
}, |
| 71 |
"OutputFormat": { |
| 72 |
"enum": [ |
| 73 |
"CYCLONE_DX_1_5", |
| 74 |
"INSPECTOR" |
| 75 |
], |
| 76 |
"type": "string" |
| 77 |
}, |
| 78 |
"ScanSbomResponse": { |
| 79 |
"members": {}, |
| 80 |
"type": "structure" |
| 81 |
}, |
| 82 |
"String": { |
| 83 |
"type": "string" |
| 84 |
}, |
| 85 |
"ThrottlingException": { |
| 86 |
"error": { |
| 87 |
"httpStatusCode": 429, |
| 88 |
"senderFault": true |
| 89 |
}, |
| 90 |
"exception": true, |
| 91 |
"members": { |
| 92 |
"message": { |
| 93 |
"shape": "String" |
| 94 |
}, |
| 95 |
"retryAfterSeconds": { |
| 96 |
"location": "header", |
| 97 |
"locationName": "Retry-After", |
| 98 |
"shape": "Integer" |
| 99 |
} |
| 100 |
}, |
| 101 |
"required": [ |
| 102 |
"message" |
| 103 |
], |
| 104 |
"retryable": { |
| 105 |
"throttling": true |
| 106 |
}, |
| 107 |
"type": "structure" |
| 108 |
}, |
| 109 |
"ValidationException": { |
| 110 |
"error": { |
| 111 |
"httpStatusCode": 400, |
| 112 |
"senderFault": true |
| 113 |
}, |
| 114 |
"exception": true, |
| 115 |
"members": { |
| 116 |
"fields": { |
| 117 |
"shape": "ValidationExceptionFields" |
| 118 |
}, |
| 119 |
"message": { |
| 120 |
"shape": "String" |
| 121 |
}, |
| 122 |
"reason": { |
| 123 |
"shape": "ValidationExceptionReason" |
| 124 |
} |
| 125 |
}, |
| 126 |
"required": [ |
| 127 |
"message", |
| 128 |
"reason" |
| 129 |
], |
| 130 |
"type": "structure" |
| 131 |
}, |
| 132 |
"ValidationExceptionField": { |
| 133 |
"members": { |
| 134 |
"message": { |
| 135 |
"shape": "String" |
| 136 |
}, |
| 137 |
"name": { |
| 138 |
"shape": "String" |
| 139 |
} |
| 140 |
}, |
| 141 |
"required": [ |
| 142 |
"name", |
| 143 |
"message" |
| 144 |
], |
| 145 |
"type": "structure" |
| 146 |
}, |
| 147 |
"ValidationExceptionFields": { |
| 148 |
"member": { |
| 149 |
"shape": "ValidationExceptionField" |
| 150 |
}, |
| 151 |
"type": "list" |
| 152 |
}, |
| 153 |
"ValidationExceptionReason": { |
| 154 |
"enum": [ |
| 155 |
"UNKNOWN_OPERATION", |
| 156 |
"CANNOT_PARSE", |
| 157 |
"FIELD_VALIDATION_FAILED", |
| 158 |
"UNSUPPORTED_SBOM_TYPE", |
| 159 |
"OTHER" |
| 160 |
], |
| 161 |
"type": "string" |
| 162 |
} |
| 163 |
}, |
| 164 |
"version": "2.0" |
| 165 |
} |