A resource is a tracked object inside of a project such as an EC2 instance, S3 bucket, or AWS Lambda Function.
List resources inside of a project
List the resources inside of a project
query Parameters
The resources inside of a project
Something about your request didn't quite make sense. The error message should help you figure out what went wrong.
Unauthorized
You tried to do something that you're not allowed to do. Check your privileges to see what you're actually allowed to do. This could also mean that your token has expired.
The resource you were looking for doesn't exist.
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
The service has encountered an unexpected internal error. It's possible that trying again will help, but it's more likely that you're out of luck for the moment.
The service is temporarily unavailable, likely due to maintenance. It should be available soon, check the Retry-After
header for an indication of when you might be able to try again.
- 200
- 400
- 401
- 404
- 500
- 503
{- "resources": [
- {
- "details": {
- "region": "us-east-1",
- "tags": [
- {
- "key": "Name",
- "value": "example-resource-name"
}
], - "volumeIDs": [
- "vol-0123456789abcdefg",
- "vol-0123456789abcdefg"
]
}, - "id": "89aa5c20-b23b-4db1-ab7f-93bd96d46e8f",
- "lastScan": "2022-05-13T15:06:53Z",
- "links": [
- {
- "rel": "project"
}
], - "cloudResourceID": "arn:aws:lambda:us-east-1:012345678912:function:my-lambda",
- "name": "my-first-lambda",
- "type": "aws-lambda-function"
}
], - "next": "dGhpcyB2YWx1ZSBpcyBvcGFxdWUsIGRlY29kaW5nIGl0IHdvbid0IGJlIHVzZWZ1bAo="
}
Describe a count of resources inside of a project
Describe a count of resources inside of a project
The count of resources in a project
Something about your request didn't quite make sense. The error message should help you figure out what went wrong.
Unauthorized
You tried to do something that you're not allowed to do. Check your privileges to see what you're actually allowed to do. This could also mean that your token has expired.
The resource you were looking for doesn't exist.
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
The service has encountered an unexpected internal error. It's possible that trying again will help, but it's more likely that you're out of luck for the moment.
The service is temporarily unavailable, likely due to maintenance. It should be available soon, check the Retry-After
header for an indication of when you might be able to try again.
- 200
- 400
- 401
- 404
- 500
- 503
{- "total": 10,
- "counts": {
- "aws-ec2-instance": 3,
- "aws-ecr-repository": 4,
- "aws-lambda-function": 3
}
}
Describe a single resource inside of a project
Describe a single resource inside of a project
A single resource inside of a project
Something about your request didn't quite make sense. The error message should help you figure out what went wrong.
Unauthorized
You tried to do something that you're not allowed to do. Check your privileges to see what you're actually allowed to do. This could also mean that your token has expired.
The resource you were looking for doesn't exist.
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
The service has encountered an unexpected internal error. It's possible that trying again will help, but it's more likely that you're out of luck for the moment.
The service is temporarily unavailable, likely due to maintenance. It should be available soon, check the Retry-After
header for an indication of when you might be able to try again.
- 200
- 400
- 401
- 404
- 500
- 503
{- "details": {
- "region": "us-east-1",
- "tags": [
- {
- "key": "Name",
- "value": "example-resource-name"
}
], - "volumeIDs": [
- "vol-0123456789abcdefg",
- "vol-0123456789abcdefg"
]
}, - "id": "89aa5c20-b23b-4db1-ab7f-93bd96d46e8f",
- "lastScan": "2022-05-13T15:06:53Z",
- "links": [
- {
- "rel": "project"
}
], - "cloudResourceID": "arn:aws:lambda:us-east-1:012345678912:function:my-lambda",
- "name": "my-first-lambda",
- "type": "aws-lambda-function"
}