UNPKG

aws-sdk

Version:
2,032 lines • 99.9 kB
{ "version": "2.0", "metadata": { "apiVersion": "2020-06-08", "endpointPrefix": "inspector2", "jsonVersion": "1.1", "protocol": "rest-json", "protocols": [ "rest-json" ], "serviceAbbreviation": "Inspector2", "serviceFullName": "Inspector2", "serviceId": "Inspector2", "signatureVersion": "v4", "signingName": "inspector2", "uid": "inspector2-2020-06-08", "auth": [ "aws.auth#sigv4" ] }, "operations": { "AssociateMember": { "http": { "requestUri": "/members/associate", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } }, "output": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } } }, "BatchGetAccountStatus": { "http": { "requestUri": "/status/batch/get", "responseCode": 200 }, "input": { "type": "structure", "members": { "accountIds": { "shape": "S5" } } }, "output": { "type": "structure", "required": [ "accounts" ], "members": { "accounts": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "resourceState", "state" ], "members": { "accountId": {}, "resourceState": { "type": "structure", "required": [ "ec2", "ecr" ], "members": { "ec2": { "shape": "Sa" }, "ecr": { "shape": "Sa" }, "lambda": { "shape": "Sa" }, "lambdaCode": { "shape": "Sa" } } }, "state": { "shape": "Sa" } } } }, "failedAccounts": { "shape": "Se" } } } }, "BatchGetCodeSnippet": { "http": { "requestUri": "/codesnippet/batchget", "responseCode": 200 }, "input": { "type": "structure", "required": [ "findingArns" ], "members": { "findingArns": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "codeSnippetResults": { "type": "list", "member": { "type": "structure", "members": { "codeSnippet": { "type": "list", "member": { "type": "structure", "required": [ "content", "lineNumber" ], "members": { "content": {}, "lineNumber": { "type": "integer" } } } }, "endLine": { "type": "integer" }, "findingArn": {}, "startLine": { "type": "integer" }, "suggestedFixes": { "type": "list", "member": { "type": "structure", "members": { "code": {}, "description": {} } } } } } }, "errors": { "type": "list", "member": { "type": "structure", "required": [ "errorCode", "errorMessage", "findingArn" ], "members": { "errorCode": {}, "errorMessage": {}, "findingArn": {} } } } } } }, "BatchGetFindingDetails": { "http": { "requestUri": "/findings/details/batch/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "findingArns" ], "members": { "findingArns": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "errors": { "type": "list", "member": { "type": "structure", "required": [ "errorCode", "errorMessage", "findingArn" ], "members": { "errorCode": {}, "errorMessage": {}, "findingArn": {} } } }, "findingDetails": { "type": "list", "member": { "type": "structure", "members": { "cisaData": { "shape": "S16" }, "cwes": { "shape": "S1a" }, "epssScore": { "type": "double" }, "evidences": { "type": "list", "member": { "type": "structure", "members": { "evidenceDetail": {}, "evidenceRule": {}, "severity": {} } } }, "exploitObserved": { "shape": "S1i" }, "findingArn": {}, "referenceUrls": { "shape": "S1l" }, "riskScore": { "type": "integer" }, "tools": { "type": "list", "member": {} }, "ttps": { "shape": "S1q" } } } } } } }, "BatchGetFreeTrialInfo": { "http": { "requestUri": "/freetrialinfo/batchget", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountIds" ], "members": { "accountIds": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "accounts", "failedAccounts" ], "members": { "accounts": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "freeTrialInfo" ], "members": { "accountId": {}, "freeTrialInfo": { "type": "list", "member": { "type": "structure", "required": [ "end", "start", "status", "type" ], "members": { "end": { "type": "timestamp" }, "start": { "type": "timestamp" }, "status": {}, "type": {} } } } } } }, "failedAccounts": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "code", "message" ], "members": { "accountId": {}, "code": {}, "message": {} } } } } } }, "BatchGetMemberEc2DeepInspectionStatus": { "http": { "requestUri": "/ec2deepinspectionstatus/member/batch/get", "responseCode": 200 }, "input": { "type": "structure", "members": { "accountIds": { "shape": "S5" } } }, "output": { "type": "structure", "members": { "accountIds": { "shape": "S29" }, "failedAccountIds": { "shape": "S2c" } } } }, "BatchUpdateMemberEc2DeepInspectionStatus": { "http": { "requestUri": "/ec2deepinspectionstatus/member/batch/update", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountIds" ], "members": { "accountIds": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "activateDeepInspection" ], "members": { "accountId": {}, "activateDeepInspection": { "type": "boolean" } } } } } }, "output": { "type": "structure", "members": { "accountIds": { "shape": "S29" }, "failedAccountIds": { "shape": "S2c" } } } }, "CancelFindingsReport": { "http": { "requestUri": "/reporting/cancel", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportId" ], "members": { "reportId": {} } }, "output": { "type": "structure", "required": [ "reportId" ], "members": { "reportId": {} } } }, "CancelSbomExport": { "http": { "requestUri": "/sbomexport/cancel", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportId" ], "members": { "reportId": {} } }, "output": { "type": "structure", "members": { "reportId": {} } }, "idempotent": true }, "CreateCisScanConfiguration": { "http": { "requestUri": "/cis/scan-configuration/create", "responseCode": 200 }, "input": { "type": "structure", "required": [ "scanName", "schedule", "securityLevel", "targets" ], "members": { "scanName": {}, "schedule": { "shape": "S2q" }, "securityLevel": {}, "tags": { "shape": "S31" }, "targets": { "type": "structure", "required": [ "accountIds", "targetResourceTags" ], "members": { "accountIds": { "shape": "S35" }, "targetResourceTags": { "shape": "S37" } } } } }, "output": { "type": "structure", "members": { "scanConfigurationArn": {} } } }, "CreateFilter": { "http": { "requestUri": "/filters/create", "responseCode": 200 }, "input": { "type": "structure", "required": [ "action", "filterCriteria", "name" ], "members": { "action": {}, "description": {}, "filterCriteria": { "shape": "S3g" }, "name": {}, "reason": {}, "tags": { "shape": "S3z" } } }, "output": { "type": "structure", "required": [ "arn" ], "members": { "arn": {} } } }, "CreateFindingsReport": { "http": { "requestUri": "/reporting/create", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportFormat", "s3Destination" ], "members": { "filterCriteria": { "shape": "S3g" }, "reportFormat": {}, "s3Destination": { "shape": "S44" } } }, "output": { "type": "structure", "members": { "reportId": {} } } }, "CreateSbomExport": { "http": { "requestUri": "/sbomexport/create", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportFormat", "s3Destination" ], "members": { "reportFormat": {}, "resourceFilterCriteria": { "shape": "S48" }, "s3Destination": { "shape": "S44" } } }, "output": { "type": "structure", "members": { "reportId": {} } }, "idempotent": true }, "DeleteCisScanConfiguration": { "http": { "requestUri": "/cis/scan-configuration/delete", "responseCode": 200 }, "input": { "type": "structure", "required": [ "scanConfigurationArn" ], "members": { "scanConfigurationArn": {} } }, "output": { "type": "structure", "required": [ "scanConfigurationArn" ], "members": { "scanConfigurationArn": {} } } }, "DeleteFilter": { "http": { "requestUri": "/filters/delete", "responseCode": 200 }, "input": { "type": "structure", "required": [ "arn" ], "members": { "arn": {} } }, "output": { "type": "structure", "required": [ "arn" ], "members": { "arn": {} } } }, "DescribeOrganizationConfiguration": { "http": { "requestUri": "/organizationconfiguration/describe", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "autoEnable": { "shape": "S4n" }, "maxAccountLimitReached": { "type": "boolean" } } } }, "Disable": { "http": { "requestUri": "/disable", "responseCode": 200 }, "input": { "type": "structure", "members": { "accountIds": { "shape": "S5" }, "resourceTypes": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "accounts" ], "members": { "accounts": { "shape": "S4s" }, "failedAccounts": { "shape": "Se" } } } }, "DisableDelegatedAdminAccount": { "http": { "requestUri": "/delegatedadminaccounts/disable", "responseCode": 200 }, "input": { "type": "structure", "required": [ "delegatedAdminAccountId" ], "members": { "delegatedAdminAccountId": {} } }, "output": { "type": "structure", "required": [ "delegatedAdminAccountId" ], "members": { "delegatedAdminAccountId": {} } } }, "DisassociateMember": { "http": { "requestUri": "/members/disassociate", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } }, "output": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } } }, "Enable": { "http": { "requestUri": "/enable", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceTypes" ], "members": { "accountIds": { "shape": "S5" }, "clientToken": { "idempotencyToken": true }, "resourceTypes": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "accounts" ], "members": { "accounts": { "shape": "S4s" }, "failedAccounts": { "shape": "Se" } } } }, "EnableDelegatedAdminAccount": { "http": { "requestUri": "/delegatedadminaccounts/enable", "responseCode": 200 }, "input": { "type": "structure", "required": [ "delegatedAdminAccountId" ], "members": { "clientToken": { "idempotencyToken": true }, "delegatedAdminAccountId": {} } }, "output": { "type": "structure", "required": [ "delegatedAdminAccountId" ], "members": { "delegatedAdminAccountId": {} } } }, "GetCisScanReport": { "http": { "requestUri": "/cis/scan/report/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "scanArn" ], "members": { "reportFormat": {}, "scanArn": {}, "targetAccounts": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "status": {}, "url": {} } } }, "GetCisScanResultDetails": { "http": { "requestUri": "/cis/scan-result/details/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountId", "scanArn", "targetResourceId" ], "members": { "accountId": {}, "filterCriteria": { "type": "structure", "members": { "checkIdFilters": { "shape": "S5c" }, "findingArnFilters": { "type": "list", "member": { "shape": "S5d" } }, "findingStatusFilters": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "value" ], "members": { "comparison": {}, "value": {} } } }, "securityLevelFilters": { "shape": "S5k" }, "titleFilters": { "shape": "S5n" } } }, "maxResults": { "type": "integer" }, "nextToken": {}, "scanArn": {}, "sortBy": {}, "sortOrder": {}, "targetResourceId": {} } }, "output": { "type": "structure", "members": { "nextToken": {}, "scanResultDetails": { "type": "list", "member": { "type": "structure", "required": [ "scanArn" ], "members": { "accountId": {}, "checkDescription": {}, "checkId": {}, "findingArn": {}, "level": {}, "platform": {}, "remediation": {}, "scanArn": {}, "status": {}, "statusReason": {}, "targetResourceId": {}, "title": {} } } } } } }, "GetConfiguration": { "http": { "requestUri": "/configuration/get", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "ec2Configuration": { "type": "structure", "members": { "scanModeState": { "type": "structure", "members": { "scanMode": {}, "scanModeStatus": {} } } } }, "ecrConfiguration": { "type": "structure", "members": { "rescanDurationState": { "type": "structure", "members": { "pullDateRescanDuration": {}, "rescanDuration": {}, "status": {}, "updatedAt": { "type": "timestamp" } } } } } } } }, "GetDelegatedAdminAccount": { "http": { "requestUri": "/delegatedadminaccounts/get", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "delegatedAdmin": { "type": "structure", "members": { "accountId": {}, "relationshipStatus": {} } } } } }, "GetEc2DeepInspectionConfiguration": { "http": { "requestUri": "/ec2deepinspectionconfiguration/get", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "errorMessage": {}, "orgPackagePaths": { "shape": "S6f" }, "packagePaths": { "shape": "S6f" }, "status": {} } } }, "GetEncryptionKey": { "http": { "method": "GET", "requestUri": "/encryptionkey/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "resourceType", "scanType" ], "members": { "resourceType": { "location": "querystring", "locationName": "resourceType" }, "scanType": { "location": "querystring", "locationName": "scanType" } } }, "output": { "type": "structure", "required": [ "kmsKeyId" ], "members": { "kmsKeyId": {} } } }, "GetFindingsReportStatus": { "http": { "requestUri": "/reporting/status/get", "responseCode": 200 }, "input": { "type": "structure", "members": { "reportId": {} } }, "output": { "type": "structure", "members": { "destination": { "shape": "S44" }, "errorCode": {}, "errorMessage": {}, "filterCriteria": { "shape": "S3g" }, "reportId": {}, "status": {} } } }, "GetMember": { "http": { "requestUri": "/members/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "accountId" ], "members": { "accountId": {} } }, "output": { "type": "structure", "members": { "member": { "shape": "S6t" } } } }, "GetSbomExport": { "http": { "requestUri": "/sbomexport/get", "responseCode": 200 }, "input": { "type": "structure", "required": [ "reportId" ], "members": { "reportId": {} } }, "output": { "type": "structure", "members": { "errorCode": {}, "errorMessage": {}, "filterCriteria": { "shape": "S48" }, "format": {}, "reportId": {}, "s3Destination": { "shape": "S44" }, "status": {} } }, "idempotent": true }, "ListAccountPermissions": { "http": { "requestUri": "/accountpermissions/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "maxResults": { "type": "integer" }, "nextToken": {}, "service": {} } }, "output": { "type": "structure", "required": [ "permissions" ], "members": { "nextToken": {}, "permissions": { "type": "list", "member": { "type": "structure", "required": [ "operation", "service" ], "members": { "operation": {}, "service": {} } } } } } }, "ListCisScanConfigurations": { "http": { "requestUri": "/cis/scan-configuration/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "filterCriteria": { "type": "structure", "members": { "scanConfigurationArnFilters": { "shape": "S75" }, "scanNameFilters": { "shape": "S76" }, "targetResourceTagFilters": { "shape": "S77" } } }, "maxResults": { "type": "integer" }, "nextToken": {}, "sortBy": {}, "sortOrder": {} } }, "output": { "type": "structure", "members": { "nextToken": {}, "scanConfigurations": { "type": "list", "member": { "type": "structure", "required": [ "scanConfigurationArn" ], "members": { "ownerId": {}, "scanConfigurationArn": {}, "scanName": {}, "schedule": { "shape": "S2q" }, "securityLevel": {}, "tags": { "shape": "S31" }, "targets": { "shape": "S7g" } } } } } } }, "ListCisScanResultsAggregatedByChecks": { "http": { "requestUri": "/cis/scan-result/check/list", "responseCode": 200 }, "input": { "type": "structure", "required": [ "scanArn" ], "members": { "filterCriteria": { "type": "structure", "members": { "accountIdFilters": { "type": "list", "member": { "shape": "S5d" } }, "checkIdFilters": { "shape": "S5c" }, "failedResourcesFilters": { "shape": "S7l" }, "platformFilters": { "shape": "S7n" }, "securityLevelFilters": { "shape": "S5k" }, "titleFilters": { "shape": "S5n" } } }, "maxResults": { "type": "integer" }, "nextToken": {}, "scanArn": {}, "sortBy": {}, "sortOrder": {} } }, "output": { "type": "structure", "members": { "checkAggregations": { "type": "list", "member": { "type": "structure", "required": [ "scanArn" ], "members": { "accountId": {}, "checkDescription": {}, "checkId": {}, "level": {}, "platform": {}, "scanArn": {}, "statusCounts": { "shape": "S7t" }, "title": {} } } }, "nextToken": {} } } }, "ListCisScanResultsAggregatedByTargetResource": { "http": { "requestUri": "/cis/scan-result/resource/list", "responseCode": 200 }, "input": { "type": "structure", "required": [ "scanArn" ], "members": { "filterCriteria": { "type": "structure", "members": { "accountIdFilters": { "shape": "S7w" }, "checkIdFilters": { "shape": "S5c" }, "failedChecksFilters": { "shape": "S7l" }, "platformFilters": { "shape": "S7n" }, "statusFilters": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "value" ], "members": { "comparison": {}, "value": {} } } }, "targetResourceIdFilters": { "shape": "S81" }, "targetResourceTagFilters": { "shape": "S77" }, "targetStatusFilters": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "value" ], "members": { "comparison": {}, "value": {} } } }, "targetStatusReasonFilters": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "value" ], "members": { "comparison": {}, "value": {} } } } } }, "maxResults": { "type": "integer" }, "nextToken": {}, "scanArn": {}, "sortBy": {}, "sortOrder": {} } }, "output": { "type": "structure", "members": { "nextToken": {}, "targetResourceAggregations": { "type": "list", "member": { "type": "structure", "required": [ "scanArn" ], "members": { "accountId": {}, "platform": {}, "scanArn": {}, "statusCounts": { "shape": "S7t" }, "targetResourceId": {}, "targetResourceTags": { "shape": "S37" }, "targetStatus": {}, "targetStatusReason": {} } } } } } }, "ListCisScans": { "http": { "requestUri": "/cis/scan/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "detailLevel": {}, "filterCriteria": { "type": "structure", "members": { "failedChecksFilters": { "shape": "S7l" }, "scanArnFilters": { "type": "list", "member": { "shape": "S5d" } }, "scanAtFilters": { "type": "list", "member": { "type": "structure", "members": { "earliestScanStartTime": { "type": "timestamp" }, "latestScanStartTime": { "type": "timestamp" } } } }, "scanConfigurationArnFilters": { "shape": "S75" }, "scanNameFilters": { "shape": "S76" }, "scanStatusFilters": { "type": "list", "member": { "type": "structure", "required": [ "comparison", "value" ], "members": { "comparison": {}, "value": {} } } }, "scheduledByFilters": { "type": "list", "member": { "shape": "S5d" } }, "targetAccountIdFilters": { "shape": "S7w" }, "targetResourceIdFilters": { "shape": "S81" }, "targetResourceTagFilters": { "shape": "S77" } } }, "maxResults": { "type": "integer" }, "nextToken": {}, "sortBy": {}, "sortOrder": {} } }, "output": { "type": "structure", "members": { "nextToken": {}, "scans": { "type": "list", "member": { "type": "structure", "required": [ "scanArn", "scanConfigurationArn" ], "members": { "failedChecks": { "type": "integer" }, "scanArn": {}, "scanConfigurationArn": {}, "scanDate": { "type": "timestamp" }, "scanName": {}, "scheduledBy": {}, "securityLevel": {}, "status": {}, "targets": { "shape": "S7g" }, "totalChecks": { "type": "integer" } } } } } } }, "ListCoverage": { "http": { "requestUri": "/coverage/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "filterCriteria": { "shape": "S8u" }, "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "members": { "coveredResources": { "type": "list", "member": { "type": "structure", "required": [ "accountId", "resourceId", "resourceType", "scanType" ], "members": { "accountId": {}, "lastScannedAt": { "type": "timestamp" }, "resourceId": {}, "resourceMetadata": { "type": "structure", "members": { "ec2": { "type": "structure", "members": { "amiId": {}, "platform": {}, "tags": { "shape": "S3z" } } }, "ecrImage": { "type": "structure", "members": { "imagePulledAt": { "type": "timestamp" }, "tags": { "type": "list", "member": {} } } }, "ecrRepository": { "type": "structure", "members": { "name": {}, "scanFrequency": {} } }, "lambdaFunction": { "type": "structure", "members": { "functionName": {}, "functionTags": { "shape": "S3z" }, "layers": { "type": "list", "member": {} }, "runtime": {} } } } }, "resourceType": {}, "scanMode": {}, "scanStatus": { "type": "structure", "required": [ "reason", "statusCode" ], "members": { "reason": {}, "statusCode": {} } }, "scanType": {} } } }, "nextToken": {} } } }, "ListCoverageStatistics": { "http": { "requestUri": "/coverage/statistics/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "filterCriteria": { "shape": "S8u" }, "groupBy": {}, "nextToken": {} } }, "output": { "type": "structure", "required": [ "totalCounts" ], "members": { "countsByGroup": { "type": "list", "member": { "type": "structure", "members": { "count": { "type": "long" }, "groupKey": {} } } }, "nextToken": {}, "totalCounts": { "type": "long" } } } }, "ListDelegatedAdminAccounts": { "http": { "requestUri": "/delegatedadminaccounts/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "members": { "delegatedAdminAccounts": { "type": "list", "member": { "type": "structure", "members": { "accountId": {}, "status": {} } } }, "nextToken": {} } } }, "ListFilters": { "http": { "requestUri": "/filters/list", "responseCode": 200 }, "input": { "type": "structure", "members": { "action": {}, "arns": { "type": "list", "member": {} }, "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "required": [ "filters" ], "members": { "filters": { "type": "list", "member": { "type": "structure", "required": [ "action", "arn", "createdAt", "criteria", "name", "ownerId", "updatedAt" ], "members": { "action": {}, "arn": {}, "createdAt": { "type": "timestamp" }, "criteria": { "shape": "S3g" }, "description": {}, "name": {}, "ownerId": {}, "reason": {}, "tags": { "shape": "S3z" }, "updatedAt": { "type": "timestamp" } } } }, "nextToken": {} } } }, "ListFindingAggregations": { "http": { "requestUri": "/findings/aggregation/list", "responseCode": 200 }, "input": { "type": "structure", "required": [ "aggregationType" ], "members": { "accountIds": { "shape": "S3h" }, "aggregationRequest": { "type": "structure", "members": { "accountAggregation": { "type": "structure", "members": { "findingType": {}, "resourceType": {}, "sortBy": {}, "sortOrder": {} } }, "amiAggregation": { "type": "structure", "members": { "amis": { "shape": "S3h" }, "sortBy": {}, "sortOrder": {} } }, "awsEcrContainerAggregation": { "type": "structure", "members": { "architectures": { "shape": "S3h" }, "imageShas": { "shape": "S3h" }, "imageTags": { "shape": "S3h" }, "repositories": { "shape": "S3h" }, "resourceIds": { "shape": "S3h" }, "sortBy": {}, "sortOrder": {} } }, "ec2InstanceAggregation": { "type": "structure", "members": { "amis": { "shape": "S3h" }, "instanceIds": { "shape": "S3h" }, "instanceTags": { "shape": "S3s" }, "operatingSystems": { "shape": "S3h" }, "sortBy": {}, "sortOrder": {} } }, "findingTypeAggregation": { "type": "structure", "members": { "findingType": {}, "resourceType": {}, "sortBy": {}, "sortOrder": {} } }, "imageLayerAggregation": { "type": "structure", "members": { "layerHashes": { "shape": "S3h" }, "repositories": { "shape": "S3h" }, "resourceIds": { "shape": "S3h" }, "sortBy": {}, "sortOrder": {} } }, "lambdaFunctionAggregation": { "type": "structure", "members": { "functionNames": { "shape": "S3h" }, "functionTags": { "shape": "S3s" }, "resourceIds": { "shape": "S3h" }, "runtimes": { "shape": "S3h" }, "sortBy": {}, "sortOrder": {} } }, "lambdaLayerAggregation": { "type": "structure", "members": { "functionNames": { "shape": "S3h" }, "layerArns": { "shape": "S3h" }, "resourceIds": { "shape": "S3h" }, "sortBy": {}, "sortOrder": {} } }, "packageAggregation": { "type": "structure", "members": { "packageNames": { "shape": "S3h" }, "sortBy": {}, "sortOrder": {} } }, "repositoryAggregation": { "type": "structure", "members": { "repositories": { "shape": "S3h" }, "sortBy": {}, "sortOrder": {} } }, "titleAggregation": { "type": "structure", "members": { "findingType": {}, "resourceType": {}, "sortBy": {}, "sortOrder": {}, "titles": { "shape": "S3h" }, "vulnerabilityIds": { "shape": "S3h" } } } }, "union": true }, "aggregationType": {}, "maxResults": { "type": "integer" }, "nextToken": {} } }, "output": { "type": "structure", "required": [ "aggregationType" ], "members": { "aggregationType": {}, "nextToken": {}, "responses": { "type": "list", "member": { "type": "structure", "members": { "accountAggregation": { "type": "structure", "members": { "accountId": {}, "exploitAvailableCount": { "type": "long" }, "fixAvailableCount": { "type": "long" }, "severityCounts": { "shape": "Sb5" } } }, "amiAggregation": { "type": "structure", "required": [ "ami" ], "members": { "accountId": {}, "affectedInstances": { "type": "long" }, "ami": {}, "severityCounts": { "shape": "Sb5" } } }, "awsEcrContainerAggregation": { "type": "structure", "required": [ "resourceId" ], "members": { "accountId": {}, "architecture": {}, "imageSha": {}, "imageTags": { "type": "list", "member": {} }, "repository": {}, "resourceId": {}, "severityCounts": { "shape": "Sb5" } } }, "ec2InstanceAggregation": { "type": "structure", "required": [ "instanceId" ], "members": { "accountId": {}, "ami": {},