deleteComponent method
Deletes a version of a component from IoT Greengrass.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter arn :
The ARN
of the component version.
Implementation
Future<void> deleteComponent({
required String arn,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/greengrass/v2/components/${Uri.encodeComponent(arn)}',
exceptionFnMap: _exceptionFns,
);
}