Update an IAM role attached to an S3 Instant Access endpoint
Updates a user-defined IAM role that is attached to an S3 Instant Access endpoint if any changes are made to that role.
Path Parameters
- endpoint_id string required
ID of the endpoint to update a role
- role_id string required
ID of the currently enrolled role to be access the endpoint.
- application/json
Request Body required
- updated_role_alias string
The updated descriptive alias of the IAM role. The current alias will be retained if empty updated_role_alias is passed.
- updated_role_arn string
The updated ARN of the IAM role to allow access to the endpoint. The role must be accessible from an AWS account registered with Clumio. The current ARN will be retained if empty updated_role_arn is passed.
- 200
- default
Success
- application/api.clumio.restored-protection-group-instant-access-endpoints=v1+json
- Schema
- Example (from schema)
Schema
_embedded object
Embedded responses related to the resource.
read-protection-group-s3-assetEmbeds the associated protection group S3 asset
_links object
URLs to pages related to the resource.
_self object
The HATEOAS link to this resource.
href stringThe URI for the referenced operation.
templated booleanDetermines whether the "href" link is a URI template. If set to
true
, the "href" link is a URI template.type stringThe HTTP method to be used with the "href" link for the referenced operation.
read-protection-group-instant-access-endpointURL to the detailed information of the instant access endpoint
read-protection-group-instant-access-endpoint-role-permissionURL to the role permissions of the instant access endpoint
read-protection-group-instant-access-endpoint-uriURL for getting URI of the instant access endpoint
read-protection-group-s3-assetURL to the associated protection group S3 asset
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
}
}
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
A list of errors encountered during runtime.
error_code uint32error_message stringThe reason for the error.
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}