removeProfilePermission method
Removes cross-account permissions from a signing profile.
May throw ValidationException. May throw ResourceNotFoundException. May throw AccessDeniedException. May throw ConflictException. May throw TooManyRequestsException. May throw InternalServiceErrorException.
Parameter profileName :
A human-readable name for the signing profile with permissions to be
removed.
Parameter revisionId :
An identifier for the current revision of the signing profile permissions.
Parameter statementId :
A unique identifier for the cross-account permissions statement.
Implementation
Future<RemoveProfilePermissionResponse> removeProfilePermission({
  required String profileName,
  required String revisionId,
  required String statementId,
}) async {
  ArgumentError.checkNotNull(profileName, 'profileName');
  _s.validateStringLength(
    'profileName',
    profileName,
    2,
    64,
    isRequired: true,
  );
  ArgumentError.checkNotNull(revisionId, 'revisionId');
  ArgumentError.checkNotNull(statementId, 'statementId');
  final $query = <String, List<String>>{
    'revisionId': [revisionId],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/signing-profiles/${Uri.encodeComponent(profileName)}/permissions/${Uri.encodeComponent(statementId)}',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return RemoveProfilePermissionResponse.fromJson(response);
}