Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

 

This is the latest version of the APIs.

Contents:


Modify the specified AWS role object using the provided parameters. 

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.


Version: 
v4

Required Permissions

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

Request

Request Type: PUT

Endpoint:

/v4/awsRoles/<id>

where:

ParameterDescription
<id>Internal identifier for the AWS roles object


Request URI - Example:

/v4/awsRoles/2

The request body contains the parameters of the awsRoles object that you wish to modify. You do not have to include parameters that are not being modified.

Request Body - IAM role ARN assignment:

The following changes the IAM role ARN for the AWS Role object.

NOTE: When an AWS role object has been created, it must be assigned to an AWS configuration object. This assignment cannot be modified after creation. You must delete the AWS role object and recreate it.


{
  "role", "<my_new_iam_role_arn>"
}

Response

Response Status Code - Success:  200 - OK

Response Body Example:

{
    "createdFrom": "api",
    "id": 2,
    "role": "<my_new_iam_role_arn>",
    "awsConfig": {
      "id": 1
    },
    "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.

  • No labels

This page has no comments.