IntegrationsAwsActions
List IAM roles
List IAM role summaries with optional path prefix and opaque cursor pagination. Requires iam:ListRoles.
iam.roles.list · AWS · v1
Details
Scopes
iam:ListRoles
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
path_prefix | string | No | minLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$ |
page_size | integer | No | minimum 1; maximum 1000 |
cursor | string | No | minLength 1; maxLength 16384; pattern ^(?!.*://)[^\x00-\x1f\x7f]+$ |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
roles | array<object> | Yes | maxItems 1000 |
roles[] | object | Yes | additionalProperties false |
roles[].name | string | Yes | minLength 1; maxLength 64; pattern ^[A-Za-z0-9_+=,.@-]+$ |
roles[].id | string | Yes | minLength 1; maxLength 128 |
roles[].arn | string | Yes | minLength 20; maxLength 2048; pattern ^arn:aws:.+$ |
roles[].path | string | Yes | minLength 1; maxLength 512; pattern ^/$|^/[\x21-\x7e]+/$ |
roles[].created_at | string | Yes | minLength 1; maxLength 64 |
next_cursor | string | No | minLength 1; maxLength 16384; pattern ^(?!.*://)[^\x00-\x1f\x7f]+$ |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"path_prefix": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^/$|^/[\\x21-\\x7e]+/$"
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
}
}
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"roles": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[A-Za-z0-9_+=,.@-]+$"
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"arn": {
"type": "string",
"minLength": 20,
"maxLength": 2048,
"pattern": "^arn:aws:.+$"
},
"path": {
"type": "string",
"minLength": 1,
"maxLength": 512,
"pattern": "^/$|^/[\\x21-\\x7e]+/$"
},
"created_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"name",
"id",
"arn",
"path",
"created_at"
]
},
"maxItems": 1000
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"pattern": "^(?!.*://)[^\\x00-\\x1f\\x7f]+$"
}
},
"required": [
"roles"
]
}