getQualificationsDisassociationTask method
Retrieves the status and details of the most recent qualifications
disassociation task for your partner account. Use this operation to poll
the progress of a disassociation task initiated by
StartQualificationsDisassociationTask.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter catalog :
The catalog in which to look up the qualifications disassociation task.
Valid values: AWS, Sandbox.
Parameter identifier :
Your partner identifier. You can provide either a partner ID (for example,
partner-abc123) or a partner ARN. You must own this
identifier.
Implementation
Future<GetQualificationsDisassociationTaskResponse>
getQualificationsDisassociationTask({
required String catalog,
required String identifier,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target':
'PartnerCentralAccount.GetQualificationsDisassociationTask'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'Catalog': catalog,
'Identifier': identifier,
},
);
return GetQualificationsDisassociationTaskResponse.fromJson(
jsonResponse.body);
}