CreateIntegrationResourceProperty
This API can be used for setting up the ResourceProperty
of the AWS Glue connection (for the source) or AWS Glue database ARN (for the target). These properties can include the role to access the connection or database. To set both source and target properties the same API needs to be invoked with the AWS Glue connection ARN as ResourceArn
with SourceProcessingProperties
and the AWS Glue database ARN as ResourceArn
with TargetProcessingProperties
respectively.
Request Syntax
{
"ResourceArn": "string
",
"SourceProcessingProperties": {
"RoleArn": "string
"
},
"TargetProcessingProperties": {
"ConnectionName": "string
",
"EventBusArn": "string
",
"KmsArn": "string
",
"RoleArn": "string
"
}
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- ResourceArn
-
The connection ARN of the source, or the database ARN of the target.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
Required: Yes
- SourceProcessingProperties
-
The resource properties associated with the integration source.
Type: SourceProcessingProperties object
Required: No
- TargetProcessingProperties
-
The resource properties associated with the integration target.
Type: TargetProcessingProperties object
Required: No
Response Syntax
{
"ResourceArn": "string",
"SourceProcessingProperties": {
"RoleArn": "string"
},
"TargetProcessingProperties": {
"ConnectionName": "string",
"EventBusArn": "string",
"KmsArn": "string",
"RoleArn": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ResourceArn
-
The connection ARN of the source, or the database ARN of the target.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 128.
- SourceProcessingProperties
-
The resource properties associated with the integration source.
Type: SourceProcessingProperties object
- TargetProcessingProperties
-
The resource properties associated with the integration target.
Type: TargetProcessingProperties object
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
Access to a resource was denied.
HTTP Status Code: 400
- ConflictException
-
The
CreatePartitions
API was called on a table that has indexes enabled.HTTP Status Code: 400
- EntityNotFoundException
-
A specified entity does not exist
HTTP Status Code: 400
- InternalServerException
-
An internal server error occurred.
HTTP Status Code: 400
- InternalServiceException
-
An internal service error occurred.
HTTP Status Code: 500
- InvalidInputException
-
The input provided was not valid.
HTTP Status Code: 400
- ResourceNotFoundException
-
The resource could not be found.
HTTP Status Code: 400
- ValidationException
-
A value could not be validated.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: