getCodeSigningConfig method

Future<GetCodeSigningConfigResponse> getCodeSigningConfig({
  1. required String codeSigningConfigArn,
})

Returns information about the specified code signing configuration.

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

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

Implementation

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