Page tree

 

This is the latest version of the APIs.

Contents:


Create an AWS roles object, which is associated with an AWS configuration object. 

NOTE: APIs for AWS roles apply only to instances of the Trifacta® platform that are hosted on AWS and configured for user mode of authentication.

NOTE: In most cases, you do not need to create awsRole objects. These objects are automatically created for you when you create an awsConfig object. For more information, see API Workflow - Manage AWS Configurations.



Version: 
v4

Required Permissions

NOTE: Each request to the Trifacta® platform must include authentication credentials. See API Authentication.

Request

Request Type: POST

Endpoint:

/v4/awsRoles


Request Body:

The following is an example request for such an AWS roles object. The IAM role arn is associated with the specific AWS configuration object:

{
  "awsConfig": {
    "id": 2
  },
  "role": "<my_iam_role_arn>"
}

Response

Response Status Code - Success:  201 - Created

Response Body:

{
    "createdFrom": "api",
    "id": 1,
    "role": "<my_iam_role_arn>",
    "awsConfig": {
      "id": 2
    },
    "updatedAt": "2019-07-15T23:18:59.360Z",
    "createdAt": "2019-07-15T23:18:59.360Z",
    "deleted_at": null
}

Reference

For more information, see API AWSRoles Get v4.

This page has no comments.