mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
1758 lines
42 KiB
JSON
1758 lines
42 KiB
JSON
{
|
|
"version": "2.0",
|
|
"metadata": {
|
|
"apiVersion": "2019-11-01",
|
|
"endpointPrefix": "access-analyzer",
|
|
"jsonVersion": "1.1",
|
|
"protocol": "rest-json",
|
|
"serviceFullName": "Access Analyzer",
|
|
"serviceId": "AccessAnalyzer",
|
|
"signatureVersion": "v4",
|
|
"signingName": "access-analyzer",
|
|
"uid": "accessanalyzer-2019-11-01"
|
|
},
|
|
"operations": {
|
|
"ApplyArchiveRule": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/archive-rule",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn",
|
|
"ruleName"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {},
|
|
"ruleName": {},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CancelPolicyGeneration": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/policy/generation/{jobId}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobId"
|
|
],
|
|
"members": {
|
|
"jobId": {
|
|
"location": "uri",
|
|
"locationName": "jobId"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CreateAccessPreview": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/access-preview",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn",
|
|
"configurations"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {},
|
|
"configurations": {
|
|
"shape": "S9"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id"
|
|
],
|
|
"members": {
|
|
"id": {}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CreateAnalyzer": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/analyzer",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerName",
|
|
"type"
|
|
],
|
|
"members": {
|
|
"analyzerName": {},
|
|
"type": {},
|
|
"archiveRules": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ruleName",
|
|
"filter"
|
|
],
|
|
"members": {
|
|
"ruleName": {},
|
|
"filter": {
|
|
"shape": "S2c"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": {
|
|
"shape": "S2f"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"arn": {}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"CreateArchiveRule": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/analyzer/{analyzerName}/archive-rule",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerName",
|
|
"ruleName",
|
|
"filter"
|
|
],
|
|
"members": {
|
|
"analyzerName": {
|
|
"location": "uri",
|
|
"locationName": "analyzerName"
|
|
},
|
|
"ruleName": {},
|
|
"filter": {
|
|
"shape": "S2c"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"DeleteAnalyzer": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/analyzer/{analyzerName}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerName"
|
|
],
|
|
"members": {
|
|
"analyzerName": {
|
|
"location": "uri",
|
|
"locationName": "analyzerName"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true,
|
|
"location": "querystring",
|
|
"locationName": "clientToken"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"DeleteArchiveRule": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/analyzer/{analyzerName}/archive-rule/{ruleName}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerName",
|
|
"ruleName"
|
|
],
|
|
"members": {
|
|
"analyzerName": {
|
|
"location": "uri",
|
|
"locationName": "analyzerName"
|
|
},
|
|
"ruleName": {
|
|
"location": "uri",
|
|
"locationName": "ruleName"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true,
|
|
"location": "querystring",
|
|
"locationName": "clientToken"
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"GetAccessPreview": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/access-preview/{accessPreviewId}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"accessPreviewId",
|
|
"analyzerArn"
|
|
],
|
|
"members": {
|
|
"accessPreviewId": {
|
|
"location": "uri",
|
|
"locationName": "accessPreviewId"
|
|
},
|
|
"analyzerArn": {
|
|
"location": "querystring",
|
|
"locationName": "analyzerArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"accessPreview"
|
|
],
|
|
"members": {
|
|
"accessPreview": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"analyzerArn",
|
|
"configurations",
|
|
"createdAt",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"analyzerArn": {},
|
|
"configurations": {
|
|
"shape": "S9"
|
|
},
|
|
"createdAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"status": {},
|
|
"statusReason": {
|
|
"shape": "S2p"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetAnalyzedResource": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/analyzed-resource",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn",
|
|
"resourceArn"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {
|
|
"location": "querystring",
|
|
"locationName": "analyzerArn"
|
|
},
|
|
"resourceArn": {
|
|
"location": "querystring",
|
|
"locationName": "resourceArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"resource": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"resourceType",
|
|
"createdAt",
|
|
"analyzedAt",
|
|
"updatedAt",
|
|
"isPublic",
|
|
"resourceOwnerAccount"
|
|
],
|
|
"members": {
|
|
"resourceArn": {},
|
|
"resourceType": {},
|
|
"createdAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"analyzedAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"updatedAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"isPublic": {
|
|
"type": "boolean"
|
|
},
|
|
"actions": {
|
|
"shape": "S2w"
|
|
},
|
|
"sharedVia": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"status": {},
|
|
"resourceOwnerAccount": {},
|
|
"error": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetAnalyzer": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/analyzer/{analyzerName}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerName"
|
|
],
|
|
"members": {
|
|
"analyzerName": {
|
|
"location": "uri",
|
|
"locationName": "analyzerName"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzer"
|
|
],
|
|
"members": {
|
|
"analyzer": {
|
|
"shape": "S31"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetArchiveRule": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/analyzer/{analyzerName}/archive-rule/{ruleName}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerName",
|
|
"ruleName"
|
|
],
|
|
"members": {
|
|
"analyzerName": {
|
|
"location": "uri",
|
|
"locationName": "analyzerName"
|
|
},
|
|
"ruleName": {
|
|
"location": "uri",
|
|
"locationName": "ruleName"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"archiveRule"
|
|
],
|
|
"members": {
|
|
"archiveRule": {
|
|
"shape": "S37"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetFinding": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/finding/{id}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn",
|
|
"id"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {
|
|
"location": "querystring",
|
|
"locationName": "analyzerArn"
|
|
},
|
|
"id": {
|
|
"location": "uri",
|
|
"locationName": "id"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"finding": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"resourceType",
|
|
"condition",
|
|
"createdAt",
|
|
"analyzedAt",
|
|
"updatedAt",
|
|
"status",
|
|
"resourceOwnerAccount"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"principal": {
|
|
"shape": "S3c"
|
|
},
|
|
"action": {
|
|
"shape": "S2w"
|
|
},
|
|
"resource": {},
|
|
"isPublic": {
|
|
"type": "boolean"
|
|
},
|
|
"resourceType": {},
|
|
"condition": {
|
|
"shape": "S3d"
|
|
},
|
|
"createdAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"analyzedAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"updatedAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"status": {},
|
|
"resourceOwnerAccount": {},
|
|
"error": {},
|
|
"sources": {
|
|
"shape": "S3e"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetGeneratedPolicy": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/policy/generation/{jobId}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobId"
|
|
],
|
|
"members": {
|
|
"jobId": {
|
|
"location": "uri",
|
|
"locationName": "jobId"
|
|
},
|
|
"includeResourcePlaceholders": {
|
|
"location": "querystring",
|
|
"locationName": "includeResourcePlaceholders",
|
|
"type": "boolean"
|
|
},
|
|
"includeServiceLevelTemplate": {
|
|
"location": "querystring",
|
|
"locationName": "includeServiceLevelTemplate",
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobDetails",
|
|
"generatedPolicyResult"
|
|
],
|
|
"members": {
|
|
"jobDetails": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobId",
|
|
"status",
|
|
"startedOn"
|
|
],
|
|
"members": {
|
|
"jobId": {},
|
|
"status": {},
|
|
"startedOn": {
|
|
"shape": "S2n"
|
|
},
|
|
"completedOn": {
|
|
"shape": "S2n"
|
|
},
|
|
"jobError": {
|
|
"type": "structure",
|
|
"required": [
|
|
"code",
|
|
"message"
|
|
],
|
|
"members": {
|
|
"code": {},
|
|
"message": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"generatedPolicyResult": {
|
|
"type": "structure",
|
|
"required": [
|
|
"properties"
|
|
],
|
|
"members": {
|
|
"properties": {
|
|
"type": "structure",
|
|
"required": [
|
|
"principalArn"
|
|
],
|
|
"members": {
|
|
"isComplete": {
|
|
"type": "boolean"
|
|
},
|
|
"principalArn": {},
|
|
"cloudTrailProperties": {
|
|
"type": "structure",
|
|
"required": [
|
|
"trailProperties",
|
|
"startTime",
|
|
"endTime"
|
|
],
|
|
"members": {
|
|
"trailProperties": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"cloudTrailArn"
|
|
],
|
|
"members": {
|
|
"cloudTrailArn": {},
|
|
"regions": {
|
|
"shape": "S3v"
|
|
},
|
|
"allRegions": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"startTime": {
|
|
"shape": "S2n"
|
|
},
|
|
"endTime": {
|
|
"shape": "S2n"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"generatedPolicies": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"policy"
|
|
],
|
|
"members": {
|
|
"policy": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ListAccessPreviewFindings": {
|
|
"http": {
|
|
"requestUri": "/access-preview/{accessPreviewId}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"accessPreviewId",
|
|
"analyzerArn"
|
|
],
|
|
"members": {
|
|
"accessPreviewId": {
|
|
"location": "uri",
|
|
"locationName": "accessPreviewId"
|
|
},
|
|
"analyzerArn": {},
|
|
"filter": {
|
|
"shape": "S2c"
|
|
},
|
|
"nextToken": {},
|
|
"maxResults": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"findings"
|
|
],
|
|
"members": {
|
|
"findings": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"resourceType",
|
|
"createdAt",
|
|
"changeType",
|
|
"status",
|
|
"resourceOwnerAccount"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"existingFindingId": {},
|
|
"existingFindingStatus": {},
|
|
"principal": {
|
|
"shape": "S3c"
|
|
},
|
|
"action": {
|
|
"shape": "S2w"
|
|
},
|
|
"condition": {
|
|
"shape": "S3d"
|
|
},
|
|
"resource": {},
|
|
"isPublic": {
|
|
"type": "boolean"
|
|
},
|
|
"resourceType": {},
|
|
"createdAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"changeType": {},
|
|
"status": {},
|
|
"resourceOwnerAccount": {},
|
|
"error": {},
|
|
"sources": {
|
|
"shape": "S3e"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListAccessPreviews": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/access-preview",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {
|
|
"location": "querystring",
|
|
"locationName": "analyzerArn"
|
|
},
|
|
"nextToken": {
|
|
"location": "querystring",
|
|
"locationName": "nextToken"
|
|
},
|
|
"maxResults": {
|
|
"location": "querystring",
|
|
"locationName": "maxResults",
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"accessPreviews"
|
|
],
|
|
"members": {
|
|
"accessPreviews": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"analyzerArn",
|
|
"createdAt",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"analyzerArn": {},
|
|
"createdAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"status": {},
|
|
"statusReason": {
|
|
"shape": "S2p"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListAnalyzedResources": {
|
|
"http": {
|
|
"requestUri": "/analyzed-resource",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {},
|
|
"resourceType": {},
|
|
"nextToken": {},
|
|
"maxResults": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzedResources"
|
|
],
|
|
"members": {
|
|
"analyzedResources": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"resourceOwnerAccount",
|
|
"resourceType"
|
|
],
|
|
"members": {
|
|
"resourceArn": {},
|
|
"resourceOwnerAccount": {},
|
|
"resourceType": {}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListAnalyzers": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/analyzer",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"nextToken": {
|
|
"location": "querystring",
|
|
"locationName": "nextToken"
|
|
},
|
|
"maxResults": {
|
|
"location": "querystring",
|
|
"locationName": "maxResults",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"location": "querystring",
|
|
"locationName": "type"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzers"
|
|
],
|
|
"members": {
|
|
"analyzers": {
|
|
"type": "list",
|
|
"member": {
|
|
"shape": "S31"
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListArchiveRules": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/analyzer/{analyzerName}/archive-rule",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerName"
|
|
],
|
|
"members": {
|
|
"analyzerName": {
|
|
"location": "uri",
|
|
"locationName": "analyzerName"
|
|
},
|
|
"nextToken": {
|
|
"location": "querystring",
|
|
"locationName": "nextToken"
|
|
},
|
|
"maxResults": {
|
|
"location": "querystring",
|
|
"locationName": "maxResults",
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"archiveRules"
|
|
],
|
|
"members": {
|
|
"archiveRules": {
|
|
"type": "list",
|
|
"member": {
|
|
"shape": "S37"
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListFindings": {
|
|
"http": {
|
|
"requestUri": "/finding",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {},
|
|
"filter": {
|
|
"shape": "S2c"
|
|
},
|
|
"sort": {
|
|
"type": "structure",
|
|
"members": {
|
|
"attributeName": {},
|
|
"orderBy": {}
|
|
}
|
|
},
|
|
"nextToken": {},
|
|
"maxResults": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"findings"
|
|
],
|
|
"members": {
|
|
"findings": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"resourceType",
|
|
"condition",
|
|
"createdAt",
|
|
"analyzedAt",
|
|
"updatedAt",
|
|
"status",
|
|
"resourceOwnerAccount"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"principal": {
|
|
"shape": "S3c"
|
|
},
|
|
"action": {
|
|
"shape": "S2w"
|
|
},
|
|
"resource": {},
|
|
"isPublic": {
|
|
"type": "boolean"
|
|
},
|
|
"resourceType": {},
|
|
"condition": {
|
|
"shape": "S3d"
|
|
},
|
|
"createdAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"analyzedAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"updatedAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"status": {},
|
|
"resourceOwnerAccount": {},
|
|
"error": {},
|
|
"sources": {
|
|
"shape": "S3e"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListPolicyGenerations": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/policy/generation",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"members": {
|
|
"principalArn": {
|
|
"location": "querystring",
|
|
"locationName": "principalArn"
|
|
},
|
|
"maxResults": {
|
|
"location": "querystring",
|
|
"locationName": "maxResults",
|
|
"type": "integer"
|
|
},
|
|
"nextToken": {
|
|
"location": "querystring",
|
|
"locationName": "nextToken"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"policyGenerations"
|
|
],
|
|
"members": {
|
|
"policyGenerations": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobId",
|
|
"principalArn",
|
|
"status",
|
|
"startedOn"
|
|
],
|
|
"members": {
|
|
"jobId": {},
|
|
"principalArn": {},
|
|
"status": {},
|
|
"startedOn": {
|
|
"shape": "S2n"
|
|
},
|
|
"completedOn": {
|
|
"shape": "S2n"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
},
|
|
"ListTagsForResource": {
|
|
"http": {
|
|
"method": "GET",
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {
|
|
"tags": {
|
|
"shape": "S2f"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"StartPolicyGeneration": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/policy/generation",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"policyGenerationDetails"
|
|
],
|
|
"members": {
|
|
"policyGenerationDetails": {
|
|
"type": "structure",
|
|
"required": [
|
|
"principalArn"
|
|
],
|
|
"members": {
|
|
"principalArn": {}
|
|
}
|
|
},
|
|
"cloudTrailDetails": {
|
|
"type": "structure",
|
|
"required": [
|
|
"trails",
|
|
"accessRole",
|
|
"startTime"
|
|
],
|
|
"members": {
|
|
"trails": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"cloudTrailArn"
|
|
],
|
|
"members": {
|
|
"cloudTrailArn": {},
|
|
"regions": {
|
|
"shape": "S3v"
|
|
},
|
|
"allRegions": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"accessRole": {},
|
|
"startTime": {
|
|
"shape": "S2n"
|
|
},
|
|
"endTime": {
|
|
"shape": "S2n"
|
|
}
|
|
}
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"jobId"
|
|
],
|
|
"members": {
|
|
"jobId": {}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"StartResourceScan": {
|
|
"http": {
|
|
"requestUri": "/resource/scan",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn",
|
|
"resourceArn"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {},
|
|
"resourceArn": {},
|
|
"resourceOwnerAccount": {}
|
|
}
|
|
}
|
|
},
|
|
"TagResource": {
|
|
"http": {
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"tags"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
},
|
|
"tags": {
|
|
"shape": "S2f"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"UntagResource": {
|
|
"http": {
|
|
"method": "DELETE",
|
|
"requestUri": "/tags/{resourceArn}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"resourceArn",
|
|
"tagKeys"
|
|
],
|
|
"members": {
|
|
"resourceArn": {
|
|
"location": "uri",
|
|
"locationName": "resourceArn"
|
|
},
|
|
"tagKeys": {
|
|
"location": "querystring",
|
|
"locationName": "tagKeys",
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"members": {}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"UpdateArchiveRule": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/analyzer/{analyzerName}/archive-rule/{ruleName}",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerName",
|
|
"ruleName",
|
|
"filter"
|
|
],
|
|
"members": {
|
|
"analyzerName": {
|
|
"location": "uri",
|
|
"locationName": "analyzerName"
|
|
},
|
|
"ruleName": {
|
|
"location": "uri",
|
|
"locationName": "ruleName"
|
|
},
|
|
"filter": {
|
|
"shape": "S2c"
|
|
},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"UpdateFindings": {
|
|
"http": {
|
|
"method": "PUT",
|
|
"requestUri": "/finding",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"analyzerArn",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"analyzerArn": {},
|
|
"status": {},
|
|
"ids": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"resourceArn": {},
|
|
"clientToken": {
|
|
"idempotencyToken": true
|
|
}
|
|
}
|
|
},
|
|
"idempotent": true
|
|
},
|
|
"ValidatePolicy": {
|
|
"http": {
|
|
"requestUri": "/policy/validation",
|
|
"responseCode": 200
|
|
},
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"policyDocument",
|
|
"policyType"
|
|
],
|
|
"members": {
|
|
"locale": {},
|
|
"maxResults": {
|
|
"location": "querystring",
|
|
"locationName": "maxResults",
|
|
"type": "integer"
|
|
},
|
|
"nextToken": {
|
|
"location": "querystring",
|
|
"locationName": "nextToken"
|
|
},
|
|
"policyDocument": {},
|
|
"policyType": {},
|
|
"validatePolicyResourceType": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"findings"
|
|
],
|
|
"members": {
|
|
"findings": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"findingDetails",
|
|
"findingType",
|
|
"issueCode",
|
|
"learnMoreLink",
|
|
"locations"
|
|
],
|
|
"members": {
|
|
"findingDetails": {},
|
|
"findingType": {},
|
|
"issueCode": {},
|
|
"learnMoreLink": {},
|
|
"locations": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"path",
|
|
"span"
|
|
],
|
|
"members": {
|
|
"path": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"members": {
|
|
"index": {
|
|
"type": "integer"
|
|
},
|
|
"key": {},
|
|
"substring": {
|
|
"type": "structure",
|
|
"required": [
|
|
"start",
|
|
"length"
|
|
],
|
|
"members": {
|
|
"start": {
|
|
"type": "integer"
|
|
},
|
|
"length": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"value": {}
|
|
},
|
|
"union": true
|
|
}
|
|
},
|
|
"span": {
|
|
"type": "structure",
|
|
"required": [
|
|
"start",
|
|
"end"
|
|
],
|
|
"members": {
|
|
"start": {
|
|
"shape": "S5v"
|
|
},
|
|
"end": {
|
|
"shape": "S5v"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"nextToken": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S9": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "structure",
|
|
"members": {
|
|
"ebsSnapshot": {
|
|
"type": "structure",
|
|
"members": {
|
|
"userIds": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"groups": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"kmsKeyId": {}
|
|
}
|
|
},
|
|
"ecrRepository": {
|
|
"type": "structure",
|
|
"members": {
|
|
"repositoryPolicy": {}
|
|
}
|
|
},
|
|
"iamRole": {
|
|
"type": "structure",
|
|
"members": {
|
|
"trustPolicy": {}
|
|
}
|
|
},
|
|
"efsFileSystem": {
|
|
"type": "structure",
|
|
"members": {
|
|
"fileSystemPolicy": {}
|
|
}
|
|
},
|
|
"kmsKey": {
|
|
"type": "structure",
|
|
"members": {
|
|
"keyPolicies": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"grants": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"operations",
|
|
"granteePrincipal",
|
|
"issuingAccount"
|
|
],
|
|
"members": {
|
|
"operations": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"granteePrincipal": {},
|
|
"retiringPrincipal": {},
|
|
"constraints": {
|
|
"type": "structure",
|
|
"members": {
|
|
"encryptionContextEquals": {
|
|
"shape": "Sz"
|
|
},
|
|
"encryptionContextSubset": {
|
|
"shape": "Sz"
|
|
}
|
|
}
|
|
},
|
|
"issuingAccount": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rdsDbClusterSnapshot": {
|
|
"type": "structure",
|
|
"members": {
|
|
"attributes": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "structure",
|
|
"members": {
|
|
"accountIds": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
},
|
|
"union": true
|
|
}
|
|
},
|
|
"kmsKeyId": {}
|
|
}
|
|
},
|
|
"rdsDbSnapshot": {
|
|
"type": "structure",
|
|
"members": {
|
|
"attributes": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "structure",
|
|
"members": {
|
|
"accountIds": {
|
|
"type": "list",
|
|
"member": {}
|
|
}
|
|
},
|
|
"union": true
|
|
}
|
|
},
|
|
"kmsKeyId": {}
|
|
}
|
|
},
|
|
"secretsManagerSecret": {
|
|
"type": "structure",
|
|
"members": {
|
|
"kmsKeyId": {},
|
|
"secretPolicy": {}
|
|
}
|
|
},
|
|
"s3Bucket": {
|
|
"type": "structure",
|
|
"members": {
|
|
"bucketPolicy": {},
|
|
"bucketAclGrants": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"permission",
|
|
"grantee"
|
|
],
|
|
"members": {
|
|
"permission": {},
|
|
"grantee": {
|
|
"type": "structure",
|
|
"members": {
|
|
"id": {},
|
|
"uri": {}
|
|
},
|
|
"union": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"bucketPublicAccessBlock": {
|
|
"shape": "S1s"
|
|
},
|
|
"accessPoints": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "structure",
|
|
"members": {
|
|
"accessPointPolicy": {},
|
|
"publicAccessBlock": {
|
|
"shape": "S1s"
|
|
},
|
|
"networkOrigin": {
|
|
"type": "structure",
|
|
"members": {
|
|
"vpcConfiguration": {
|
|
"type": "structure",
|
|
"required": [
|
|
"vpcId"
|
|
],
|
|
"members": {
|
|
"vpcId": {}
|
|
}
|
|
},
|
|
"internetConfiguration": {
|
|
"type": "structure",
|
|
"members": {}
|
|
}
|
|
},
|
|
"union": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"snsTopic": {
|
|
"type": "structure",
|
|
"members": {
|
|
"topicPolicy": {}
|
|
}
|
|
},
|
|
"sqsQueue": {
|
|
"type": "structure",
|
|
"members": {
|
|
"queuePolicy": {}
|
|
}
|
|
}
|
|
},
|
|
"union": true
|
|
}
|
|
},
|
|
"Sz": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"S1s": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ignorePublicAcls",
|
|
"restrictPublicBuckets"
|
|
],
|
|
"members": {
|
|
"ignorePublicAcls": {
|
|
"type": "boolean"
|
|
},
|
|
"restrictPublicBuckets": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"S2c": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {
|
|
"type": "structure",
|
|
"members": {
|
|
"eq": {
|
|
"shape": "S2e"
|
|
},
|
|
"neq": {
|
|
"shape": "S2e"
|
|
},
|
|
"contains": {
|
|
"shape": "S2e"
|
|
},
|
|
"exists": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"S2e": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"S2f": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"S2n": {
|
|
"type": "timestamp",
|
|
"timestampFormat": "iso8601"
|
|
},
|
|
"S2p": {
|
|
"type": "structure",
|
|
"required": [
|
|
"code"
|
|
],
|
|
"members": {
|
|
"code": {}
|
|
}
|
|
},
|
|
"S2w": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"S31": {
|
|
"type": "structure",
|
|
"required": [
|
|
"arn",
|
|
"name",
|
|
"type",
|
|
"createdAt",
|
|
"status"
|
|
],
|
|
"members": {
|
|
"arn": {},
|
|
"name": {},
|
|
"type": {},
|
|
"createdAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"lastResourceAnalyzed": {},
|
|
"lastResourceAnalyzedAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"tags": {
|
|
"shape": "S2f"
|
|
},
|
|
"status": {},
|
|
"statusReason": {
|
|
"type": "structure",
|
|
"required": [
|
|
"code"
|
|
],
|
|
"members": {
|
|
"code": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"S37": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ruleName",
|
|
"filter",
|
|
"createdAt",
|
|
"updatedAt"
|
|
],
|
|
"members": {
|
|
"ruleName": {},
|
|
"filter": {
|
|
"shape": "S2c"
|
|
},
|
|
"createdAt": {
|
|
"shape": "S2n"
|
|
},
|
|
"updatedAt": {
|
|
"shape": "S2n"
|
|
}
|
|
}
|
|
},
|
|
"S3c": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"S3d": {
|
|
"type": "map",
|
|
"key": {},
|
|
"value": {}
|
|
},
|
|
"S3e": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"type"
|
|
],
|
|
"members": {
|
|
"type": {},
|
|
"detail": {
|
|
"type": "structure",
|
|
"members": {
|
|
"accessPointArn": {},
|
|
"accessPointAccount": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"S3v": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"S5v": {
|
|
"type": "structure",
|
|
"required": [
|
|
"line",
|
|
"column",
|
|
"offset"
|
|
],
|
|
"members": {
|
|
"line": {
|
|
"type": "integer"
|
|
},
|
|
"column": {
|
|
"type": "integer"
|
|
},
|
|
"offset": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |