deleteCodeSigningConfig method

Future<void> deleteCodeSigningConfig({
  1. required String codeSigningConfigArn,
})

Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.

May throw ServiceException. May throw InvalidParameterValueException. May throw ResourceNotFoundException. May throw ResourceConflictException.

Parameter codeSigningConfigArn : The The Amazon Resource Name (ARN) of the code signing configuration.

Implementation

Future<void> deleteCodeSigningConfig({
  required String codeSigningConfigArn,
}) async {
  ArgumentError.checkNotNull(codeSigningConfigArn, 'codeSigningConfigArn');
  _s.validateStringLength(
    'codeSigningConfigArn',
    codeSigningConfigArn,
    0,
    200,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/2020-04-22/code-signing-configs/${Uri.encodeComponent(codeSigningConfigArn)}',
    exceptionFnMap: _exceptionFns,
  );
}