getQualificationsAssociationDetails method
Returns your current qualifications association status, the primary partner, and the full list of partners associated under the primary partner.
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 association. 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<GetQualificationsAssociationDetailsResponse>
getQualificationsAssociationDetails({
required String catalog,
required String identifier,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target':
'PartnerCentralAccount.GetQualificationsAssociationDetails'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'Catalog': catalog,
'Identifier': identifier,
},
);
return GetQualificationsAssociationDetailsResponse.fromJson(
jsonResponse.body);
}