getIntegrationResourceProperty method
Future<GetIntegrationResourcePropertyResponse>
getIntegrationResourceProperty({
- required String resourceArn,
This API is used for fetching the ResourceProperty of the
Glue connection (for the source) or Glue database ARN (for the target)
May throw AccessDeniedException.
May throw EntityNotFoundException.
May throw InternalServerException.
May throw InternalServiceException.
May throw InvalidInputException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter resourceArn :
The connection ARN of the source, or the database ARN of the target.
Implementation
Future<GetIntegrationResourcePropertyResponse>
getIntegrationResourceProperty({
required String resourceArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.GetIntegrationResourceProperty'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ResourceArn': resourceArn,
},
);
return GetIntegrationResourcePropertyResponse.fromJson(jsonResponse.body);
}