Add IAM role to an S3 Instant Access endpoint
Adds a user-defined IAM role to allow access to an S3 Instant Access endpoint.
Path Parameters
- endpoint_id string required
ID of the endpoint to add a role
- application/json
Request Body required
- is_allow_external_account boolean
Allow the addition of a role from an external account. This requires a feature flag to be enabled, contact support@clumio.com.
- role_alias string
Descriptive alias of the IAM role.
- role_arn string required
ARN of the IAM role to allow access the endpoint. The role must be accessible from AWS account registered with Clumio.
- 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
- role_id string
The issued ID to the added role
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
}
},
"role_id": "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"
}
]
}