getCustomDomainAssociation method
Gets information about a specific custom domain association.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter customDomainName :
The custom domain name associated with the workgroup.
Parameter workgroupName :
The name of the workgroup associated with the database.
Implementation
Future<GetCustomDomainAssociationResponse> getCustomDomainAssociation({
required String customDomainName,
required String workgroupName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'RedshiftServerless.GetCustomDomainAssociation'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'customDomainName': customDomainName,
'workgroupName': workgroupName,
},
);
return GetCustomDomainAssociationResponse.fromJson(jsonResponse.body);
}