Post-process AWS Connection
Performs post-processing after AWS Connection Create, Update or Delete. This API should only be invoked by the Clumio Terraform provider and should not be invoked manually.
- application/json
Request Body
The body of the request.
- account_native_id string required
The AWS-assigned ID of the account associated with the connection.
- aws_region string required
The AWS region associated with the connection. For example,
us-east-1
. - clumio_event_pub_id string required
ClumioEventPubId is the Clumio Event Pub SNS topic ID.
- configuration string required
Configuration represents the AWS connection configuration in json string format
- intermediate_role_arn string
Role arn to be assumed before accessing ClumioRole in customer account
properties object
- request_type string required
RequestType indicates whether this is a Create, Update or Delete request
- role_arn string required
RoleArn is the ARN of the ClumioIAMRole created in the customer account
- role_external_id string required
Role External Id is the unique string passed while creating the AWS resources .
- token string required
The 36-character Clumio AWS integration ID token used to identify the installation of the CloudFormation/Terraform template on the account.
- 200
- default
Success
- application/api.clumio.post-process-aws-connection=v1+json
- Schema
- Example (from schema)
Schema
- object
{}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
POST /connections/aws/post-process
Authorization
Request
Request
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-aws-connection=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"clumio_event_pub_id": "string",
"configuration": "string",
"intermediate_role_arn": "string",
"properties": {},
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"token": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-aws-connection=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"clumio_event_pub_id": "string",
"configuration": "string",
"intermediate_role_arn": "string",
"properties": {},
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"token": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-aws-connection=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"clumio_event_pub_id": "string",
"configuration": "string",
"intermediate_role_arn": "string",
"properties": {},
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"token": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-aws-connection=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"clumio_event_pub_id": "string",
"configuration": "string",
"intermediate_role_arn": "string",
"properties": {},
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"token": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-aws-connection=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"clumio_event_pub_id": "string",
"configuration": "string",
"intermediate_role_arn": "string",
"properties": {},
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"token": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-aws-connection=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"clumio_event_pub_id": "string",
"configuration": "string",
"intermediate_role_arn": "string",
"properties": {},
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"token": "string"
}'
curl -L -X POST 'https://us-west-2.api.clumio.com/connections/aws/post-process' \
-H 'Content-Type: application/json' \
-H 'Accept: application/api.clumio.post-process-aws-connection=v1+json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"account_native_id": "string",
"aws_region": "string",
"clumio_event_pub_id": "string",
"configuration": "string",
"intermediate_role_arn": "string",
"properties": {},
"request_type": "string",
"role_arn": "string",
"role_external_id": "string",
"token": "string"
}'