updateSoftwareSet method

Future<void> updateSoftwareSet({
  1. required String id,
  2. required SoftwareSetValidationStatus validationStatus,
})

Updates a software set.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter id : The ID of the software set to update.

Parameter validationStatus : An option to define if the software set has been validated.

Implementation

Future<void> updateSoftwareSet({
  required String id,
  required SoftwareSetValidationStatus validationStatus,
}) async {
  final $payload = <String, dynamic>{
    'validationStatus': validationStatus.value,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'PATCH',
    requestUri: '/softwaresets/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
}