putExternalEvaluation method
Future<void>
putExternalEvaluation({
- required String configRuleName,
- required ExternalEvaluation externalEvaluation,
May throw NoSuchConfigRuleException. May throw InvalidParameterValueException.
Implementation
Future<void> putExternalEvaluation({
required String configRuleName,
required ExternalEvaluation externalEvaluation,
}) async {
ArgumentError.checkNotNull(configRuleName, 'configRuleName');
_s.validateStringLength(
'configRuleName',
configRuleName,
1,
128,
isRequired: true,
);
ArgumentError.checkNotNull(externalEvaluation, 'externalEvaluation');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'StarlingDoveService.PutExternalEvaluation'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ConfigRuleName': configRuleName,
'ExternalEvaluation': externalEvaluation,
},
);
}