Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version r0641

D s api version

D toc

Get information on all available AWS role objects. 

Info

NOTE: APIs for AWS roles apply only to instances of the

D s platform
rtrue
that are hosted on AWS and configured for user mode of authentication.

For more information on how to use awsRole objects, see API Workflow - Manage AWS Configurations.


Version: 
v4

Required Permissions

D s api auth

Request

Request Type: GET

Endpoint:

Code Block
/v4/awsRoles/

Request URI - Example:

Code Block
/v4/awsRoles

Request Body:

Empty.

Response

Response Status Code - Success:  200 - OK

Response Body Example:

Code Block
{
    "data": [
        {
            "id": 2,
            "role": "<my_iam_role_arn_9",
            "createdFrom": "api",
            "createdAt": "2019-07-15T23:18:59.360Z",
            "updatedAt": "2019-07-15T23:34:31.191Z",
            "awsConfig": {
                "id": 3
            }
        },
        {
            "id": 1,
            "role": "string4",
            "role": "<my_iam_role_arn_8",
            "createdAt": "2019-07-15T23:18:59.360Z",
            "updatedAt": "2019-07-15T23:34:31.191Z",
            "awsConfig": {
                "id": 1
            }
        }
    ]
}

Reference

For more information, see API AWSRoles Get v4.