startConfigurationChecks method
Initiates configuration check operations against a specified application.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter applicationId :
The ID of the application.
Parameter configurationCheckIds :
The list of configuration checks to perform.
Implementation
Future<StartConfigurationChecksOutput> startConfigurationChecks({
required String applicationId,
List<ConfigurationCheckType>? configurationCheckIds,
}) async {
final $payload = <String, dynamic>{
'ApplicationId': applicationId,
if (configurationCheckIds != null)
'ConfigurationCheckIds':
configurationCheckIds.map((e) => e.value).toList(),
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/start-configuration-checks',
exceptionFnMap: _exceptionFns,
);
return StartConfigurationChecksOutput.fromJson(response);
}